helm

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddInstallUninstallFlags

func AddInstallUninstallFlags(f *pflag.FlagSet, timeout *time.Duration, wait *bool)

Flags that are shared between the Install and the Uninstall command

func CreateCRDs

func CreateCRDs(allCRDs []*resource.Info, cfg *action.Configuration) error

CreateCRDs creates cert manager CRDs. Before calling this function, we made sure that the CRDs are not yet installed on the cluster.

func FetchResources

func FetchResources(resources []*resource.Info, kubeClient kube.Interface) ([]*resource.Info, error)

Retrieve the latest version of the resources from the kubernetes cluster.

func FilterCrdResources

func FilterCrdResources(resources []*resource.Info) []*resource.Info

Filter resources that are Custom Resource Definitions.

func ParseMultiDocumentYAML

func ParseMultiDocumentYAML(manifest string, kubeClient kube.Interface) ([]*resource.Info, error)

Build a list of resource.Info objects from a rendered manifest.

Types

type NormalisedEnvSettings

type NormalisedEnvSettings struct {
	EnvSettings         *cli.EnvSettings
	ActionConfiguration *action.Configuration
	Factory             *factory.Factory
	// contains filtered or unexported fields
}

func NewNormalisedEnvSettings

func NewNormalisedEnvSettings() *NormalisedEnvSettings

func (*NormalisedEnvSettings) InitActionConfiguration

func (n *NormalisedEnvSettings) InitActionConfiguration() error

func (*NormalisedEnvSettings) Namespace

func (n *NormalisedEnvSettings) Namespace() string

func (*NormalisedEnvSettings) Setup

func (n *NormalisedEnvSettings) Setup(ctx context.Context, cmd *cobra.Command)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL