consts

package
v0.0.0-...-414a8a2 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	DefaultEnvdServerPort int64 = 49983
	OldEnvdServerPort     int64 = 49982
)
View Source
const (
	EnvsDisk = "/mnt/disks/fc-envs/v1"

	KernelsDir     = "/fc-kernels"
	KernelMountDir = "/fc-vm"
	KernelName     = "vmlinux.bin"

	HostOldEnvdPath  = "/fc-vm/envd-v0.0.1"
	HostEnvdPath     = "/fc-vm/envd"
	GuestOldEnvdPath = "/usr/bin/envd-v0.0.1"
	GuestEnvdPath    = "/usr/bin/envd"

	EnvdVersionKey = "envd_version"
	RootfsSizeKey  = "rootfs_size"

	FirecrackerVersionsDir = "/fc-versions"
	FirecrackerBinaryName  = "firecracker"
)

Variables

View Source
var DockerRegistry = os.Getenv("GCP_DOCKER_REPOSITORY_NAME")
View Source
var Domain = os.Getenv("DOMAIN_NAME")
View Source
var EncodedDockerCredentials = base64.StdEncoding.EncodeToString([]byte(fmt.Sprintf("_json_key_base64:%s", GoogleServiceAccountSecret)))
View Source
var GCPProject = os.Getenv("GCP_PROJECT_ID")
View Source
var GCPRegion = os.Getenv("GCP_REGION")
View Source
var GoogleServiceAccountSecret = os.Getenv("GOOGLE_SERVICE_ACCOUNT_BASE64")
View Source
var LogsProxyAddress = os.Getenv("LOGS_PROXY_ADDRESS")

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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