Documentation ¶
Index ¶
Constants ¶
View Source
const ( EksaGitPassphraseTokenEnv = "EKSA_GIT_SSH_KEY_PASSPHRASE" EksaGitPrivateKeyTokenEnv = "EKSA_GIT_PRIVATE_KEY" EksaGitKnownHostsFileEnv = "EKSA_GIT_KNOWN_HOSTS" SshKnownHostsEnv = "SSH_KNOWN_HOSTS" EksaAccessKeyIdEnv = "EKSA_AWS_ACCESS_KEY_ID" EksaSecretAccessKeyEnv = "EKSA_AWS_SECRET_ACCESS_KEY" AwsAccessKeyIdEnv = "AWS_ACCESS_KEY_ID" AwsSecretAccessKeyEnv = "AWS_SECRET_ACCESS_KEY" EksaRegionEnv = "EKSA_AWS_REGION" )
View Source
const ( HttpsProxyKey = "HTTPS_PROXY" HttpProxyKey = "HTTP_PROXY" NoProxyKey = "NO_PROXY" )
View Source
const ( EksavSphereUsernameKey = "EKSA_VSPHERE_USERNAME" EksavSpherePasswordKey = "EKSA_VSPHERE_PASSWORD" // EksavSphereCPUsernameKey holds Username for cloud provider. EksavSphereCPUsernameKey = "EKSA_VSPHERE_CP_USERNAME" // EksavSphereCPPasswordKey holds Password for cloud provider. EksavSphereCPPasswordKey = "EKSA_VSPHERE_CP_PASSWORD" // EksavSphereCSIUsernameKey holds Username and password for the CSI driver. EksavSphereCSIUsernameKey = "EKSA_VSPHERE_CSI_USERNAME" EksavSphereCSIPasswordKey = "EKSA_VSPHERE_CSI_PASSWORD" )
Variables ¶
View Source
var VSphereAdminPrivsFile string
View Source
var VSphereCnsDatastorePrivsFile string
View Source
var VSphereCnsHostConfigStorageFile string
View Source
var VSphereCnsSearchAndSpbmPrivsFile string
View Source
var VSphereCnsVmPrivsFile string
View Source
var VSphereGlobalPrivsFile string
View Source
var VSphereReadOnlyPrivs string
View Source
var VSphereUserPrivsFile string
Functions ¶
func GetProxyConfigFromEnv ¶ added in v0.11.0
func ReadCredentials ¶
Types ¶
type VSphereUserConfig ¶ added in v0.11.2
type VSphereUserConfig struct { EksaVsphereUsername string EksaVspherePassword string EksaVsphereCPUsername string EksaVsphereCPPassword string EksaVsphereCSIUsername string EksaVsphereCSIPassword string }
func NewVsphereUserConfig ¶ added in v0.11.2
func NewVsphereUserConfig() *VSphereUserConfig
Click to show internal directories.
Click to hide internal directories.