Documentation
¶
Index ¶
- type AlarmListRequest
- type AlarmListResponse
- type Cache
- type ClearAlarmRequest
- type ClearAlarmResponse
- type ClustersRequest
- type ClustersResponse
- type DumpRequest
- type DumpResponse
- type Getter
- type Instance
- type InstanceSlice
- type KV
- type MicroServiceDependencyRule
- type MicroServiceDependencyRuleSlice
- type MicroServiceRule
- type MicroServiceRuleIndex
- type MicroServiceRuleIndexSlice
- type MicroServiceRuleSlice
- type Microservice
- type MicroserviceAlias
- type MicroserviceAliasSlice
- type MicroserviceIndex
- type MicroserviceIndexSlice
- type MicroserviceSlice
- type Setter
- type Summary
- type SummarySlice
- type Tag
- type TagSlice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlarmListRequest ¶
type AlarmListRequest struct {
}
type AlarmListResponse ¶
type AlarmListResponse struct {
Response *registry.Response `json:"response,omitempty"`
Alarms []*model.AlarmEvent `json:"alarms,omitempty"`
}
type Cache ¶
type Cache struct {
Microservices MicroserviceSlice `json:"services,omitempty"`
Indexes MicroserviceIndexSlice `json:"serviceIndexes,omitempty"`
Aliases MicroserviceAliasSlice `json:"serviceAliases,omitempty"`
Tags TagSlice `json:"serviceTags,omitempty"`
Rules MicroServiceRuleSlice `json:"serviceRules,omitempty"`
RuleIndexes MicroServiceRuleIndexSlice `json:"serviceRuleIndexes,omitempty"`
DependencyRules MicroServiceDependencyRuleSlice `json:"dependencyRules,omitempty"`
Summaries SummarySlice `json:"summaries,omitempty"`
Instances InstanceSlice `json:"instances,omitempty"`
}
type ClearAlarmRequest ¶
type ClearAlarmRequest struct {
}
type ClearAlarmResponse ¶
type ClustersRequest ¶
type ClustersRequest struct {
}
type ClustersResponse ¶
type DumpRequest ¶
type DumpRequest struct {
Options []string
}
type DumpResponse ¶
type Instance ¶
type Instance struct {
*KV
Value *registry.MicroServiceInstance `json:"value,omitempty"`
}
func NewInstance ¶
type InstanceSlice ¶
type InstanceSlice []*Instance
func (*InstanceSlice) SetValue ¶
func (s *InstanceSlice) SetValue(v *KV)
type MicroServiceDependencyRule ¶
type MicroServiceDependencyRule struct {
*KV
Value *registry.MicroServiceDependency `json:"value,omitempty"`
}
func NewMicroServiceDependencyRule ¶
func NewMicroServiceDependencyRule(kv *KV) *MicroServiceDependencyRule
type MicroServiceDependencyRuleSlice ¶
type MicroServiceDependencyRuleSlice []*MicroServiceDependencyRule
func (*MicroServiceDependencyRuleSlice) ForEach ¶
func (s *MicroServiceDependencyRuleSlice) ForEach(f func(i int, v *KV) bool)
func (*MicroServiceDependencyRuleSlice) SetValue ¶
func (s *MicroServiceDependencyRuleSlice) SetValue(v *KV)
type MicroServiceRule ¶
type MicroServiceRule struct {
*KV
Value *registry.ServiceRule `json:"value,omitempty"`
}
func NewMicroServiceRule ¶
func NewMicroServiceRule(kv *KV) *MicroServiceRule
type MicroServiceRuleIndex ¶
func NewMicroServiceRuleIndex ¶
func NewMicroServiceRuleIndex(kv *KV) *MicroServiceRuleIndex
type MicroServiceRuleIndexSlice ¶
type MicroServiceRuleIndexSlice []*MicroServiceRuleIndex
func (*MicroServiceRuleIndexSlice) ForEach ¶
func (s *MicroServiceRuleIndexSlice) ForEach(f func(i int, v *KV) bool)
func (*MicroServiceRuleIndexSlice) SetValue ¶
func (s *MicroServiceRuleIndexSlice) SetValue(v *KV)
type MicroServiceRuleSlice ¶
type MicroServiceRuleSlice []*MicroServiceRule
func (*MicroServiceRuleSlice) ForEach ¶
func (s *MicroServiceRuleSlice) ForEach(f func(i int, v *KV) bool)
func (*MicroServiceRuleSlice) SetValue ¶
func (s *MicroServiceRuleSlice) SetValue(v *KV)
type Microservice ¶
type Microservice struct {
*KV
Value *registry.MicroService `json:"value,omitempty"`
}
func NewMicroservice ¶
func NewMicroservice(kv *KV) *Microservice
type MicroserviceAlias ¶
func NewMicroserviceAlias ¶
func NewMicroserviceAlias(kv *KV) *MicroserviceAlias
type MicroserviceAliasSlice ¶
type MicroserviceAliasSlice []*MicroserviceAlias
func (*MicroserviceAliasSlice) ForEach ¶
func (s *MicroserviceAliasSlice) ForEach(f func(i int, v *KV) bool)
func (*MicroserviceAliasSlice) SetValue ¶
func (s *MicroserviceAliasSlice) SetValue(v *KV)
type MicroserviceIndex ¶
func NewMicroserviceIndex ¶
func NewMicroserviceIndex(kv *KV) *MicroserviceIndex
type MicroserviceIndexSlice ¶
type MicroserviceIndexSlice []*MicroserviceIndex
func (*MicroserviceIndexSlice) ForEach ¶
func (s *MicroserviceIndexSlice) ForEach(f func(i int, v *KV) bool)
func (*MicroserviceIndexSlice) SetValue ¶
func (s *MicroserviceIndexSlice) SetValue(v *KV)
type MicroserviceSlice ¶
type MicroserviceSlice []*Microservice
func (*MicroserviceSlice) SetValue ¶
func (s *MicroserviceSlice) SetValue(v *KV)
type Summary ¶
func NewSummary ¶
type SummarySlice ¶
type SummarySlice []*Summary
func (*SummarySlice) SetValue ¶
func (s *SummarySlice) SetValue(v *KV)
Click to show internal directories.
Click to hide internal directories.