pluginselector

package
v0.0.0-...-1f3cceb Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginSelector

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

func NewPluginSelector

func NewPluginSelector(fn PluginSelectorFunc, conns ...*grpc.ClientConn) *PluginSelector

FIXME: we really should have grpc.ClientConn here.

func (*PluginSelector) Select

func (ps *PluginSelector) Select(bj crd.BuildJob) api.PluginClient

func (*PluginSelector) UpdateCachedInfo

func (ps *PluginSelector) UpdateCachedInfo(ctx context.Context) error

type PluginSelectorFunc

type PluginSelectorFunc func(plugins []api.InfoResponse, bj crd.BuildJob) (int, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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