client

package
v0.1.0-alpha.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2018 License: MPL-2.0 Imports: 11 Imported by: 0

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) Dmesg

func (c *Client) Dmesg() (err error)

Dmesg implements the proto.OSDClient interface. nolint: dupl

func (*Client) Kubeconfig

func (c *Client) Kubeconfig() (err error)

Kubeconfig implements the proto.OSDClient interface.

func (*Client) Logs

func (c *Client) Logs(r *proto.LogsRequest) (err error)

Logs implements the proto.OSDClient interface.

func (*Client) Version

func (c *Client) Version() (err error)

Version implements the proto.OSDClient interface. nolint: dupl

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL