Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConfigNameEnv = "YAKS_CONFIG_NAME" ConfigPathEnv = "YAKS_CONFIG_PATH" )
View Source
const ( ConfigFile = "yaks-config.yaml" SettingsFile = "yaks.settings.yaml" KubeDockImage = "joyrex2001/kubedock:0.16.0" SeleniumImage = "selenium/standalone-chrome:latest" )
View Source
const ( CucumberOptions = "CUCUMBER_OPTIONS" CucumberGlue = "CUCUMBER_GLUE" CucumberFeatures = "CUCUMBER_FEATURES" CucumberFilterTags = "CUCUMBER_FILTER_TAGS" )
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" )
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"` Verbose bool `mapstructure:"verbose"` Local bool `mapstructure:"local"` // 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.