Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiKey ¶ added in v0.8.0
type ApiKey struct { KeyHash string `json:"keyHash"` Type ApiKeyType `json:"type"` // Project or client name Name string `json:"name"` } // @name ApiKey
type ApiKeyType ¶ added in v0.8.0
type ApiKeyType string
const ( ApiKeyTypeClient ApiKeyType = "client" ApiKeyTypeProject ApiKeyType = "project" )
type FRPSConfig ¶
type GitProvider ¶
type GitUserData ¶
type NetworkKey ¶
type NetworkKey struct { Key string `json:"key"` } // @name NetworkKey
type ProjectInfo ¶
type ProjectInfo struct { Name string `json:"name"` Created string `json:"created"` Started string `json:"started"` Finished string `json:"finished"` IsRunning bool `json:"isRunning"` ProviderMetadata string `json:"providerMetadata,omitempty"` WorkspaceId string `json:"workspaceId"` } // @name ProjectInfo
type Repository ¶
type Repository struct { Id string `json:"id,omitempty"` Url string `json:"url"` Name string `json:"name"` Branch string `json:"branch,omitempty"` Sha string `json:"sha"` Owner string `json:"owner"` PrNumber uint32 `json:"prNumber,omitempty"` Source string `json:"source"` Path string `json:"path,omitempty"` GitUserData *GitUserData `json:"-"` } // @name Repository
type ServerConfig ¶
type ServerConfig struct { ProvidersDir string `json:"providersDir"` RegistryUrl string `json:"registryUrl"` GitProviders []GitProvider `json:"gitProviders"` Id string `json:"id"` ServerDownloadUrl string `json:"serverDownloadUrl"` Frps *FRPSConfig `json:"frps,omitempty"` ApiPort uint32 `json:"apiPort"` HeadscalePort uint32 `json:"headscalePort"` TargetsFilePath string `json:"targetsFilePath"` BinariesPath string `json:"binariesPath"` } // @name ServerConfig
type WorkspaceInfo ¶
type WorkspaceInfo struct { Name string `json:"name"` Projects []*ProjectInfo `json:"projects"` ProviderMetadata string `json:"providerMetadata,omitempty"` } // @name WorkspaceInfo
Click to show internal directories.
Click to hide internal directories.