client

package
v0.0.0-...-562eb29 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountClient

type AccountClient struct {
	// contains filtered or unexported fields
}

func (*AccountClient) Get

func (ac *AccountClient) Get(ctx context.Context) error

func (*AccountClient) Login

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(req *request.RESTClient) *Client

func (*Client) Account

func (s *Client) Account() types.AccountClientV1

func (*Client) Cluster

func (s *Client) Cluster() types.ClusterClientV1

func (*Client) Registry

func (s *Client) Registry() types.RegistryClientV1

type ClusterClient

type ClusterClient struct {
	// contains filtered or unexported fields
}

func (*ClusterClient) Get

func (cc *ClusterClient) Get(ctx context.Context, name string) (*views.ClusterView, error)

func (*ClusterClient) List

func (cc *ClusterClient) List(ctx context.Context) (*views.ClusterList, error)

type RegistryClient

type RegistryClient struct {
	// contains filtered or unexported fields
}

func (*RegistryClient) Get

func (ac *RegistryClient) Get(ctx context.Context) error

Jump to

Keyboard shortcuts

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