env

package
v0.0.0-...-a606d81 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIBaseURL

func APIBaseURL() string

APIBaseURL returns HKS Cloud API url

func AgentInformerSyncInterval

func AgentInformerSyncInterval() time.Duration

AgentInformerSyncInterval returns the agent informer sync interval

func AuthBaseURL

func AuthBaseURL() string

AuthBaseURL returns HKS Cloud Auth url

func CloudClusterAPIKey

func CloudClusterAPIKey() string

CloudClusterAPIKey returns HKS Cloud cluster api key

func ClusterID

func ClusterID() string

ClusterID returns HKS Cloud cluster id

func CoordinatorInformerSyncInterval

func CoordinatorInformerSyncInterval() time.Duration

CoordinatorInformerSyncInterval returns the coordinator informer sync interval

func Dump

func Dump()

Dump dumps the environment if we're in a development or stage environment

func HKSCloudEnvironment

func HKSCloudEnvironment() string

HKSCloudEnvironment returns HKS Cloud environment

func HKSCloudSyncInterval

func HKSCloudSyncInterval() time.Duration

HKSCloudSyncInterval returns the cloud sync interval

func HKSServerPort

func HKSServerPort() string

HKSServerPort returns cluster-manager http server port

func IsClusterManagementPluginSyncDisabled

func IsClusterManagementPluginSyncDisabled() bool

IsClusterManagementPluginSyncDisabled returns true if syncing of cluster management plugin is disabled

func IsClusterUpgradeEnabled

func IsClusterUpgradeEnabled() bool

IsClusterUpgradeEnabled returns true if cluster upgrade is enabled, else false

func Kubeconfig

func Kubeconfig() string

Kubeconfig returns kubeconfig file if defined

func KubectlPath

func KubectlPath() string

KubectlPath returns the path to use the kubectl command

func NodeName

func NodeName() string

NodeName returns the name of the node that is running the process

func OrganizationID

func OrganizationID() string

OrganizationID returns HKS Cloud organization id

func ProvisionBaseURL

func ProvisionBaseURL() string

ProvisionBaseURL returns HKS Cloud Provision url

Types

This section is empty.

Jump to

Keyboard shortcuts

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