Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusStable = "STABLE" StatusConnected = "CONNECTED" StatusUp = "UP" StatusInSync = "in_sync" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InterfaceMetrics ¶
type InterfaceMetrics struct {
// contains filtered or unexported fields
}
func NewInterfaceMetrics ¶
func NewInterfaceMetrics(namespace string) *InterfaceMetrics
func (*InterfaceMetrics) Reset ¶
func (m *InterfaceMetrics) Reset()
type LBMetrics ¶
type LBMetrics struct {
// contains filtered or unexported fields
}
func NewLBMetrics ¶
type MemberMetrics ¶
type MemberMetrics struct { NetworkMetrics // contains filtered or unexported fields }
func NewMemberMetrics ¶
func NewMemberMetrics(namespace string, labels []string) *MemberMetrics
func (*MemberMetrics) Populate ¶
func (m *MemberMetrics) Populate( status *model.LBPoolMemberStatus, stats *model.LBPoolMemberStatistics, labels []string, )
func (*MemberMetrics) Reset ¶
func (m *MemberMetrics) Reset()
type NetworkMetrics ¶
type NetworkMetrics struct {
// contains filtered or unexported fields
}
func NewNetworkMetrics ¶
func NewNetworkMetrics(namespace string, object string, labels []string) NetworkMetrics
func (*NetworkMetrics) Populate ¶
func (n *NetworkMetrics) Populate(labels []string, c *model.LBStatisticsCounter)
func (*NetworkMetrics) Reset ¶
func (n *NetworkMetrics) Reset()
type NodeMetrics ¶
type NodeMetrics struct {
// contains filtered or unexported fields
}
func NewNodeMetrics ¶
func NewNodeMetrics(namespace string) *NodeMetrics
func (*NodeMetrics) Reset ¶
func (m *NodeMetrics) Reset()
type PoolMetrics ¶
type PoolMetrics struct { NetworkMetrics // contains filtered or unexported fields }
func NewPoolMetrics ¶
func NewPoolMetrics(namespace string) *PoolMetrics
func (*PoolMetrics) Populate ¶
func (p *PoolMetrics) Populate(info api.PoolInfo)
func (*PoolMetrics) Reset ¶
func (p *PoolMetrics) Reset()
type RateMetrics ¶
type RateMetrics struct {
// contains filtered or unexported fields
}
func NewRateMetrics ¶
func NewRateMetrics(namespace string, object string, kind string, labels []string) *RateMetrics
func (*RateMetrics) Reset ¶
func (v *RateMetrics) Reset()
type Recorder ¶
type Recorder struct {
// contains filtered or unexported fields
}
func (*Recorder) RecordMetrics ¶
type SessionMetrics ¶
type SessionMetrics struct {
// contains filtered or unexported fields
}
func NewSessionMetrics ¶
func NewSessionMetrics(namespace string, object string, kind string, labels []string) *SessionMetrics
func (*SessionMetrics) Reset ¶
func (s *SessionMetrics) Reset()
type Tier0Metrics ¶
type Tier0Metrics struct {
TierMetrics
}
func NewTier0Metrics ¶
func NewTier0Metrics(namespace string) *Tier0Metrics
func (*Tier0Metrics) Populate ¶
func (t *Tier0Metrics) Populate( config model.Tier0, state *model.LogicalRouterState, status *model.LogicalRouterStatus, )
type Tier1Metrics ¶
type Tier1Metrics struct {
TierMetrics
}
func NewTier1Metrics ¶
func NewTier1Metrics(namespace string) *Tier1Metrics
func (*Tier1Metrics) Populate ¶
func (t *Tier1Metrics) Populate( config model.Tier1, state *model.LogicalRouterState, status *model.LogicalRouterStatus, )
type TierMetrics ¶
type TierMetrics struct {
// contains filtered or unexported fields
}
func NewTierMetrics ¶
func NewTierMetrics(namespace string, kind string) TierMetrics
func (*TierMetrics) Populate ¶
func (t *TierMetrics) Populate( labels []string, mode string, state *model.LogicalRouterState, status *model.LogicalRouterStatus, )
func (*TierMetrics) Reset ¶
func (t *TierMetrics) Reset()
type TotalMetrics ¶
type TotalMetrics struct {
// contains filtered or unexported fields
}
func NewTotalMetrics ¶
func NewTotalMetrics(namespace string, object string, kind string, labels []string) *TotalMetrics
func (*TotalMetrics) Reset ¶
func (v *TotalMetrics) Reset()
Click to show internal directories.
Click to hide internal directories.