Documentation ¶
Index ¶
- type Client
- func (c *Client) Dmesg() (err error)
- func (c *Client) Kubeconfig() (err error)
- func (c *Client) Logs(r *proto.LogsRequest) (err error)
- func (c *Client) Processes() (err error)
- func (c *Client) Reboot() (err error)
- func (c *Client) Reset() (err error)
- func (c *Client) Restart(r *proto.RestartRequest) (err error)
- func (c *Client) Version() (err error)
- type Credentials
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
}
Client implements the proto.OSDClient interface. It serves as the concrete type with the required methods.
func NewClient ¶
func NewClient(port int, clientcreds *Credentials) (c *Client, err error)
NewClient initializes a Client.
func (*Client) Kubeconfig ¶
Kubeconfig implements the proto.OSDClient interface.
func (*Client) Logs ¶
func (c *Client) Logs(r *proto.LogsRequest) (err error)
Logs implements the proto.OSDClient interface.
type Credentials ¶
type Credentials struct {
// contains filtered or unexported fields
}
Credentials represents the set of values required to initialize a vaild Client.
func NewDefaultClientCredentials ¶
func NewDefaultClientCredentials() (creds *Credentials, err error)
NewDefaultClientCredentials initializes ClientCredentials using default paths to the required CA, certificate, and key.
Click to show internal directories.
Click to hide internal directories.