manifestworks

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

Variables

This section is empty.

Functions

This section is empty.

Types

type ManifestWorksWebhook

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

ManifestWorksWebhook validates ManifestWorks deletion operations

func NewWebhook

func NewWebhook() *ManifestWorksWebhook

NewWebhook creates a new webhook

func (*ManifestWorksWebhook) Authorized

Authorized implements Webhook interface

func (*ManifestWorksWebhook) ClassicEnabled

func (s *ManifestWorksWebhook) ClassicEnabled() bool

func (*ManifestWorksWebhook) Doc

func (s *ManifestWorksWebhook) Doc() string

func (*ManifestWorksWebhook) FailurePolicy

FailurePolicy implements Webhook interface

func (*ManifestWorksWebhook) GetURI

func (s *ManifestWorksWebhook) GetURI() string

GetURI implements Webhook interface

func (*ManifestWorksWebhook) HypershiftEnabled

func (s *ManifestWorksWebhook) HypershiftEnabled() bool

func (*ManifestWorksWebhook) MatchPolicy

MatchPolicy implements Webhook interface

func (*ManifestWorksWebhook) Name

func (s *ManifestWorksWebhook) Name() string

Name implements Webhook interface

func (*ManifestWorksWebhook) ObjectSelector

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

ObjectSelector implements Webhook interface

func (*ManifestWorksWebhook) Rules

Rules implements Webhook interface

func (*ManifestWorksWebhook) SideEffects

SideEffects implements Webhook interface

func (*ManifestWorksWebhook) SyncSetLabelSelector

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

SyncSetLabelSelector returns the label selector to use in the SyncSet.

func (*ManifestWorksWebhook) TimeoutSeconds

func (s *ManifestWorksWebhook) TimeoutSeconds() int32

TimeoutSeconds implements Webhook interface

func (*ManifestWorksWebhook) Validate

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