Help us shape the future of Go! Take the 2026 Go Developer Survey

cloudprovider

package
v1.153.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: Apache-2.0 Imports: 12 Imported by: 18

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
}

Args are the requirements to create a cloudprovider webhook.

type Ensurer

type Ensurer interface {
	EnsureCloudProviderSecret(ctx context.Context, gctx extensionscontextwebhook.GardenContext, newSecret, oldSecret *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