Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InstallOptions ¶
type InstallOptions struct { // TODO replace with genericclioptions KubeConfig string KubeClient kubernetes.Interface Revision string NodeName string Namespace string PodConfigMapNamePrefix string SecretNamePrefixes []string OptionalSecretNamePrefixes []string ConfigMapNamePrefixes []string OptionalConfigMapNamePrefixes []string CertSecretNames []string OptionalCertSecretNamePrefixes []string CertConfigMapNamePrefixes []string OptionalCertConfigMapNamePrefixes []string CertDir string ResourceDir string PodManifestDir string Timeout time.Duration // StaticPodManifestsLockFile used to coordinate work between multiple processes when writing static pod manifests StaticPodManifestsLockFile string PodMutationFns []PodMutationFunc KubeletVersion string }
func NewInstallOptions ¶
func NewInstallOptions() *InstallOptions
func (*InstallOptions) AddFlags ¶
func (o *InstallOptions) AddFlags(fs *pflag.FlagSet)
func (*InstallOptions) Complete ¶
func (o *InstallOptions) Complete() error
func (*InstallOptions) Validate ¶
func (o *InstallOptions) Validate() error
func (*InstallOptions) WithPodMutationFn ¶
func (o *InstallOptions) WithPodMutationFn(podMutationFn PodMutationFunc) *InstallOptions
type PodMutationFunc ¶
PodMutationFunc is a function that has a chance at changing the pod before it is created
Click to show internal directories.
Click to hide internal directories.