Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlameStatistics ¶
type BlameStatistics struct { Managers map[string]*ManagerStatistics `json:"managers"` LatestUpdate time.Time `json:"lastUpdate"` }
func (*BlameStatistics) DeepCopy ¶
func (in *BlameStatistics) DeepCopy() *BlameStatistics
func (*BlameStatistics) DeepCopyInto ¶
func (in *BlameStatistics) DeepCopyInto(out *BlameStatistics)
type BlameWatcher ¶
type BlameWatcher struct {
// contains filtered or unexported fields
}
func NewBlameWatcher ¶
func NewBlameWatcher(logger logr.Logger, kube *client.KubeClient, gvk schema.GroupVersionKind, resource string) *BlameWatcher
func (*BlameWatcher) Statistics ¶
func (w *BlameWatcher) Statistics() *BlameStatistics
type ManagerStatistics ¶
type ManagerStatistics struct {
UpdateCount int `json:"update"`
}
type NamespaceStatistics ¶
type NamespaceStatistics struct {
Resources map[string]*ResourceStatistics `json:"resources"`
}
func (*NamespaceStatistics) DeepCopy ¶
func (in *NamespaceStatistics) DeepCopy() *NamespaceStatistics
func (*NamespaceStatistics) DeepCopyInto ¶
func (in *NamespaceStatistics) DeepCopyInto(out *NamespaceStatistics)
type ResourceStatistics ¶
type Statistics ¶
type Statistics struct { GroupVersionKind metav1.GroupVersionKind `json:"gvk"` Namespaces map[string]*NamespaceStatistics `json:"namespaces"` }
func (*Statistics) DeepCopy ¶
func (in *Statistics) DeepCopy() *Statistics
func (*Statistics) DeepCopyInto ¶
func (in *Statistics) DeepCopyInto(out *Statistics)
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
func NewWatcher ¶
func (*Watcher) Statistics ¶
func (w *Watcher) Statistics() *Statistics
Click to show internal directories.
Click to hide internal directories.