Documentation ¶
Index ¶
- func ClientFromKubeConfig(conf []byte) (kubernetes.Interface, error)
- func ClientOrDie() kubernetes.Interface
- func MergeApiConfig(newAPIConfig *clientcmdapi.Config, override bool) (*clientcmdapi.Config, error)
- func ParseInstanceID(node *corev1.Node) string
- func ParseInternalIP(node *corev1.Node) net.IP
- func ParseRegion(node *corev1.Node) string
- func ParseZone(node *corev1.Node) string
- func SetKubeConfigName(conf []byte, clusterID, name string) (*clientcmdapi.Config, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientFromKubeConfig ¶
func ClientFromKubeConfig(conf []byte) (kubernetes.Interface, error)
func ClientOrDie ¶
func ClientOrDie() kubernetes.Interface
func MergeApiConfig ¶
func MergeApiConfig(newAPIConfig *clientcmdapi.Config, override bool) (*clientcmdapi.Config, error)
func ParseInstanceID ¶
func ParseRegion ¶
func SetKubeConfigName ¶
func SetKubeConfigName(conf []byte, clusterID, name string) (*clientcmdapi.Config, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.