selector

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Selector

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

func New

func New(p SelectorParams) *Selector

func (*Selector) Select

func (s *Selector) Select(ctx context.Context, spec interface{}) ([]Target, error)

type SelectorParams

type SelectorParams struct {
	fx.In

	PodSelector             *pod.SelectImpl
	ContainerSelector       *container.SelectImpl
	AWSSelector             *aws.SelectImpl
	AzureSelector           *azure.SelectImpl
	GCPSelector             *gcp.SelectImpl
	PhysicalMachineSelector *physicalmachine.SelectImpl
	NodeVolumePath          *nodevolumepath.SelectImpl
}

type Target

type Target interface {
	Id() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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