furyagent

package
v0.26.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentConfig

type AgentConfig struct {
	Storage          Storage        `yaml:"storage"`
	ClusterComponent map[string]any `yaml:"clusterComponent"`
}

func ParseConfig

func ParseConfig(cfgPath string) (*AgentConfig, error)

type Paths

type Paths struct {
	Furyagent string
	WorkDir   string
}

type Runner

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

func NewRunner

func NewRunner(executor execx.Executor, paths Paths) *Runner

func (*Runner) CmdPath

func (r *Runner) CmdPath() string

func (*Runner) ConfigOpenvpnClient

func (r *Runner) ConfigOpenvpnClient(name string, _ ...string) (*bytes.Buffer, error)

func (*Runner) Stop

func (r *Runner) Stop() error

func (*Runner) Version

func (r *Runner) Version() (string, error)

type Storage

type Storage struct {
	BucketName string `yaml:"bucketName"`
}

Jump to

Keyboard shortcuts

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