Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Install(release string, chart *chart.Chart, values chartutil.Values) error Upgrade(release string, chart *chart.Chart, values chartutil.Values, install bool) error Uninstall(release string) error }
Client is a Helm client
func NewClientForNamespace ¶
func NewClientForNamespace(namespace string, options ...ClientOption) (Client, error)
NewClientForNamespace is a ClientFactory
type ClientFactory ¶
type ClientFactory func(namespace string, options ...ClientOption) (Client, error)
ClientFactory provides an abstraction to create a new namespaced Client
type ClientOption ¶
type ClientOption func(*client)
ClientOption defines a function types to apply options to the client configuration
func WithHelmDriver ¶
func WithHelmDriver(driver string) ClientOption
WithHelmDriver set the storage helm driver (configmap`, `secret`, `memory`) of the client configuration
func WithLogger ¶
func WithLogger(logger logr.Logger) ClientOption
WithLogger injects a logr.Logger to the client configuration
func WithMaxHistory ¶ added in v1.0.3
func WithMaxHistory(maxHistory int) ClientOption
WithMaxHistory limit the maximum number of revisions saved per release. Use 0 for no limit
Click to show internal directories.
Click to hide internal directories.