Documentation
¶
Index ¶
Constants ¶
View Source
const DOCKER = "docker"
View Source
const K8S = "k8s"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Scenario string
Environment string `for:"all"`
Registry string `for:"all"`
Username string `for:"all"`
Password string `for:"all"`
Timeout string `for:"docker"`
Config string `for:"k8s"`
Namespace string `for:"k8s"`
Cpu string `for:"k8s"`
Memory string `for:"k8s"`
Secret string `for:"k8s"`
Replica string `for:"k8s"`
ContinueOnFailure int `for:"all"`
}
type Docker ¶
type Docker struct {
// contains filtered or unexported fields
}
func (*Docker) Initialize ¶
type Executor ¶
func NewExecutor ¶
type Kubernetes ¶
type Kubernetes struct {
Scenario string
Namespace string
Usage string
Replica int32
CPU string
Memory string
Secret string
// contains filtered or unexported fields
}
func NewKubernetes ¶
func NewKubernetes(g runner.Runner) (*Kubernetes, error)
func (*Kubernetes) Initialize ¶
func (k *Kubernetes) Initialize(c Config) error
func (*Kubernetes) Run ¶
func (k *Kubernetes) Run() error
Click to show internal directories.
Click to hide internal directories.