v1alpha1

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

Builder is used for filling the values of runner struct

func StdoutBuilder

func StdoutBuilder() *Builder

StdoutBuilder returns instance of builder

func (*Builder) Build

func (b *Builder) Build() types.Runner

Build returns the instance of runner

func (*Builder) WithArgs

func (b *Builder) WithArgs(args ...string) *Builder

WithArgs fill args field of runner struct

func (*Builder) WithCommand

func (b *Builder) WithCommand(cmd string) *Builder

WithCommand fill command field of runner struct

func (*Builder) WithTimeout

func (b *Builder) WithTimeout(timeout time.Duration) *Builder

WithTimeout fill timeout field of runner struct

Jump to

Keyboard shortcuts

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