travisci

package
v0.0.0-...-ac5bdac Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TRAVIS_HOSTS = map[bool]string{
	// contains filtered or unexported fields
}

Functions

This section is empty.

Types

type Branch

type Branch struct {
	Name string `json:"name"`
}

type Build

type Build struct {
	ID         int        `json:"id"`
	CreatedBy  Owner      `json:"created_by"`
	Branch     Branch     `json:"branch"`
	Number     string     `json:"number"`
	Repository Repository `json:"repository"`
	Commit     Commit     `json:"commit"`
	State      string     `json:"state"`
}

type Builds

type Builds struct {
	Builds []Build `json:"builds"`
}

func BuildsFor

func BuildsFor(settings *Settings) (*Builds, error)

type Commit

type Commit struct {
	Message string `json:"message"`
}

type Owner

type Owner struct {
	Login string `json:"login"`
}

type Repository

type Repository struct {
	Name string `json:"name"`
	Slug string `json:"slug"`
}

type Settings

type Settings struct {
	*cfg.Common
	// contains filtered or unexported fields
}

func NewSettingsFromYAML

func NewSettingsFromYAML(name string, ymlConfig *config.Config, globalConfig *config.Config) *Settings

type Widget

type Widget struct {
	view.ScrollableWidget
	// contains filtered or unexported fields
}

func NewWidget

func NewWidget(tviewApp *tview.Application, redrawChan chan bool, pages *tview.Pages, settings *Settings) *Widget

func (*Widget) Refresh

func (widget *Widget) Refresh()

func (*Widget) Render

func (widget *Widget) Render()

Jump to

Keyboard shortcuts

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