Documentation ¶
Index ¶
- Constants
- func GetData(value interface{}) map[string]any
- func GetImage(data map[string]any, key string) (values []string, valuesFound bool)
- func SupportedKinds() []string
- type AlertManager
- type ConfigMap
- type CronJob
- type DaemonSets
- type Deployments
- type Grafana
- type Image
- type ImagesInterface
- func NewAlertManager() ImagesInterface
- func NewConfigMap() ImagesInterface
- func NewCronjob() ImagesInterface
- func NewDaemonSet() ImagesInterface
- func NewDeployment() ImagesInterface
- func NewGrafana() ImagesInterface
- func NewJob() ImagesInterface
- func NewPod() ImagesInterface
- func NewPrometheus() ImagesInterface
- func NewReplicaSets() ImagesInterface
- func NewStatefulSet() ImagesInterface
- func NewThanos() ImagesInterface
- func NewThanosReceiver() ImagesInterface
- func NewThanosRuler() ImagesInterface
- type Job
- type Kind
- type KindInterface
- type Name
- type Pod
- type Prometheus
- type ReplicaSets
- type StatefulSets
- type Thanos
- type ThanosReceiver
- type ThanosRuler
Constants ¶
const ( KindDeployment = "Deployment" KindStatefulSet = "StatefulSet" KindDaemonSet = "DaemonSet" KindCronJob = "CronJob" KindJob = "Job" KindReplicaSet = "ReplicaSet" KindPod = "Pod" KindGrafana = "Grafana" KindThanos = "Thanos" KindThanosReceiver = "Receiver" KindConfigMap = "ConfigMap" )
Variables ¶
This section is empty.
Functions ¶
func SupportedKinds ¶ added in v0.1.0
func SupportedKinds() []string
Types ¶
type AlertManager ¶ added in v0.1.0
type AlertManager monitoringV1.Alertmanager
type DaemonSets ¶
type Deployments ¶
type Deployments appsV1.Deployment
type Grafana ¶ added in v0.1.0
type Grafana grafanaBetaV1.Grafana
type Image ¶
type Image struct { Kind string `json:"kind,omitempty" yaml:"kind,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` Image []string `json:"image,omitempty" yaml:"image,omitempty"` }
Image holds information of images retrieved.
type ImagesInterface ¶
ImagesInterface implements method that gets images from various kubernetes workloads.
func NewAlertManager ¶ added in v0.1.0
func NewAlertManager() ImagesInterface
NewAlertManager returns new instance of AlertManager.
func NewConfigMap ¶ added in v0.1.3
func NewConfigMap() ImagesInterface
func NewDaemonSet ¶
func NewDaemonSet() ImagesInterface
NewDaemonSet returns new instance of DaemonSets.
func NewDeployment ¶
func NewDeployment() ImagesInterface
NewDeployment returns new instance of Deployments.
func NewGrafana ¶ added in v0.1.0
func NewGrafana() ImagesInterface
NewGrafana returns new instance of Grafana.
func NewPrometheus ¶ added in v0.1.0
func NewPrometheus() ImagesInterface
NewPrometheus returns new instance of Prometheus.
func NewReplicaSets ¶
func NewReplicaSets() ImagesInterface
NewReplicaSets returns new instance of ReplicaSets.
func NewStatefulSet ¶
func NewStatefulSet() ImagesInterface
NewStatefulSet returns new instance of StatefulSets.
func NewThanos ¶ added in v0.1.0
func NewThanos() ImagesInterface
NewThanos returns new instance of Thanos.
func NewThanosReceiver ¶ added in v0.1.0
func NewThanosReceiver() ImagesInterface
NewThanosReceiver returns new instance of ThanosReceiver.
func NewThanosRuler ¶ added in v0.1.0
func NewThanosRuler() ImagesInterface
NewThanosRuler returns new instance of ThanosRuler.
type KindInterface ¶
KindInterface implements method that identifies the type of kubernetes workloads.
type Prometheus ¶ added in v0.1.0
type Prometheus monitoringV1.Prometheus
type ReplicaSets ¶
type ReplicaSets appsV1.ReplicaSet
type StatefulSets ¶
type StatefulSets appsV1.StatefulSet
type Thanos ¶ added in v0.1.0
type Thanos thanosAlphaV1.Thanos
type ThanosReceiver ¶ added in v0.1.0
type ThanosReceiver thanosAlphaV1.Receiver
type ThanosRuler ¶ added in v0.1.0
type ThanosRuler monitoringV1.ThanosRuler