awskubernetes

package
v0.55.0-devel Latest Latest
Warning

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

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

Documentation

Overview

Package awskubernetes contains the provisioner for the Kubernetes based environments

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KindRunFunc

func KindRunFunc(ctx *pulumi.Context, env *environments.Kubernetes, params *ProvisionerParams) error

KindRunFunc is the Pulumi run function that runs the provisioner

func Provisioner

Provisioner creates a new provisioner

Types

type ProvisionerOption

type ProvisionerOption func(*ProvisionerParams) error

ProvisionerOption is a function that modifies the ProvisionerParams

func WithAgentOptions

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

WithAgentOptions adds options to the agent

func WithEC2VMOptions

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

WithEC2VMOptions adds options to the EC2 VM

func WithExtraConfigParams

func WithExtraConfigParams(configMap runner.ConfigMap) ProvisionerOption

WithExtraConfigParams adds extra config parameters to the environment

func WithFakeIntakeOptions

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

WithFakeIntakeOptions adds options to the fake intake

func WithName

func WithName(name string) ProvisionerOption

WithName sets the name of the provisioner

func WithWorkloadApp

func WithWorkloadApp(appFunc WorkloadAppFunc) ProvisionerOption

WithWorkloadApp adds a workload app to the environment

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

type WorkloadAppFunc

type WorkloadAppFunc func(e config.CommonEnvironment, kubeProvider *kubernetes.Provider) (*kubeComp.Workload, error)

WorkloadAppFunc is a function that deploys a workload app to a kube provider

Jump to

Keyboard shortcuts

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