webhook

package
v0.13.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagCertificateDirectory   = "certs-dir"
	FlagCertificateFileName    = "cert"
	FlagCertificateKeyFileName = "cert-key"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandBuilder

type CommandBuilder struct {
	// contains filtered or unexported fields
}

func NewWebhookCommandBuilder

func NewWebhookCommandBuilder() CommandBuilder

func (CommandBuilder) Build

func (builder CommandBuilder) Build() *cobra.Command

func (CommandBuilder) GetManagerProvider

func (builder CommandBuilder) GetManagerProvider() cmdManager.Provider

func (CommandBuilder) SetConfigProvider

func (builder CommandBuilder) SetConfigProvider(provider config.Provider) CommandBuilder

func (CommandBuilder) SetManagerProvider

func (builder CommandBuilder) SetManagerProvider(provider cmdManager.Provider) CommandBuilder

func (CommandBuilder) SetNamespace

func (builder CommandBuilder) SetNamespace(namespace string) CommandBuilder

func (CommandBuilder) SetPodName

func (builder CommandBuilder) SetPodName(podName string) CommandBuilder

type Provider added in v0.11.0

type Provider struct {
	// contains filtered or unexported fields
}

func NewProvider added in v0.11.0

func NewProvider(certificateDirectory string, keyFileName string, certificateFileName string) Provider

func (Provider) CreateManager added in v0.11.0

func (provider Provider) CreateManager(namespace string, config *rest.Config) (manager.Manager, error)

Jump to

Keyboard shortcuts

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