Documentation
¶
Index ¶
- func CredentialScopeForRoot(root string) (string, error)
- func NewDatabaseRecovery(options Options) bridge.DatabaseRecovery
- func NewInitializer(options Options) bridge.Initializer
- func NewProductionRemoteNodes(ctx context.Context, dependencies ProductionRemoteNodeDependencies) (*productionRemoteNodes, func() error, error)
- type Options
- type ProductionClock
- type ProductionRemoteNodeDependencies
- type RunnerConnection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CredentialScopeForRoot ¶
func NewDatabaseRecovery ¶
func NewDatabaseRecovery(options Options) bridge.DatabaseRecovery
func NewInitializer ¶
func NewInitializer(options Options) bridge.Initializer
func NewProductionRemoteNodes ¶
func NewProductionRemoteNodes( ctx context.Context, dependencies ProductionRemoteNodeDependencies, ) (*productionRemoteNodes, func() error, error)
Types ¶
type Options ¶
type Options struct {
ProtocolTransport http.RoundTripper
UserConfigDir func() (string, error)
AppVersion string
CaseBundle fs.FS
SuiteBundle fs.FS
ExecutablePath func() (string, error)
ReportRunDiagnostic func(runs.Diagnostic)
ReportCredentialCleanup func(error)
CredentialStore credentials.Store
RunnerSource runnerartifacts.Source
RunnerRelease string
RemoteConnector remotenodes.Connector
RunnerConnector runnerConnector
}
func DefaultOptions ¶
type ProductionClock ¶
type ProductionClock struct{}
func (ProductionClock) Now ¶
func (ProductionClock) Now() time.Time
type ProductionRemoteNodeDependencies ¶
type ProductionRemoteNodeDependencies struct {
Directory string
Credentials credentials.Store
Usage remoteNodeUsageReader
Options Options
}
type RunnerConnection ¶
type RunnerConnection interface {
remotesync.Connection
jobs.Backend
}
func OpenProductionRunner ¶
func OpenProductionRunner( ctx context.Context, configuration *remotenodes.Service, requested remotesync.Node, access jobs.Access, ) (RunnerConnection, error)
Click to show internal directories.
Click to hide internal directories.