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 ¶
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
Click to show internal directories.
Click to hide internal directories.