Documentation ¶
Index ¶
- Constants
- func Access[M any, P compdesc.ArtifactMetaPointer[M]](ctx ocm.Context, meta P, path string, opts ...Option) cpi.ArtifactAccess[M]
- func ResourceAccess(ctx ocm.Context, meta *cpi.ResourceMeta, path string, opts ...Option) cpi.ResourceAccess
- func SourceAccess(ctx ocm.Context, meta *cpi.SourceMeta, path string, opts ...Option) cpi.SourceAccess
- type Option
- func WithCACert(v string) Option
- func WithCACertFile(v string) Option
- func WithContext(ctx oci.ContextProvider) Option
- func WithFileSystem(fs vfs.FileSystem) Option
- func WithGlobalAccess(a cpi.AccessSpec) Option
- func WithHelmRepository(v string) Option
- func WithHint(h string) Option
- func WithIVersion(v string) Option
- func WithIVersionOverride(v string, flag ...bool) Option
- func WithPrinter(v common.Printer) Option
- type Options
Constants ¶
View Source
const TYPE = resourcetypes.HELM_CHART
Variables ¶
This section is empty.
Functions ¶
func Access ¶
func Access[M any, P compdesc.ArtifactMetaPointer[M]](ctx ocm.Context, meta P, path string, opts ...Option) cpi.ArtifactAccess[M]
func ResourceAccess ¶
func ResourceAccess(ctx ocm.Context, meta *cpi.ResourceMeta, path string, opts ...Option) cpi.ResourceAccess
func SourceAccess ¶
func SourceAccess(ctx ocm.Context, meta *cpi.SourceMeta, path string, opts ...Option) cpi.SourceAccess
Types ¶
type Option ¶
type Option = optionutils.Option[*Options]
func WithCACert ¶
func WithCACertFile ¶
func WithContext ¶
func WithContext(ctx oci.ContextProvider) Option
func WithFileSystem ¶
func WithFileSystem(fs vfs.FileSystem) Option
func WithGlobalAccess ¶
func WithGlobalAccess(a cpi.AccessSpec) Option
func WithHelmRepository ¶
func WithIVersion ¶
func WithIVersionOverride ¶
func WithPrinter ¶
Click to show internal directories.
Click to hide internal directories.