Documentation
¶
Index ¶
- func GetConfig() (*rest.Config, error)
- func GetConfigOrDie() *rest.Config
- func LoadConfig() (*rest.Config, error)
- func NewCliOrDie() (versioned.Interface, kubernetes.Interface, asclientset.Interface)
- func NewExampleAggCliOrDie() *exampleagg.Clientset
- func SetConfigPath(path string)
- func SetMasterURL(url string)
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigOrDie ¶ added in v1.1.0
func LoadConfig ¶
func NewCliOrDie ¶
func NewCliOrDie() (versioned.Interface, kubernetes.Interface, asclientset.Interface)
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 SetConfigPath ¶
func SetConfigPath(path string)
func SetMasterURL ¶
func SetMasterURL(url string)
Types ¶
Click to show internal directories.
Click to hide internal directories.