github

package
v0.0.133 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGithubCmd

func NewGithubCmd() *cobra.Command

Types

type CommentsTmplData

type CommentsTmplData struct {
	URL string
}

type Phase

type Phase int
const (
	Phase_None Phase = iota
	Phase_Init
	Phase_Test
	Phase_Build
	Phase_Deploy
	Phase_Final
)

func (Phase) Context

func (p Phase) Context() string

type PipelinePhase

type PipelinePhase struct {
	Phase Phase `json:"phase"`
	State State `json:"state"`
}

type PipelineState

type PipelineState struct {
	Desc   string           `json:"desc"`
	Phases []*PipelinePhase `json:"phases"`
}

type State

type State int
const (
	State_Pending State = iota
	State_Success
	State_Error
	State_Failure
)

func (State) String

func (s State) String() string

Jump to

Keyboard shortcuts

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