commonnamespace

package
v0.27.1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActualIsNotFound

func ActualIsNotFound(err error) bool

ActualIsNotFound reimplements IsNotFound which doesn't do it's job IsNotFound test for error code UNKNOWN

func IsDuplicateRequest

func IsDuplicateRequest(err error) bool

IsDuplicateRequest checks if an error is DuplicateRequest

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

NewHooks returns a new Hooks object.

func (*Hooks) Delete

func (h *Hooks) Delete(ctx context.Context, mg cpresource.Managed) error

Delete deletes any of HTTPNamespace, PrivateDNSNamespace or PublicDNSNamespace types.

func (*Hooks) Observe

Observe observes any of HTTPNamespace, PrivateDNSNamespace or PublicDNSNamespace types.

Jump to

Keyboard shortcuts

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