constants

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

View Source
const (
	YoloUserName        = "yolo"
	YoloUserHomeDirPath = "/home/" + YoloUserName

	YoloConfigDirPath = "/yolo-config"

	DockerImageTag  = "0.0.3"
	DockerImageName = "ghcr.io/yolo-sh/workspace-full:" + DockerImageTag

	DockerContainerName      = "yolo-env-container"
	DockerContainerIPAddress = "172.20.0.2"

	WorkspaceDirPath = YoloUserHomeDirPath + "/workspace"

	WorkspaceConfigDirPath  = YoloConfigDirPath + "/workspace"
	WorkspaceConfigFilePath = WorkspaceConfigDirPath + "/config.json"

	VSCodeWorkspaceConfigFilePath = WorkspaceConfigDirPath + "/default.code-workspace"

	GitHubPublicSSHKeyFilePath = YoloUserHomeDirPath + "/.ssh/" + YoloUserName + "-github.pub"
	GitHubPublicGPGKeyFilePath = YoloUserHomeDirPath + "/.gnupg/" + YoloUserName + "-github-gpg-public.pgp"
)
View Source
const (
	GRPCServerAddrProtocol = "unix"
	GRPCServerAddr         = YoloConfigDirPath + "/agent-container-grpc.sock"
	GRPCServerUri          = "unix://" + GRPCServerAddr

	InitScriptRepoPath = "yolo-sh/agent-container/internal/grpcserver/init.sh"
)

Variables

View Source
var DockerContainerEntrypoint = []string{
	"/sbin/init",
	"--log-level=err",
}

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