Documentation ¶
Index ¶
- Constants
- type SCCWebHook
- func (s *SCCWebHook) Authorized(request admissionctl.Request) admissionctl.Response
- func (s *SCCWebHook) Doc() string
- func (s *SCCWebHook) FailurePolicy() admissionregv1.FailurePolicyType
- func (s *SCCWebHook) GetURI() string
- func (s *SCCWebHook) HypershiftEnabled() bool
- func (s *SCCWebHook) MatchPolicy() admissionregv1.MatchPolicyType
- func (s *SCCWebHook) Name() string
- func (s *SCCWebHook) ObjectSelector() *metav1.LabelSelector
- func (s *SCCWebHook) Rules() []admissionregv1.RuleWithOperations
- func (s *SCCWebHook) SideEffects() admissionregv1.SideEffectClass
- func (s *SCCWebHook) SyncSetLabelSelector() metav1.LabelSelector
- func (s *SCCWebHook) TimeoutSeconds() int32
- func (s *SCCWebHook) Validate(request admissionctl.Request) bool
Constants ¶
View Source
const (
WebhookName = "scc-validation"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SCCWebHook ¶
type SCCWebHook struct {
// contains filtered or unexported fields
}
func (*SCCWebHook) Authorized ¶
func (s *SCCWebHook) Authorized(request admissionctl.Request) admissionctl.Response
Authorized implements Webhook interface
func (*SCCWebHook) FailurePolicy ¶
func (s *SCCWebHook) FailurePolicy() admissionregv1.FailurePolicyType
FailurePolicy implements Webhook interface
func (*SCCWebHook) GetURI ¶
func (s *SCCWebHook) GetURI() string
GetURI implements Webhook interface
func (*SCCWebHook) HypershiftEnabled ¶
func (s *SCCWebHook) HypershiftEnabled() bool
func (*SCCWebHook) MatchPolicy ¶
func (s *SCCWebHook) MatchPolicy() admissionregv1.MatchPolicyType
MatchPolicy implements Webhook interface
func (*SCCWebHook) ObjectSelector ¶
func (s *SCCWebHook) ObjectSelector() *metav1.LabelSelector
ObjectSelector implements Webhook interface
func (*SCCWebHook) Rules ¶
func (s *SCCWebHook) Rules() []admissionregv1.RuleWithOperations
Rules implements Webhook interface
func (*SCCWebHook) SideEffects ¶
func (s *SCCWebHook) SideEffects() admissionregv1.SideEffectClass
SideEffects implements Webhook interface
func (*SCCWebHook) SyncSetLabelSelector ¶
func (s *SCCWebHook) SyncSetLabelSelector() metav1.LabelSelector
SyncSetLabelSelector returns the label selector to use in the SyncSet. Return utils.DefaultLabelSelector() to stick with the default
func (*SCCWebHook) TimeoutSeconds ¶
func (s *SCCWebHook) TimeoutSeconds() int32
TimeoutSeconds implements Webhook interface
func (*SCCWebHook) Validate ¶
func (s *SCCWebHook) Validate(request admissionctl.Request) bool
Validate implements Webhook interface
Click to show internal directories.
Click to hide internal directories.