exec

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() (cli.Command, error)

Command is a cli.CommandFactory

Types

type Executor

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

Executor is an instance that can run sub-process or react to changes in protoconf config path

func NewExecutor

func NewExecutor(path, protosDir, protoconfAgentAddr string) (*Executor, error)

NewExecutor returns an Executor instance

func (*Executor) Close

func (e *Executor) Close()

Close will close the grpc connection

func (*Executor) Start

func (e *Executor) Start(ctx context.Context) error

Start the executor loop

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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