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
Click to show internal directories.
Click to hide internal directories.