cmdci

package
v0.182.4 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(runtime shared.Runtime, deps Dependencies) *cobra.Command

func NewChecks

func NewChecks(runtime shared.Runtime, deps Dependencies) *cobra.Command

Types

type Dependencies

type Dependencies struct {
	WaitChecks     func(context.Context, githubchecks.PullRequestWaitOptions) (githubchecks.PullRequestWaitResult, error)
	Audit          func(ciaudit.BatchOptions) ([]ciaudit.Report, error)
	ValidateBranch func(string) error
	Now            func() time.Time
}

type WaitOutput

type WaitOutput struct {
	SchemaVersion int       `json:"schema_version"`
	ObservedAt    time.Time `json:"observed_at"`
	githubchecks.PullRequestWaitResult
	ResumeArgs []string `json:"resume_args,omitempty"`
}

Jump to

Keyboard shortcuts

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