Documentation ¶
Index ¶
- type Delegate
- func (d *Delegate) CreateOrUpdate(apiDefinition client.Object) error
- func (d *Delegate) Delete(apiDefinition client.Object) error
- func (d *Delegate) HasContext() bool
- func (d *Delegate) ResolveContext(ref *refs.NamespacedName) error
- func (d *Delegate) ResolveTemplate(api client.Object) error
- func (d *Delegate) SyncApiDefinitionTemplate(api v1alpha1.ApiDefinitionCRD, ns string) error
- func (d *Delegate) UpdateStatusFailure(api v1alpha1.CRD) error
- func (d *Delegate) UpdateStatusSuccess(api v1alpha1.CRD) error
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 (*Delegate) CreateOrUpdate ¶
func (*Delegate) HasContext ¶
func (*Delegate) ResolveContext ¶
func (d *Delegate) ResolveContext(ref *refs.NamespacedName) 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 ¶
Click to show internal directories.
Click to hide internal directories.