cli

package
v0.0.0-...-b3bd0b8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Flags

func Flags(config *WebhookConfig) []cli.Flag

Types

type WebhookConfig

type WebhookConfig struct {
	WebhookAuthentication bool
	WebhookKubeconfig     string
	WebhookURL            string
	CacheTTLSeconds       int
}

func (*WebhookConfig) MustWebhookMiddleware

func (w *WebhookConfig) MustWebhookMiddleware() auth.Middleware

func (*WebhookConfig) WebhookMiddleware

func (w *WebhookConfig) WebhookMiddleware() (auth.Middleware, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL