ecsagentparams

package
v0.86.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 3 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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