Help us shape the future of Go! Take the 2026 Go Developer Survey

basic

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands

func Commands(con *core.Console) []*cobra.Command

func Get

func Get(con *core.Console, sess *client.Session) (*clientpb.Task, error)

func GetCmd

func GetCmd(cmd *cobra.Command, con *core.Console) error

func Init

func Init(con *core.Console, sess *client.Session) (bool, error)

func InitCmd

func InitCmd(cmd *cobra.Command, con *core.Console) error

func Keepalive added in v0.3.0

func Keepalive(rpc clientrpc.MaliceRPCClient, session *client.Session, enable bool) (*clientpb.Task, error)

func KeepaliveCmd added in v0.3.0

func KeepaliveCmd(cmd *cobra.Command, con *core.Console) error

func Polling

func Polling(con *core.Console, sess *client.Session, interval uint64, force bool, tasks []uint32) (bool, error)

func PollingCmd

func PollingCmd(cmd *cobra.Command, con *core.Console) error

func RecoverCmd

func RecoverCmd(cmd *cobra.Command, con *core.Console) error

func Register

func Register(con *core.Console)

func SessionInfoCmd added in v0.1.0

func SessionInfoCmd(cmd *cobra.Command, con *core.Console) error

func Sleep

func Sleep(rpc clientrpc.MaliceRPCClient, session *client.Session, expression string, jitter float64) (*clientpb.Task, error)

func SleepCmd

func SleepCmd(cmd *cobra.Command, con *core.Console) error

func Suicide

func Suicide(rpc clientrpc.MaliceRPCClient, session *client.Session) (*clientpb.Task, error)

func SuicideCmd

func SuicideCmd(cmd *cobra.Command, con *core.Console) error

func Switch added in v0.1.1

func Switch(rpc clientrpc.MaliceRPCClient, session *client.Session, pipeline *clientpb.Pipeline) (*clientpb.Task, error)

func SwitchCmd added in v0.1.1

func SwitchCmd(cmd *cobra.Command, con *core.Console) error

func WaitCmd

func WaitCmd(cmd *cobra.Command, con *core.Console) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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