Documentation ¶
Index ¶
- Constants
- func CheckFlag(t *testing.T, command *cobra.Command, flagName string) bool
- func FailingClientConfig(err error) clientcmd.ClientConfig
- func HasLeafCommand(command *cobra.Command, subcommandName string) bool
- func ParseURI(t *testing.T, uri string) apis.URL
- func RegularClientConfig() clientcmd.ClientConfig
- type FakeClientConfig
- type GenericOptions
Constants ¶
View Source
const DefaultNamespace = "configuredDefault"
Variables ¶
This section is empty.
Functions ¶
func FailingClientConfig ¶ added in v0.30.0
func FailingClientConfig(err error) clientcmd.ClientConfig
func HasLeafCommand ¶ added in v0.30.0
func RegularClientConfig ¶ added in v0.30.0
func RegularClientConfig() clientcmd.ClientConfig
Types ¶
type FakeClientConfig ¶
func (FakeClientConfig) ClientConfig ¶
func (f FakeClientConfig) ClientConfig() (*rest.Config, error)
func (FakeClientConfig) ConfigAccess ¶
func (f FakeClientConfig) ConfigAccess() clientcmd.ConfigAccess
func (FakeClientConfig) RawConfig ¶
func (f FakeClientConfig) RawConfig() (clientcmdapi.Config, error)
type GenericOptions ¶ added in v0.30.0
Click to show internal directories.
Click to hide internal directories.