Documentation ¶
Index ¶
- func InstallCmd(f *cmdutil.Factory) (*cobra.Command, *installOptions)
- func NewFakeClientCreator(objs ...runtime.Object) client.RuntimeClientCreator
- func WithAnnotations(annotations map[string]string) podTemplateOption
- func WithBackupConfig(cfg *backup.Config, fs *pflag.FlagSet) podTemplateOption
- func WithImage(image string) podTemplateOption
- func WithSecret(secretPresent bool) podTemplateOption
- type FakeClientCreator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFakeClientCreator ¶
func NewFakeClientCreator(objs ...runtime.Object) client.RuntimeClientCreator
func WithAnnotations ¶
func WithBackupConfig ¶ added in v0.0.9
func WithSecret ¶
func WithSecret(secretPresent bool) podTemplateOption
Types ¶
type FakeClientCreator ¶
type FakeClientCreator struct {
// contains filtered or unexported fields
}
Implements client.RuntimeClientCreator
func (*FakeClientCreator) CreateRuntimeClient ¶
func (f *FakeClientCreator) CreateRuntimeClient(kubeCtx string) (*client.Client, error)
Click to show internal directories.
Click to hide internal directories.