build

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2020 License: Apache-2.0 Imports: 15 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
	GenerateName   string
	Namespace      string
	Source         string
	Timeout        string
	Revision       string
	Buildtemplate  string
	Registry       string
	RegistrySecret string
	Args           []string
	Wait           bool
}

Build structure represents knative build object

func (*Build) Delete added in v0.0.12

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

Delete removes knative build object

func (*Build) Deploy

func (b *Build) Deploy(clientset *client.ConfigSet) (string, 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

func (*Build) SetOwner added in v0.0.12

func (b *Build) SetOwner(clientset *client.ConfigSet, owner metav1.OwnerReference) error

SetOwner sets passed owner object as owner reference in Build structure

Jump to

Keyboard shortcuts

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