Help us shape the future of Go! Take the 2026 Go Developer Survey

ecsagentparams

package
v0.81.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAgentServiceEnvVariable

func WithAgentServiceEnvVariable(key string, value string) func(*Params) error

WithAgentServiceEnvVariable set an environment variable in the ECS compose agent service's environment.

func WithNetworkMode

func WithNetworkMode(mode string) func(*Params) error

WithNetworkMode set the network mode used by the Daemon agent

func WithTags

func WithTags(tags []string) func(*Params) error

Types

type Option

type Option = func(*Params) error

type Params

type Params struct {
	// AgentServiceEnvironment is a map of environment variables to set in the docker compose agent service's environment.
	AgentServiceEnvironment map[string]string
	NetworkMode             string
}

func NewParams

func NewParams(options ...Option) (*Params, error)

Jump to

Keyboard shortcuts

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