recrunner

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner interface {
	Start(ctx context.Context, branch string) error
	RunOnce(ctx context.Context, branch string) (*runnerpb.Once_Response, error)
	Stop()
	AddDiscoveryClient(discovery.CachedDiscoveryInterface)
	AddResourceClient(resourceclient.Client)
	AddContext(ctx context.Context)
}

func New

func New(flags *genericclioptions.ConfigFlags, choreo choreo.Choreo) Runner

type RunnerStatus

type RunnerStatus int
const (
	RunnerStatus_Stopped RunnerStatus = iota
	RunnerStatus_Running
	RunnerStatus_Once
)

func (RunnerStatus) String

func (rs RunnerStatus) String() string

Jump to

Keyboard shortcuts

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