Documentation
¶
Index ¶
- func DefineWithNetworks(networks []string) *corev1.Pod
- func ExecCommand(cs *client.APISet, pod corev1.Pod, command []string) (bytes.Buffer, error)
- func RedefineWithCommand(pod *corev1.Pod, command []string, args []string) *corev1.Pod
- func RedefineWithRestartPolicy(pod *corev1.Pod, restartPolicy corev1.RestartPolicy) *corev1.Pod
- func RedifineWithSpecificNode(pod *corev1.Pod, nodeName string) *corev1.Pod
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefineWithNetworks ¶
DefineWithNetworks Defines a pod with networks
func ExecCommand ¶
ExecCommand runs command in the pod and returns buffer output
func RedefineWithCommand ¶
RedefineWithCommand updates the pod defintion with a different command
func RedefineWithRestartPolicy ¶
RedefineWithRestartPolicy updates the pod defintion with a restart policy
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.