Documentation ¶
Index ¶
- Constants
- type Processor
- func (m *Processor) AbstractAddition(ctx context.Context, artifact *artifact.Artifact, addition string) (*processor.Addition, error)
- func (m *Processor) AbstractMetadata(ctx context.Context, art *artifact.Artifact, manifestBody []byte) error
- func (m *Processor) GetArtifactType(_ context.Context, _ *artifact.Artifact) string
- func (m *Processor) ListAdditionTypes(_ context.Context, _ *artifact.Artifact) []string
Constants ¶
View Source
const ( // ArtifactTypeWASM is the artifact type for image ArtifactTypeWASM = "WASM" AdditionTypeBuildHistory = "BUILD_HISTORY" // AnnotationVariantKey and AnnotationVariantValue is available key-value pair to identify an annotation fashion wasm artifact AnnotationVariantKey = "module.wasm.image/variant" AnnotationVariantValue = "compat" // AnnotationHandlerKey and AnnotationHandlerValue is another available key-value pair to identify an annotation fashion wasm artifact AnnotationHandlerKey = "run.oci.handler" AnnotationHandlerValue = "wasm" MediaType = "application/vnd.wasm.config.v1+json" )
const definitions
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Processor ¶
type Processor struct {
*base.ManifestProcessor
}
Processor processes image with OCI manifest and docker v2 manifest
func (*Processor) AbstractAddition ¶
func (*Processor) AbstractMetadata ¶
func (*Processor) GetArtifactType ¶
Click to show internal directories.
Click to hide internal directories.