reg

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands

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

func FormatRegPath

func FormatRegPath(path string) (string, string)

func RegAdd

func RegAdd(rpc clientrpc.MaliceRPCClient, session *core.Session, hive, path string, valueName, valueType, data string) (*clientpb.Task, error)

func RegAddCmd

func RegAddCmd(cmd *cobra.Command, con *repl.Console) error

RegAddCmd adds or modifies a registry key value.

func RegDelete

func RegDelete(rpc clientrpc.MaliceRPCClient, session *core.Session, hive, path, key string) (*clientpb.Task, error)

func RegDeleteCmd

func RegDeleteCmd(cmd *cobra.Command, con *repl.Console) error

RegDeleteCmd deletes a registry key.

func RegListKey

func RegListKey(rpc clientrpc.MaliceRPCClient, session *core.Session, hive, path string) (*clientpb.Task, error)

func RegListKeyCmd

func RegListKeyCmd(cmd *cobra.Command, con *repl.Console) error

RegListKeyCmd lists the keys under a specific registry path.

func RegListValue

func RegListValue(rpc clientrpc.MaliceRPCClient, session *core.Session, hive, path string) (*clientpb.Task, error)

func RegListValueCmd

func RegListValueCmd(cmd *cobra.Command, con *repl.Console) error

RegListValueCmd lists the values under a specific registry path.

func RegQuery

func RegQuery(rpc clientrpc.MaliceRPCClient, session *core.Session, hive, path, key string) (*clientpb.Task, error)

func RegQueryCmd

func RegQueryCmd(cmd *cobra.Command, con *repl.Console) error

RegQueryCmd queries a registry key value.

func Register

func Register(con *repl.Console)

func RegisterRegAddFunc

func RegisterRegAddFunc(con *repl.Console)

func RegisterRegDeleteFunc

func RegisterRegDeleteFunc(con *repl.Console)

func RegisterRegListFunc

func RegisterRegListFunc(con *repl.Console)

func RegisterRegQueryFunc

func RegisterRegQueryFunc(con *repl.Console)

Types

This section is empty.

Jump to

Keyboard shortcuts

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