Documentation ¶
Index ¶
Constants ¶
const (
Namespace = "chart_operator"
)
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsInvalidExecution ¶
IsInvalidExecution asserts invalidExecutionError.
Types ¶
type ChartConfigResource ¶
type ChartConfigResource struct {
// contains filtered or unexported fields
}
ChartConfigResource is the main struct for this collector.
func NewChartConfigResource ¶
func NewChartConfigResource(config ChartConfigResourceConfig) (*ChartConfigResource, error)
NewChartConfigResource creates a new ChartConfigResource metrics collector.
func (*ChartConfigResource) Collect ¶
func (c *ChartConfigResource) Collect(ch chan<- prometheus.Metric) error
func (*ChartConfigResource) Describe ¶
func (a *ChartConfigResource) Describe(ch chan<- *prometheus.Desc) error
Describe emits the description for the metrics collected here.
type ChartConfigResourceConfig ¶
type ChartConfigResourceConfig struct { G8sClient versioned.Interface Logger micrologger.Logger }
ChartConfigResourceConfig is this collector's configuration struct.
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 { G8sClient versioned.Interface K8sClient kubernetes.Interface HelmClient *helmclient.Client Logger micrologger.Logger TillerNamespace string }
type TillerMaxHistory ¶
type TillerMaxHistory struct {
// contains filtered or unexported fields
}
TillerMaxHistory is the main struct for this collector.
func NewTillerMaxHistory ¶
func NewTillerMaxHistory(config TillerMaxHistoryConfig) (*TillerMaxHistory, error)
NewTillerMaxHistory creates a new TillerMaxHistory metrics collector.
func (*TillerMaxHistory) Collect ¶
func (t *TillerMaxHistory) Collect(ch chan<- prometheus.Metric) error
func (*TillerMaxHistory) Describe ¶
func (t *TillerMaxHistory) Describe(ch chan<- *prometheus.Desc) error
Describe emits the description for the metrics collected here.
type TillerMaxHistoryConfig ¶
type TillerMaxHistoryConfig struct { G8sClient versioned.Interface K8sClient kubernetes.Interface Logger micrologger.Logger TillerNamespace string }
TillerMaxHistoryConfig is this collector's configuration struct.
type TillerReachable ¶
type TillerReachable struct {
// contains filtered or unexported fields
}
TillerReachable is the main struct for this collector.
func NewTillerReachable ¶
func NewTillerReachable(config TillerReachableConfig) (*TillerReachable, error)
NewTillerReachable creates a new TillerReachable metrics collector.
func (*TillerReachable) Collect ¶
func (t *TillerReachable) Collect(ch chan<- prometheus.Metric) error
func (*TillerReachable) Describe ¶
func (t *TillerReachable) Describe(ch chan<- *prometheus.Desc) error
Describe emits the description for the metrics collected here.
type TillerReachableConfig ¶
type TillerReachableConfig struct { G8sClient versioned.Interface HelmClient helmclient.Interface Logger micrologger.Logger TillerNamespace string }
TillerReachableConfig is this collector's configuration struct.