 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterWebhook ¶
RegisterWebhook registers a new webhook within the webhook registry. This function will return an error if it tries to register two webhooks with the same unique identifier.
Types ¶
type Webhook ¶
type Webhook struct {
	Type       string
	CRDKind    string
	APIVersion string
	// Setup is used to register the webhook within
	// the webhook manager
	Setup func(ctrlrt.Manager) error
}
    Webhook contains information about a custom Webhook
func GetWebhooks ¶
func GetWebhooks() []*Webhook
GetWebhooks returns the list of webhooks that were registred with RegisterWebhook function.
type WebhookType ¶
type WebhookType string
const ( WebhookTypeUnknown WebhookType = "unknown" WebhookTypeConversion WebhookType = "conversion" )
 Click to show internal directories. 
   Click to hide internal directories.