package
1.21.0-rc1
Repository: https://github.com/hashicorp/consul.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

UnversionedTypeFrom creates an UnversionedType from the given *pbresource.Type.

# Constants

EventualConsistency provides a weak set of guarantees, but is much cheaper than using StrongConsistency and therefore should be treated as the default.
StrongConsistency provides a very strong set of guarantees but is much more expensive, so should be used sparingly.
Wildcard can be given as Tenancy fields in List and Watch calls, to enumerate resources across multiple partitions, peers, namespaces, etc.

# Variables

ErrCASFailure indicates that the attempted write failed because the given version does not match what is currently stored.
ErrInconsistent indicates that the attempted write or consistent read could not be achieved because of a consistency or availability issue (e.g.
ErrNotFound indicates that the resource could not be found.
ErrWatchClosed is returned by Watch.Next when the watch is closed, e.g.
ErrWrongUid indicates that the attempted write failed because the resource's Uid doesn't match what is currently stored (e.g.

# Structs

GroupVersionMismatchError is returned when a resource is stored as a type with a different GroupVersion than was requested.
UnversionedType represents a pbresource.Type as it is stored without the GroupVersion.

# Interfaces

Backend provides the low-level storage substrate for resources.
Watch represents a watch on a given set of resources.

# Type aliases

ReadConsistency is used to specify the required consistency guarantees for a read operation.