Documentation
¶
Overview ¶
Package k8s contains some helper functions related to the Kubernetes.
Index ¶
- Constants
- func BuildKubeconfig(conf BuildKubeconfigConfig) (string, error)
- func CopySchedulerConfig(oldpath, newpath, kubeconfig string) error
- func GetEtcdVersion(version int) string
- func GetFeatureGates(version int) string
- func GetRuntimeConfig(version int) string
- type BuildKubeconfigConfig
- type FeatureSpec
- type Stage
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 CopySchedulerConfig ¶ added in v0.1.0
func GetEtcdVersion ¶
func GetFeatureGates ¶
func GetRuntimeConfig ¶
Types ¶
type BuildKubeconfigConfig ¶
type FeatureSpec ¶
func (*FeatureSpec) Contain ¶
func (f *FeatureSpec) Contain(v int) bool
func (*FeatureSpec) Verification ¶
func (f *FeatureSpec) Verification() error
Click to show internal directories.
Click to hide internal directories.