Documentation ¶
Index ¶
- func GetAgentApiClient(apiUrl, apiKey string) (*serverapiclient.APIClient, error)
- func GetApiClient(profile *config.Profile) (*serverapiclient.APIClient, error)
- func GetFirstWorkspaceProjectName(workspaceId string, projectName string, profile *config.Profile) (string, error)
- func GetProviderList() ([]serverapiclient.Provider, error)
- func GetTargetList() ([]serverapiclient.ProviderTarget, error)
- func GetWebSocketUrl(apiUrl string) (string, error)
- func GetWebsocketConn(path string, profile *config.Profile, query *string) (*websocket.Conn, *http.Response, error)
- func GetWorkspace(workspaceNameOrId string) (*serverapiclient.WorkspaceDTO, error)
- func ToServerConfig(config serverapiclient.ServerConfig) server.Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAgentApiClient ¶ added in v0.13.0
func GetAgentApiClient(apiUrl, apiKey string) (*serverapiclient.APIClient, error)
func GetApiClient ¶
func GetApiClient(profile *config.Profile) (*serverapiclient.APIClient, error)
func GetFirstWorkspaceProjectName ¶ added in v0.11.0
func GetProviderList ¶
func GetProviderList() ([]serverapiclient.Provider, error)
func GetTargetList ¶
func GetTargetList() ([]serverapiclient.ProviderTarget, error)
func GetWebSocketUrl ¶ added in v0.8.0
func GetWebsocketConn ¶ added in v0.8.0
func GetWorkspace ¶ added in v0.2.0
func GetWorkspace(workspaceNameOrId string) (*serverapiclient.WorkspaceDTO, error)
func ToServerConfig ¶
func ToServerConfig(config serverapiclient.ServerConfig) server.Config
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.