memorydump

package
v1.5.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClaimNameFlag    = "claim-name"
	CreateClaimFlag  = "create-claim"
	StorageClassFlag = "storage-class"
	AccessModeFlag   = "access-mode"
	PortForwardFlag  = "port-forward"
	FormatFlag       = "format"
	LocalPortFlag    = "local-port"
	OutputFileFlag   = "output"
)

Variables

View Source
var WaitForMemoryDumpCompleteFn = WaitForMemoryDumpComplete

WaitForMemoryDumpCompleteFn allows overriding the function to wait for the memory dump object to be complete (useful for unit testing)

Functions

func NewMemoryDumpCommand

func NewMemoryDumpCommand(clientConfig clientcmd.ClientConfig) *cobra.Command

NewMemoryDumpCommand returns a cobra.Command to handle the memory dump process

func WaitForMemoryDumpComplete

func WaitForMemoryDumpComplete(virtClient kubecli.KubevirtClient, namespace, vmName string, interval, timeout time.Duration) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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