Documentation ¶
Index ¶
- Constants
- func MachineMutatingWebhook() admissionregistrationv1.MutatingWebhook
- func MachineSetMutatingWebhook() admissionregistrationv1.MutatingWebhook
- func MachineSetValidatingWebhook() admissionregistrationv1.ValidatingWebhook
- func MachineValidatingWebhook() admissionregistrationv1.ValidatingWebhook
- func Metal3RemediationMutatingWebhook() admissionregistrationv1.MutatingWebhook
- func Metal3RemediationTemplateMutatingWebhook() admissionregistrationv1.MutatingWebhook
- func Metal3RemediationTemplateValidatingWebhook() admissionregistrationv1.ValidatingWebhook
- func Metal3RemediationValidatingWebhook() admissionregistrationv1.ValidatingWebhook
- func NewMachineDefaulter() (*admission.Webhook, error)
- func NewMachineMutatingWebhookConfiguration() *admissionregistrationv1.MutatingWebhookConfiguration
- func NewMachineSetDefaulter() (*admission.Webhook, error)
- func NewMachineSetValidator(client client.Client, featureGate featuregate.MutableFeatureGate) (*admission.Webhook, error)
- func NewMachineValidatingWebhookConfiguration() *admissionregistrationv1.ValidatingWebhookConfiguration
- func NewMachineValidator(client client.Client, featureGate featuregate.MutableFeatureGate) (*admission.Webhook, error)
- func NewMetal3RemediationMutatingWebhookConfiguration() *admissionregistrationv1.MutatingWebhookConfiguration
- func NewMetal3RemediationValidatingWebhookConfiguration() *admissionregistrationv1.ValidatingWebhookConfiguration
Constants ¶
const ( DefaultMachineMutatingHookPath = "/mutate-machine-openshift-io-v1beta1-machine" DefaultMachineValidatingHookPath = "/validate-machine-openshift-io-v1beta1-machine" DefaultMachineSetMutatingHookPath = "/mutate-machine-openshift-io-v1beta1-machineset" DefaultMachineSetValidatingHookPath = "/validate-machine-openshift-io-v1beta1-machineset" DefaultMetal3RemediationMutatingHookPath = "/mutate-infrastructure-cluster-x-k8s-io-v1beta1-metal3remediation" DefaultMetal3RemediationValidatingHookPath = "/validate-infrastructure-cluster-x-k8s-io-v1beta1-metal3remediation" DefaultMetal3RemediationTemplateMutatingHookPath = "/mutate-infrastructure-cluster-x-k8s-io-v1beta1-metal3remediationtemplate" DefaultMetal3RemediationTemplateValidatingHookPath = "/validate-infrastructure-cluster-x-k8s-io-v1beta1-metal3remediationtemplate" )
const ( ARM64 machineArch = "arm64" AMD64 machineArch = "amd64" )
Variables ¶
This section is empty.
Functions ¶
func MachineMutatingWebhook ¶
func MachineMutatingWebhook() admissionregistrationv1.MutatingWebhook
MachineMutatingWebhook returns mutating webhooks for machine to apply in configuration
func MachineSetMutatingWebhook ¶
func MachineSetMutatingWebhook() admissionregistrationv1.MutatingWebhook
MachineSetMutatingWebhook returns mutating webhook for machineSet to apply in configuration
func MachineSetValidatingWebhook ¶
func MachineSetValidatingWebhook() admissionregistrationv1.ValidatingWebhook
MachineSetValidatingWebhook returns validating webhooks for machineSet to populate the configuration
func MachineValidatingWebhook ¶
func MachineValidatingWebhook() admissionregistrationv1.ValidatingWebhook
MachineValidatingWebhook returns validating webhooks for machine to populate the configuration
func Metal3RemediationMutatingWebhook ¶
func Metal3RemediationMutatingWebhook() admissionregistrationv1.MutatingWebhook
Metal3RemediationMutatingWebhook returns mutating webhook for metal3remediation to apply in configuration
func Metal3RemediationTemplateMutatingWebhook ¶
func Metal3RemediationTemplateMutatingWebhook() admissionregistrationv1.MutatingWebhook
Metal3RemediationTemplateMutatingWebhook returns mutating webhook for metal3remediationtemplate to apply in configuration
func Metal3RemediationTemplateValidatingWebhook ¶
func Metal3RemediationTemplateValidatingWebhook() admissionregistrationv1.ValidatingWebhook
Metal3RemediationTemplateValidatingWebhook returns validating webhooks for metal3remediationtemplate to populate the configuration
func Metal3RemediationValidatingWebhook ¶
func Metal3RemediationValidatingWebhook() admissionregistrationv1.ValidatingWebhook
Metal3RemediationValidatingWebhook returns validating webhooks for metal3remediation to populate the configuration
func NewMachineDefaulter ¶
NewDefaulter returns a new machineDefaulterHandler.
func NewMachineMutatingWebhookConfiguration ¶
func NewMachineMutatingWebhookConfiguration() *admissionregistrationv1.MutatingWebhookConfiguration
NewMachineMutatingWebhookConfiguration creates a mutating webhook configuration with configured Machine and MachineSet webhooks
func NewMachineSetDefaulter ¶
NewMachineSetDefaulter returns a new machineSetDefaulterHandler.
func NewMachineSetValidator ¶
func NewMachineSetValidator(client client.Client, featureGate featuregate.MutableFeatureGate) (*admission.Webhook, error)
NewMachineSetValidator returns a new machineSetValidatorHandler.
func NewMachineValidatingWebhookConfiguration ¶
func NewMachineValidatingWebhookConfiguration() *admissionregistrationv1.ValidatingWebhookConfiguration
NewMachineValidatingWebhookConfiguration creates a validation webhook configuration with configured Machine and MachineSet webhooks
func NewMachineValidator ¶
func NewMachineValidator(client client.Client, featureGate featuregate.MutableFeatureGate) (*admission.Webhook, error)
NewValidator returns a new machineValidatorHandler.
func NewMetal3RemediationMutatingWebhookConfiguration ¶
func NewMetal3RemediationMutatingWebhookConfiguration() *admissionregistrationv1.MutatingWebhookConfiguration
NewMetal3RemediationMutatingWebhookConfiguration creates a mutating webhook configuration with configured metal3remediation(template) webhooks. Metal3Remediation(Templates) were backported from metal3, their CRDs and the actual webhook implementation can be found in cluster-api-provider-baremetal
func NewMetal3RemediationValidatingWebhookConfiguration ¶
func NewMetal3RemediationValidatingWebhookConfiguration() *admissionregistrationv1.ValidatingWebhookConfiguration
NewMetal3RemediationValidatingWebhookConfiguration creates a validation webhook configuration with configured metal3remediation(template) webhooks. Metal3Remediation(Templates) were backported from metal3, their CRDs and the actual webhook implementation can be found in cluster-api-provider-baremetal
Types ¶
This section is empty.