var Module = fx.Provide( New, pod.New, container.New, aws.New, gcp.New, )
type Selector struct {
// contains filtered or unexported fields
}
func New(p SelectorParams) *Selector
func (s *Selector) Select(ctx context.Context, spec interface{}) ([]Target, error)
type SelectorParams struct { fx.In PodSelector *pod.SelectImpl ContainerSelector *container.SelectImpl AWSSelector *aws.SelectImpl GCPSelector *gcp.SelectImpl }
type Target interface { Id() string }