Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultHelmBinPath = "helm" DefaultHelmPostRendererPath = "./post-renderer" )
View Source
const ( Helm3Lib = ClientType("Helm3Lib") Nelm = ClientType("Nelm") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientFactory ¶ added in v1.1.0
type ClientFactory struct {
NewClientFn func(logger *log.Logger, labels map[string]string) client.HelmClient
ClientType ClientType
// contains filtered or unexported fields
}
func InitHelmClientFactory ¶ added in v1.1.0
func InitHelmClientFactory(helmopts *Options, labels map[string]string) (*ClientFactory, error)
func (*ClientFactory) NewClient ¶ added in v1.1.0
func (f *ClientFactory) NewClient(logger *log.Logger, options ...ClientOption) client.HelmClient
type ClientOption ¶ added in v1.6.2
type ClientOption func(client.HelmClient)
func WithExtraLabels ¶ added in v1.6.2
func WithExtraLabels(labels map[string]string) ClientOption
func WithLogLabels ¶ added in v1.6.2
func WithLogLabels(logLabels map[string]string) ClientOption
type ClientType ¶ added in v1.1.0
type ClientType string
func DetectHelmVersion ¶
func DetectHelmVersion() (ClientType, error)
Click to show internal directories.
Click to hide internal directories.