Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonMetadata ¶
type CommonMetadata struct {
model.CommonMetadata `json:",inline" yaml:",inline"`
Attributes map[string]string `json:"attributes" yaml:"attributes"`
}
type EdgeOverlay ¶
type EdgeOverlay struct {
ID string `json:"id" yaml:"id"`
From string `json:"from" yaml:"from"`
To string `json:"to" yaml:"to"`
Kind string `json:"kind" yaml:"kind"`
Blocking *bool `json:"blocking" yaml:"blocking"`
Weight *float64 `json:"weight" yaml:"weight"`
Resilience *model.ResiliencePolicy `json:"resilience" yaml:"resilience"`
Observed *model.ObservedEdge `json:"observed" yaml:"observed"`
PolicyScope *model.PolicyScope `json:"policy_scope" yaml:"policy_scope"`
CommonMetadata `json:",inline" yaml:",inline"`
}
type EndpointOverlay ¶
type EndpointOverlay struct {
ID string `json:"id" yaml:"id"`
EntryService string `json:"entry_service" yaml:"entry_service"`
Method string `json:"method" yaml:"method"`
Path string `json:"path" yaml:"path"`
PredicateRef string `json:"predicate_ref" yaml:"predicate_ref"`
Weight *float64 `json:"weight" yaml:"weight"`
CommonMetadata `json:",inline" yaml:",inline"`
}
type File ¶
type File struct {
Name string `json:"name" yaml:"name"`
Services []ServiceOverlay `json:"services" yaml:"services"`
Edges []EdgeOverlay `json:"edges" yaml:"edges"`
Endpoints []EndpointOverlay `json:"endpoints" yaml:"endpoints"`
Ref string `json:"-" yaml:"-"`
}
type ServiceOverlay ¶
Click to show internal directories.
Click to hide internal directories.