sdk

package module
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetTmpDir

func SetTmpDir(path string)

SetTmpDir sets the location that temporary files will be written to

Types

type GlobalOpts

type GlobalOpts struct {
	InstallDir         string
	TmpDir             string
	GodogResultsFormat string
	StartTime          time.Time
}

GlobalOpts provides configurable options that will be used throughout the SDK

var GlobalConfig GlobalOpts

GlobalConfig allows certain values to be configured at runtime for the entire SDK

func (*GlobalOpts) CleanupTmp

func (gc *GlobalOpts) CleanupTmp()

CleanupTmp is used to dispose of any temp resources used during execution

func (*GlobalOpts) OutputDir

func (gc *GlobalOpts) OutputDir() string

OutputDir parses a filepath based on GlobalOpts.InstallDir and the datetime this was initialized

Directories

Path Synopsis
Package probeengine contains the types and functions responsible for managing tests and test execution.
Package probeengine contains the types and functions responsible for managing tests and test execution.
opa
providers
azure/aks
Package aks is a wrapper for the connection to the Azure Kubernetes API
Package aks is a wrapper for the connection to the Azure Kubernetes API
kubernetes/connection
Package connection is a wrapper for the connection to the Kubernetes API
Package connection is a wrapper for the connection to the Kubernetes API
kubernetes/constructors
Package constructors provides functions to prepare new objects (as described by the name of the function) This implements factory pattern.
Package constructors provides functions to prepare new objects (as described by the name of the function) This implements factory pattern.
Package utils provides general utility methods.
Package utils provides general utility methods.

Jump to

Keyboard shortcuts

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