Documentation ¶
Index ¶
- Constants
- Variables
- type Client
- type Reporter
- func (m *Reporter) Create(client Client, object api.Object, elapsed float64)
- func (m *Reporter) Delete(client Client, object api.Object, elapsed float64)
- func (m *Reporter) Get(client Client, object api.Object, elapsed float64)
- func (m *Reporter) List(client Client, object api.Object, elapsed float64)
- func (m *Reporter) Update(client Client, object api.Object, elapsed float64)
Constants ¶
View Source
const ( Get = "Get" List = "List" Create = "Create" Update = "Update" Delete = "Delete" Cluster = "cluster" Component = "component" Function = "function" Kind = "kind" Method = "method" )
Labels.
Variables ¶
View Source
var Settings = &settings.Settings
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { k8sclient.Client dapi.DiscoveryInterface RestConfig() *rest.Config MajorVersion() int MinorVersion() int }
A smart client. Provides seamless API version compatibility.
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
Metric reporter.
var Metrics *Reporter
Global reporter.
Click to show internal directories.
Click to hide internal directories.