controlplanebackup

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2020 License: Apache-2.0, MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultAddOptions are the default AddOptions for AddToManager.
	DefaultAddOptions = AddOptions{}
)

Functions

func AddToManager

func AddToManager(mgr manager.Manager) (*extensionswebhook.Webhook, error)

AddToManager creates a webhook with the default options and adds it to the manager.

func AddToManagerWithOptions

func AddToManagerWithOptions(mgr manager.Manager, opts AddOptions) (*extensionswebhook.Webhook, error)

AddToManagerWithOptions creates a webhook with the given options and adds it to the manager.

func NewEnsurer

func NewEnsurer(etcdBackup *config.ETCDBackup, imageVector imagevector.ImageVector, logger logr.Logger) genericmutator.Ensurer

NewEnsurer creates a new controlplaneexposure ensurer.

Types

type AddOptions

type AddOptions struct {
	// ETCDBackup is the etcd backup configuration.
	ETCDBackup config.ETCDBackup
}

AddOptions are options to apply when adding the AWS backup webhook to the manager.

Jump to

Keyboard shortcuts

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