config

package
v0.0.0-...-92fbb66 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 0 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 {
	Rancher struct {
		Clusters []RancherCluster `yaml:"clusters"`
	} `yaml:"rancher"`
	Kubernetes struct {
		Clusters []KubernetesCluster `yaml:"clusters"`
	} `yaml:"kubernetes"`
}

Config defines the config

type KubernetesCluster

type KubernetesCluster struct {
	ClusterName string `yaml:"clustername"`
	KubeConfig  string `yaml:"kubeconfig"`
}

type RancherCluster

type RancherCluster struct {
	Environment string `yaml:"environment"`
	URL         string `yaml:"url"`
	Token       string `yaml:"token"`
}

Jump to

Keyboard shortcuts

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