Documentation
¶
Overview ¶
Package localhost contains the provisioner for the local Host based environments
Index ¶
- func PodmanProvisioner(opts ...ProvisionerOption) provisioners.TypedProvisioner[environments.Host]
- func PodmanProvisionerNoAgentNoFakeIntake(opts ...ProvisionerOption) provisioners.TypedProvisioner[environments.Host]
- func PodmanProvisionerNoFakeIntake(opts ...ProvisionerOption) provisioners.TypedProvisioner[environments.Host]
- func PodmanRunFunc(ctx *pulumi.Context, env *environments.Host, params *ProvisionerParams) error
- type ProvisionerOption
- type ProvisionerParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PodmanProvisioner ¶
func PodmanProvisioner(opts ...ProvisionerOption) provisioners.TypedProvisioner[environments.Host]
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 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