config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 5 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
	PolicyId                   string
	Port                       int
	Rode                       *RodeConfig
	Tls                        *TlsConfig
}

func Build

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

type KubernetesConfig

type KubernetesConfig struct {
	InCluster  bool
	ConfigFile string
}

type RodeConfig added in v0.3.0

type RodeConfig struct {
	Host     string
	Insecure bool
}

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