Documentation ¶
Index ¶
- func AddPrefixToNames(rs []model.Resource, prefix string)
- func AddSuffixToNames(rs []model.Resource, suffix string)
- func ClientIDFromIncomingCtx(ctx context.Context) (string, error)
- func CloneResourceMetaWithNewName(meta model.ResourceMeta, name string) model.ResourceMeta
- func NewResourceMeta(name, mesh string) model.ResourceMeta
- func ResourceNameHasAtLeastOneOfPrefixes(resName string, prefixes ...string) bool
- func StatsOf(status *system_proto.KDSSubscriptionStatus, resourceType model.ResourceType) *system_proto.KDSServiceStats
- func ToCoreResourceList(response *envoy_sd.DiscoveryResponse) (model.ResourceList, error)
- func ToEnvoyResources(rlist model.ResourceList) ([]envoy_types.Resource, error)
- func ZoneTag(r model.Resource) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPrefixToNames ¶
func AddSuffixToNames ¶
func ClientIDFromIncomingCtx ¶ added in v1.8.1
func CloneResourceMetaWithNewName ¶ added in v1.8.1
func CloneResourceMetaWithNewName(meta model.ResourceMeta, name string) model.ResourceMeta
func NewResourceMeta ¶
func NewResourceMeta(name, mesh string) model.ResourceMeta
func ResourceNameHasAtLeastOneOfPrefixes ¶ added in v1.8.1
func StatsOf ¶
func StatsOf(status *system_proto.KDSSubscriptionStatus, resourceType model.ResourceType) *system_proto.KDSServiceStats
func ToCoreResourceList ¶
func ToCoreResourceList(response *envoy_sd.DiscoveryResponse) (model.ResourceList, error)
func ToEnvoyResources ¶
func ToEnvoyResources(rlist model.ResourceList) ([]envoy_types.Resource, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.