executor

package
v2.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntitiesFinder added in v2.9.0

type EntitiesFinder interface {
	FindController(namespaceName string, controllerKind string, controllerName string) (*unstructured.Unstructured, error)
	FindContainer(namespaceName string, controllerKind string, controllerName string, containerName string) (*kv1.Container, error)
}

type Executor

type Executor struct {
	// contains filtered or unexported fields
}

Executor Automation executor

func InitExecutor

func InitExecutor(
	client *client.Client,
	kube *kuber.Kube,
	entitiesFinder EntitiesFinder,
	workersCount int,
	dryRun bool,
) *Executor

InitExecutor creates a new executor then starts it

func NewExecutor

func NewExecutor(
	client *client.Client,
	kube *kuber.Kube,
	entitiesFinder EntitiesFinder,
	workersCount int,
	dryRun bool,
) *Executor

NewExecutor creates a new executor

func (*Executor) Listener

func (executor *Executor) Listener(in []byte) (out []byte, err error)

type Replica added in v2.6.1

type Replica struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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