helm

package
v2.0.0-...-98cc131 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 17 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

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

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 (*Spec) GetInputVersion

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