build

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2018 License: Apache-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 Build

type Build struct {
	// contains filtered or unexported fields
}

func NewBuild

func NewBuild(
	build *v1alpha1.Build,
	buildsClient typedv1alpha1.BuildInterface,
	podsGetterClient typedcorev1.PodsGetter,
) Build

func (Build) Error

func (b Build) Error(cancelCh chan struct{}) error

func (Build) TailLogs

func (b Build) TailLogs(ui ui.UI, cancelCh chan struct{}) error

type BuildSpec

type BuildSpec struct{}

func (BuildSpec) Build

func (s BuildSpec) Build(opts BuildSpecOpts) v1alpha1.BuildSpec

type BuildSpecOpts

type BuildSpecOpts struct {
	GitURL      string
	GitRevision string

	ServiceAccountName string

	Image string
}

type BuildWaiter

type BuildWaiter struct {
	// contains filtered or unexported fields
}

func NewBuildWaiter

func NewBuildWaiter(build *v1alpha1.Build, buildsClient typedv1alpha1.BuildInterface) BuildWaiter

func (BuildWaiter) WaitForBuilderAssignment

func (w BuildWaiter) WaitForBuilderAssignment(cancelCh chan struct{}) (*v1alpha1.Build, error)

func (BuildWaiter) WaitForClusterBuilderPodAssignment

func (w BuildWaiter) WaitForClusterBuilderPodAssignment(cancelCh chan struct{}) (*v1alpha1.Build, error)

func (BuildWaiter) WaitForCompletion

func (w BuildWaiter) WaitForCompletion(cancelCh chan struct{}) (*v1alpha1.Build, error)

type BuildWatcher

type BuildWatcher struct {
	// contains filtered or unexported fields
}

func NewBuildWatcher

func NewBuildWatcher(
	buildsClient typedv1alpha1.BuildInterface,
	listOpts metav1.ListOptions,
) BuildWatcher

func (BuildWatcher) Watch

func (w BuildWatcher) Watch(buildsToWatch chan v1alpha1.Build, cancelCh chan struct{}) error

type ClusterBuilderLogs

type ClusterBuilderLogs struct {
	// contains filtered or unexported fields
}

func NewClusterBuilderLogs

func NewClusterBuilderLogs(
	build *v1alpha1.Build,
	buildsClient typedv1alpha1.BuildInterface,
	podsGetterClient typedcorev1.PodsGetter,
) ClusterBuilderLogs

func (ClusterBuilderLogs) Tail

func (l ClusterBuilderLogs) Tail(ui ui.UI, cancelCh chan struct{}) error

type GoogleBuilderLogs

type GoogleBuilderLogs struct{}

func NewGoogleBuilderLogs

func NewGoogleBuilderLogs() GoogleBuilderLogs

func (GoogleBuilderLogs) Tail

func (l GoogleBuilderLogs) Tail(ui ui.UI, cancelCh chan struct{}) error

type Logs

type Logs struct {
	// contains filtered or unexported fields
}

func NewLogs

func NewLogs(
	build *v1alpha1.Build,
	buildsClient typedv1alpha1.BuildInterface,
	podsGetterClient typedcorev1.PodsGetter,
) Logs

func (Logs) Tail

func (l Logs) Tail(ui ui.UI, cancelCh chan struct{}) error

type PodTerminalStatusWatcher

type PodTerminalStatusWatcher struct {
	Pod        corev1.Pod
	PodsClient typedcorev1.PodInterface
}

func (PodTerminalStatusWatcher) Wait

func (l PodTerminalStatusWatcher) Wait(cancelCh chan struct{}) (corev1.PodPhase, error)

Jump to

Keyboard shortcuts

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