deploy

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

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