deploy

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Header() []string

func IsCancellable

func IsCancellable(status *client.DeployStatus) bool

func IsComplete

func IsComplete(status *client.DeployStatus) bool

func IsSuccessful

func IsSuccessful(status *client.DeployStatus) bool

func Row

func Row(deploy *client.Deploy) []string

Types

type ListItem

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

func NewListItem

func NewListItem(d *client.Deploy) ListItem

func (ListItem) Deploy

func (i ListItem) Deploy() *client.Deploy

func (ListItem) Description

func (i ListItem) Description() string

func (ListItem) FilterValue

func (i ListItem) FilterValue() string

func (ListItem) Height

func (i ListItem) Height() int

func (ListItem) Title

func (i ListItem) Title() string

type Repo

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

func NewRepo

func NewRepo(c *client.ClientWithResponses) *Repo

func (*Repo) CancelDeploy

func (d *Repo) CancelDeploy(ctx context.Context, serviceID, deployID string) (*client.Deploy, error)

func (*Repo) GetDeploy

func (d *Repo) GetDeploy(ctx context.Context, serviceID, deployID string) (*client.Deploy, error)

func (*Repo) ListDeploysForService

func (d *Repo) ListDeploysForService(ctx context.Context, serviceID string, params *client.ListDeploysParams) ([]*client.Deploy, error)

func (*Repo) TriggerDeploy

func (d *Repo) TriggerDeploy(ctx context.Context, serviceID string, input TriggerDeployInput) (*client.Deploy, error)

type TriggerDeployInput

type TriggerDeployInput struct {
	ClearCache *bool
	CommitId   *string
	ImageUrl   *string
}

Jump to

Keyboard shortcuts

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