Documentation ¶
Index ¶
Constants ¶
View Source
const HealthCheckSpecifierType = "envoy.service.health.v3.HealthCheckSpecifier"
Variables ¶
This section is empty.
Functions ¶
func NewSnapshot ¶
func NewSnapshot(version string, hcs *envoy_service_health_v3.HealthCheckSpecifier) util_xds_v3.Snapshot
Types ¶
type Snapshot ¶
type Snapshot struct {
HealthChecks cache.Resources
}
Snapshot is an internally consistent snapshot of HDS resources.
func (*Snapshot) Consistent ¶
func (*Snapshot) GetResources ¶
func (s *Snapshot) GetResources(typ string) map[string]envoy_types.Resource
func (*Snapshot) GetSupportedTypes ¶
func (*Snapshot) GetVersion ¶
func (*Snapshot) WithVersion ¶
func (s *Snapshot) WithVersion(typ string, version string) util_xds_v3.Snapshot
Click to show internal directories.
Click to hide internal directories.