Documentation ¶
Index ¶
- Constants
- Variables
- func AgentMode() bool
- func GetDaytonaScript(baseUrl string) string
- func GetTailscaleHostname(resourceId string) string
- func IsConnectionError(err error) bool
- func IsCtrlCAbort(err error) bool
- func IsLocalDockerTarget(providerName, options, runnerId string) bool
- type ContainerRegistries
Constants ¶
View Source
const ( ContainerRegistryServerEnvVarSuffix = "_CONTAINER_REGISTRY_SERVER" ContainerRegistryUsernameEnvVarSuffix = "_CONTAINER_REGISTRY_USERNAME" ContainerRegistryPasswordEnvVarSuffix = "_CONTAINER_REGISTRY_PASSWORD" )
View Source
const LOCAL_RUNNER_ID = "local"
Variables ¶
View Source
var (
ErrConnection = errors.New("If you are using a VPN or firewall, please read our troubleshooting guide at https://daytona.io/docs/misc/troubleshooting#connectivity-issues")
)
View Source
var (
ErrCtrlCAbort = errors.New("ctrl-c exit")
)
Functions ¶
func GetDaytonaScript ¶ added in v0.36.0
func GetTailscaleHostname ¶
func IsConnectionError ¶ added in v0.42.0
func IsCtrlCAbort ¶
func IsLocalDockerTarget ¶
Types ¶
type ContainerRegistries ¶
type ContainerRegistries map[string]*models.ContainerRegistry
func ExtractContainerRegistryFromEnvVars ¶
func ExtractContainerRegistryFromEnvVars(envVars map[string]string) (map[string]string, ContainerRegistries)
func (ContainerRegistries) FindContainerRegistryByImageName ¶
func (c ContainerRegistries) FindContainerRegistryByImageName(image string) *models.ContainerRegistry
Click to show internal directories.
Click to hide internal directories.