collector

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	prometheus.Collector

	Init(*http.Client) error
	GetName() string
	GetData() error
}

type MockInterface

type MockInterface struct {
	mock.Mock
}

MockInterface is an autogenerated mock type for the Interface type

func (*MockInterface) Collect

func (_m *MockInterface) Collect(_a0 chan<- prometheus.Metric)

Collect provides a mock function with given fields: _a0

func (*MockInterface) Describe

func (_m *MockInterface) Describe(_a0 chan<- *prometheus.Desc)

Describe provides a mock function with given fields: _a0

func (*MockInterface) GetData

func (_m *MockInterface) GetData() error

GetData provides a mock function with given fields:

func (*MockInterface) GetName

func (_m *MockInterface) GetName() string

GetName provides a mock function with given fields:

func (*MockInterface) Init

func (_m *MockInterface) Init(_a0 *http.Client) error

Init provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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