common

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type BuildInfoByNumber

type BuildInfoByNumber []entities.BuildInfo

func (BuildInfoByNumber) Len

func (a BuildInfoByNumber) Len() int

func (BuildInfoByNumber) Less

func (a BuildInfoByNumber) Less(i, j int) bool

func (BuildInfoByNumber) Swap

func (a BuildInfoByNumber) Swap(i, j int)

type State

type State string
const (
	Successful State = "successful"
	Failed     State = "failed"
	Cancelled  State = "cancelled"
	InProgress State = "in_progress"
	Pending    State = "pending"
	Unknown    State = "unknown"
)

func GetState

func GetState(code int64) State

func (*State) Index

func (s *State) Index() int

func (*State) IsWorstThan

func (s *State) IsWorstThan(state State) bool

Jump to

Keyboard shortcuts

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