Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetControllerOwnerType ¶ added in v0.0.6
Types ¶
type PodManager ¶
type PodManager interface {
GetPodByName(ctx context.Context, namespace, podName string) (*corev1.Pod, error)
ListPods(ctx context.Context, opts ...client.ListOption) (*corev1.PodList, error)
CheckPodStatus(pod *corev1.Pod) (types.PodStatus, bool)
MergeAnnotations(ctx context.Context, namespace, podName string, annotations map[string]string) error
MatchLabelSelector(ctx context.Context, namespace, podName string, labelSelector *metav1.LabelSelector) (bool, error)
}
func NewPodManager ¶
Click to show internal directories.
Click to hide internal directories.