Documentation ¶
Index ¶
- Constants
- func NewRunner(cfg *config.Config) (runners.Runner, error)
- type Kubernetes
- func (k *Kubernetes) Cleanup(plan *testers.Plan) error
- func (k *Kubernetes) Execute(plan *testers.Plan, parser chan<- parsers.Input) error
- func (k *Kubernetes) GetHostsForTest(test *config.Test) (*testers.Hosts, error)
- func (k *Kubernetes) Prepare(runOpts config.RunOptions, plan *testers.Plan) error
Constants ¶
View Source
const Name = "kubernetes"
Name Kubernetes Runner Name
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Kubernetes ¶
Kubernetes Kubernetes runner struct
func (*Kubernetes) Cleanup ¶
func (k *Kubernetes) Cleanup(plan *testers.Plan) error
Cleanup remove all (left behind) Kubernetes resources created for the given Plan.
func (*Kubernetes) Execute ¶
Execute run the given commands and return the logs of it and / or error
func (*Kubernetes) GetHostsForTest ¶
GetHostsForTest return a mocked list of hots for the given test config
func (*Kubernetes) Prepare ¶
func (k *Kubernetes) Prepare(runOpts config.RunOptions, plan *testers.Plan) error
Prepare prepare Kubernetes for usage with ancientt, e.g., create Namespace.
Click to show internal directories.
Click to hide internal directories.