bitrise

package
v0.0.0-...-a35a437 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BuildNotFinished        = 0
	BuildSuccessful         = 1
	BuildFailed             = 2
	BuildAbortedWithFailure = 3
	BuildAbortedWithSuccess = 4
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Build

type Build struct {
	Number     int    `json:"build_number"`
	Slug       string `json:"slug"`
	CommitHash string `json:"commit_hash"`
	Branch     string `json:"branch"`
	Status     int    `json:"status"`
	OnHold     bool   `json:"is_on_hold"`
}

func (Build) String

func (build Build) String() string

type BuildResponse

type BuildResponse struct {
	Data   []Build `json:"data"`
	Paging Paging  `json:"paging"`
}

type Client

type Client struct {
	Token string
}

func (*Client) ListBuilds

func (client *Client) ListBuilds(appSlug string, workflow string, branch string) ([]Build, error)

type Paging

type Paging struct {
	Next           string `json:"next"`
	PageItemLimit  int    `json:"page_item_limit"`
	TotalItemCount int    `json:"total_item_count"`
}

Jump to

Keyboard shortcuts

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