build

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewService

func NewService(logger *zap.SugaredLogger) *Service

func (Service) GetStatus

func (s Service) GetStatus(prj *project.Project) (*Status, error)

func (Service) GetStatusAll

func (s Service) GetStatusAll(prjs project.Projects) (Statuses, error)

type Status

type Status struct {
	Key     string           `json:"key"`
	Project *project.Project `json:"-"`
	Git     interface{}      `json:"git"`
	Error   string           `json:"error"`
}

func (*Status) Status

func (s *Status) Status() string

type Statuses

type Statuses []*Status

func (Statuses) Get

func (s Statuses) Get(key string) *Status

Jump to

Keyboard shortcuts

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