package
0.7.0
Repository: https://github.com/mkimuram/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
GetOperatorType returns type of operator is in cwd This function should be called after verifying the user is in project root e.g: "go", "ansible".
IsGoVerbose returns true if GOFLAGS contains "-v".
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 e.g github.com/example-inc/app-operator.
MustSetGopath sets GOPATH=currentGopath after processing a path list, if any, then returns the set path.

# Constants

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

# Type aliases

OperatorType - the type of operator.