Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultAPIVersion = envoy_config_core_v3.ApiVersion_V3
DefaultAPIVersion is the api version
Variables ¶
View Source
var ( // ResponseTypes are supported response types. ResponseTypes = []string{ types.EndpointTypeV3, types.ClusterTypeV3, types.RouteTypeV3, types.ListenerTypeV3, } )
Functions ¶
func GetResourceName ¶
func GetResourceName(res cache.ResourceProto) string
GetResourceName returns the resource name for a valid xDS response type.
Types ¶
type EnvoyResource ¶
type EnvoyResource struct {
ProtoMessage cache.ResourceProto
}
func NewEnvoyResource ¶
func NewEnvoyResource(r cache.ResourceProto) *EnvoyResource
func (*EnvoyResource) Name ¶
func (e *EnvoyResource) Name() string
GetResourceName returns the resource name for a valid xDS response type.
func (*EnvoyResource) References ¶
func (e *EnvoyResource) References() []cache.XdsResourceReference
func (*EnvoyResource) ResourceProto ¶
func (e *EnvoyResource) ResourceProto() cache.ResourceProto
func (*EnvoyResource) Self ¶
func (e *EnvoyResource) Self() cache.XdsResourceReference
func (*EnvoyResource) Type ¶
func (e *EnvoyResource) Type() string
Click to show internal directories.
Click to hide internal directories.