pod

package
v0.0.0-...-83c5257 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const IMAGE_PULLSPEC = "registry.redhat.io/rhel8/support-tools"

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoteCommandExecutor

type RemoteCommandExecutor interface {
	Run(pod *v1.Pod, cmd []string) ([]byte, []byte, error)
}

func NewRemoteExecutor

func NewRemoteExecutor(config *restclient.Config) RemoteCommandExecutor

type Runner

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

func NewRunner

func NewRunner(config *restclient.Config, log logr.Logger) *Runner

func (*Runner) Initialize

func (c *Runner) Initialize(nodeName string) (*v1.Pod, func(), error)

Initialize creates a temporal namespace with privileged labels and deploys a pod with the node's filesyste mounted in /host

Jump to

Keyboard shortcuts

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