cloudprovider

package
v1.82.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 12 Imported by: 13

Documentation

Index

Constants

View Source
const (
	// WebhookName is the name of the webhook.
	WebhookName = "cloudprovider"
)

Variables

This section is empty.

Functions

func New

New creates a new cloudprovider webhook.

func NewMutator

func NewMutator(mgr manager.Manager, logger logr.Logger, ensurer Ensurer) webhook.Mutator

NewMutator creates a new cloudprovider mutator.

Types

type Args

type Args struct {
	Provider             string
	Mutator              extensionswebhook.Mutator
	EnableObjectSelector bool
}

Args are the requirements to create a cloudprovider webhook.

type Ensurer

type Ensurer interface {
	EnsureCloudProviderSecret(ctx context.Context, gctx extensionscontextwebhook.GardenContext, new, old *corev1.Secret) error
}

Ensurer ensures that the cloudprovider secret conforms to the provider requirements.

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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