Documentation ¶
Index ¶
- func AddInstallUninstallFlags(f *pflag.FlagSet, timeout *time.Duration, wait *bool)
- func CreateCRDs(allCRDs []*resource.Info, cfg *action.Configuration) error
- func FetchResources(resources []*resource.Info, kubeClient kube.Interface) ([]*resource.Info, error)
- func FilterCrdResources(resources []*resource.Info) []*resource.Info
- func ParseMultiDocumentYAML(manifest string, kubeClient kube.Interface) ([]*resource.Info, error)
- type NormalisedEnvSettings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddInstallUninstallFlags ¶
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 ¶
Filter resources that are Custom Resource Definitions.
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
Click to show internal directories.
Click to hide internal directories.