Documentation
¶
Index ¶
- Constants
- type AlertManagerBuilder
- func (a *AlertManagerBuilder) Build() AlertManagerManifests
- func (a *AlertManagerBuilder) WithAlertManager() *AlertManagerBuilder
- func (a *AlertManagerBuilder) WithService() *AlertManagerBuilder
- func (a *AlertManagerBuilder) WithServiceAccount() *AlertManagerBuilder
- func (a *AlertManagerBuilder) WithServiceMonitor() *AlertManagerBuilder
- type AlertManagerManifests
- type KubeStateMetricsBuilder
- func (k *KubeStateMetricsBuilder) Build() KubeStateMetricsManifests
- func (k *KubeStateMetricsBuilder) WithClusterRole() *KubeStateMetricsBuilder
- func (k *KubeStateMetricsBuilder) WithClusterRoleBinding() *KubeStateMetricsBuilder
- func (k *KubeStateMetricsBuilder) WithDeployment() *KubeStateMetricsBuilder
- func (k *KubeStateMetricsBuilder) WithService() *KubeStateMetricsBuilder
- func (k *KubeStateMetricsBuilder) WithServiceAccount() *KubeStateMetricsBuilder
- func (k *KubeStateMetricsBuilder) WithServiceMonitor() *KubeStateMetricsBuilder
- type KubeStateMetricsManifests
- type NodeExporterBuilder
- type NodexExporterManifests
- type OperatorBuilder
- func (o *OperatorBuilder) Build() OperatorManifests
- func (o *OperatorBuilder) WithClusterRole() *OperatorBuilder
- func (o *OperatorBuilder) WithClusterRoleBinding() *OperatorBuilder
- func (o *OperatorBuilder) WithDeployment() *OperatorBuilder
- func (o *OperatorBuilder) WithService() *OperatorBuilder
- func (o *OperatorBuilder) WithServiceAccount() *OperatorBuilder
- func (o *OperatorBuilder) WithServiceMonitor() *OperatorBuilder
- type OperatorManifests
- type PrometheusBuilder
- func (p *PrometheusBuilder) Build() PrometheusManifests
- func (p *PrometheusBuilder) WithClusterRole() *PrometheusBuilder
- func (p *PrometheusBuilder) WithClusterRoleBinding() *PrometheusBuilder
- func (p *PrometheusBuilder) WithPrometheus() *PrometheusBuilder
- func (p *PrometheusBuilder) WithService() *PrometheusBuilder
- func (p *PrometheusBuilder) WithServiceAccount() *PrometheusBuilder
- func (p *PrometheusBuilder) WithServiceMonitor() *PrometheusBuilder
- type PrometheusManifests
Constants ¶
View Source
const AlertManagerName = "alertmanager"
View Source
const LatestKubeStateMetricsVersion = "2.12.0"
View Source
const LatestNodeExporterVersion = "1.8.1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertManagerBuilder ¶
type AlertManagerBuilder struct {
// contains filtered or unexported fields
}
func NewAlertManager ¶
func NewAlertManager(namespace string) *AlertManagerBuilder
func (*AlertManagerBuilder) Build ¶
func (a *AlertManagerBuilder) Build() AlertManagerManifests
func (*AlertManagerBuilder) WithAlertManager ¶
func (a *AlertManagerBuilder) WithAlertManager() *AlertManagerBuilder
func (*AlertManagerBuilder) WithService ¶
func (a *AlertManagerBuilder) WithService() *AlertManagerBuilder
func (*AlertManagerBuilder) WithServiceAccount ¶
func (a *AlertManagerBuilder) WithServiceAccount() *AlertManagerBuilder
func (*AlertManagerBuilder) WithServiceMonitor ¶
func (a *AlertManagerBuilder) WithServiceMonitor() *AlertManagerBuilder
type AlertManagerManifests ¶
type AlertManagerManifests struct { ServiceAccount *applyConfigCorev1.ServiceAccountApplyConfiguration AlertManager *monitoringv1.AlertmanagerApplyConfiguration Service *applyConfigCorev1.ServiceApplyConfiguration ServiceMonitor *monitoringv1.ServiceMonitorApplyConfiguration }
type KubeStateMetricsBuilder ¶
type KubeStateMetricsBuilder struct {
// contains filtered or unexported fields
}
func NewKubeStateMetricsBuilder ¶
func NewKubeStateMetricsBuilder(namespace, version string) *KubeStateMetricsBuilder
func (*KubeStateMetricsBuilder) Build ¶
func (k *KubeStateMetricsBuilder) Build() KubeStateMetricsManifests
func (*KubeStateMetricsBuilder) WithClusterRole ¶
func (k *KubeStateMetricsBuilder) WithClusterRole() *KubeStateMetricsBuilder
func (*KubeStateMetricsBuilder) WithClusterRoleBinding ¶
func (k *KubeStateMetricsBuilder) WithClusterRoleBinding() *KubeStateMetricsBuilder
func (*KubeStateMetricsBuilder) WithDeployment ¶
func (k *KubeStateMetricsBuilder) WithDeployment() *KubeStateMetricsBuilder
func (*KubeStateMetricsBuilder) WithService ¶
func (k *KubeStateMetricsBuilder) WithService() *KubeStateMetricsBuilder
func (*KubeStateMetricsBuilder) WithServiceAccount ¶
func (k *KubeStateMetricsBuilder) WithServiceAccount() *KubeStateMetricsBuilder
func (*KubeStateMetricsBuilder) WithServiceMonitor ¶
func (k *KubeStateMetricsBuilder) WithServiceMonitor() *KubeStateMetricsBuilder
type KubeStateMetricsManifests ¶
type KubeStateMetricsManifests struct { Deployment *applyCofongiAppsv1.DeploymentApplyConfiguration Service *applyConfigCorev1.ServiceApplyConfiguration ServiceAccount *applyConfigCorev1.ServiceAccountApplyConfiguration ClusterRole *applyConfigRbacv1.ClusterRoleApplyConfiguration ClusterRoleBinding *applyConfigRbacv1.ClusterRoleBindingApplyConfiguration ServiceMonitor *monitoringv1.ServiceMonitorApplyConfiguration }
type NodeExporterBuilder ¶
type NodeExporterBuilder struct {
// contains filtered or unexported fields
}
func NewNodeExporterBuilder ¶
func NewNodeExporterBuilder(namespace, version string) *NodeExporterBuilder
func (*NodeExporterBuilder) Build ¶
func (n *NodeExporterBuilder) Build() NodexExporterManifests
func (*NodeExporterBuilder) WithDaemonSet ¶
func (n *NodeExporterBuilder) WithDaemonSet() *NodeExporterBuilder
func (*NodeExporterBuilder) WithPodMonitor ¶
func (n *NodeExporterBuilder) WithPodMonitor() *NodeExporterBuilder
func (*NodeExporterBuilder) WithServiceAccount ¶
func (n *NodeExporterBuilder) WithServiceAccount() *NodeExporterBuilder
type NodexExporterManifests ¶
type NodexExporterManifests struct { ServiceAccount *applyConfigCorev1.ServiceAccountApplyConfiguration DaemonSet *applyCofongiAppsv1.DaemonSetApplyConfiguration PodMonitor *monitoringv1.PodMonitorApplyConfiguration }
type OperatorBuilder ¶
type OperatorBuilder struct {
// contains filtered or unexported fields
}
func NewOperator ¶
func NewOperator(namespace, version string) *OperatorBuilder
func (*OperatorBuilder) Build ¶
func (o *OperatorBuilder) Build() OperatorManifests
func (*OperatorBuilder) WithClusterRole ¶
func (o *OperatorBuilder) WithClusterRole() *OperatorBuilder
func (*OperatorBuilder) WithClusterRoleBinding ¶
func (o *OperatorBuilder) WithClusterRoleBinding() *OperatorBuilder
func (*OperatorBuilder) WithDeployment ¶
func (o *OperatorBuilder) WithDeployment() *OperatorBuilder
func (*OperatorBuilder) WithService ¶
func (o *OperatorBuilder) WithService() *OperatorBuilder
func (*OperatorBuilder) WithServiceAccount ¶
func (o *OperatorBuilder) WithServiceAccount() *OperatorBuilder
func (*OperatorBuilder) WithServiceMonitor ¶
func (o *OperatorBuilder) WithServiceMonitor() *OperatorBuilder
type OperatorManifests ¶
type OperatorManifests struct { Deployment *applyCofongiAppsv1.DeploymentApplyConfiguration Service *applyConfigCorev1.ServiceApplyConfiguration ServiceAccount *applyConfigCorev1.ServiceAccountApplyConfiguration ClusterRole *applyConfigRbacv1.ClusterRoleApplyConfiguration ClusterRoleBinding *applyConfigRbacv1.ClusterRoleBindingApplyConfiguration ServiceMonitor *monitoringv1.ServiceMonitorApplyConfiguration }
type PrometheusBuilder ¶
type PrometheusBuilder struct {
// contains filtered or unexported fields
}
func NewPrometheus ¶
func NewPrometheus(namespace string) *PrometheusBuilder
func (*PrometheusBuilder) Build ¶
func (p *PrometheusBuilder) Build() PrometheusManifests
func (*PrometheusBuilder) WithClusterRole ¶
func (p *PrometheusBuilder) WithClusterRole() *PrometheusBuilder
func (*PrometheusBuilder) WithClusterRoleBinding ¶
func (p *PrometheusBuilder) WithClusterRoleBinding() *PrometheusBuilder
func (*PrometheusBuilder) WithPrometheus ¶
func (p *PrometheusBuilder) WithPrometheus() *PrometheusBuilder
func (*PrometheusBuilder) WithService ¶
func (p *PrometheusBuilder) WithService() *PrometheusBuilder
func (*PrometheusBuilder) WithServiceAccount ¶
func (p *PrometheusBuilder) WithServiceAccount() *PrometheusBuilder
func (*PrometheusBuilder) WithServiceMonitor ¶
func (p *PrometheusBuilder) WithServiceMonitor() *PrometheusBuilder
type PrometheusManifests ¶
type PrometheusManifests struct { ServiceAccount *applyConfigCorev1.ServiceAccountApplyConfiguration ClusterRole *applyConfigRbacv1.ClusterRoleApplyConfiguration ClusterRoleBinding *applyConfigRbacv1.ClusterRoleBindingApplyConfiguration Prometheus *monitoringv1.PrometheusApplyConfiguration Service *applyConfigCorev1.ServiceApplyConfiguration ServiceMonitor *monitoringv1.ServiceMonitorApplyConfiguration }
Click to show internal directories.
Click to hide internal directories.