server

package
v0.8.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetApiClient

func GetApiClient(profile *config.Profile) (*serverapiclient.APIClient, 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) *types.ServerConfig

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳