regularuser

package
v0.0.0-...-d20acdf Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WebhookName string = "regular-user-validation"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RegularuserWebhook

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

RegularuserWebhook protects various objects from unauthorized manipulation

func NewWebhook

func NewWebhook() *RegularuserWebhook

NewWebhook creates a new webhook

func (*RegularuserWebhook) Authorized

Authorized implements Webhook interface

func (*RegularuserWebhook) Doc

func (s *RegularuserWebhook) Doc() string

func (*RegularuserWebhook) FailurePolicy

FailurePolicy implements Webhook interface

func (*RegularuserWebhook) GetURI

func (s *RegularuserWebhook) GetURI() string

GetURI implements Webhook interface

func (*RegularuserWebhook) MatchPolicy

MatchPolicy implements Webhook interface

func (*RegularuserWebhook) Name

func (s *RegularuserWebhook) Name() string

Name implements Webhook interface

func (*RegularuserWebhook) ObjectSelector

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

ObjectSelector implements Webhook interface

func (*RegularuserWebhook) Rules

Rules implements Webhook interface

func (*RegularuserWebhook) SideEffects

SideEffects implements Webhook interface

func (*RegularuserWebhook) SyncSetLabelSelector

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

SyncSetLabelSelector returns the label selector to use in the SyncSet.

func (*RegularuserWebhook) TimeoutSeconds

func (s *RegularuserWebhook) TimeoutSeconds() int32

TimeoutSeconds implements Webhook interface

func (*RegularuserWebhook) Validate

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

Validate is the incoming request even valid?

Jump to

Keyboard shortcuts

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