Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetPodNetworkConnectivityCheckCondition ¶
func SetPodNetworkConnectivityCheckCondition(conditions *[]operatorcontrolplanev1alpha1.PodNetworkConnectivityCheckCondition, newCondition operatorcontrolplanev1alpha1.PodNetworkConnectivityCheckCondition)
func UpdateStatus ¶
func UpdateStatus(ctx context.Context, client PodNetworkConnectivityCheckClient, name string, updateFuncs ...UpdateStatusFunc) (*operatorcontrolplanev1alpha1.PodNetworkConnectivityCheckStatus, bool, error)
Types ¶
type PodNetworkConnectivityCheckClient ¶
type PodNetworkConnectivityCheckClient interface { Get(name string) (*operatorcontrolplanev1alpha1.PodNetworkConnectivityCheck, error) UpdateStatus(ctx context.Context, podNetworkConnectivityCheck *operatorcontrolplanev1alpha1.PodNetworkConnectivityCheck, opts metav1.UpdateOptions) (*operatorcontrolplanev1alpha1.PodNetworkConnectivityCheck, error) }
type UpdateStatusFunc ¶
type UpdateStatusFunc func(status *operatorcontrolplanev1alpha1.PodNetworkConnectivityCheckStatus)
func AddFailureLogEntry ¶
func AddFailureLogEntry(newLogEntry operatorcontrolplanev1alpha1.LogEntry) UpdateStatusFunc
func AddSuccessLogEntry ¶
func AddSuccessLogEntry(newLogEntry operatorcontrolplanev1alpha1.LogEntry) UpdateStatusFunc
Click to show internal directories.
Click to hide internal directories.