Documentation ¶
Overview ¶
Package gcpkubernetes contains the provisioner for Google Kubernetes Engine (GKE)
Package gcpkubernetes contains the provisioner for Google Kubernetes Engine (GKE)
Index ¶
- func GKEProvisioner(opts ...ProvisionerOption) e2e.TypedProvisioner[environments.Kubernetes]
- func GKERunFunc(ctx *pulumi.Context, env *environments.Kubernetes, params *ProvisionerParams) error
- type ProvisionerOption
- func WithAgentOptions(opts ...kubernetesagentparams.Option) ProvisionerOption
- func WithExtraConfigParams(configMap runner.ConfigMap) ProvisionerOption
- func WithFakeIntakeOptions(opts ...fakeintake.Option) ProvisionerOption
- func WithGKEOptions(opts ...gke.Option) ProvisionerOption
- func WithName(name string) ProvisionerOption
- func WithWorkloadApp(appFunc WorkloadAppFunc) ProvisionerOption
- type ProvisionerParams
- type WorkloadAppFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GKEProvisioner ¶
func GKEProvisioner(opts ...ProvisionerOption) e2e.TypedProvisioner[environments.Kubernetes]
GKEProvisioner creates a new provisioner for GKE on GCP
func GKERunFunc ¶
func GKERunFunc(ctx *pulumi.Context, env *environments.Kubernetes, params *ProvisionerParams) error
GKERunFunc is the run function for GKE 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 WithFakeIntakeOptions ¶
func WithFakeIntakeOptions(opts ...fakeintake.Option) ProvisionerOption
WithFakeIntakeOptions adds options to the fake intake
func WithGKEOptions ¶
func WithGKEOptions(opts ...gke.Option) ProvisionerOption
WithGKEOptions adds options to the cluster
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
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.Env, kubeProvider *kubernetes.Provider) (*kubeComp.Workload, error)
WorkloadAppFunc is a function that deploys a workload app to a kube provider