ec2docker

package
v0.75.2 Latest Latest
Warning

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

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

Documentation

Overview

Package ec2docker contains the definition of the AWS Docker environment.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DockerRun

func DockerRun(ctx *pulumi.Context) error

func Run

func Run(ctx *pulumi.Context, awsEnv aws.Environment, env *environments.DockerHost, params *Params) error

Types

type Option

type Option func(*Params) error

Option is a function that modifies the Params

func WithAgentOptions

func WithAgentOptions(opts ...dockeragentparams.Option) Option

WithAgentOptions sets the options for the Docker Agent

func WithEC2VMOptions

func WithEC2VMOptions(opts ...ec2.VMOption) Option

WithEC2VMOptions sets the options for the EC2 VM

func WithFakeIntakeOptions

func WithFakeIntakeOptions(opts ...fakeintake.Option) Option

WithFakeIntakeOptions sets the options for the FakeIntake

func WithName

func WithName(name string) Option

WithName sets the name of the provisioner

func WithPreAgentInstallHook

func WithPreAgentInstallHook(cb preAgentInstallHook) Option

WithPreAgentInstallHook adds a callback between host setup end and the agent starting up.

func WithTestingWorkload

func WithTestingWorkload() Option

WithTestingWorkload enables testing workload

func WithoutAgent

func WithoutAgent() Option

WithoutAgent deactivates the creation of the Docker Agent

func WithoutFakeIntake

func WithoutFakeIntake() Option

WithoutFakeIntake deactivates the creation of the FakeIntake

type Params

type Params struct {
	Name string
	// contains filtered or unexported fields
}

Params contains all the parameters needed to create the environment

func GetParams

func GetParams(opts ...Option) *Params

GetParams return Params from options opts setup

func ParamsFromEnvironment

func ParamsFromEnvironment(e aws.Environment) *Params

ParamsFromEnvironment builds Params by reading the configuration from the given AWS environment. It maps ConfigMap-driven flags to the Docker-on-EC2 scenario run parameters.

Jump to

Keyboard shortcuts

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