options

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubernetesOptions

type KubernetesOptions struct {
	KubeConfig   string
	ApiServerUrl string
}

func (*KubernetesOptions) AddFlags

func (ko *KubernetesOptions) AddFlags(flagSet *pflag.FlagSet)

type PolicyValidatorOptions

type PolicyValidatorOptions struct {
	Endpoint string
	Path     string

	TlsConfig *WebhookTlsOptions

	DataStore *datastoreconfig.DataStoreOptions

	KubernetesConfig *KubernetesOptions
}

func NewPolicyValidatorOptions

func NewPolicyValidatorOptions() *PolicyValidatorOptions

func (*PolicyValidatorOptions) AddFlags

func (pvo *PolicyValidatorOptions) AddFlags(flagSet *pflag.FlagSet)

type WebhookTlsOptions

type WebhookTlsOptions struct {
	TlsDirectory        string
	CertificateFileName string
	KeyFileName         string
}

Jump to

Keyboard shortcuts

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