k8s

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Stage

func Stage() string

Stage get current stage

Types

type ClusterConfig

type ClusterConfig struct {
	BearerToken     string          `yaml:"bearerToken" json:"bearerToken"`
	TLSClientConfig TLSClientConfig `yaml:"tlsClientConfig" json:"tlsClientConfig"`
}

type Config

type Config struct {
	KubeConfig     string `yaml:"kubeConfig" json:"kubeConfig"`
	KubeConfigPath string `yaml:"kubeConfigPath" json:"kubeConfigPath"`
	*ClusterConfig `yaml:",inline" json:",inline"`
}

func (*Config) Init

func (e *Config) Init()

type TLSClientConfig

type TLSClientConfig struct {
	Insecure bool   `yaml:"insecure" json:"insecure"`
	CertData string `yaml:"certData" json:"certData"`
	CertPath string `yaml:"certPath" json:"certPath"`
	KeyData  string `yaml:"keyData" json:"keyData"`
	KeyPath  string `yaml:"keyPath" json:"keyPath"`
	CaData   string `yaml:"caData" json:"caData"`
	CaPath   string `yaml:"caPath" json:"caPath"`
}

Jump to

Keyboard shortcuts

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