kickvmhandle

package
v0.0.0-...-028f1de Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrStatusNetworkInvalidParameters = errors.New("Invalid parameters for `kick_vm status network` action")
)

Functions

This section is empty.

Types

type AgentHandle

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

func NewAgentHandle

func NewAgentHandle(action string, params []string) *AgentHandle

func (*AgentHandle) CheckAction

func (h *AgentHandle) CheckAction() bool

func (*AgentHandle) DoAction

func (h *AgentHandle) DoAction() error

type FileHandle

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

func NewFileHandle

func NewFileHandle(action string, params []string) *FileHandle

func (*FileHandle) CheckAction

func (h *FileHandle) CheckAction() bool

func (*FileHandle) DoAction

func (h *FileHandle) DoAction() error

type HealthCheckHandle

type HealthCheckHandle struct {
}

func NewHealthCheckHandle

func NewHealthCheckHandle() *HealthCheckHandle

func (*HealthCheckHandle) CheckAction

func (h *HealthCheckHandle) CheckAction() bool

func (*HealthCheckHandle) DoAction

func (h *HealthCheckHandle) DoAction() error

type KickHandle

type KickHandle interface {
	DoAction() error
	CheckAction() bool
}

func ParseOption

func ParseOption(input string) KickHandle

type SessionHandle

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

func NewSessionHandle

func NewSessionHandle(action string, params []string) *SessionHandle

func (*SessionHandle) CheckAction

func (h *SessionHandle) CheckAction() bool

func (*SessionHandle) DoAction

func (h *SessionHandle) DoAction() error

type StatusHandle

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

func NewStatusHandle

func NewStatusHandle(action string, params []string) *StatusHandle

func (*StatusHandle) CheckAction

func (h *StatusHandle) CheckAction() bool

func (*StatusHandle) DoAction

func (h *StatusHandle) DoAction() error

type TaskHandle

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

func NewTaskHandle

func NewTaskHandle(action string, params []string) *TaskHandle

func (*TaskHandle) CheckAction

func (h *TaskHandle) CheckAction() bool

func (*TaskHandle) DoAction

func (h *TaskHandle) DoAction() error

Jump to

Keyboard shortcuts

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