kipcompute

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTagIfMissing

func AddTagIfMissing(projectID string, instance string, zone string)

AddTagIfMissing add GKE node tag if missing

func ClusterName

func ClusterName() (string, error)

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 Kubeip

func Kubeip(instance <-chan types.Instance, config *cfg.Config)

Kubeip replace GKE node IP

func ProjectName

func ProjectName() (string, error)

ProjectName get GCP project name from metadata

Types

This section is empty.

Jump to

Keyboard shortcuts

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