Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FinalPieChart ¶
type FinalPieChart struct { ChartOpts chart.Opts `json:"chartOptions"` Series []int64 `json:"series"` Total int64 `json:"total"` }
func AssembleStatefulSetPieChart ¶
func AssembleStatefulSetPieChart( logger *log.Logger, clientSet *kubernetes.Clientset, ) (FinalPieChart, error)
AssembleStatefulSetPieChart is used to assemble data to be returned to the API
type MetaDataDeploymentsTable ¶
type MetaDataDeploymentsTable struct { Name string `json:"name"` Namespace string `json:"ns"` Ready bool `json:"ready"` Progressing bool `json:"progressing"` ReplicasDesired int32 `json:"replicas"` ReplicasUpdated int32 `json:"replicas_updated"` ReplicasCurrent int32 `json:"replicas_current"` }
MetaDataDeploymentsTable is some metadata to be used to represent traffic
func AssembleDeploymentsTable ¶
func AssembleDeploymentsTable( logger *log.Logger, clientSet *kubernetes.Clientset, ) []MetaDataDeploymentsTable
AssembleDeploymentsTable preps some data about deployments
type StatefulSetStats ¶
type StatefulSetStats struct { Bad int `json:"bad"` Good int `json:"good"` Unknown int `json:"unknown"` }
StatefulSetStats is a simple slice/list of deployment pod numbers
Click to show internal directories.
Click to hide internal directories.