Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigDir ¶ added in v0.11.0
func GetWorkspaceLogsDir ¶ added in v0.11.0
Types ¶
type Config ¶ added in v0.11.0
type Config struct { ProvidersDir string `json:"providersDir"` RegistryUrl string `json:"registryUrl"` Id string `json:"id"` ServerDownloadUrl string `json:"serverDownloadUrl"` Frps *FRPSConfig `json:"frps,omitempty"` ApiPort uint32 `json:"apiPort"` HeadscalePort uint32 `json:"headscalePort"` BinariesPath string `json:"binariesPath"` LogFilePath string `json:"logFilePath"` DefaultProjectImage string `json:"defaultProjectImage"` } // @name ServerConfig
type FRPSConfig ¶ added in v0.11.0
type NetworkKey ¶ added in v0.11.0
type NetworkKey struct { Key string `json:"key"` } // @name NetworkKey
type Server ¶ added in v0.11.0
type Server struct { TailscaleServer TailscaleServer ProviderTargetService providertargets.IProviderTargetService WorkspaceService workspaces.IWorkspaceService ApiKeyService apikeys.IApiKeyService GitProviderService gitproviders.IGitProviderService ProviderManager manager.IProviderManager // contains filtered or unexported fields }
func GetInstance ¶ added in v0.11.0
func GetInstance(serverConfig *ServerInstanceConfig) *Server
func (*Server) GetBinaryPath ¶ added in v0.11.0
Check if the requested binary is already downloaded, if not, download it
type ServerInstanceConfig ¶ added in v0.11.0
type ServerInstanceConfig struct { Config Config TailscaleServer TailscaleServer ProviderTargetService providertargets.IProviderTargetService WorkspaceService workspaces.IWorkspaceService ApiKeyService apikeys.IApiKeyService GitProviderService gitproviders.IGitProviderService ProviderManager manager.IProviderManager }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.