Documentation ¶
Overview ¶
Package awskubernetes contains the provisioner for the Kubernetes based environments
Package awskubernetes contains the provisioner for the Kubernetes based environments ¶
Package awskubernetes contains the provisioner for the Kubernetes based environments
Index ¶
- func EKSProvisioner(opts ...ProvisionerOption) e2e.TypedProvisioner[environments.AwsKubernetes]
- func EKSRunFunc(ctx *pulumi.Context, env *environments.AwsKubernetes, ...) error
- func KindProvisioner(opts ...ProvisionerOption) e2e.TypedProvisioner[environments.Kubernetes]
- func KindRunFunc(ctx *pulumi.Context, env *environments.Kubernetes, params *ProvisionerParams) error
- type ProvisionerOption
- func WithAgentOptions(opts ...kubernetesagentparams.Option) ProvisionerOption
- func WithDeployDogstatsd() ProvisionerOption
- func WithEC2VMOptions(opts ...ec2.VMOption) ProvisionerOption
- func WithEKSBottlerocketNodeGroup() ProvisionerOption
- func WithEKSLinuxARMNodeGroup() ProvisionerOption
- func WithEKSLinuxNodeGroup() ProvisionerOption
- func WithEKSWindowsNodeGroup() ProvisionerOption
- func WithExtraConfigParams(configMap runner.ConfigMap) ProvisionerOption
- func WithFakeIntakeOptions(opts ...fakeintake.Option) ProvisionerOption
- func WithName(name string) ProvisionerOption
- func WithWorkloadApp(appFunc WorkloadAppFunc) ProvisionerOption
- func WithoutAgent() ProvisionerOption
- func WithoutFakeIntake() ProvisionerOption
- type ProvisionerParams
- type WorkloadAppFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EKSProvisioner ¶ added in v0.55.0
func EKSProvisioner(opts ...ProvisionerOption) e2e.TypedProvisioner[environments.AwsKubernetes]
EKSProvisioner creates a new provisioner
func EKSRunFunc ¶ added in v0.55.0
func EKSRunFunc(ctx *pulumi.Context, env *environments.AwsKubernetes, params *ProvisionerParams) error
EKSRunFunc deploys a EKS environment given a pulumi.Context
func KindProvisioner ¶ added in v0.55.0
func KindProvisioner(opts ...ProvisionerOption) e2e.TypedProvisioner[environments.Kubernetes]
KindProvisioner creates a new provisioner
func KindRunFunc ¶
func KindRunFunc(ctx *pulumi.Context, env *environments.Kubernetes, params *ProvisionerParams) error
KindRunFunc 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 ...kubernetesagentparams.Option) ProvisionerOption
WithAgentOptions adds options to the agent
func WithDeployDogstatsd ¶ added in v0.55.0
func WithDeployDogstatsd() ProvisionerOption
WithDeployDogstatsd deploy standalone dogstatd
func WithEC2VMOptions ¶
func WithEC2VMOptions(opts ...ec2.VMOption) ProvisionerOption
WithEC2VMOptions adds options to the EC2 VM
func WithEKSBottlerocketNodeGroup ¶ added in v0.55.0
func WithEKSBottlerocketNodeGroup() ProvisionerOption
WithEKSBottlerocketNodeGroup enable AWS Bottle rocket node group
func WithEKSLinuxARMNodeGroup ¶ added in v0.55.0
func WithEKSLinuxARMNodeGroup() ProvisionerOption
WithEKSLinuxARMNodeGroup enable ARM node group
func WithEKSLinuxNodeGroup ¶ added in v0.55.0
func WithEKSLinuxNodeGroup() ProvisionerOption
WithEKSLinuxNodeGroup enable Linux node group
func WithEKSWindowsNodeGroup ¶ added in v0.55.0
func WithEKSWindowsNodeGroup() ProvisionerOption
WithEKSWindowsNodeGroup enable Windows node group
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 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
func GetProvisionerParams ¶ added in v0.55.0
func GetProvisionerParams(opts ...ProvisionerOption) *ProvisionerParams
GetProvisionerParams return ProvisionerParams from options opts setup
type WorkloadAppFunc ¶
type WorkloadAppFunc func(e config.Env, kubeProvider *kubernetes.Provider) (*kubeComp.Workload, error)
WorkloadAppFunc is a function that deploys a workload app to a kube provider