Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddHooks ¶
func AddHooks(ctx context.Context, config *config.Config, m manager.Manager, generator credsgen.Generator) error
AddHooks adds all web hooks to the Manager
func AddToManager ¶
AddToManager adds all Controllers to the Manager
func AddToScheme ¶
AddToScheme adds all Resources to the Scheme
Types ¶
type WebhookConfig ¶
type WebhookConfig struct { ConfigName string CertDir string Certificate []byte Key []byte CaCertificate []byte CaKey []byte // contains filtered or unexported fields }
WebhookConfig generates certificates and the configuration for the webhook server
func NewWebhookConfig ¶
func NewWebhookConfig(c client.Client, config *config.Config, generator credsgen.Generator, configName string) *WebhookConfig
NewWebhookConfig returns a new WebhookConfig
Click to show internal directories.
Click to hide internal directories.