Documentation
¶
Index ¶
- type Ops
- func (o *Ops) Promote(ctx context.Context, tag string) (*PromoteResult, error)
- func (o *Ops) PromoteOnce(ctx context.Context, tag string) (*PromoteResult, error)
- func (o *Ops) UpdateInstallRunners(ctx context.Context, tag string, opts UpdateRunnersOptions) (*UpdateRunnersResult, error)
- func (o *Ops) WithActor(ctx context.Context) (context.Context, error)
- type Params
- type PromoteResult
- type RunnerUpdateFailure
- type UpdateRunnersOptions
- type UpdateRunnersResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ops ¶
type Ops struct {
// contains filtered or unexported fields
}
func (*Ops) PromoteOnce ¶
func (*Ops) UpdateInstallRunners ¶
func (o *Ops) UpdateInstallRunners(ctx context.Context, tag string, opts UpdateRunnersOptions) (*UpdateRunnersResult, error)
type PromoteResult ¶
type RunnerUpdateFailure ¶
type UpdateRunnersOptions ¶
type UpdateRunnersResult ¶
type UpdateRunnersResult struct {
Tag string `json:"tag"`
DryRun bool `json:"dry_run"`
RestartSignal bool `json:"restart_signal"`
Total int `json:"total"`
Updated int `json:"updated"`
Skipped int `json:"skipped"`
Failed int `json:"failed"`
RestartSkipped int `json:"restart_skipped,omitempty"`
RunnerIDs []string `json:"runner_ids,omitempty"`
Failures []RunnerUpdateFailure `json:"failures,omitempty"`
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.