Documentation ¶
Index ¶
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.
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.