runconfig

package
v0.120.5 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 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) SetCLIVersion added in v0.118.0

func (rc *RunConfig) SetCLIVersion(agentVersion string)

func (*RunConfig) SetCLIVersionWithoutDowngrade added in v0.118.0

func (rc *RunConfig) SetCLIVersionWithoutDowngrade(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