jenkins

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2018 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	Class string `json:"_class"`
	Name  string `json:"name"`
	Url   string `json:"url"`
	Color string `json:"color"`
}

type View

type View struct {
	Class       string   `json:"_class"`
	Description string   `json:"description"`
	Jobs        []Job    `json:"jobs"`
	Name        string   `json:"name"`
	Property    []string `json:"property"`
	// contains filtered or unexported fields
}

func Create

func Create(jenkinsURL string, username string, apiKey string) (*View, error)

type Widget

type Widget struct {
	wtf.TextWidget
}

func NewWidget

func NewWidget() *Widget

func (*Widget) Refresh

func (widget *Widget) Refresh()

Jump to

Keyboard shortcuts

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