gcp

package
v0.0.0-...-c8d08d2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Index

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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