context

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

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

func NewContext

func NewContext(sshClient *module.SSHClient) (*Context, error)

func (*Context) Close

func (ctx *Context) Close()

func (*Context) Module

func (ctx *Context) Module() *module.Module

func (*Context) Register

func (ctx *Context) Register() *Register

func (*Context) SSHClient added in v0.2.0

func (ctx *Context) SSHClient() *module.SSHClient

type Register

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

func NewRegister

func NewRegister() *Register

func (*Register) Get

func (r *Register) Get(key string) interface{}

func (*Register) Set

func (r *Register) Set(key string, value interface{})

Jump to

Keyboard shortcuts

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