Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandError ¶
CommandError is used to report errors.
func (CommandError) Error ¶
func (c CommandError) Error() string
type KubernetesAPI ¶
type KubernetesAPI struct { Suffix string Client kubernetes.Interface }
KubernetesAPI allows the K8s client to be overridden for unit testing
func (KubernetesAPI) CreateJobFromJSON ¶
func (k KubernetesAPI) CreateJobFromJSON(jobAsJson string, ns string) error
CreateJobFromJSON is a helper function to unmarshal json into a Job object
func (KubernetesAPI) GetContainerIdsForPod ¶
GetContainerIdsForPod is a helper function to get a list of all the container Ids in a Pod
Click to show internal directories.
Click to hide internal directories.