prometheus

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2017 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListOptions

func ListOptions(name string) metav1.ListOptions

func PrometheusStatus

func PrometheusStatus(kclient *kubernetes.Clientset, p *v1alpha1.Prometheus) (*v1alpha1.PrometheusStatus, []v1.Pod, error)

Types

type Config

type Config struct {
	Host                string
	KubeletObject       string
	TLSInsecure         bool
	TLSConfig           rest.TLSClientConfig
	ConfigReloaderImage string
}

Config defines configuration parameters for the Operator.

type Operator

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

Operator manages lify cycle of Prometheus deployments and monitoring configurations.

func New

func New(conf Config, logger log.Logger) (*Operator, error)

New creates a new controller.

func (*Operator) Run

func (c *Operator) Run(stopc <-chan struct{}) error

Run the controller.

Jump to

Keyboard shortcuts

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