client

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2017 License: Apache-2.0 Imports: 12 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
}

func New

func New(cfg Config) (*Client, error)

func (*Client) Clusters

func (c *Client) Clusters() ([]string, error)

func (*Client) GetCluster

func (c *Client) GetCluster(clusterName string) (*ClusterClient, error)

type ClusterClient

type ClusterClient struct {
	*store.StoreManager
	// contains filtered or unexported fields
}

func (*ClusterClient) Config

func (c *ClusterClient) Config() (*cluster.NilConfig, error)

func (*ClusterClient) PatchConfig

func (c *ClusterClient) PatchConfig(newData []byte) error

func (*ClusterClient) ReplaceConfig

func (c *ClusterClient) ReplaceConfig(data []byte) error

type Config

type Config struct {
	StoreBackend    string
	StoreEndpoints  string
	StoreCertFile   string
	StoreKeyFile    string
	StoreCACertFile string
}

Jump to

Keyboard shortcuts

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