Documentation
¶
Index ¶
- func CreateOrUpdate(ctx context.Context, apiDefinition client.Object) error
- func Delete(ctx context.Context, api core.ApiDefinitionObject) error
- func ResolveConsoleNotificationRefs(ctx context.Context, api core.ApiDefinitionObject) error
- func ResolveGroupRefs(ctx context.Context, referer core.ConditionAwareObject, refs []core.ObjectRef) ([]string, error)
- func SyncApiDefinitionTemplate(ctx context.Context, api core.ApiDefinitionObject, ns string) error
- func UpdateStatusFailure(ctx context.Context, api core.Object, err error) error
- func UpdateStatusSuccess(ctx context.Context, api core.ConditionAwareObject) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveConsoleNotificationRefs ¶
func ResolveConsoleNotificationRefs(ctx context.Context, api core.ApiDefinitionObject) error
func ResolveGroupRefs ¶
func SyncApiDefinitionTemplate ¶
This function is applied to all ingresses which are using the ApiDefinition template As per Kubernetes Finalizers (https://kubernetes.io/docs/concepts/overview/working-with-objects/finalizers/) First return value defines if we should requeue or not.
func UpdateStatusFailure ¶
func UpdateStatusSuccess ¶
func UpdateStatusSuccess(ctx context.Context, api core.ConditionAwareObject) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.