constants

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

View Source
const (
	DevEnvRecodeUserName                      = "recode"
	DevEnvRecodeUserAuthorizedSSHKeysFilePath = "/home/recode/.ssh/authorized_keys"

	DevEnvDockerGroupName                   = "docker"
	DevEnvDockerImageName                   = "recode-dev-env-image"
	DevEnvDockerContainerName               = "recode-dev-env-container"
	DevEnvDockerContainerEntrypointFilePath = "/recode_entrypoint.sh"

	DevEnvWorkspaceDirPath = "/home/recode/workspace"

	DevEnvWorkspaceConfigDirPath        = "/home/recode/.workspace-config"
	DevEnvWorkspaceConfigHooksDirPath   = DevEnvWorkspaceConfigDirPath + "/hooks"
	DevEnvWorkspaceConfigFilePath       = DevEnvWorkspaceConfigDirPath + "/recode.workspace"
	DevEnvVSCodeWorkspaceConfigFilePath = DevEnvWorkspaceConfigDirPath + "/recode.code-workspace"

	DevEnvGitHubPublicSSHKeyFilePath = "/home/recode/.ssh/recode_github.pub"
	DevEnvGitHubPublicGPGKeyFilePath = "/home/recode/.gnupg/recode_github_gpg_public.pgp"
)
View Source
const (
	GRPCServerAddrProtocol = "unix"
	GRPCServerAddr         = "/tmp/recode_grpc.sock"

	SSHServerListenPort      = "2200"
	SSHServerListenAddr      = ":" + SSHServerListenPort
	SSHServerHostKeyFilePath = "/home/recode/.ssh/recode_ssh_server_host_key"

	InitInstanceScriptRepoPath = "recode-sh/agent/internal/grpcserver/init_instance.sh"
)

Variables

View Source
var (
	DevEnvDockerContainerStartCmd = []string{
		"sleep",
		"infinity",
	}
)

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