package types

import "github.com/envoyproxy/go-control-plane/pkg/cache/types"

Index

Types

type MarshaledResource

type MarshaledResource = []byte

MarshaledResource is an alias for the serialized binary array.

type Resource

type Resource interface {
	proto.Message
}

Resource is the base interface for the xDS payload.

type ResponseType

type ResponseType int

ResponseType enumeration of supported response types

const (
	Endpoint ResponseType = iota
	Cluster
	Route
	Listener
	Secret
	Runtime
	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

types.go

Version
v0.9.6
Published
Jul 5, 2020
Platform
linux/amd64
Imports
1 packages
Last checked
33 minutes ago

Tools for package owners.