clusterrole

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

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterRoleWebHook

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

func NewWebhook

func NewWebhook() *ClusterRoleWebHook

NewWebhook creates the new webhook

func (*ClusterRoleWebHook) Authorized

Authorized implements Webhook interface

func (*ClusterRoleWebHook) ClassicEnabled

func (s *ClusterRoleWebHook) ClassicEnabled() bool

func (*ClusterRoleWebHook) Doc

func (s *ClusterRoleWebHook) Doc() string

Doc implements Webhook interface

func (*ClusterRoleWebHook) FailurePolicy

FailurePolicy implements Webhook interface

func (*ClusterRoleWebHook) GetURI

func (s *ClusterRoleWebHook) GetURI() string

GetURI implements Webhook interface

func (*ClusterRoleWebHook) HypershiftEnabled

func (s *ClusterRoleWebHook) HypershiftEnabled() bool

func (*ClusterRoleWebHook) MatchPolicy

MatchPolicy implements Webhook interface

func (*ClusterRoleWebHook) Name

func (s *ClusterRoleWebHook) Name() string

Name implements Webhook interface

func (*ClusterRoleWebHook) ObjectSelector

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

ObjectSelector implements Webhook interface

func (*ClusterRoleWebHook) Rules

Rules implements Webhook interface

func (*ClusterRoleWebHook) SideEffects

SideEffects implements Webhook interface

func (*ClusterRoleWebHook) SyncSetLabelSelector

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

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

func (*ClusterRoleWebHook) TimeoutSeconds

func (s *ClusterRoleWebHook) TimeoutSeconds() int32

TimeoutSeconds implements Webhook interface

func (*ClusterRoleWebHook) Validate

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