webhook

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 29 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

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

func NewProvider

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

func (Provider) CreateManager

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