Documentation ¶
Index ¶
- type Client
- func (c *Client) Delete() (Result, error)
- func (c *Client) GetConfig(configs []string) (GetConfigResult, error)
- func (c *Client) IsPullSecretDefined() (bool, error)
- func (c *Client) SetConfig(configs SetConfigRequest) (SetOrUnsetConfigResult, error)
- func (c *Client) SetPullSecret(data string) error
- func (c *Client) Start(config StartConfig) (StartResult, error)
- func (c *Client) Status() (ClusterStatusResult, error)
- func (c *Client) Stop() (Result, error)
- func (c *Client) Telemetry(action string) 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 GetOrUnsetConfigRequest
- type Result
- type SetConfigRequest
- type SetOrUnsetConfigResult
- type StartConfig
- type StartResult
- type TelemetryRequest
- 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) IsPullSecretDefined ¶ added in v1.28.0
func (*Client) SetConfig ¶
func (c *Client) SetConfig(configs SetConfigRequest) (SetOrUnsetConfigResult, error)
func (*Client) SetPullSecret ¶ added in v1.28.0
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 types.ClusterConfig Success bool Error string }
type GetConfigResult ¶
getConfigResult struct is used to return the result of getconfig command
type GetOrUnsetConfigRequest ¶ added in v1.28.0
type GetOrUnsetConfigRequest struct {
Properties []string `json:"properties"`
}
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 {
PullSecretFile string `json:"pullSecretFile"`
}
type StartResult ¶
type TelemetryRequest ¶ added in v1.26.0
Click to show internal directories.
Click to hide internal directories.