Documentation ¶
Index ¶
- func BuildRunEmpty() buildv1alpha1.BuildRun
- func ExecuteCommand(root *cobra.Command, args ...string) (string, error)
- func ExecuteCommandC(c *cobra.Command, args ...string) (*cobra.Command, string, error)
- func NewFakeClient() dynamic.Interface
- func TestBuild(name, image, source string) *buildv1alpha1.Build
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildRunEmpty ¶
func BuildRunEmpty() buildv1alpha1.BuildRun
BuildRunEmpty simple empty BuildRun instance.
func ExecuteCommand ¶
ExecuteCommand executes the root command passing the args and returns the output as a string and error
func ExecuteCommandC ¶
ExecuteCommandC executes the root command passing the args and returns the root command, output as a string and error if any
func NewFakeClient ¶
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.
Click to show internal directories.
Click to hide internal directories.