Documentation
¶
Index ¶
- type Client
- func (c *Client) Delete() (Result, error)
- func (c *Client) GetConfig(configs []string) (GetConfigResult, error)
- func (c *Client) SetConfig(configs SetConfigRequest) (SetOrUnsetConfigResult, error)
- func (c *Client) Start(config StartConfig) (StartResult, error)
- func (c *Client) Status() (ClusterStatusResult, error)
- func (c *Client) Stop() (Result, error)
- func (c *Client) UnsetConfig(configs []string) (SetOrUnsetConfigResult, error)
- func (c *Client) Version() (VersionResult, error)
- func (c *Client) WebconsoleURL() (ConsoleResult, error)
- type ClusterStatusResult
- type ConsoleResult
- type GetConfigResult
- type Result
- type SetConfigRequest
- type SetOrUnsetConfigResult
- type StartConfig
- type StartResult
- type VersionResult
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 (*Client) SetConfig ¶
func (c *Client) SetConfig(configs SetConfigRequest) (SetOrUnsetConfigResult, error)
func (*Client) Start ¶
func (c *Client) Start(config StartConfig) (StartResult, error)
func (*Client) Status ¶
func (c *Client) Status() (ClusterStatusResult, error)
func (*Client) UnsetConfig ¶
func (c *Client) UnsetConfig(configs []string) (SetOrUnsetConfigResult, error)
func (*Client) Version ¶
func (c *Client) Version() (VersionResult, error)
func (*Client) WebconsoleURL ¶
func (c *Client) WebconsoleURL() (ConsoleResult, error)
type ClusterStatusResult ¶
type ConsoleResult ¶
type ConsoleResult struct {
ClusterConfig machine.ClusterConfig
Success bool
Error string
}
type GetConfigResult ¶
getConfigResult struct is used to return the result of getconfig command
type SetConfigRequest ¶
type SetConfigRequest struct {
Properties map[string]interface{} `json:"properties"`
}
type SetOrUnsetConfigResult ¶
setOrUnsetConfigResult struct is used to return the result of setconfig/unsetconfig command
type StartConfig ¶
type StartConfig struct {
PullSecretPath string
}
type StartResult ¶
Click to show internal directories.
Click to hide internal directories.