podimagespec

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

Documentation

Index

Constants

View Source
const (
	WebhookName string = "podimagespec-mutation"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PodImageSpecWebhook

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

PodImageSpecWebhook mutates an image spec in a pod

func NewWebhook

func NewWebhook() *PodImageSpecWebhook

NewWebhook creates the new webhook

func (*PodImageSpecWebhook) Authorized

Authorized implements Webhook interface

func (*PodImageSpecWebhook) ClassicEnabled

func (s *PodImageSpecWebhook) ClassicEnabled() bool

ClassicEnabled indicates that this webhook is compatible with classic clusters

func (*PodImageSpecWebhook) Doc

func (s *PodImageSpecWebhook) Doc() string

Doc implements Webhook interface

func (*PodImageSpecWebhook) FailurePolicy

FailurePolicy implements Webhook interface

func (*PodImageSpecWebhook) GetURI

func (s *PodImageSpecWebhook) GetURI() string

GetURI implements Webhook interface

func (*PodImageSpecWebhook) HypershiftEnabled

func (s *PodImageSpecWebhook) HypershiftEnabled() bool

HypershiftEnabled indicates that this webhook is compatible with hosted control plane clusters

func (*PodImageSpecWebhook) MatchPolicy

MatchPolicy implements Webhook interface

func (*PodImageSpecWebhook) Name

func (s *PodImageSpecWebhook) Name() string

Name implements Webhook interface

func (*PodImageSpecWebhook) ObjectSelector

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

ObjectSelector implements Webhook interface

func (*PodImageSpecWebhook) Rules

Rules implements Webhook interface

func (*PodImageSpecWebhook) SideEffects

SideEffects implements Webhook interface

func (*PodImageSpecWebhook) SyncSetLabelSelector

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

SyncSetLabelSelector returns the label selector to use in the SyncSet. Return utils.DefaultLabelSelector() to stick with the default

func (*PodImageSpecWebhook) TimeoutSeconds

func (s *PodImageSpecWebhook) TimeoutSeconds() int32

TimeoutSeconds implements Webhook interface

func (*PodImageSpecWebhook) Validate

func (s *PodImageSpecWebhook) Validate(request admissionctl.Request) bool

Validate implements Webhook interface

Jump to

Keyboard shortcuts

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