Documentation ¶
Index ¶
- type Runner
- type RunnerBuilder
- func (b *RunnerBuilder) Build() (rnnr *Runner, err error)
- func (b *RunnerBuilder) Compile(value bool) *RunnerBuilder
- func (b *RunnerBuilder) Config(value string) *RunnerBuilder
- func (b *RunnerBuilder) Directories(values ...string) *RunnerBuilder
- func (b *RunnerBuilder) Directory(value string) *RunnerBuilder
- func (b *RunnerBuilder) Insecure(value bool) *RunnerBuilder
- func (b *RunnerBuilder) Keep(value bool) *RunnerBuilder
- func (b *RunnerBuilder) Proxy(value string) *RunnerBuilder
- func (b *RunnerBuilder) Recursive(value bool) *RunnerBuilder
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner is the test runner.
type RunnerBuilder ¶
type RunnerBuilder struct {
// contains filtered or unexported fields
}
RunnerBuilder contains the information and logic needed to create a test runner. Don't create instances of this type directly; use the NewRunner function instead.
func NewRunner ¶
func NewRunner() *RunnerBuilder
NewRunner creates a new object that knows how to build test runners.
func (*RunnerBuilder) Build ¶
func (b *RunnerBuilder) Build() (rnnr *Runner, err error)
Build uses the information stored in the builder to create a new runner.
func (*RunnerBuilder) Compile ¶
func (b *RunnerBuilder) Compile(value bool) *RunnerBuilder
Compile indicates if the test binaries should be compiled. The default value is true.
func (*RunnerBuilder) Config ¶
func (b *RunnerBuilder) Config(value string) *RunnerBuilder
Config sets the configuration file that will be used to connect to the OpenShift API. If not set it will try to use the `~/.kube/config` or the configuration provided by the cluster to the pod.
func (*RunnerBuilder) Directories ¶
func (b *RunnerBuilder) Directories(values ...string) *RunnerBuilder
Directories adds a collection of directories to process.
func (*RunnerBuilder) Directory ¶
func (b *RunnerBuilder) Directory(value string) *RunnerBuilder
Directory adds one directory to process.
func (*RunnerBuilder) Insecure ¶
func (b *RunnerBuilder) Insecure(value bool) *RunnerBuilder
Insecure indicates if connections to HTTPS servers that identify themselves with certificates signed by unknown certificate authorities should be accepted. The default is to not accept such connections.
func (*RunnerBuilder) Keep ¶
func (b *RunnerBuilder) Keep(value bool) *RunnerBuilder
Keep indicates if the OpenShift project should be preserved when the runner is destroyed.
func (*RunnerBuilder) Proxy ¶
func (b *RunnerBuilder) Proxy(value string) *RunnerBuilder
Proxy sets the URL of the proxy server that will be used to connect to the OpenShift API.
func (*RunnerBuilder) Recursive ¶
func (b *RunnerBuilder) Recursive(value bool) *RunnerBuilder
Recursive indicates if the given package names should be recursively scanned looking for all the test suites. The default value is false.