runconfig

package
v0.87.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RunConfig

type RunConfig struct {
	ContainerBackendType       string
	ProjectDir                 string
	Endpoint                   endpoint.Endpoint
	ServerSecret, ClientSecret string
	TaskID                     int64

	DirtyMode        bool
	ContainerOptions options.ContainerOptions
	TartOptions      options.TartOptions
	// contains filtered or unexported fields
}

func (*RunConfig) GetAgentVersion

func (rc *RunConfig) GetAgentVersion() string

func (*RunConfig) GetContainerBackend added in v0.79.0

func (rc *RunConfig) GetContainerBackend() (containerbackend.ContainerBackend, error)

func (*RunConfig) Logger

func (rc *RunConfig) Logger() *echelon.Logger

func (*RunConfig) SetAgentVersion

func (rc *RunConfig) SetAgentVersion(agentVersion string)

func (*RunConfig) SetAgentVersionWithoutDowngrade added in v0.44.0

func (rc *RunConfig) SetAgentVersionWithoutDowngrade(agentVersion string) error

func (*RunConfig) SetLogger added in v0.51.0

func (rc *RunConfig) SetLogger(logger *echelon.Logger)

Jump to

Keyboard shortcuts

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