sidecar

package
v0.0.0-...-ef9846f Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloneCommand

type CloneCommand struct {
	WorkDir        string
	AppId          int64
	InstallationId int64
	PrivateKeyFile string
	Repo           string
	Commit         string
}

func NewCloneCommand

func NewCloneCommand() *CloneCommand

func (*CloneCommand) Name

func (c *CloneCommand) Name() string

func (*CloneCommand) Run

func (c *CloneCommand) Run(ctx context.Context) error

func (*CloneCommand) SetFlags

func (c *CloneCommand) SetFlags(fs *cli.FlagSet)

type CredentialCommand

type CredentialCommand struct {
	// contains filtered or unexported fields
}

func NewCredentialCommand

func NewCredentialCommand() *CredentialCommand

func (*CredentialCommand) ContainerRegistry

func (c *CredentialCommand) ContainerRegistry(_ context.Context) error

func (*CredentialCommand) SetContainerRegistryFlags

func (c *CredentialCommand) SetContainerRegistryFlags(fs *cli.FlagSet)

func (*CredentialCommand) SetGlobalFlags

func (c *CredentialCommand) SetGlobalFlags(_ *cli.FlagSet)

type TestReport

type TestReport struct {
	Tests []TestSummary `json:"tests"`
}

type TestReportCommand

type TestReportCommand struct {
	// contains filtered or unexported fields
}

func NewTestReportCommand

func NewTestReportCommand() *TestReportCommand

func (*TestReportCommand) Name

func (b *TestReportCommand) Name() string

func (*TestReportCommand) Run

func (*TestReportCommand) SetFlags

func (b *TestReportCommand) SetFlags(fs *cli.FlagSet)

type TestStatus

type TestStatus string
const (
	TestStatusPassed TestStatus = "passed"
	TestStatusFlaky  TestStatus = "flaky"
	TestStatusFailed TestStatus = "failed"
)

type TestSummary

type TestSummary struct {
	Label  string     `json:"label"`
	Status TestStatus `json:"status"`
	// Duration is a elapsed time of the test in milliseconds.
	Duration int64     `json:"duration"`
	StartAt  time.Time `json:"start_at"`
}

Jump to

Keyboard shortcuts

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