Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Gateway events GatewayEventReasonFailedAddFinalizer = "FailedAddFinalizer" GatewayEventReasonFailedBuildModel = "FailedBuildModel" GatewayEventReasonFailedDeployModel = "FailedDeployModel" // HTTPRoute events HTTPRouteeventReasonReconcile = "Reconcile" HTTPRouteeventReasonDeploySucceed = "DeploySucceed" HTTPRouteventReasonFailedAddFinalizer = "FailedAddFinalizer" HTTPRouteEventReasonFailedBuildModel = "FailedBuildModel" HTTPRouteEventReasonFailedDeployModel = "FailedDeployModel" HTTPRouteEventReasonRetryReconcile = "Retry-Reconcile" // Service events ServiceEventReasonFailedAddFinalizer = "FailedAddFinalizer" ServiceEventReasonFailedBuildModel = "FailedBuildModel" ServiceEventReasonFailedDeployModel = "FailedDeployModel" // ServiceExport events ServiceExportEventReasonFailedAddFinalizer = "FailedAddFinalizer" ServiceExportEventReasonFailedBuildModel = "FailedBuildModel" ServiceExportEventReasonFailedDeployModel = "FailedDeployModel" // ServiceImport events ServiceImportEventReasonFailedAddFinalizer = "FailedAddFinalizer" ServiceImportEventReasonFailedBuildModel = "FailedBuildModel" ServiceImportEventReasonFailedDeployModel = "FailedDeployModel" )
Variables ¶
This section is empty.
Functions ¶
func HasFinalizer ¶
HasFinalizer tests whether k8s object has specified finalizer
func NamespacedName ¶
func NamespacedName(obj metav1.Object) types.NamespacedName
NamespacedName returns the namespaced name for k8s objects
Types ¶
type FinalizerManager ¶
type FinalizerManager interface { AddFinalizers(ctx context.Context, object client.Object, finalizers ...string) error RemoveFinalizers(ctx context.Context, object client.Object, finalizers ...string) error }
func NewDefaultFinalizerManager ¶
func NewDefaultFinalizerManager(k8sClient client.Client, log logr.Logger) FinalizerManager
Click to show internal directories.
Click to hide internal directories.