config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2022 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Kind               = "Config"
	DefaultClusterName = "kink"
)

Variables

View Source
var (
	APIVersions = []string{"kink.meln5674.github.com/v0"}
)

Functions

This section is empty.

Types

type Config

type Config struct {
	metav1.TypeMeta
	// Helm configures the `helm` commands used to manage the internal cluster
	Helm helm.HelmFlags `json:"helm"`
	// Kubectl configures the `kubectl` commands used to interact with the external cluster
	Kubectl kubectl.KubectlFlags `json:"kubectl"`
	// Kubernetes configures the connection to the external cluster
	Kubernetes kubectl.KubeFlags `json:"kubernetes"`
	// Docker configures the `docker` commands used to move images from a local daemon into the internal cluster
	Docker docker.DockerFlags `json:"docker"`
	// Chart configures the Helm Chart used to deploy the cluster
	Chart helm.ChartFlags `json:"chart"`
	// Release configures the Helm Release of the Chart that is used to deploy the cluster
	Release helm.ReleaseFlags `json:"release"`
}

Config contains all of the necessary configuration to run the KinK CLI

func (*Config) Override

func (c *Config) Override(c2 *Config)

Overrides sets any non-zero fields from another config in this one

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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