kubernetes

package
v0.2.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "kubernetes"

Name Kubernetes Runner Name

Variables

This section is empty.

Functions

func NewRunner

func NewRunner(cfg *config.Config) (runners.Runner, error)

NewRunner return a new Kubernetes Runner

Types

type Kubernetes

type Kubernetes struct {
	runners.Runner
	// contains filtered or unexported fields
}

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

func (k *Kubernetes) Execute(plan *testers.Plan, parser chan<- parsers.Input) error

Execute run the given commands and return the logs of it and / or error

func (*Kubernetes) GetHostsForTest

func (k *Kubernetes) GetHostsForTest(test *config.Test) (*testers.Hosts, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL