Documentation ¶
Index ¶
- Constants
- type Environment
- func (e *Environment) DefaultInstanceType() string
- func (e *Environment) DefaultNetworkName() string
- func (e *Environment) DefaultPrivateKeyPassword() string
- func (e *Environment) DefaultPrivateKeyPath() string
- func (e *Environment) DefaultPublicKeyPath() string
- func (e *Environment) DefaultSubnet() string
- func (e *Environment) DefaultVMServiceAccount() string
- func (e *Environment) GKEAutopilot() bool
- func (e *Environment) GetCommonEnvironment() *config.CommonEnvironment
- func (e *Environment) InternalDockerhubMirror() string
- func (e *Environment) InternalRegistry() string
- func (e *Environment) InternalRegistryFullImagePathExists(_ string) (bool, error)
- func (e *Environment) InternalRegistryImageTagExists(_, _ string) (bool, error)
- func (e *Environment) Region() string
- func (e *Environment) Zone() string
Constants ¶
View Source
const ( // GCP Infra DDInfraDefaultPublicKeyPath = "gcp/defaultPublicKeyPath" DDInfraDefaultPrivateKeyPath = "gcp/defaultPrivateKeyPath" DDInfraDefaultPrivateKeyPassword = "gcp/defaultPrivateKeyPassword" DDInfraDefaultInstanceTypeParamName = "gcp/defaultInstanceType" DDInfraDefaultNetworkNameParamName = "gcp/defaultNetworkName" DDInfraDefaultSubnetNameParamName = "gcp/defaultSubnet" DDInfraDefaultRegionNameParamName = "gcp/defaultRegion" DDInfraDefaultZoneNameParamName = "gcp/defaultZone" DDInfraDefautVMServiceAccountParamName = "gcp/defaultVMServiceAccount" DDInfraGKEEnableAutopilot = "gcp/gke/enableAutopilot" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment struct { *config.CommonEnvironment Namer namer.Namer // contains filtered or unexported fields }
func NewEnvironment ¶
func NewEnvironment(ctx *pulumi.Context) (Environment, error)
func (*Environment) DefaultInstanceType ¶
func (e *Environment) DefaultInstanceType() string
func (*Environment) DefaultNetworkName ¶
func (e *Environment) DefaultNetworkName() string
func (*Environment) DefaultPrivateKeyPassword ¶
func (e *Environment) DefaultPrivateKeyPassword() string
func (*Environment) DefaultPrivateKeyPath ¶
func (e *Environment) DefaultPrivateKeyPath() string
func (*Environment) DefaultPublicKeyPath ¶
func (e *Environment) DefaultPublicKeyPath() string
func (*Environment) DefaultSubnet ¶
func (e *Environment) DefaultSubnet() string
func (*Environment) DefaultVMServiceAccount ¶
func (e *Environment) DefaultVMServiceAccount() string
func (*Environment) GKEAutopilot ¶
func (e *Environment) GKEAutopilot() bool
GKEAutopilot Whether to enable GKE Autopilot or not
func (*Environment) GetCommonEnvironment ¶
func (e *Environment) GetCommonEnvironment() *config.CommonEnvironment
func (*Environment) InternalDockerhubMirror ¶
func (e *Environment) InternalDockerhubMirror() string
func (*Environment) InternalRegistry ¶
func (e *Environment) InternalRegistry() string
func (*Environment) InternalRegistryFullImagePathExists ¶
func (e *Environment) InternalRegistryFullImagePathExists(_ string) (bool, error)
func (*Environment) InternalRegistryImageTagExists ¶
func (e *Environment) InternalRegistryImageTagExists(_, _ string) (bool, error)
func (*Environment) Region ¶
func (e *Environment) Region() string
Region returns the default region for the GCP environment
func (*Environment) Zone ¶
func (e *Environment) Zone() string
Zone returns the default zone for the GCP environment
Click to show internal directories.
Click to hide internal directories.