Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Manager ¶
type Manager interface {
CreateAndWaitTillPodIsRunning(context context.Context, pod *v1.Pod, timeOut time.Duration) (*v1.Pod, error)
CreateAndWaitTillPodIsCompleted(context context.Context, pod *v1.Pod) (*v1.Pod, error)
DeleteAndWaitTillPodIsDeleted(context context.Context, pod *v1.Pod) error
DeleteAllPodsForcefully(context context.Context, podLabelKey string, podLabelVal string) error
GetENIDetailsFromPodAnnotation(podAnnotation map[string]string) ([]*trunk.ENIDetails, error)
GetPodsWithLabel(context context.Context, namespace string, labelKey string, labelValue string) ([]v1.Pod, error)
PatchPod(context context.Context, oldPod *v1.Pod, newPod *v1.Pod) error
PodExec(namespace string, name string, command []string) (string, string, error)
}
Click to show internal directories.
Click to hide internal directories.