Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController(namespace string, client *kubernetes.Clientset, appsclient *appsv1.AppsV1Client, metricsClient *metrics.MetricsClient) *controller
Types ¶
type ChartEntry ¶
type ChartLegendEntry ¶
type ChartLegendEntry struct {
Name string `json:"name"`
}
type OverviewProcessor ¶
type OverviewProcessor func(obj metav1.Object, pod *corev1.PodTemplateSpec, replicas int)
type Producer ¶
type Producer struct {
Component `json:",inline"`
Protocol string `json:"protocol"`
MessagesPerSecondConfigured *float64 `json:"messagesPerSecondConfigured"`
MessagesPerSecondScheduled *float64 `json:"messagesPerSecondScheduled"`
MessagesPerSecondSent *float64 `json:"messagesPerSecondSent"`
MessagesPerSecondFailed *float64 `json:"messagesPerSecondFailed"`
MessagesPerSecondErrored *float64 `json:"messagesPerSecondErrored"`
ConnectionsConfigured *float64 `json:"connectionsConfigured"`
ConnectionsEstablished *float64 `json:"connectionsEstablished"`
ChartData []ChartEntry `json:"chartData"`
ChartLegend []ChartLegendEntry `json:"chartLegend"`
}
Click to show internal directories.
Click to hide internal directories.