tasks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2018 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 AlertmanagerTask

type AlertmanagerTask struct {
	// contains filtered or unexported fields
}

func NewAlertmanagerTask

func NewAlertmanagerTask(client *client.Client, factory *manifests.Factory) *AlertmanagerTask

func (*AlertmanagerTask) Run

func (t *AlertmanagerTask) Run() error

type ClusterMonitoringOperatorTask added in v0.1.1

type ClusterMonitoringOperatorTask struct {
	// contains filtered or unexported fields
}

func NewClusterMonitoringOperatorTask added in v0.1.1

func NewClusterMonitoringOperatorTask(client *client.Client, factory *manifests.Factory) *ClusterMonitoringOperatorTask

func (*ClusterMonitoringOperatorTask) Run added in v0.1.1

type GrafanaTask added in v0.1.0

type GrafanaTask struct {
	// contains filtered or unexported fields
}

func NewGrafanaTask added in v0.1.0

func NewGrafanaTask(client *client.Client, factory *manifests.Factory) *GrafanaTask

func (*GrafanaTask) Run added in v0.1.0

func (t *GrafanaTask) Run() error

type KubeStateMetricsTask

type KubeStateMetricsTask struct {
	// contains filtered or unexported fields
}

func NewKubeStateMetricsTask

func NewKubeStateMetricsTask(client *client.Client, factory *manifests.Factory) *KubeStateMetricsTask

func (*KubeStateMetricsTask) Run

func (t *KubeStateMetricsTask) Run() error

type NodeExporterTask

type NodeExporterTask struct {
	// contains filtered or unexported fields
}

func NewNodeExporterTask

func NewNodeExporterTask(client *client.Client, factory *manifests.Factory) *NodeExporterTask

func (*NodeExporterTask) Run

func (t *NodeExporterTask) Run() error

type PrometheusOperatorTask

type PrometheusOperatorTask struct {
	// contains filtered or unexported fields
}

func NewPrometheusOperatorTask

func NewPrometheusOperatorTask(client *client.Client, factory *manifests.Factory) *PrometheusOperatorTask

func (*PrometheusOperatorTask) Run

func (t *PrometheusOperatorTask) Run() error

type PrometheusTask

type PrometheusTask struct {
	// contains filtered or unexported fields
}

func NewPrometheusTask

func NewPrometheusTask(client *client.Client, factory *manifests.Factory, config *manifests.Config) *PrometheusTask

func (*PrometheusTask) Run

func (t *PrometheusTask) Run() error

type Task

type Task interface {
	Run() error
}

type TaskRunner

type TaskRunner struct {
	// contains filtered or unexported fields
}

func NewTaskRunner

func NewTaskRunner(client *client.Client, tasks []*TaskSpec) *TaskRunner

func (*TaskRunner) ExecuteTask

func (tl *TaskRunner) ExecuteTask(ts *TaskSpec) error

func (*TaskRunner) RunAll

func (tl *TaskRunner) RunAll() error

type TaskSpec

type TaskSpec struct {
	Name string
	Task Task
}

func NewTaskSpec

func NewTaskSpec(name string, task Task) *TaskSpec

Jump to

Keyboard shortcuts

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