hcpnamespace

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 = "hcpnamespace-validation"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HCPNamespaceWebhook

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

HCPNamespaceWebhook validates HCP namespace deletion operations

func NewWebhook

func NewWebhook() *HCPNamespaceWebhook

NewWebhook creates a new webhook

func (*HCPNamespaceWebhook) Authorized

Authorized implements Webhook interface

func (*HCPNamespaceWebhook) ClassicEnabled

func (s *HCPNamespaceWebhook) ClassicEnabled() bool

func (*HCPNamespaceWebhook) Doc

func (s *HCPNamespaceWebhook) Doc() string

func (*HCPNamespaceWebhook) FailurePolicy

FailurePolicy implements Webhook interface

func (*HCPNamespaceWebhook) GetURI

func (s *HCPNamespaceWebhook) GetURI() string

GetURI implements Webhook interface

func (*HCPNamespaceWebhook) HypershiftEnabled

func (s *HCPNamespaceWebhook) HypershiftEnabled() bool

func (*HCPNamespaceWebhook) MatchPolicy

MatchPolicy implements Webhook interface

func (*HCPNamespaceWebhook) Name

func (s *HCPNamespaceWebhook) Name() string

Name implements Webhook interface

func (*HCPNamespaceWebhook) ObjectSelector

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

ObjectSelector implements Webhook interface

func (*HCPNamespaceWebhook) Rules

Rules implements Webhook interface

func (*HCPNamespaceWebhook) SideEffects

SideEffects implements Webhook interface

func (*HCPNamespaceWebhook) SyncSetLabelSelector

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

SyncSetLabelSelector returns the label selector to use in the SyncSet.

func (*HCPNamespaceWebhook) TimeoutSeconds

func (s *HCPNamespaceWebhook) TimeoutSeconds() int32

TimeoutSeconds implements Webhook interface

func (*HCPNamespaceWebhook) Validate

func (s *HCPNamespaceWebhook) 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