Documentation ¶
Index ¶
- func GetKubernetesService(ctx context.Context, r client.Reader, serviceRef servicemeshapi.ResourceRef, ...) error
- func GetPodsForService(ctx context.Context, cl client.Client, service *corev1.Service) (*corev1.PodList, error)
- func GetServiceActiveStatus(service *corev1.Service) metav1.ConditionStatus
- func IsServiceActive(service *corev1.Service) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKubernetesService ¶
func GetKubernetesService(ctx context.Context, r client.Reader, serviceRef servicemeshapi.ResourceRef, service *corev1.Service) error
Gets the kubernetes service object
func GetPodsForService ¶
func GetPodsForService(ctx context.Context, cl client.Client, service *corev1.Service) (*corev1.PodList, error)
Gets the Pods for a given service
func GetServiceActiveStatus ¶
func GetServiceActiveStatus(service *corev1.Service) metav1.ConditionStatus
GetServiceActiveStatus returns the current status of the VD
func IsServiceActive ¶
IsServiceActive tests whether given service is active.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.