awshost

package
v0.56.0-rc.5 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package awshost contains the definition of the AWS Host environment.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provisioner

Provisioner creates a VM environment with an EC2 VM, an ECS Fargate FakeIntake and a Host Agent configured to talk to each other. FakeIntake and Agent creation can be deactivated by using WithoutFakeIntake and WithoutAgent options.

func ProvisionerNoAgentNoFakeIntake

func ProvisionerNoAgentNoFakeIntake(opts ...ProvisionerOption) e2e.TypedProvisioner[environments.Host]

ProvisionerNoAgentNoFakeIntake wraps Provisioner with hardcoded WithoutAgent and WithoutFakeIntake options.

func ProvisionerNoFakeIntake

func ProvisionerNoFakeIntake(opts ...ProvisionerOption) e2e.TypedProvisioner[environments.Host]

ProvisionerNoFakeIntake wraps Provisioner with hardcoded WithoutFakeIntake option.

func Run added in v0.52.0

func Run(ctx *pulumi.Context, env *environments.Host, runParams RunParams) error

Run deploys a environment given a pulumi.Context

Types

type ProvisionerOption

type ProvisionerOption func(*ProvisionerParams) error

ProvisionerOption is a provisioner option.

func WithAgentClientOptions added in v0.54.0

func WithAgentClientOptions(opts ...agentclientparams.Option) ProvisionerOption

WithAgentClientOptions adds options to the Agent client.

func WithAgentOptions

func WithAgentOptions(opts ...agentparams.Option) ProvisionerOption

WithAgentOptions adds options to the Agent.

func WithDocker added in v0.52.0

func WithDocker() ProvisionerOption

WithDocker installs docker on the VM

func WithEC2InstanceOptions

func WithEC2InstanceOptions(opts ...ec2.VMOption) ProvisionerOption

WithEC2InstanceOptions adds options to the EC2 VM.

func WithExtraConfigParams

func WithExtraConfigParams(configMap runner.ConfigMap) ProvisionerOption

WithExtraConfigParams adds extra config parameters to the ConfigMap.

func WithFakeIntakeOptions

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

WithFakeIntakeOptions adds options to the FakeIntake.

func WithName

func WithName(name string) ProvisionerOption

WithName sets the name of the provisioner.

func WithUpdater added in v0.53.0

func WithUpdater() ProvisionerOption

WithUpdater installs the agent through the updater.

func WithoutAgent

func WithoutAgent() ProvisionerOption

WithoutAgent disables the creation of the Agent.

func WithoutFakeIntake

func WithoutFakeIntake() ProvisionerOption

WithoutFakeIntake disables the creation of the FakeIntake.

type ProvisionerParams

type ProvisionerParams struct {
	// contains filtered or unexported fields
}

ProvisionerParams is a set of parameters for the Provisioner.

func GetProvisionerParams added in v0.52.0

func GetProvisionerParams(opts ...ProvisionerOption) *ProvisionerParams

GetProvisionerParams return ProvisionerParams from options opts setup

type RunParams added in v0.55.0

type RunParams struct {
	Environment       *aws.Environment
	ProvisionerParams *ProvisionerParams
}

RunParams is a set of parameters for the Run function.

Directories

Path Synopsis
Package winawshost contains the definition of the AWS Windows Host environment.
Package winawshost contains the definition of the AWS Windows Host environment.

Jump to

Keyboard shortcuts

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