Documentation ¶
Index ¶
- Variables
- func AfterReadingAllFlags() error
- func LoadClientRawConfig() (clientcmdapi.Config, error)
- func NewDefaultOperatorConfig(cfg *tests.Config) *tests.OperatorConfig
- func NewSimpleRESTClientGetter(config clientcmdapi.Config) genericclioptions.RESTClientGetter
- func RegisterTiDBOperatorFlags(flags *flag.FlagSet)
Constants ¶
This section is empty.
Variables ¶
View Source
var TestConfig *tests.Config = tests.NewDefaultConfig()
Global Test configuration.
Functions ¶
func AfterReadingAllFlags ¶
func AfterReadingAllFlags() error
func LoadClientRawConfig ¶
func LoadClientRawConfig() (clientcmdapi.Config, error)
func NewDefaultOperatorConfig ¶
func NewDefaultOperatorConfig(cfg *tests.Config) *tests.OperatorConfig
NewDefaultOperatorConfig creates default operator configuration.
func NewSimpleRESTClientGetter ¶
func NewSimpleRESTClientGetter(config clientcmdapi.Config) genericclioptions.RESTClientGetter
NewSimpleRESTClientGetter initializes a new genericclioptions.RESTClientGetter from clientcmdapi.Config.
func RegisterTiDBOperatorFlags ¶
RegisterTiDBOperatorFlags registers flags for tidb-operator.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.