helm

package
v0.0.0-...-877fc11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlobAccessForHelmChart

func BlobAccessForHelmChart(path string, opts ...Option) (blob blobaccess.BlobAccess, name, version string, err error)

func BlobAccessProviderForHelmChart

func BlobAccessProviderForHelmChart(name string, opts ...Option) bpi.BlobAccessProvider

Types

type Option

type Option = optionutils.Option[*Options]

func WithCACert

func WithCACert(v string) Option

func WithCACertFile

func WithCACertFile(v string) Option

func WithContext

func WithContext(ctx oci.ContextProvider) Option

func WithFileSystem

func WithFileSystem(fs vfs.FileSystem) Option

func WithHelmRepository

func WithHelmRepository(v string) Option

WithHelmRepository defines the helm repository to read from.

func WithPrinter

func WithPrinter(p common.Printer) Option

func WithVersion

func WithVersion(v string) Option

func WithVersionOverride

func WithVersionOverride(v string, flag ...bool) Option

type Options

type Options struct {
	Context         oci.Context
	FileSystem      vfs.FileSystem
	Version         string
	OverrideVersion *bool
	HelmRepository  string
	CACert          string
	CACertFile      string

	Printer common.Printer
}

func (*Options) ApplyTo

func (o *Options) ApplyTo(opts *Options)

func (*Options) OCIContext

func (o *Options) OCIContext() oci.Context

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL