Documentation ¶
Index ¶
- func Access[M any, P compdesc.ArtifactMetaPointer[M]](ctx cpi.Context, meta P, blob blobaccess.BlobAccessProvider, opts ...Option) cpi.ArtifactAccess[M]
- func ResourceAccess(ctx cpi.Context, media string, meta *cpi.ResourceMeta, ...) cpi.ResourceAccess
- func SourceAccess(ctx cpi.Context, media string, meta *cpi.SourceMeta, ...) cpi.SourceAccess
- type Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Access ¶
func Access[M any, P compdesc.ArtifactMetaPointer[M]](ctx cpi.Context, meta P, blob blobaccess.BlobAccessProvider, opts ...Option) cpi.ArtifactAccess[M]
func ResourceAccess ¶
func ResourceAccess(ctx cpi.Context, media string, meta *cpi.ResourceMeta, blob blobaccess.BlobAccessProvider, opts ...Option) cpi.ResourceAccess
func SourceAccess ¶
func SourceAccess(ctx cpi.Context, media string, meta *cpi.SourceMeta, blob blobaccess.BlobAccessProvider, opts ...Option) cpi.SourceAccess
Types ¶
type Option ¶
func WithGlobalAccess ¶
func WithGlobalAccess(a cpi.AccessSpec) Option
Click to show internal directories.
Click to hide internal directories.