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.
Click to show internal directories.
Click to hide internal directories.