localhost

package
v0.64.0-rc.5 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package localhost contains the provisioner for the local Host based environments

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PodmanProvisioner

PodmanProvisioner creates a new provisioner

func PodmanProvisionerNoAgentNoFakeIntake

func PodmanProvisionerNoAgentNoFakeIntake(opts ...ProvisionerOption) provisioners.TypedProvisioner[environments.Host]

PodmanProvisionerNoAgentNoFakeIntake wraps Provisioner with hardcoded WithoutAgent and WithoutFakeIntake options.

func PodmanProvisionerNoFakeIntake

func PodmanProvisionerNoFakeIntake(opts ...ProvisionerOption) provisioners.TypedProvisioner[environments.Host]

PodmanProvisionerNoFakeIntake wraps Provisioner with hardcoded WithoutFakeIntake option.

func PodmanRunFunc

func PodmanRunFunc(ctx *pulumi.Context, env *environments.Host, params *ProvisionerParams) error

PodmanRunFunc is the Pulumi run function that runs the provisioner

Types

type ProvisionerOption

type ProvisionerOption func(*ProvisionerParams) error

ProvisionerOption is a function that modifies the ProvisionerParams

func WithAgentOptions

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

WithAgentOptions adds options to the agent

func WithExtraConfigParams

func WithExtraConfigParams(configMap runner.ConfigMap) ProvisionerOption

WithExtraConfigParams adds extra config parameters to the environment

func WithName

func WithName(name string) ProvisionerOption

WithName sets the name of the provisioner

func WithoutAgent

func WithoutAgent() ProvisionerOption

WithoutAgent removes the agent

func WithoutFakeIntake

func WithoutFakeIntake() ProvisionerOption

WithoutFakeIntake removes the fake intake

type ProvisionerParams

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

ProvisionerParams contains all the parameters needed to create the environment

Jump to

Keyboard shortcuts

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