Documentation ¶
Index ¶
- Constants
- type RegularuserWebhook
- func (s *RegularuserWebhook) Authorized(request admissionctl.Request) admissionctl.Response
- func (s *RegularuserWebhook) ClassicEnabled() bool
- func (s *RegularuserWebhook) Doc() string
- func (s *RegularuserWebhook) FailurePolicy() admissionregv1.FailurePolicyType
- func (s *RegularuserWebhook) GetURI() string
- func (s *RegularuserWebhook) HypershiftEnabled() bool
- func (s *RegularuserWebhook) MatchPolicy() admissionregv1.MatchPolicyType
- func (s *RegularuserWebhook) Name() string
- func (s *RegularuserWebhook) ObjectSelector() *metav1.LabelSelector
- func (s *RegularuserWebhook) Rules() []admissionregv1.RuleWithOperations
- func (s *RegularuserWebhook) SideEffects() admissionregv1.SideEffectClass
- func (s *RegularuserWebhook) SyncSetLabelSelector() metav1.LabelSelector
- func (s *RegularuserWebhook) TimeoutSeconds() int32
- func (s *RegularuserWebhook) Validate(req admissionctl.Request) bool
Constants ¶
View Source
const (
WebhookName = "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 (*RegularuserWebhook) Authorized ¶
func (s *RegularuserWebhook) Authorized(request admissionctl.Request) admissionctl.Response
Authorized implements Webhook interface
func (*RegularuserWebhook) ClassicEnabled ¶
func (s *RegularuserWebhook) ClassicEnabled() bool
func (*RegularuserWebhook) Doc ¶
func (s *RegularuserWebhook) Doc() string
func (*RegularuserWebhook) FailurePolicy ¶
func (s *RegularuserWebhook) FailurePolicy() admissionregv1.FailurePolicyType
FailurePolicy implements Webhook interface
func (*RegularuserWebhook) GetURI ¶
func (s *RegularuserWebhook) GetURI() string
GetURI implements Webhook interface
func (*RegularuserWebhook) HypershiftEnabled ¶
func (s *RegularuserWebhook) HypershiftEnabled() bool
func (*RegularuserWebhook) MatchPolicy ¶
func (s *RegularuserWebhook) MatchPolicy() admissionregv1.MatchPolicyType
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 ¶
func (s *RegularuserWebhook) Rules() []admissionregv1.RuleWithOperations
Rules implements Webhook interface
func (*RegularuserWebhook) SideEffects ¶
func (s *RegularuserWebhook) SideEffects() admissionregv1.SideEffectClass
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?
Click to show internal directories.
Click to hide internal directories.