machinecontrollermanager

package
v1.87.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// WebhookName is the name of the webhook for mutating the central ClusterRole for machine-controller-manager.
	WebhookName = "clusterrole-machine-controller-manager"
)

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,
	_ AddOptions,
	name string,
	target string,
	failurePolicy admissionregistrationv1.FailurePolicyType,
) (
	*extensionswebhook.Webhook,
	error,
)

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

Types

type AddOptions

type AddOptions struct{}

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

Jump to

Keyboard shortcuts

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