Documentation ¶
Index ¶
- type EntryStatistic
- type OwnerStatistic
- func (this OwnerStatistic) Assure(owner string) ProviderTypeStatistic
- func (this OwnerStatistic) Count() int
- func (this OwnerStatistic) Get(owner string) ProviderTypeStatistic
- func (this OwnerStatistic) Inc(owner, ptype string, pname resources.ObjectName)
- func (this OwnerStatistic) Walk(state WalkingState, walker OwnerWalker) WalkingState
- type OwnerWalker
- type ProviderStatistic
- type ProviderTypeStatistic
- func (this ProviderTypeStatistic) Assure(ptype string) ProviderStatistic
- func (this ProviderTypeStatistic) Count() int
- func (this ProviderTypeStatistic) Get(ptype string) ProviderStatistic
- func (this ProviderTypeStatistic) Inc(ptype string, pname resources.ObjectName)
- func (this ProviderTypeStatistic) Walk(state WalkingState, walker OwnerWalker, owner string) WalkingState
- type WalkingState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntryStatistic ¶
type EntryStatistic struct { Providers ProviderTypeStatistic Owners OwnerStatistic }
func NewEntryStatistic ¶
func NewEntryStatistic() *EntryStatistic
type OwnerStatistic ¶
type OwnerStatistic map[string]ProviderTypeStatistic
func (OwnerStatistic) Assure ¶
func (this OwnerStatistic) Assure(owner string) ProviderTypeStatistic
func (OwnerStatistic) Count ¶
func (this OwnerStatistic) Count() int
func (OwnerStatistic) Get ¶
func (this OwnerStatistic) Get(owner string) ProviderTypeStatistic
func (OwnerStatistic) Inc ¶
func (this OwnerStatistic) Inc(owner, ptype string, pname resources.ObjectName)
func (OwnerStatistic) Walk ¶
func (this OwnerStatistic) Walk(state WalkingState, walker OwnerWalker) WalkingState
type OwnerWalker ¶
type OwnerWalker func(state WalkingState, owner, ptype string, pname resources.ObjectName, count int) WalkingState
type ProviderStatistic ¶
type ProviderStatistic map[resources.ObjectName]int
func (ProviderStatistic) Count ¶
func (this ProviderStatistic) Count() int
func (ProviderStatistic) Inc ¶
func (this ProviderStatistic) Inc(name resources.ObjectName)
func (ProviderStatistic) Walk ¶
func (this ProviderStatistic) Walk(state WalkingState, walker OwnerWalker, owner, ptype string) WalkingState
type ProviderTypeStatistic ¶
type ProviderTypeStatistic map[string]ProviderStatistic
func (ProviderTypeStatistic) Assure ¶
func (this ProviderTypeStatistic) Assure(ptype string) ProviderStatistic
func (ProviderTypeStatistic) Count ¶
func (this ProviderTypeStatistic) Count() int
func (ProviderTypeStatistic) Get ¶
func (this ProviderTypeStatistic) Get(ptype string) ProviderStatistic
func (ProviderTypeStatistic) Inc ¶
func (this ProviderTypeStatistic) Inc(ptype string, pname resources.ObjectName)
func (ProviderTypeStatistic) Walk ¶
func (this ProviderTypeStatistic) Walk(state WalkingState, walker OwnerWalker, owner string) WalkingState
type WalkingState ¶
type WalkingState interface{}
Click to show internal directories.
Click to hide internal directories.