@ -66,6 +66,7 @@ In order to analyze a container image, this route has to be called for each laye
This request blocks for the entire duration of the downloading and indexing of the layer and displays the provided Layer with an updated `IndexByVersion` property.
The Name field must be unique globally. Consequently, using the Blob digest describing the Layer content is not sufficient as Clair won't be able to differentiate two empty filesystem diffs that belong to two different image trees.
The Authorization field is an optional value whose contents will fill the Authorization HTTP Header when requesting the layer via HTTP.
The NamespaceName field is an optional value used when the namespace can't be determined by Clair.
#### Example Request
@ -82,7 +83,8 @@ POST http://localhost:6060/v1/layers HTTP/1.1
log.WithFields(log.Fields{logLayerName:name,"past engine version":layer.EngineVersion,"current engine version":Version}).Debug("layer content has already been processed in the past with older engine. analyzing again")
}
// Check to see if the user's provided Namespace exists