Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonMetadata ¶
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"`
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 ¶
type ServiceOverlay struct {
ID string `json:"id" yaml:"id"`
Replicas *int `json:"replicas" yaml:"replicas"`
FailureEligible *bool `json:"failure_eligible" yaml:"failure_eligible"`
CommonMetadata `json:",inline" yaml:",inline"`
}
Click to show internal directories.
Click to hide internal directories.