stub

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildRunEmpty

func BuildRunEmpty() buildv1alpha1.BuildRun

BuildRunEmpty simple empty BuildRun instance.

func ExecuteCommand

func ExecuteCommand(root *cobra.Command, args ...string) (string, error)

ExecuteCommand executes the root command passing the args and returns the output as a string and error

func ExecuteCommandC

func ExecuteCommandC(c *cobra.Command, args ...string) (*cobra.Command, string, error)

ExecuteCommandC executes the root command passing the args and returns the root command, output as a string and error if any

func NewFakeClient

func NewFakeClient() dynamic.Interface

NewFakeClient creates a fake client with Shipwright's Build scheme.

func TestBuild

func TestBuild(name, image, source string) *buildv1alpha1.Build

TestBuild returns instance of Build for testing purposes

Types

This section is empty.

Jump to

Keyboard shortcuts

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