ecsagentparams

package
v0.0.0-...-18a8a9e Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

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

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