Documentation ¶
Index ¶
- func FormatAge(t metav1.Time) string
- func GetKubeconfigPath() string
- func NewClientset(kubeconfig, context string) (*kubernetes.Clientset, error)
- func NewDiscoveryClient(kubeconfig, context string) (*discovery.DiscoveryClient, error)
- func NewDynamicClient(kubeconfig, context string) (*dynamic.DynamicClient, error)
- func SelectItem(items []core.DuplicableObject, selectMessage string) (core.DuplicableObject, error)
- type KubeOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKubeconfigPath ¶ added in v0.3.1
func GetKubeconfigPath() string
func NewClientset ¶
func NewClientset(kubeconfig, context string) (*kubernetes.Clientset, error)
NewClientset creates a new kubernetes clientset
func NewDiscoveryClient ¶ added in v0.3.0
func NewDiscoveryClient(kubeconfig, context string) (*discovery.DiscoveryClient, error)
func NewDynamicClient ¶ added in v0.3.0
func NewDynamicClient(kubeconfig, context string) (*dynamic.DynamicClient, error)
func SelectItem ¶ added in v0.2.0
func SelectItem(items []core.DuplicableObject, selectMessage string) (core.DuplicableObject, error)
Types ¶
type KubeOptions ¶
Click to show internal directories.
Click to hide internal directories.