types

package module
v0.2.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: Apache-2.0 Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Message *string `json:"error"`
}

Error is the json error message from the server for a given http response.

func (*Error) String

func (e *Error) String() string

type Item

type Item struct {
	Build    *library.Build  `json:"build"`
	Pipeline *pipeline.Build `json:"pipeline"`
	Repo     *library.Repo   `json:"repo"`
	User     *library.User   `json:"user"`
}

Item is the queue representation of an item to publish to the queue.

func ToItem

func ToItem(p *pipeline.Build, b *library.Build, r *library.Repo, u *library.User) *Item

ToItem creates a queue item from a pipeline, build, repo and user.

Directories

Path Synopsis
Package constants provides the defined constant types for Vela.
Package constants provides the defined constant types for Vela.
Package database provides the defined database types for Vela.
Package database provides the defined database types for Vela.
Package library provides the defined library types for Vela.
Package library provides the defined library types for Vela.
Package pipeline provides the defined pipeline types for Vela.
Package pipeline provides the defined pipeline types for Vela.
Package raw provides the defined raw types for Vela.
Package raw provides the defined raw types for Vela.
Package yaml provides the defined yaml types for Vela.
Package yaml provides the defined yaml types for Vela.

Jump to

Keyboard shortcuts

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