Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunWebhook ¶
func RunWebhook(wp *PullerWebhookParameters, stop chan struct{})
Types ¶
type PullerWebhookParameters ¶
type PullerWebhookParameters struct { // Webhook port Port uint // CACertFile is the path to the x509 CA bundle file. CACertFile string // CertFile is the path to the x509 certificate for https. CertFile string // KeyFile is the path to the x509 private key matching `CertFile`. KeyFile string // WebhookConfigFile is the path to the mutatingwebhookconfiguration WebhookConfigFile string // Namespace is the namespace in which the deployment and service resides. Namespace string // Name of the webhook WebhookName string // The webhook deployment name DeploymentName string // RegistrySecretFile is the name of the yaml file containing the registry secret RegistrySecretFile string Clientset clientset.Interface }
func DefaultArgs ¶
func DefaultArgs() *PullerWebhookParameters
func (*PullerWebhookParameters) String ¶
func (p *PullerWebhookParameters) String() string
func (*PullerWebhookParameters) Validate ¶
func (p *PullerWebhookParameters) Validate() error
Validate tests if the PullerWebhookParameters has valid params.
type Webhook ¶
type Webhook struct {
// contains filtered or unexported fields
}
func NewWebhook ¶
func NewWebhook(p PullerWebhookParameters) (*Webhook, error)
NewWebhook creates a new instance of the admission webhook controller.
Click to show internal directories.
Click to hide internal directories.