Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Start(ctx context.Context, opts ...StartOption) error Stop(ctx context.Context, opts ...StopOption) error Once(ctx context.Context, opts ...OnceOption) (runnerpb.Runner_OnceClient, error) Load(ctx context.Context, opts ...LoadOption) error Close() error }
type LoadOption ¶ added in v0.0.11
type LoadOption interface {
ApplyToLoad(*LoadOptions)
}
type LoadOptions ¶ added in v0.0.11
type LoadOptions struct {
Proxy types.NamespacedName
}
func (*LoadOptions) ApplyOptions ¶ added in v0.0.11
func (o *LoadOptions) ApplyOptions(opts []LoadOption) *LoadOptions
ApplyOptions applies the given get options on these options, and then returns itself (for convenient chaining).
func (*LoadOptions) ApplyToLoad ¶ added in v0.0.11
func (o *LoadOptions) ApplyToLoad(lo *LoadOptions)
type OnceOption ¶ added in v0.0.11
type OnceOption interface {
ApplyToOnce(*OnceOptions)
}
type OnceOptions ¶ added in v0.0.11
type OnceOptions struct {
Proxy types.NamespacedName
}
func (*OnceOptions) ApplyOptions ¶ added in v0.0.11
func (o *OnceOptions) ApplyOptions(opts []OnceOption) *OnceOptions
ApplyOptions applies the given get options on these options, and then returns itself (for convenient chaining).
func (*OnceOptions) ApplyToOnce ¶ added in v0.0.11
func (o *OnceOptions) ApplyToOnce(lo *OnceOptions)
type RunnerClient ¶ added in v0.0.11
type RunnerClient interface { runnerpb.RunnerClient Close() error }
func NewRunnerClient ¶ added in v0.0.12
func NewRunnerClient(config *config.Config) (RunnerClient, error)
type StartOption ¶ added in v0.0.11
type StartOption interface { // ApplyToGet applies this configuration to the given get options. ApplyToStart(*StartOptions) }
type StartOptions ¶ added in v0.0.11
type StartOptions struct {
Proxy types.NamespacedName
}
func (*StartOptions) ApplyOptions ¶ added in v0.0.11
func (o *StartOptions) ApplyOptions(opts []StartOption) *StartOptions
ApplyOptions applies the given get options on these options, and then returns itself (for convenient chaining).
func (*StartOptions) ApplyToStart ¶ added in v0.0.11
func (o *StartOptions) ApplyToStart(lo *StartOptions)
type StopOption ¶ added in v0.0.11
type StopOption interface {
ApplyToStop(*StopOptions)
}
type StopOptions ¶ added in v0.0.11
type StopOptions struct {
Proxy types.NamespacedName
}
func (*StopOptions) ApplyOptions ¶ added in v0.0.11
func (o *StopOptions) ApplyOptions(opts []StopOption) *StopOptions
ApplyOptions applies the given get options on these options, and then returns itself (for convenient chaining).
func (*StopOptions) ApplyToStop ¶ added in v0.0.11
func (o *StopOptions) ApplyToStop(lo *StopOptions)
Click to show internal directories.
Click to hide internal directories.