k8sapi

package
v0.9.4-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor added in v0.9.3

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

Executor ...

func NewK8sapiExecutor

func NewK8sapiExecutor(client clientset.Interface, metaNamespace, namespace, pod string, cycloneServer string) *Executor

NewK8sapiExecutor ...

func (*Executor) CollectLog added in v0.9.3

func (k *Executor) CollectLog(container, workflowrun, stage string) error

CollectLog collects container logs.

func (*Executor) CopyFromContainer added in v0.9.3

func (k *Executor) CopyFromContainer(container, path, dst string) error

CopyFromContainer copy a file/directory from container:path to dst.

func (*Executor) GetPod added in v0.9.3

func (k *Executor) GetPod() (*core_v1.Pod, error)

GetPod get the stage pod.

func (*Executor) WaitContainers added in v0.9.3

func (k *Executor) WaitContainers(expectState common.ContainerState, selectors ...common.ContainerSelector) error

WaitContainers waits containers that pass selectors.

Jump to

Keyboard shortcuts

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