internal

package
v0.0.0-...-3c42354 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Delegate

type Delegate struct {
	// contains filtered or unexported fields
}

func NewDelegate

func NewDelegate(ctx context.Context, k8s client.Client, log logr.Logger) *Delegate

func (*Delegate) CreateOrUpdate

func (d *Delegate) CreateOrUpdate(apiDefinition client.Object) error

func (*Delegate) Delete

func (d *Delegate) Delete(apiDefinition client.Object) error

func (*Delegate) HasContext

func (d *Delegate) HasContext() bool

func (*Delegate) ResolveContext

func (d *Delegate) ResolveContext(ref *refs.NamespacedName) error

func (*Delegate) ResolveTemplate

func (d *Delegate) ResolveTemplate(api client.Object) error

func (*Delegate) SyncApiDefinitionTemplate

func (d *Delegate) SyncApiDefinitionTemplate(api v1alpha1.ApiDefinitionCRD, ns string) error

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 (*Delegate) UpdateStatusFailure

func (d *Delegate) UpdateStatusFailure(api v1alpha1.CRD) error

func (*Delegate) UpdateStatusSuccess

func (d *Delegate) UpdateStatusSuccess(api v1alpha1.CRD) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL