filters

package
v3.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2019 License: Apache-2.0 Imports: 7 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 CidrFilter

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

func NewCidrFilter

func NewCidrFilter(filters []string) (*CidrFilter, error)

func (*CidrFilter) Select

func (f *CidrFilter) Select(ips []string) (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