Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentStats ¶
type DeploymentStats struct { Bad int `json:"bad"` Good int `json:"good"` Unknown int `json:"unknown"` }
DeploymentStats is a simple slice/list of deployment pod numbers
type FinalPieChart ¶
type FinalPieChart struct { ChartOpts chart.Opts `json:"chartOptions"` Series []int64 `json:"series"` Total int64 `json:"total"` }
func AssembleDeploymentPieChart ¶
func AssembleDeploymentPieChart( logger *log.Logger, clientSet *kubernetes.Clientset, ) (FinalPieChart, error)
AssembleDeploymentPieChart 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"` ReplicasAvailable int32 `json:"replicas_available"` Tag string `json:"tag"` Changed metav1.Time `json:"lastChangedTimestamp"` }
MetaDataDeploymentsTable is some metadata to be used to represent traffic
func AssembleDeploymentsTable ¶
func AssembleDeploymentsTable( logger *log.Logger, clientSet *kubernetes.Clientset, filteredTags []TagFilters, ) []MetaDataDeploymentsTable
AssembleDeploymentsTable preps some data about deployments
type TagFilters ¶
func ParseShowTagsFor ¶
func ParseShowTagsFor(input string) (result []TagFilters)
Click to show internal directories.
Click to hide internal directories.