Documentation ¶
Index ¶
Constants ¶
View Source
const (
Namespace = "chart_operator"
)
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type HelmV2Release ¶
type HelmV2Release struct {
// contains filtered or unexported fields
}
func NewHelmV2Release ¶
func NewHelmV2Release(config HelmV2ReleaseConfig) (*HelmV2Release, error)
func (*HelmV2Release) Collect ¶
func (h *HelmV2Release) Collect(ch chan<- prometheus.Metric) error
func (*HelmV2Release) Describe ¶
func (h *HelmV2Release) Describe(ch chan<- *prometheus.Desc) error
Describe emits the description for the metrics collected here.
type HelmV2ReleaseConfig ¶
type HelmV2ReleaseConfig struct { K8sClient kubernetes.Interface Logger micrologger.Logger TillerNamespace string }
type OrphanConfigMap ¶
type OrphanConfigMap struct {
// contains filtered or unexported fields
}
func NewOrphanConfigMap ¶
func NewOrphanConfigMap(config OrphanConfigMapConfig) (*OrphanConfigMap, error)
func (*OrphanConfigMap) Collect ¶
func (oc *OrphanConfigMap) Collect(ch chan<- prometheus.Metric) error
func (*OrphanConfigMap) Describe ¶
func (oc *OrphanConfigMap) Describe(ch chan<- *prometheus.Desc) error
Describe emits the description for the metrics collected here.
type OrphanConfigMapConfig ¶
type OrphanConfigMapConfig struct { G8sClient versioned.Interface K8sClient kubernetes.Interface Logger micrologger.Logger }
type OrphanSecret ¶
type OrphanSecret struct {
// contains filtered or unexported fields
}
func NewOrphanSecret ¶
func NewOrphanSecret(config OrphanSecretConfig) (*OrphanSecret, error)
func (*OrphanSecret) Collect ¶
func (oc *OrphanSecret) Collect(ch chan<- prometheus.Metric) error
func (*OrphanSecret) Describe ¶
func (oc *OrphanSecret) Describe(ch chan<- *prometheus.Desc) error
Describe emits the description for the metrics collected here.
type OrphanSecretConfig ¶
type OrphanSecretConfig struct { G8sClient versioned.Interface K8sClient kubernetes.Interface Logger micrologger.Logger }
type Set ¶
Set is basically only a wrapper for the operator's collector implementations. It eases the iniitialization and prevents some weird import mess so we do not have to alias packages.
type SetConfig ¶
type SetConfig struct { K8sClient k8sclient.Interface HelmClient *helmclient.Client Logger micrologger.Logger TillerNamespace string }
Click to show internal directories.
Click to hide internal directories.