hostedcluster

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: 10 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type HostedClusterWebhook

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

HostedClusterWebhook validates HostedCluster deletion operations

func NewWebhook

func NewWebhook() *HostedClusterWebhook

NewWebhook creates a new webhook

func (*HostedClusterWebhook) Authorized

Authorized implements Webhook interface

func (*HostedClusterWebhook) ClassicEnabled

func (s *HostedClusterWebhook) ClassicEnabled() bool

func (*HostedClusterWebhook) Doc

func (s *HostedClusterWebhook) Doc() string

func (*HostedClusterWebhook) FailurePolicy

FailurePolicy implements Webhook interface

func (*HostedClusterWebhook) GetURI

func (s *HostedClusterWebhook) GetURI() string

GetURI implements Webhook interface

func (*HostedClusterWebhook) HypershiftEnabled

func (s *HostedClusterWebhook) HypershiftEnabled() bool

func (*HostedClusterWebhook) MatchPolicy

MatchPolicy implements Webhook interface

func (*HostedClusterWebhook) Name

func (s *HostedClusterWebhook) Name() string

Name implements Webhook interface

func (*HostedClusterWebhook) ObjectSelector

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

ObjectSelector implements Webhook interface

func (*HostedClusterWebhook) Rules

Rules implements Webhook interface

func (*HostedClusterWebhook) SideEffects

SideEffects implements Webhook interface

func (*HostedClusterWebhook) SyncSetLabelSelector

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

SyncSetLabelSelector returns the label selector to use in the SyncSet.

func (*HostedClusterWebhook) TimeoutSeconds

func (s *HostedClusterWebhook) TimeoutSeconds() int32

TimeoutSeconds implements Webhook interface

func (*HostedClusterWebhook) Validate

func (s *HostedClusterWebhook) Validate(req admissionctl.Request) bool

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