Documentation ¶
Overview ¶
Package localkubernetes contains the provisioner for the local Kubernetes based environments
Index ¶
- func KindRunFunc(ctx *pulumi.Context, env *environments.Kubernetes, params *ProvisionerParams) error
- func Provisioner(opts ...ProvisionerOption) e2e.TypedProvisioner[environments.Kubernetes]
- type ProvisionerOption
- func WithAgentOptions(opts ...kubernetesagentparams.Option) ProvisionerOption
- func WithExtraConfigParams(configMap runner.ConfigMap) 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 KindRunFunc ¶
func KindRunFunc(ctx *pulumi.Context, env *environments.Kubernetes, params *ProvisionerParams) error
KindRunFunc is the Pulumi run function that runs the provisioner
func Provisioner ¶
func Provisioner(opts ...ProvisionerOption) e2e.TypedProvisioner[environments.Kubernetes]
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 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 WithWorkloadApp ¶ added in v0.56.0
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
type WorkloadAppFunc ¶ added in v0.56.0
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