filters

package
v2.4.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeploymentsCollector      = "Deployments"
	JobsCollector             = "Jobs"
	ServiceDiscoveryCollector = "ServiceDiscovery"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AZsFilter

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

func NewAZsFilter

func NewAZsFilter(filters []string) *AZsFilter

func (*AZsFilter) Enabled

func (f *AZsFilter) Enabled(az string) bool

type CollectorsFilter

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

func NewCollectorsFilter

func NewCollectorsFilter(filters []string) (*CollectorsFilter, error)

func (*CollectorsFilter) Enabled

func (f *CollectorsFilter) Enabled(collectorName string) bool

type DeploymentsFilter

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

func NewDeploymentsFilter

func NewDeploymentsFilter(filters []string, boshClient director.Director) *DeploymentsFilter

func (*DeploymentsFilter) GetDeployments

func (f *DeploymentsFilter) GetDeployments() ([]director.Deployment, error)

type RegexpFilter

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

func NewRegexpFilter

func NewRegexpFilter(filters []string) (*RegexpFilter, error)

func (*RegexpFilter) Enabled

func (f *RegexpFilter) Enabled(expr string) bool

Jump to

Keyboard shortcuts

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