Documentation ¶
Index ¶
- Constants
- type NodeWebhook
- func (s *NodeWebhook) Authorized(request admissionctl.Request) admissionctl.Response
- func (s *NodeWebhook) ClassicEnabled() bool
- func (s *NodeWebhook) Doc() string
- func (s *NodeWebhook) FailurePolicy() admissionregv1.FailurePolicyType
- func (s *NodeWebhook) GetURI() string
- func (s *NodeWebhook) HypershiftEnabled() bool
- func (s *NodeWebhook) MatchPolicy() admissionregv1.MatchPolicyType
- func (s *NodeWebhook) Name() string
- func (s *NodeWebhook) ObjectSelector() *metav1.LabelSelector
- func (s *NodeWebhook) Rules() []admissionregv1.RuleWithOperations
- func (s *NodeWebhook) SideEffects() admissionregv1.SideEffectClass
- func (s *NodeWebhook) SyncSetLabelSelector() metav1.LabelSelector
- func (s *NodeWebhook) TimeoutSeconds() int32
- func (s *NodeWebhook) Validate(req admissionctl.Request) bool
Constants ¶
View Source
const (
WebhookName string = "node-validation-osd"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeWebhook ¶
type NodeWebhook struct {
// contains filtered or unexported fields
}
NodeWebhook protects various objects from unauthorized manipulation
func (*NodeWebhook) Authorized ¶
func (s *NodeWebhook) Authorized(request admissionctl.Request) admissionctl.Response
Authorized implements Webhook interface
func (*NodeWebhook) ClassicEnabled ¶
func (s *NodeWebhook) ClassicEnabled() bool
func (*NodeWebhook) Doc ¶
func (s *NodeWebhook) Doc() string
func (*NodeWebhook) FailurePolicy ¶
func (s *NodeWebhook) FailurePolicy() admissionregv1.FailurePolicyType
FailurePolicy implements Webhook interface
func (*NodeWebhook) GetURI ¶
func (s *NodeWebhook) GetURI() string
GetURI implements Webhook interface
func (*NodeWebhook) HypershiftEnabled ¶
func (s *NodeWebhook) HypershiftEnabled() bool
func (*NodeWebhook) MatchPolicy ¶
func (s *NodeWebhook) MatchPolicy() admissionregv1.MatchPolicyType
MatchPolicy implements Webhook interface
func (*NodeWebhook) ObjectSelector ¶
func (s *NodeWebhook) ObjectSelector() *metav1.LabelSelector
ObjectSelector implements Webhook interface
func (*NodeWebhook) Rules ¶
func (s *NodeWebhook) Rules() []admissionregv1.RuleWithOperations
Rules implements Webhook interface
func (*NodeWebhook) SideEffects ¶
func (s *NodeWebhook) SideEffects() admissionregv1.SideEffectClass
SideEffects implements Webhook interface
func (*NodeWebhook) SyncSetLabelSelector ¶
func (s *NodeWebhook) SyncSetLabelSelector() metav1.LabelSelector
SyncSetLabelSelector returns the label selector to use in the SyncSet.
func (*NodeWebhook) TimeoutSeconds ¶
func (s *NodeWebhook) TimeoutSeconds() int32
TimeoutSeconds implements Webhook interface
func (*NodeWebhook) Validate ¶
func (s *NodeWebhook) Validate(req admissionctl.Request) bool
Validate is the incoming request even valid?
Click to show internal directories.
Click to hide internal directories.