Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPrometheusService ¶
returns the prometheus service name
func QueryPrometheus ¶
Types ¶
type QueryOpts ¶
type QueryOpts struct { Metric string `schema:"metric"` ShouldSum bool `schema:"shouldsum"` Kind string `schema:"kind"` PodList []string `schema:"pods"` Name string `schema:"name"` Namespace string `schema:"namespace"` StartRange uint `schema:"startrange"` EndRange uint `schema:"endrange"` Resolution string `schema:"resolution"` Percentile float64 `schema:"percentile"` }
type SimpleIngress ¶
func GetIngressesWithNGINXAnnotation ¶
func GetIngressesWithNGINXAnnotation(clientset kubernetes.Interface) ([]SimpleIngress, error)
GetIngressesWithNGINXAnnotation gets an array of names for all ingresses controlled by NGINX
Click to show internal directories.
Click to hide internal directories.