Documentation ¶
Index ¶
- func ActualIsNotFound(err error) bool
- func AreTagsUpToDate(client servicediscoveryiface.ServiceDiscoveryAPI, spec []*v1alpha1.Tag, ...) (bool, error)
- func DiffTags(spec []*v1alpha1.Tag, current []*svcsdk.Tag) (addTags []*svcsdk.Tag, removeTags []*string)
- func IsDuplicateRequest(err error) bool
- func ListTagsForResource(client servicediscoveryiface.ServiceDiscoveryAPI, resourceARN *string) ([]*svcsdk.Tag, error)
- func UpdateTagsForResource(client servicediscoveryiface.ServiceDiscoveryAPI, spec []*v1alpha1.Tag, ...) error
- type Hooks
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActualIsNotFound ¶
ActualIsNotFound reimplements IsNotFound which doesn't do it's job IsNotFound test for error code UNKNOWN
func AreTagsUpToDate ¶ added in v0.37.0
func AreTagsUpToDate(client servicediscoveryiface.ServiceDiscoveryAPI, spec []*v1alpha1.Tag, resourceName *string) (bool, error)
AreTagsUpToDate for spec and resourceName
func DiffTags ¶ added in v0.37.0
func DiffTags(spec []*v1alpha1.Tag, current []*svcsdk.Tag) (addTags []*svcsdk.Tag, removeTags []*string)
DiffTags between spec and current
func IsDuplicateRequest ¶
IsDuplicateRequest checks if an error is DuplicateRequest
func ListTagsForResource ¶ added in v0.37.0
func ListTagsForResource(client servicediscoveryiface.ServiceDiscoveryAPI, resourceARN *string) ([]*svcsdk.Tag, error)
ListTagsForResource for the given resource
func UpdateTagsForResource ¶ added in v0.37.0
func UpdateTagsForResource(client servicediscoveryiface.ServiceDiscoveryAPI, spec []*v1alpha1.Tag, cr v1.Object) error
UpdateTagsForResource with resourceName
Types ¶
type Hooks ¶
type Hooks struct {
// contains filtered or unexported fields
}
Hooks implements common hooks so that all ServiceDiscovery Namespace resources can use.
func NewHooks ¶
func NewHooks(kube client.Client, client servicediscoveryiface.ServiceDiscoveryAPI) *Hooks
NewHooks returns a new Hooks object.
func (*Hooks) Delete ¶
Delete deletes any of HTTPNamespace, PrivateDNSNamespace or PublicDNSNamespace types.
func (*Hooks) Observe ¶
func (h *Hooks) Observe(ctx context.Context, mg cpresource.Managed) (managed.ExternalObservation, error)
Observe observes any of HTTPNamespace, PrivateDNSNamespace or PublicDNSNamespace types.
Click to show internal directories.
Click to hide internal directories.