Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Reconciler ¶
type Reconciler interface { CreateOrUpdateResource(ctx context.Context, spec azure.ASOResourceSpecGetter, serviceName string) (result genruntime.MetaObject, err error) DeleteResource(ctx context.Context, spec azure.ASOResourceSpecGetter, serviceName string) (err error) }
Reconciler is a generic interface used to perform reconciliation of Azure resources backed by ASO.
type Service ¶
Service is an implementation of the Reconciler interface. It handles creation and deletion of resources using ASO.
func (*Service) CreateOrUpdateResource ¶
func (s *Service) CreateOrUpdateResource(ctx context.Context, spec azure.ASOResourceSpecGetter, serviceName string) (result genruntime.MetaObject, err error)
CreateOrUpdateResource implements the logic for creating a new or updating an existing resource with ASO.
func (*Service) DeleteResource ¶
func (s *Service) DeleteResource(ctx context.Context, spec azure.ASOResourceSpecGetter, serviceName string) (err error)
DeleteResource implements the logic for deleting a resource Asynchronously.
type TagsGetterSetter ¶ added in v1.11.0
type TagsGetterSetter interface { GetAdditionalTags() infrav1.Tags GetDesiredTags(resource genruntime.MetaObject) (infrav1.Tags, error) GetActualTags(resource genruntime.MetaObject) (infrav1.Tags, error) SetTags(resource genruntime.MetaObject, tags infrav1.Tags) error }
TagsGetterSetter represents an object that supports tags.
Click to show internal directories.
Click to hide internal directories.