Documentation
¶
Index ¶
- type Client
- func (c *Client) DeprovisionLoad(load *common.Load) error
- func (c *Client) GetAllContainers() (map[string]map[string]Container, error)
- func (c *Client) GetAllImages() (dto.NodeImagesMapResponse, error)
- func (c *Client) GetContainerLogs(node string, container string) error
- func (c *Client) GetLoadsDeployments(nodeUrl string) (dto.LoadsDeployments, error)
- func (c *Client) GetNode(node *common.Node) (dto.NodeResponse, error)
- func (c *Client) GetNodeConfig(node *common.Node) (*common.NodeDriverConfig, error)
- func (c *Client) GetProxyConfig(node string, container string) error
- func (c *Client) GetSystemInfo(node string) (*dto.SystemInfo, error)
- func (c *Client) KillLoad(load *common.Load) error
- func (c *Client) ListNetworks() (map[string]any, error)
- func (c *Client) LoadNodeConfig(node *common.Node) error
- func (c *Client) Login(node string, username string, password string) (string, error)
- func (c *Client) PowerOffNode(node *common.Node) error
- func (c *Client) PowerOnNode(node *common.Node) error
- func (c *Client) ProvisionLoad(load *common.Load) error
- func (c *Client) ReadLoadStderr(load *common.Load) error
- func (c *Client) ReadLoadStdout(load *common.Load) error
- func (c *Client) RestartNode(node *common.Node, wallMessage string, offsetTime uint32) error
- func (c *Client) RunJob(job *common.Job, handle func(common.JobResult), arguments ...string) error
- func (c *Client) ShutdownNode(node *common.Node, wallMessage string, offsetTime uint32) error
- func (c *Client) StartLoad(load *common.Load) error
- func (c *Client) StopLoad(load *common.Load) error
- func (c *Client) UnloadNodeConfig(node *common.Node) error
- func (c *Client) ValidateNodeConfig(node *common.Node) error
- type Container
- type ContainerInfo
- type LoginRequest
- type LoginResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewUnauthClient ¶
func NewUnauthClient() Client
func (*Client) DeprovisionLoad ¶ added in v0.1.2
func (*Client) GetAllContainers ¶
func (*Client) GetAllImages ¶
func (c *Client) GetAllImages() (dto.NodeImagesMapResponse, error)
func (*Client) GetContainerLogs ¶
func (*Client) GetLoadsDeployments ¶
func (c *Client) GetLoadsDeployments(nodeUrl string) (dto.LoadsDeployments, error)
func (*Client) GetNodeConfig ¶ added in v0.2.5
func (*Client) GetProxyConfig ¶
func (*Client) GetSystemInfo ¶
func (c *Client) GetSystemInfo(node string) (*dto.SystemInfo, error)
func (*Client) LoadNodeConfig ¶ added in v0.2.5
func (*Client) PowerOffNode ¶ added in v0.2.5
func (*Client) ProvisionLoad ¶ added in v0.1.2
func (*Client) RestartNode ¶
func (*Client) ShutdownNode ¶
func (*Client) UnloadNodeConfig ¶ added in v0.2.5
type Container ¶
type Container struct {
Container ContainerInfo `json:"container"`
Status string `json:"status"`
}
type ContainerInfo ¶
type LoginRequest ¶
Authentication
type LoginResponse ¶
type LoginResponse struct {
Token string `json:"token"`
}
Click to show internal directories.
Click to hide internal directories.