Documentation
¶
Overview ¶
Package local runs accepted sessions in digest-pinned Linux containers on the runner's machine.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Directory is the private session store of this runner's OS user.
Directory string
Profiles []Profile
// GitName and GitEmail are the host's public commit identity.
GitName, GitEmail string
// GitAccess is the runner's git access. Empty is none.
GitAccess executor.GitAccess `json:"-"`
// GitTransport carries the host-authenticated request to GitHub.
// Nil uses the default HTTPS transport.
GitTransport http.RoundTripper `json:"-"`
// ResolveContext reads the already-authorized context bundle by reference.
ResolveContext func(context.Context, string) (json.RawMessage, error) `json:"-"`
}
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
Executor owns only the sessions running on this machine.
type Profile ¶
type Profile struct {
Harness, Subscription, Provider string
Model, Origin string
Transport http.RoundTripper `json:"-"`
// Image and Toolchains override the local platform pins when an installation upgrades.
Image string
Toolchains map[string]string
}
Profile is the host's configuration for one advertised harness and subscription. Origin serves the provider API. Transport may authenticate as the subscription on the host, e.g. through a local authenticated provider gateway.