apis

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pod

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

func NewPod

func NewPod(clientset *kubernetes.Clientset, config *rest.Config, logger *log.Logger, image string, namespace string, name string, command []string, port int32) *Pod

func (*Pod) Create

func (p *Pod) Create() error

func (*Pod) Delete

func (p *Pod) Delete() error

func (*Pod) ExecuteCommand

func (p *Pod) ExecuteCommand(command string, timeout time.Duration) (string, error)

func (*Pod) IsCreated

func (p *Pod) IsCreated() (bool, error)

func (*Pod) WaitForReady

func (p *Pod) WaitForReady(timeout time.Duration) error

Jump to

Keyboard shortcuts

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