k8stools

package
v0.0.0-...-8a20bae Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MetaClusterMark      = "hackathon.kaiyuanshe.cn/meta-cluster"
	MetaClusterName      = "meta-cluster"
	MetaClusterNameSpace = "default"
)

Functions

func GetClusterPublicAndPrivateIps

func GetClusterPublicAndPrivateIps(nodes []corev1.Node) (publicIps, privateIps []string)

func IsPodReady

func IsPodReady(pod *corev1.Pod) bool

func NewMetaCluster

func NewMetaCluster(client client.Client) (*hackathonv1.CustomCluster, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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