Documentation ¶
Index ¶
- func AddTagIfMissing(projectID string, instance string, zone string)
- func ClusterName() (string, error)
- func IsInstanceUsesReservedIP(projectID string, instance string, zone string, config *cfg.Config) bool
- func Kubeip(instance <-chan types.Instance, config *cfg.Config)
- func ProjectName() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTagIfMissing ¶
AddTagIfMissing add GKE node tag if missing
func ClusterName ¶
ClusterName get GKE cluster name from metadata
func IsInstanceUsesReservedIP ¶
func IsInstanceUsesReservedIP(projectID string, instance string, zone string, config *cfg.Config) bool
IsInstanceUsesReservedIP test if GKE node is using reserved IP
func ProjectName ¶
ProjectName get GCP project name from metadata
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.