cliclient

package
v1.0.0-alpha9 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SplitOnColon

func SplitOnColon(s string) []string

Types

type MasterClient

type MasterClient struct {
	ClusterClient    *clusterClient.Client
	ManagementClient *managementClient.Client
	ProjectClient    *projectClient.Client
	UserConfig       *config.ServerConfig
}

func NewManagementClient

func NewManagementClient(config *config.ServerConfig) (*MasterClient, error)

NewManagementClient returns a new MasterClient with only the Management client

func NewMasterClient

func NewMasterClient(config *config.ServerConfig) (*MasterClient, error)

NewMasterClient returns a new MasterClient with Cluster Management and Cluster clients populated

func NewProjectClient

func NewProjectClient(config *config.ServerConfig) (*MasterClient, error)

Jump to

Keyboard shortcuts

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