Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Global struct { // Name of the secret were vCenter credentials are present. SecretName string `gcfg:"secret-name"` // Secret Namespace where secret will be present that has vCenter credentials. SecretNamespace string `gcfg:"secret-namespace"` // The kubernetes service account used to launch the cloud controller manager. // Default: cloud-controller-manager ServiceAccount string `gcfg:"service-account"` // Secret directory in the event that: // 1) we don't want to use the k8s API to listen for changes to secrets // 2) we are not in a k8s env, namely DC/OS, since CSI is CO agnostic // Default: /etc/cloud/credentials SecretsDirectory string `gcfg:"secrets-directory"` // Disable the CCM API // Default: true APIDisable bool `gcfg:"api-disable"` // Configurable CCM API port // Default: 43001 APIBinding string `gcfg:"api-binding"` } }
Config is used to read and store information from the cloud configuration file
Click to show internal directories.
Click to hide internal directories.