Documentation
¶
Index ¶
- Constants
- func CreateSync(ctx context.Context, cs kubernetes.Interface, pod *v1.Pod) (*v1.Pod, error)
- func GetLogs(cs kubernetes.Interface, ctx context.Context, ...) (string, error)
- func RunToCompletion(ctx context.Context, cs kubernetes.Interface, pod *v1.Pod) (*v1.Pod, error)
- func WaitForPhase(ctx context.Context, cs kubernetes.Interface, podNamespace, podName string, ...) (v1.PodPhase, error)
- func WaitToBeDeleted(ctx context.Context, cs kubernetes.Interface, podNamespace, podName string) error
- func WaitToBeRunning(ctx context.Context, cs kubernetes.Interface, podNamespace, podName string) error
Constants ¶
View Source
const ( PollInterval = time.Second * 10 PollTimeout = time.Minute * 2 )
Variables ¶
This section is empty.
Functions ¶
func CreateSync ¶
func RunToCompletion ¶
func WaitForPhase ¶
func WaitToBeDeleted ¶
func WaitToBeRunning ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.