package types
import "github.com/envoyproxy/go-control-plane/pkg/cache/types"
Index ¶
- type MarshaledResource
- type Resource
- type ResourceWithName
- type ResourceWithTTL
- type ResponseType
- type SkipFetchError
Types ¶
type MarshaledResource ¶
type MarshaledResource = []byte
MarshaledResource is an alias for the serialized binary array.
type Resource ¶
Resource is the base interface for the xDS payload.
type ResourceWithName ¶
ResourceWithName provides a name for out-of-tree resources.
type ResourceWithTTL ¶
ResourceWithTTL is a Resource with an optional TTL.
type ResponseType ¶
type ResponseType int
ResponseType enumeration of supported response types
const ( Endpoint ResponseType = iota Cluster Route ScopedRoute VirtualHost Listener Secret Runtime ExtensionConfig RateLimitConfig UnknownType // token to count the total number of supported types )
type SkipFetchError ¶
type SkipFetchError struct{}
SkipFetchError is the error returned when the cache fetch is short circuited due to the client's version already being up-to-date.
func (SkipFetchError) Error ¶
func (e SkipFetchError) Error() string
Error satisfies the error interface
Source Files ¶
- Version
- v0.11.1
- Published
- May 28, 2023
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 1 hour ago –
Tools for package owners.