local

package
v0.82.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 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

func (e *Environment) OpenShiftCPUs() string

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

func (*Environment) OpenShiftDisk

func (e *Environment) OpenShiftDisk() string

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

func (*Environment) OpenShiftMemory

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

func (e *Environment) VMCPUs() string

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

func (*Environment) VMDisk

func (e *Environment) VMDisk() string

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

func (*Environment) VMHostname

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

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