Documentation
¶
Index ¶
- func NewCluster(e aws.Environment, name string, opts ...Option) (*kubecomp.Cluster, error)
- func Run(ctx *pulumi.Context) error
- func RunWithEnv(ctx *pulumi.Context, awsEnv resourcesAws.Environment, ...) error
- type Option
- type Params
- type RunOption
- func WithAgentOptions(opts ...kubernetesagentparams.Option) RunOption
- func WithAwsEnv(env *aws.Environment) RunOption
- func WithCiliumOptions(opts ...cilium.Option) RunOption
- func WithDeployArgoRollout() RunOption
- func WithDeployDogstatsd() RunOption
- func WithDeployTestWorkload() RunOption
- func WithEC2VMOptions(opts ...ec2.VMOption) RunOption
- func WithEKSOptions(opts ...Option) RunOption
- func WithExtraConfigParams(configMap runner.ConfigMap) RunOption
- func WithFakeIntakeOptions(opts ...fakeintake.Option) RunOption
- func WithName(name string) RunOption
- func WithOperator() RunOption
- func WithOperatorDDAOptions(opts ...agentwithoperatorparams.Option) RunOption
- func WithOperatorOptions(opts ...operatorparams.Option) RunOption
- func WithWorkloadApp(appFunc kubecomp.WorkloadAppFunc) RunOption
- func WithoutAgent() RunOption
- func WithoutDDA() RunOption
- func WithoutFakeIntake() RunOption
- type RunParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCluster ¶
func RunWithEnv ¶ added in v0.75.0
func RunWithEnv(ctx *pulumi.Context, awsEnv resourcesAws.Environment, env *environments.Kubernetes, params *RunParams) error
RunWithEnv deploys an EKS environment using a provided env and params, enabling reuse between provisioners and direct Pulumi runs.
Types ¶
type Option ¶
func WithBottlerocketNodeGroup ¶
func WithBottlerocketNodeGroup() Option
func WithLinuxARMNodeGroup ¶
func WithLinuxARMNodeGroup() Option
func WithLinuxNodeGroup ¶
func WithLinuxNodeGroup() Option
func WithUseAL2023Nodes ¶
func WithUseAL2023Nodes() Option
func WithWindowsNodeGroup ¶
func WithWindowsNodeGroup() Option
type Params ¶
type RunOption ¶ added in v0.75.0
func WithAgentOptions ¶ added in v0.75.0
func WithAgentOptions(opts ...kubernetesagentparams.Option) RunOption
WithAgentOptions adds options to the agent
func WithAwsEnv ¶ added in v0.75.0
func WithAwsEnv(env *aws.Environment) RunOption
WithAwsEnv asks the provisioner to use the given environment, it is created otherwise
func WithCiliumOptions ¶ added in v0.75.0
WithCiliumOptions adds a cilium installation option
func WithDeployArgoRollout ¶ added in v0.75.0
func WithDeployArgoRollout() RunOption
func WithDeployDogstatsd ¶ added in v0.75.0
func WithDeployDogstatsd() RunOption
WithDeployDogstatsd deploy standalone dogstatd
func WithDeployTestWorkload ¶ added in v0.75.0
func WithDeployTestWorkload() RunOption
WithDeployTestWorkload deploy a test workload
func WithEC2VMOptions ¶ added in v0.75.0
WithEC2VMOptions adds options to the EC2 VM
func WithEKSOptions ¶ added in v0.75.0
WithEKSOptions adds options to the EKS cluster
func WithExtraConfigParams ¶ added in v0.75.0
WithExtraConfigParams adds extra config parameters to the environment
func WithFakeIntakeOptions ¶ added in v0.75.0
func WithFakeIntakeOptions(opts ...fakeintake.Option) RunOption
WithFakeIntakeOptions adds options to the fake intake
func WithOperator ¶ added in v0.75.0
func WithOperator() RunOption
WithOperator Deploys the Datadog Operator
func WithOperatorDDAOptions ¶ added in v0.75.0
func WithOperatorDDAOptions(opts ...agentwithoperatorparams.Option) RunOption
WithOperatorDDAOptions Configures the DatadogAgent custom resource
func WithOperatorOptions ¶ added in v0.75.0
func WithOperatorOptions(opts ...operatorparams.Option) RunOption
WithOperatorOptions Configures the Datadog Operator
func WithWorkloadApp ¶ added in v0.75.0
func WithWorkloadApp(appFunc kubecomp.WorkloadAppFunc) RunOption
WithWorkloadApp adds a workload app to the environment
func WithoutDDA ¶ added in v0.75.0
func WithoutDDA() RunOption
WithoutDDA removes the DatadogAgent custom resource
func WithoutFakeIntake ¶ added in v0.75.0
func WithoutFakeIntake() RunOption
WithoutFakeIntake removes the fake intake
type RunParams ¶ added in v0.75.0
type RunParams struct {
Name string
// contains filtered or unexported fields
}
RunParams collects high-level scenario parameters for the EKS scenario.
func GetRunParams ¶ added in v0.75.0
func ParamsFromEnvironment ¶ added in v0.75.0
func ParamsFromEnvironment(e aws.Environment) *RunParams
ParamsFromEnvironment maps the Cloud environment ConfigMap to EKS scenario parameters.