webhooks

package
v1.6.5 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

Package webhooks contains external webhook implementations for some of our API types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	Client                    client.Reader
	ClusterCacheTrackerReader ClusterCacheTrackerReader
}

Cluster implements a validating and defaulting webhook for Cluster.

func (*Cluster) SetupWebhookWithManager

func (webhook *Cluster) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager sets up Cluster webhooks.

type ClusterCacheTrackerReader added in v1.6.4

type ClusterCacheTrackerReader = webhooks.ClusterCacheTrackerReader

ClusterCacheTrackerReader is a read-only ClusterCacheTracker useful to gather information for MachinePool nodes for workload clusters.

type ClusterClass

type ClusterClass struct {
	Client client.Reader
}

ClusterClass implements a validation and defaulting webhook for ClusterClass.

func (*ClusterClass) SetupWebhookWithManager

func (webhook *ClusterClass) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager sets up ClusterClass webhooks.

type Machine added in v1.6.0

type Machine struct{}

Machine implements a validating and defaulting webhook for Machine.

func (*Machine) SetupWebhookWithManager added in v1.6.0

func (webhook *Machine) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager sets up Machine webhooks.

type MachineDeployment added in v1.6.0

type MachineDeployment struct {
	Decoder *admission.Decoder
}

MachineDeployment implements a validating and defaulting webhook for MachineDeployment.

func (*MachineDeployment) SetupWebhookWithManager added in v1.6.0

func (webhook *MachineDeployment) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager sets up MachineDeployment webhooks.

type MachineHealthCheck added in v1.6.0

type MachineHealthCheck struct{}

MachineHealthCheck implements a validating and defaulting webhook for MachineHealthCheck.

func (*MachineHealthCheck) SetupWebhookWithManager added in v1.6.0

func (webhook *MachineHealthCheck) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager sets up MachineHealthCheck webhooks.

type MachineSet added in v1.6.0

type MachineSet struct{}

MachineSet implements a validating and defaulting webhook for MachineSet.

func (*MachineSet) SetupWebhookWithManager added in v1.6.0

func (webhook *MachineSet) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager sets up MachineSet webhooks.

Jump to

Keyboard shortcuts

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