prometheusnodeexporter

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image struct {
	Repository string `yaml:"repository"`
	Tag        string `yaml:"tag"`
	PullPolicy string `yaml:"pullPolicy"`
}

type Monitor

type Monitor struct {
	Enabled          bool              `yaml:"enabled"`
	AdditionalLabels map[string]string `yaml:"additionalLabels"`
	Namespace        string            `yaml:"namespace"`
	ScrapeTimeout    string            `yaml:"scrapeTimeout"`
}

type Prometheus

type Prometheus struct {
	Monitor *Monitor `yaml:"monitor"`
}

type PrometheusNodeExporter

type PrometheusNodeExporter struct {
	ApplicationDirectoryPath string
	// contains filtered or unexported fields
}

func New

func New(logger logging.Logger, toolsDirectoryPath string) *PrometheusNodeExporter

func (*PrometheusNodeExporter) Reconcile

func (p *PrometheusNodeExporter) Reconcile(overlay, specNamespace string, helm *template.Helm, spec *toolsetsv1beta1.PrometheusNodeExporter) error

type Rbac

type Rbac struct {
	Create     bool `yaml:"create"`
	PspEnabled bool `yaml:"pspEnabled"`
}

type SecurityContext

type SecurityContext struct {
	RunAsNonRoot bool `yaml:"runAsNonRoot"`
	RunAsUser    int  `yaml:"runAsUser"`
}

type Service

type Service struct {
	Type        string            `yaml:"type"`
	Port        int               `yaml:"port"`
	TargetPort  int               `yaml:"targetPort"`
	NodePort    interface{}       `yaml:"nodePort"`
	Annotations map[string]string `yaml:"annotations"`
}

type ServiceAccount

type ServiceAccount struct {
	Create           bool          `yaml:"create"`
	Name             interface{}   `yaml:"name"`
	ImagePullSecrets []interface{} `yaml:"imagePullSecrets"`
}

type Toleration

type Toleration struct {
	Effect   string `yaml:"effect"`
	Operator string `yaml:"operator"`
}

type Values

type Values struct {
	Image                 *Image            `yaml:"image"`
	Service               *Service          `yaml:"service"`
	Prometheus            *Prometheus       `yaml:"prometheus"`
	Resources             interface{}       `yaml:"resources"`
	ServiceAccount        *ServiceAccount   `yaml:"serviceAccount"`
	SecurityContext       *SecurityContext  `yaml:"securityContext"`
	Rbac                  *Rbac             `yaml:"rbac"`
	Endpoints             []interface{}     `yaml:"endpoints"`
	HostNetwork           bool              `yaml:"hostNetwork"`
	Affinity              interface{}       `yaml:"affinity"`
	NodeSelector          map[string]string `yaml:"nodeSelector"`
	Tolerations           []*Toleration     `yaml:"tolerations"`
	ExtraArgs             []string          `yaml:"extraArgs"`
	ExtraHostVolumeMounts interface{}       `yaml:"extraHostVolumeMounts"`
	Configmaps            interface{}       `yaml:"configmaps"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL