Documentation ¶
Index ¶
- type ClientOption
- func WithChartPath(chartPath string) ClientOption
- func WithClusterName(clusterName string) ClientOption
- func WithKubeConfigPath(kubeConfigPath string) ClientOption
- func WithNamespace(namespace string) ClientOption
- func WithReleaseName(releaseName string) ClientOption
- func WithValuesPath(valuesPath string) ClientOption
- type IHelm
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientOption ¶
type ClientOption func(*Options)
func WithChartPath ¶
func WithChartPath(chartPath string) ClientOption
WithChartPath - sets the chartPath flag for the helm client Note: Absolute paths are preferred
func WithClusterName ¶
func WithClusterName(clusterName string) ClientOption
WithClusterName - sets the clusterName flag for the helm client used in a kind cluster scenario. By providing a kind cluster name, the kubeconfig will be fetched for the kind cluster using kind.getKubeCfg(clusterName, false)
func WithKubeConfigPath ¶
func WithKubeConfigPath(kubeConfigPath string) ClientOption
WithKubeConfigPath - sets the kubeConfigPath flag for the helm client
func WithNamespace ¶
func WithNamespace(namespace string) ClientOption
WithNamespace - sets the namespace flag for the helm client namespace will be used to install the chart or render the template
func WithReleaseName ¶
func WithReleaseName(releaseName string) ClientOption
WithReleaseName - sets the releaseName flag for the helm client release name will be used to install the chart or render the template with release labels
func WithValuesPath ¶
func WithValuesPath(valuesPath string) ClientOption
WithValuesPath - sets the valuesPath flag for the helm client values provided in the file will be used to render the chart if no values path is provided, the default values will be used from util.GetManagerHelmValues()