build

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Build

type Build struct {
	Name          string
	Namespace     string
	Source        string
	Revision      string
	Step          string
	Command       []string
	Buildtemplate string
	Args          []string
	Image         string
}

Build structure represents knative build object

func (*Build) DeleteBuild

func (b *Build) DeleteBuild(clientset *client.ConfigSet) error

DeleteBuild removes knative build object

func (*Build) Deploy

func (b *Build) Deploy(clientset *client.ConfigSet) error

Deploy uses Build structure to generate and deploy knative build

func (*Build) Get

func (b *Build) Get(clientset *client.ConfigSet) (*buildv1alpha1.Build, error)

Describe describes knative build object

func (*Build) List

func (b *Build) List(clientset *client.ConfigSet) (*buildv1alpha1.BuildList, error)

Builds returns list of knative build objects

Jump to

Keyboard shortcuts

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