gcp

package
v0.78.2 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: Apache-2.0 Imports: 9 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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"
	DDInfraOpenShiftPullSecretPath         = "gcp/openshift/pullSecretPath"
	DDInfraEnableNestedVirtualization      = "gcp/enableNestedVirtualization"
)

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) EnableNestedVirtualization

func (e *Environment) EnableNestedVirtualization() bool

EnableNestedVirtualization returns whether to enable nested virtualization

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) OpenShiftPullSecretPath

func (e *Environment) OpenShiftPullSecretPath() string

OpenShiftPullSecretPath returns the path to the OpenShift pull secret file

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