Documentation ¶
Index ¶
- func EnsureDir(dir string) (string, error)
- func ExitByError(msg string)
- func ExitIfError(err error)
- func GetClientOrDie() *openapi.Client
- func NewClient(config ClientConfig) (*openapi.Client, error)
- func NewKubeClient(yamlConfig string) (kubernetes.Interface, error)
- func SetupClusterIdFlag(cmd *cobra.Command)
- func YesOrExit(msg string)
- type ClientConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExitByError ¶
func ExitByError(msg string)
func ExitIfError ¶
func ExitIfError(err error)
func GetClientOrDie ¶
func NewKubeClient ¶ added in v0.11.0
func NewKubeClient(yamlConfig string) (kubernetes.Interface, error)
func SetupClusterIdFlag ¶ added in v0.9.1
Types ¶
type ClientConfig ¶ added in v0.12.0
type ClientConfig struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.