action

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	Storage  *storage.Storage
	Randr    io.Reader
	Frontend frontend.Frontend
	Logger   *zap.Logger
	NowImpl  func() time.Time

	ProfileName string

	ConnectionInfo remote.ConnectionInfo
	ClientConn     *grpc.ClientConn
}
var GlobalEnvironment *Environment

func NewEnvironment

func NewEnvironment(fe frontend.Frontend, stor *storage.Storage) (*Environment, error)

func (*Environment) Clone

func (env *Environment) Clone() *Environment

func (*Environment) EnsureClientConn

func (env *Environment) EnsureClientConn(ctx context.Context) error

func (*Environment) LoadConnectionInfo

func (env *Environment) LoadConnectionInfo() error

func (*Environment) Profile

func (env *Environment) Profile() (*storage.Profile, error)

func (*Environment) SaveConnectionInfo

func (env *Environment) SaveConnectionInfo() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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