Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodManager ¶
type PodManager interface {
GetPodByName(ctx context.Context, namespace, podName string) (*corev1.Pod, error)
GetOwnerType(ctx context.Context, pod *corev1.Pod) types.OwnerType
CheckPodStatus(ctx context.Context, pod *corev1.Pod) (types.PodStatus, bool)
MergeAnnotations(ctx context.Context, pod *corev1.Pod, 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.