hostedcontrolplane

package
v0.0.0-...-84660be Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WebhookName string = "hostedcontrolplane-validation"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HostedControlPlaneWebhook

type HostedControlPlaneWebhook struct {
	// contains filtered or unexported fields
}

HostedControlPlaneWebhook validates HostedControlPlane deletion operations

func NewWebhook

func NewWebhook() *HostedControlPlaneWebhook

NewWebhook creates a new webhook

func (*HostedControlPlaneWebhook) Authorized

Authorized implements Webhook interface

func (*HostedControlPlaneWebhook) ClassicEnabled

func (s *HostedControlPlaneWebhook) ClassicEnabled() bool

func (*HostedControlPlaneWebhook) Doc

func (*HostedControlPlaneWebhook) FailurePolicy

FailurePolicy implements Webhook interface

func (*HostedControlPlaneWebhook) GetURI

func (s *HostedControlPlaneWebhook) GetURI() string

GetURI implements Webhook interface

func (*HostedControlPlaneWebhook) HypershiftEnabled

func (s *HostedControlPlaneWebhook) HypershiftEnabled() bool

func (*HostedControlPlaneWebhook) MatchPolicy

MatchPolicy implements Webhook interface

func (*HostedControlPlaneWebhook) Name

Name implements Webhook interface

func (*HostedControlPlaneWebhook) ObjectSelector

func (s *HostedControlPlaneWebhook) ObjectSelector() *metav1.LabelSelector

ObjectSelector implements Webhook interface

func (*HostedControlPlaneWebhook) Rules

Rules implements Webhook interface

func (*HostedControlPlaneWebhook) SideEffects

SideEffects implements Webhook interface

func (*HostedControlPlaneWebhook) SyncSetLabelSelector

func (s *HostedControlPlaneWebhook) SyncSetLabelSelector() metav1.LabelSelector

SyncSetLabelSelector returns the label selector to use in the SyncSet.

func (*HostedControlPlaneWebhook) TimeoutSeconds

func (s *HostedControlPlaneWebhook) TimeoutSeconds() int32

TimeoutSeconds implements Webhook interface

func (*HostedControlPlaneWebhook) Validate

Validate - Make sure we're working with a well-formed Admission Request object

Jump to

Keyboard shortcuts

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