clusterrolebinding

package
v0.0.0-...-a158ba3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterRoleBindingWebHook

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

func NewWebhook

func NewWebhook() *ClusterRoleBindingWebHook

NewWebhook creates the new webhook

func (*ClusterRoleBindingWebHook) Authorized

Authorized implements Webhook interface

func (*ClusterRoleBindingWebHook) Doc

Doc implements Webhook interface

func (*ClusterRoleBindingWebHook) FailurePolicy

FailurePolicy implements Webhook interface

func (*ClusterRoleBindingWebHook) GetURI

func (s *ClusterRoleBindingWebHook) GetURI() string

GetURI implements Webhook interface

func (*ClusterRoleBindingWebHook) HypershiftEnabled

func (s *ClusterRoleBindingWebHook) HypershiftEnabled() bool

func (*ClusterRoleBindingWebHook) MatchPolicy

MatchPolicy implements Webhook interface

func (*ClusterRoleBindingWebHook) Name

Name implements Webhook interface

func (*ClusterRoleBindingWebHook) ObjectSelector

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

ObjectSelector implements Webhook interface

func (*ClusterRoleBindingWebHook) Rules

Rules implements Webhook interface

func (*ClusterRoleBindingWebHook) SideEffects

SideEffects implements Webhook interface

func (*ClusterRoleBindingWebHook) SyncSetLabelSelector

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

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

func (*ClusterRoleBindingWebHook) TimeoutSeconds

func (s *ClusterRoleBindingWebHook) TimeoutSeconds() int32

TimeoutSeconds implements Webhook interface

func (*ClusterRoleBindingWebHook) Validate

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