executor

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobCreator

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

func NewJobCreator

func NewJobCreator(client kubernetes.Interface, namespace string, randomEnvVars bool) *JobCreator

func (*JobCreator) Execute

func (c *JobCreator) Execute(ctx context.Context) error

Execute creates a Node.

func (*JobCreator) Identifier

func (c *JobCreator) Identifier() string

Identifier returns the executor identifier.

type NodeCreator

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

func NewNodeCreator

func NewNodeCreator(client kubernetes.Interface) *NodeCreator

func (*NodeCreator) Execute

func (c *NodeCreator) Execute(ctx context.Context) error

Execute creates a Node.

func (*NodeCreator) Identifier

func (c *NodeCreator) Identifier() string

Identifier returns the executor identifier.

type PodCreator

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

PodCreator is used to create Pods.

func NewPodCreator

func NewPodCreator(client kubernetes.Interface, namespace string, randomEnvVars bool) *PodCreator

func (*PodCreator) Execute

func (c *PodCreator) Execute(ctx context.Context) error

Execute creates a Pod.

func (*PodCreator) Identifier

func (c *PodCreator) Identifier() string

Identifier returns the executor identifier.

Jump to

Keyboard shortcuts

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