client

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig() (*rest.Config, error)

func GetConfigOrDie added in v1.1.0

func GetConfigOrDie() *rest.Config

func LoadConfig

func LoadConfig() (*rest.Config, error)

func NewExampleAggCliOrDie added in v1.1.0

func NewExampleAggCliOrDie() *exampleagg.Clientset

NewExampleAggCliOrDie create new client of the example.pingcap.com resource group hosted by our test apiserver

func RegisterFlags added in v1.1.0

func RegisterFlags()

func SetConfigPath

func SetConfigPath(path string)

func SetMasterURL

func SetMasterURL(url string)

Types

type Client

type Client interface {
	kubernetes.Interface
	PingcapV1alpha1() v1alpha1.PingcapV1alpha1Interface
}

func NewOrDie

func NewOrDie() Client

func Union

func Union(kube kubernetes.Interface, tidb versioned.Interface) Client

Jump to

Keyboard shortcuts

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