 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
- type HostedClusterWebhook
- func (s *HostedClusterWebhook) Authorized(request admissionctl.Request) admissionctl.Response
- func (s *HostedClusterWebhook) ClassicEnabled() bool
- func (s *HostedClusterWebhook) Doc() string
- func (s *HostedClusterWebhook) FailurePolicy() admissionregv1.FailurePolicyType
- func (s *HostedClusterWebhook) GetURI() string
- func (s *HostedClusterWebhook) HypershiftEnabled() bool
- func (s *HostedClusterWebhook) MatchPolicy() admissionregv1.MatchPolicyType
- func (s *HostedClusterWebhook) Name() string
- func (s *HostedClusterWebhook) ObjectSelector() *metav1.LabelSelector
- func (s *HostedClusterWebhook) Rules() []admissionregv1.RuleWithOperations
- func (s *HostedClusterWebhook) SideEffects() admissionregv1.SideEffectClass
- func (s *HostedClusterWebhook) SyncSetLabelSelector() metav1.LabelSelector
- func (s *HostedClusterWebhook) TimeoutSeconds() int32
- func (s *HostedClusterWebhook) Validate(req admissionctl.Request) bool
 
Constants ¶
      View Source
      
  
const (
	WebhookName string = "hostedcluster-validation"
)
    Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostedClusterWebhook ¶
type HostedClusterWebhook struct {
	// contains filtered or unexported fields
}
    HostedClusterWebhook validates HostedCluster deletion operations
func (*HostedClusterWebhook) Authorized ¶
func (s *HostedClusterWebhook) Authorized(request admissionctl.Request) admissionctl.Response
Authorized implements Webhook interface
func (*HostedClusterWebhook) ClassicEnabled ¶
func (s *HostedClusterWebhook) ClassicEnabled() bool
func (*HostedClusterWebhook) Doc ¶
func (s *HostedClusterWebhook) Doc() string
func (*HostedClusterWebhook) FailurePolicy ¶
func (s *HostedClusterWebhook) FailurePolicy() admissionregv1.FailurePolicyType
FailurePolicy implements Webhook interface
func (*HostedClusterWebhook) GetURI ¶
func (s *HostedClusterWebhook) GetURI() string
GetURI implements Webhook interface
func (*HostedClusterWebhook) HypershiftEnabled ¶
func (s *HostedClusterWebhook) HypershiftEnabled() bool
func (*HostedClusterWebhook) MatchPolicy ¶
func (s *HostedClusterWebhook) MatchPolicy() admissionregv1.MatchPolicyType
MatchPolicy implements Webhook interface
func (*HostedClusterWebhook) Name ¶
func (s *HostedClusterWebhook) Name() string
Name implements Webhook interface
func (*HostedClusterWebhook) ObjectSelector ¶
func (s *HostedClusterWebhook) ObjectSelector() *metav1.LabelSelector
ObjectSelector implements Webhook interface
func (*HostedClusterWebhook) Rules ¶
func (s *HostedClusterWebhook) Rules() []admissionregv1.RuleWithOperations
Rules implements Webhook interface
func (*HostedClusterWebhook) SideEffects ¶
func (s *HostedClusterWebhook) SideEffects() admissionregv1.SideEffectClass
SideEffects implements Webhook interface
func (*HostedClusterWebhook) SyncSetLabelSelector ¶
func (s *HostedClusterWebhook) SyncSetLabelSelector() metav1.LabelSelector
SyncSetLabelSelector returns the label selector to use in the SyncSet.
func (*HostedClusterWebhook) TimeoutSeconds ¶
func (s *HostedClusterWebhook) TimeoutSeconds() int32
TimeoutSeconds implements Webhook interface
func (*HostedClusterWebhook) Validate ¶
func (s *HostedClusterWebhook) Validate(req admissionctl.Request) bool
Validate - Make sure we're working with a well-formed Admission Request object
 Click to show internal directories. 
   Click to hide internal directories.