runconfig

package
v0.117.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 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
	VetuOptions      options.VetuOptions

	AdditionalEnvironment map[string]string
	// 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