Documentation ¶
Index ¶
- Constants
- func AddConfig(opts flagsets.ConfigOptions, config flagsets.Config) error
- func ConfigHandler() flagsets.ConfigOptionTypeSetHandler
- func LoadCertificateBundle(filename string, fs vfs.FileSystem) ([]*x509.Certificate, error)
- func LoadCertificateBundleFromData(b []byte) ([]*x509.Certificate, error)
- type Spec
Constants ¶
View Source
const TYPE = "helm"
Variables ¶
This section is empty.
Functions ¶
func ConfigHandler ¶
func ConfigHandler() flagsets.ConfigOptionTypeSetHandler
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"` }
Click to show internal directories.
Click to hide internal directories.