Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultBackupPath is the default path to the directory where the backup bucket is created. DefaultBackupPath = "dev/local-backupbuckets" // DefaultContainerMountPath is the default path to the directory where the backup bucket is mounted on the container. DefaultContainerMountPath = "/etc/gardener/local-backupbuckets" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddOptions ¶
type AddOptions struct { // BackupBucketPath is the path to the backupbucket. BackupBucketPath string // ContainerMountPath is the path to the directory where the backup bucket is mounted on the container. ContainerMountPath string // Controller are the controller.Options. Controller controller.Options // IgnoreOperationAnnotation specifies whether to ignore the operation annotation or not. IgnoreOperationAnnotation bool }
AddOptions are options to apply when adding the backupbucket controller to the manager.
type ControllerConfig ¶
type ControllerConfig struct { // BackupBucketPath is the path to the backupbucket. BackupBucketPath string // ContainerMountPath is the path to the directory where the backup bucket is mounted on the container. ContainerMountPath string }
ControllerConfig is a completed controller configuration.
func (*ControllerConfig) Apply ¶
func (c *ControllerConfig) Apply(opts *AddOptions)
Apply sets the values of this ControllerConfig in the given AddOptions.
type ControllerOptions ¶
type ControllerOptions struct { // BackupBucketPath is the path to the backupbucket. BackupBucketPath string // ContainerMountPath is the path to the directory where the backup bucket is mounted on the container. ContainerMountPath string // contains filtered or unexported fields }
ControllerOptions are command line options that can be set for controller.Options.
func (*ControllerOptions) AddFlags ¶
func (c *ControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags implements Flagger.AddFlags.
func (*ControllerOptions) Complete ¶
func (c *ControllerOptions) Complete() error
Complete implements Completer.Complete.
func (*ControllerOptions) Completed ¶
func (c *ControllerOptions) Completed() *ControllerConfig
Completed returns the completed ControllerConfig. Only call this if `Complete` was successful.
Click to show internal directories.
Click to hide internal directories.