helm

package
v0.9.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const TYPE = "helm"

Variables

This section is empty.

Functions

func AddConfig

func AddConfig(opts flagsets.ConfigOptions, config flagsets.Config) error

func LoadCertificateBundle added in v0.3.0

func LoadCertificateBundle(filename string, fs vfs.FileSystem) ([]*x509.Certificate, error)

LoadCertificateBundle loads certificates from the given file. The file should be pem encoded containing one or more certificates. The expected pem type is "CERTIFICATE".

func LoadCertificateBundleFromData added in v0.3.0

func LoadCertificateBundleFromData(b []byte) ([]*x509.Certificate, error)

Types

type Spec

type Spec struct {
	// PathSpec hold the path that points to the helm chart file
	cpi.PathSpec   `json:",inline"`
	HelmRepository string `json:"helmRepository,omitempty"`
	Version        string `json:"version,omitempty"`
	Repository     string `json:"repository,omitempty"`
	CACert         string `json:"caCert,omitempty"`
	CACertFile     string `json:"caCertFile,omitempty"`
}

func New

func New(path string) *Spec

func (*Spec) GetBlob

func (s *Spec) GetBlob(ctx inputs.Context, info inputs.InputResourceInfo) (blob blobaccess.BlobAccess, hint string, err error)

func (*Spec) GetInputVersion added in v0.3.0

func (s *Spec) GetInputVersion(ctx inputs.Context) string

func (*Spec) Validate

func (s *Spec) Validate(fldPath *field.Path, ctx inputs.Context, inputFilePath string) field.ErrorList

Jump to

Keyboard shortcuts

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