server

package
v0.13.0-alpha.6 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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 GetFirstWorkspaceProjectName(workspaceId string, projectName string, profile *config.Profile) (string, error)

func GetProviderList

func GetProviderList() ([]serverapiclient.Provider, error)

func GetTargetList

func GetTargetList() ([]serverapiclient.ProviderTarget, error)

func GetWebSocketUrl added in v0.8.0

func GetWebSocketUrl(apiUrl string) (string, error)

func GetWebsocketConn added in v0.8.0

func GetWebsocketConn(path string, profile *config.Profile, query *string) (*websocket.Conn, *http.Response, error)

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL