nutanix

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 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 ClusterExporter

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

ClusterExporter

func NewClusterCollector

func NewClusterCollector(_api *Nutanix) *ClusterExporter

NewClusterCollector

func (*ClusterExporter) Collect

func (e *ClusterExporter) Collect(ch chan<- prometheus.Metric)

Collect - Implemente prometheus.Collector interface See https://github.com/prometheus/client_golang/blob/master/prometheus/collector.go

func (*ClusterExporter) Describe

func (e *ClusterExporter) Describe(ch chan<- *prometheus.Desc)

Describe - Implemente prometheus.Collector interface See https://github.com/prometheus/client_golang/blob/master/prometheus/collector.go

type HostsExporter

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

HostsExporter

func NewHostsCollector

func NewHostsCollector(_api *Nutanix) *HostsExporter

NewHostsCollector

func (*HostsExporter) Collect

func (e *HostsExporter) Collect(ch chan<- prometheus.Metric)

Collect - Implemente prometheus.Collector interface See https://github.com/prometheus/client_golang/blob/master/prometheus/collector.go

func (*HostsExporter) Describe

func (e *HostsExporter) Describe(ch chan<- *prometheus.Desc)

Describe - Implemente prometheus.Collector interface See https://github.com/prometheus/client_golang/blob/master/prometheus/collector.go

type Nutanix

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

func NewNutanix

func NewNutanix(url string, username string, password string) *Nutanix

type RequestParams

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

type SnapshotsExporter

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

SnapshotsExporter

func NewSnapshotsCollector

func NewSnapshotsCollector(_api *Nutanix) *SnapshotsExporter

NewHostsCollector

func (*SnapshotsExporter) Collect

func (e *SnapshotsExporter) Collect(ch chan<- prometheus.Metric)

Collect - Implemente prometheus.Collector interface See https://github.com/prometheus/client_golang/blob/master/prometheus/collector.go

func (*SnapshotsExporter) Describe

func (e *SnapshotsExporter) Describe(ch chan<- *prometheus.Desc)

Describe - Implemente prometheus.Collector interface See https://github.com/prometheus/client_golang/blob/master/prometheus/collector.go

type StorageContainerExporter

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

func NewStorageContainersCollector

func NewStorageContainersCollector(_api *Nutanix) *StorageContainerExporter

NewStorageContainersCollector

func (*StorageContainerExporter) Collect

func (e *StorageContainerExporter) Collect(ch chan<- prometheus.Metric)

Collect - Implemente prometheus.Collector interface See https://github.com/prometheus/client_golang/blob/master/prometheus/collector.go

func (*StorageContainerExporter) Describe

func (e *StorageContainerExporter) Describe(ch chan<- *prometheus.Desc)

Describe - Implemente prometheus.Collector interface See https://github.com/prometheus/client_golang/blob/master/prometheus/collector.go

type VmsExporter

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

VmsExporter

func NewVmsCollector

func NewVmsCollector(_api *Nutanix) *VmsExporter

NewVmsCollector - Create the Collector for VMs

func (*VmsExporter) Collect

func (e *VmsExporter) Collect(ch chan<- prometheus.Metric)

Collect - Implemente prometheus.Collector interface See https://github.com/prometheus/client_golang/blob/master/prometheus/collector.go

func (*VmsExporter) Describe

func (e *VmsExporter) Describe(ch chan<- *prometheus.Desc)

Describe - Implemente prometheus.Collector interface See https://github.com/prometheus/client_golang/blob/master/prometheus/collector.go

Jump to

Keyboard shortcuts

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