Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConfigFile ¶
func DefaultConfigFile() string
DefaultConfigFile returns the default kubeconfig file path
func DefaultNamespace ¶
func DefaultNamespace() string
DefaultNamespace returns the default namespace
func IsJobFinished ¶
IsJobFinished returns whether the given Job has finished or not
func IsPodFinished ¶
IsPodFinished returns whether the given Pod has finished or not
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents the wrapper of Kubernetes API client
func NewClientInCluster ¶
NewClientInCluster creates Client object in Kubernetes cluster
func (*Client) NamespaceInConfig ¶
NamespaceInConfig returns namespace set in kubeconfig
Click to show internal directories.
Click to hide internal directories.