runner

package
v1.0.58 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	PlatformOptions
	Ctx           context.Context               `kong:"-"`
	Client        *p42.Client                   `kong:"-"`
	Config        config.Config                 `kong:"-"`
	ConfigFile    string                        `help:"Path to config file. Defaults to ~/.config/plan42-runner.toml" short:"c" optional:""`
	ConnectionIdx map[string]*config.GithubInfo `kong:"-"` // indexes github config based on connection id.
}

func (*Options) PollerOptions

func (o *Options) PollerOptions() []messages.Option

func (*Options) Process

func (o *Options) Process() error

type PlatformOptions

type PlatformOptions struct {
}

func (*PlatformOptions) Init added in v1.0.22

func (p *PlatformOptions) Init(_ context.Context) error

func (*PlatformOptions) PollerOptions

func (p *PlatformOptions) PollerOptions(options []messages.Option) []messages.Option

func (*PlatformOptions) SetupRuntime added in v1.0.42

func (p *PlatformOptions) SetupRuntime(runtimeName string) error

Jump to

Keyboard shortcuts

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