Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConfigNameEnv = "YAKS_CONFIG_NAME" ConfigPathEnv = "YAKS_CONFIG_PATH" )
View Source
const ( FileSuffix = ".feature" ConfigFile = "yaks-config.yaml" )
View Source
const ( NamespaceEnv = "YAKS_NAMESPACE" RepositoriesEnv = "YAKS_REPOSITORIES" DependenciesEnv = "YAKS_DEPENDENCIES" LoggersEnv = "YAKS_LOGGERS" CucumberOptions = "CUCUMBER_OPTIONS" CucumberGlue = "CUCUMBER_GLUE" CucumberFeatures = "CUCUMBER_FEATURES" CucumberFilterTags = "CUCUMBER_FILTER_TAGS" DefaultStepTimeout = "30m" )
View Source
const ( // DefaultConfigName is the default config name DefaultConfigName = "yaks-config" // DefaultConfigLocation is the main place where the yaks content is stored DefaultConfigLocation = DefaultConfigName + ".yaml" // YaksTagName --- YaksTagName = "yaks" // MapstructureTagName --- MapstructureTagName = "mapstructure" )
View Source
const DefaultLabel = "app=yaks"
View Source
const (
OperatorWatchNamespaceEnv = "WATCH_NAMESPACE"
)
Variables ¶
View Source
var VersionVariant = ""
VersionVariant may be overridden at build time
Functions ¶
Types ¶
type Config ¶ added in v0.1.0
type Config struct {
// contains filtered or unexported fields
}
Config is a helper class to manipulate yaks configuration files
func LoadConfiguration ¶ added in v0.1.0
LoadConfiguration loads a yaks configuration file
type RootCmdOptions ¶
type RootCmdOptions struct { RootContext context.Context `mapstructure:"-"` Context context.Context `mapstructure:"-"` ContextCancel context.CancelFunc `mapstructure:"-"` KubeConfig string `mapstructure:"kube-config"` Namespace string `mapstructure:"namespace"` // contains filtered or unexported fields }
RootCmdOptions --
func (*RootCmdOptions) GetCmdClient ¶
func (command *RootCmdOptions) GetCmdClient() (client.Client, error)
GetCmdClient returns the client that can be used from command line tools
func (*RootCmdOptions) NewCmdClient ¶
func (command *RootCmdOptions) NewCmdClient() (client.Client, error)
NewCmdClient returns a new client that can be used from command line tools
Source Files ¶
Click to show internal directories.
Click to hide internal directories.