Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartWebhookServer ¶
func StartWebhookServer(t *testing.T, args []string) (ServerOptions, StopFunc)
Types ¶
type ServerOptions ¶
type ServerOptions struct { // URL is the base path/URL that the webhook server can be accessed on. // This is typically of the form: https://127.0.0.1:12345. URL string // CAPEM is PEM data containing the CA used to validate connections to the // webhook. // If `--tls-cert-file` or `--tls-private-key-file` are explicitly provided // as flags, this field will be empty. CAPEM []byte }
Click to show internal directories.
Click to hide internal directories.