Documentation ¶
Index ¶
- Constants
- func Access[M any, P compdesc.ArtifactMetaPointer[M]](ctx ocm.Context, meta P, repository string, digest digest.Digest, size int64, ...) cpi.ArtifactAccess[M]
- func ResourceAccess(ctx ocm.Context, meta *cpi.ResourceMeta, repository string, ...) cpi.ResourceAccess
- func SourceAccess(ctx ocm.Context, meta *cpi.SourceMeta, repository string, digest digest.Digest, ...) cpi.SourceAccess
- type Option
- type Options
Constants ¶
View Source
const TYPE = resourcetypes.BLOB
Variables ¶
This section is empty.
Functions ¶
func Access ¶
func Access[M any, P compdesc.ArtifactMetaPointer[M]](ctx ocm.Context, meta P, repository string, digest digest.Digest, size int64, opts ...Option) cpi.ArtifactAccess[M]
func ResourceAccess ¶
func ResourceAccess(ctx ocm.Context, meta *cpi.ResourceMeta, repository string, digest digest.Digest, size int64, opts ...Option) cpi.ResourceAccess
func SourceAccess ¶
func SourceAccess(ctx ocm.Context, meta *cpi.SourceMeta, repository string, digest digest.Digest, size int64, opts ...Option) cpi.SourceAccess
Types ¶
Click to show internal directories.
Click to hide internal directories.