package
0.8.1
Repository: https://github.com/jeyaramashok/operator-sdk.git
Documentation: pkg.go.dev

# Functions

CheckAndGetProjectGoPkg checks if this project's repository path is rooted under $GOPATH and returns the current directory's import path e.g: "github.com/example-inc/app-operator".
No description provided by the author
No description provided by the author
No description provided by the author
GetOperatorType returns type of operator is in cwd.
GoBuild runs "go build" configured with opts.
From https://github.com/golang/go/wiki/Modules: You can activate module support in one of two ways: - Invoke the go command in a directory outside of the $GOPATH/src tree, with a valid go.mod file in the current directory or any parent of it and the environment variable GO111MODULE unset (or explicitly set to auto).
GoTest runs "go test" configured with opts.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MustGetGopath gets GOPATH and ensures it is set and non-empty.
No description provided by the author
MustInProjectRoot checks if the current dir is the project root and returns the current repo's import path, ex github.com/example-inc/app-operator.
MustSetGopath sets GOPATH=currentGopath after processing a path list, if any, then returns the set path.
SetGoVerbose sets GOFLAGS="${GOFLAGS} -v" if GOFLAGS does not already contain "-v" to make "go" command output verbose.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OperatorTypeAnsible - ansible type of operator.
OperatorTypeGo - golang type of operator.
OperatorTypeHelm - helm type of operator.
OperatorTypeUnknown - unknown type of operator.
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
GoCmdOptions is the base option set for "go" subcommands.
GoTestOptions is the set of options for "go test".

# Type aliases

No description provided by the author
No description provided by the author
OperatorType - the type of operator.