package
0.9.8-alpha.2
Repository: https://github.com/kubernetes/ingress-gce.git
Documentation: pkg.go.dev

# Functions

CompareLinks returns true if the 2 self links are equal.
FakeGoogleAPIForbiddenErr creates a Forbidden error with type googleapi.Error.
FakeGoogleAPINotFoundErr creates a NotFound error with type googleapi.Error.
IgnoreHTTPNotFound returns the passed err if it's not a GoogleAPI error with a NotFound status code.
IsForbiddenError returns true if the operation was forbidden.
IsHTTPErrorCode checks if the given error matches the given HTTP Error code.
IsInUsedByError returns true if the resource is being used by another GCP resource.
IsNotFoundError returns true if the resource does not exist.
NewNamer creates a new namer with a Cluster and Firewall name.
NewNamerWithPrefix creates a new namer with a custom prefix.
NewPeriodicTaskQueue creates a new task queue with the given sync function.
No description provided by the author

# Constants

Add used to record additions in a sync pool.
AddInstances used to record a call to AddInstances.
Create used to record creations in a sync pool.
DefaultBackendKey is the key used to transmit the defaultBackend through a urlmap.
Delete used to record deltions from a sync pool.
Get used to record Get from a sync pool.
No description provided by the author
No description provided by the author
Remove used to record removals from a sync pool.
RemoveInstances used to record a call to RemoveInstances.
Sync used to record syncs of a sync pool.
Update used to record updates in a sync pool.

# Structs

NameComponents is a struct representing the components of a a GCE resource name constructed by the namer.
Namer is the centralized naming policy for Ingress-related GCP resources.
PeriodicTaskQueue invokes the given sync function for every work item inserted.

# Interfaces

TaskQueue is a rate limited operation queue.

# Type aliases

FakeIngressRuleValueMap is a convenience type used by multiple submodules that share the same testing methods.
GCEURLMap is a nested map of hostname->path regex->backend.
NamerProtocol is an enum for the different protocols given as parameters to Namer.