config

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Debug                      bool
	RegistryInsecureSkipVerify bool
	Kubernetes                 *KubernetesConfig
	Namespace                  string
	PolicyGroup                string
	Port                       int
	ClientConfig               *common.ClientConfig
	Tls                        *TlsConfig
	Name                       string
}

func Build

func Build(name string, args []string) (*Config, error)

type KubernetesConfig

type KubernetesConfig struct {
	InCluster  bool
	ConfigFile string
}

type TlsConfig

type TlsConfig struct {
	Secret    string
	Name      string
	Namespace string
}

Jump to

Keyboard shortcuts

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