Help us shape the future of Go! Take the 2026 Go Developer Survey

local

package
v0.84.4 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (

	// local Infra (local)
	DDInfraDefaultPublicKeyPath    = "local/defaultPublicKeyPath"
	DDInfraOpenShiftPullSecretPath = "local/openshift/pullSecretPath"
	DDInfraOpenShiftCPUs           = "local/openshift/cpus"
	DDInfraOpenShiftMemory         = "local/openshift/memory"
	DDInfraOpenShiftDisk           = "local/openshift/disk"
	DDInfraVMCPUs                  = "local/vm/cpus"
	DDInfraVMMemory                = "local/vm/memory"
	DDInfraVMDisk                  = "local/vm/disk"
	DDInfraVMHostname              = "local/vm/hostname"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	*config.CommonEnvironment

	Namer namer.Namer
}

func NewEnvironment

func NewEnvironment(ctx *pulumi.Context) (Environment, error)

func (*Environment) DefaultPublicKeyPath

func (e *Environment) DefaultPublicKeyPath() string

Common

func (*Environment) InternalDockerhubMirror

func (e *Environment) InternalDockerhubMirror() string

InternalDockerhubMirror returns the internal Dockerhub mirror.

func (*Environment) InternalRegistry

func (e *Environment) InternalRegistry() string

InternalRegistry returns the internal registry.

func (*Environment) InternalRegistryFullImagePathExists

func (e *Environment) InternalRegistryFullImagePathExists(_ string) (bool, error)

InternalRegistryFullImagePathExists returns true if the image and tag exists in the internal registry.

func (*Environment) InternalRegistryImageTagExists

func (e *Environment) InternalRegistryImageTagExists(_, _ string) (bool, error)

InternalRegistryImageTagExists returns true if the image tag exists in the internal registry.

func (*Environment) OpenShiftCPUs added in v0.82.0

func (e *Environment) OpenShiftCPUs() string

OpenShiftCPUs returns the number of CPUs to allocate to the CRC cluster (default: 8).

func (*Environment) OpenShiftDisk added in v0.82.0

func (e *Environment) OpenShiftDisk() string

OpenShiftDisk returns the disk size in GB to allocate to the CRC cluster (default: 50).

func (*Environment) OpenShiftMemory added in v0.82.0

func (e *Environment) OpenShiftMemory() string

OpenShiftMemory returns the memory in MB to allocate to the CRC cluster (default: 16384).

func (*Environment) OpenShiftPullSecretPath

func (e *Environment) OpenShiftPullSecretPath() string

OpenShiftPullSecretPath returns the path to the OpenShift pull secret file

func (*Environment) VMCPUs added in v0.82.0

func (e *Environment) VMCPUs() string

VMCPUs returns the number of CPUs to allocate to a local VM (default: 2).

func (*Environment) VMDisk added in v0.82.0

func (e *Environment) VMDisk() string

VMDisk returns the disk size to allocate to a local VM (default: 10G).

func (*Environment) VMHostname added in v0.82.0

func (e *Environment) VMHostname() string

VMHostname returns the hostname to configure on the agent for a local VM. Defaults to the Pulumi stack name so each deployment has a unique, identifiable host in Datadog.

func (*Environment) VMMemory added in v0.82.0

func (e *Environment) VMMemory() string

VMMemory returns the memory to allocate to a local VM (default: 4G).

Directories

Path Synopsis
vm

Jump to

Keyboard shortcuts

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