k8s

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Alpha = Stage("ALPHA")
	Beta  = Stage("BETA")
	GA    = Stage("GA")

	// Deprecated
	Deprecated = Stage("DEPRECATED")
)

Variables

This section is empty.

Functions

func BuildKubeconfig

func BuildKubeconfig(conf BuildKubeconfigConfig) (string, error)

func GetEtcdVersion

func GetEtcdVersion(version int) string

func GetFeatureGates

func GetFeatureGates(version int) string

func GetRuntimeConfig

func GetRuntimeConfig(version int) string

Types

type BuildKubeconfigConfig

type BuildKubeconfigConfig struct {
	ProjectName  string
	SecretPort   bool
	Address      string
	AdminCrtPath string
	AdminKeyPath string
}

type FeatureSpec

type FeatureSpec struct {
	Name  string
	Stage Stage
	Since int
	Until int
}

func (*FeatureSpec) Contain

func (f *FeatureSpec) Contain(v int) bool

func (*FeatureSpec) Verification

func (f *FeatureSpec) Verification() error

type Stage

type Stage string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳