Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RegionIDTag is region id RegionIDTag = "region-id" // InstanceIDTag is instance id InstanceIDTag = "instance-id" )
Variables ¶
This section is empty.
Functions ¶
func GetDefaultAK ¶
GetDefaultAK read default ak from local file or from STS
func GetLocalAK ¶
func GlobalConfigSet ¶
func GlobalConfigSet(nodeID, masterURL, kubeconfig string)
GlobalConfigSet set Global Config
Types ¶
type GlobalConfig ¶
type GlobalConfig struct { //EcsClient *ecs.Client //Region string NodeInfo *v1.Node KubeClient *kubernetes.Clientset }
GlobalConfig save global values for plugin
var (
GlobalConfigVar GlobalConfig
)
Click to show internal directories.
Click to hide internal directories.