prepare

package
v0.0.336-dev Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstantiateKube added in v0.0.110

func PrepareBuildCluster added in v0.0.124

func PrepareBuildCluster(ctx context.Context, env cfg.Context, cluster *kubernetes.Cluster) (*buildkit.JobDefinition, error)

func PrepareIngressInKube

func PrepareIngressInKube(ctx context.Context, env cfg.Context, kube *kubernetes.Cluster) error

func PrepareK3d

func PrepareK3d(ctx context.Context, clusterName, ingressClass string, env cfg.Context, ch chan *orchestration.Event) (*schema.DevHost_ConfigureEnvironment, error)

func PrepareNewNamespaceCluster

func PrepareNewNamespaceCluster(ctx context.Context, env cfg.Context, machineType string, ephemeral, withBuild bool, ch chan *orchestration.Event) (*schema.DevHost_ConfigureEnvironment, error)

func PrepareOrchestratorInKube

func PrepareOrchestratorInKube(ctx context.Context, env cfg.Context, devhost *schema.DevHost_ConfigureEnvironment, kube *kubernetes.Cluster) error

Types

type ClusterStage added in v0.0.110

type ClusterStage struct {
	Pre  func(ch chan *orchestration.Event)
	Post func(ch chan *orchestration.Event)
	Run  func(ctx context.Context, env cfg.Context, devhost *schema.DevHost_ConfigureEnvironment, kube *kubernetes.Cluster, ch chan *orchestration.Event) error
}

func Ingress added in v0.0.110

func Ingress() ClusterStage

func Orchestrator added in v0.0.110

func Orchestrator() ClusterStage

type Stage added in v0.0.110

type Stage struct {
	Pre func(ch chan *orchestration.Event)
	Run func(ctx context.Context, env cfg.Context, ch chan *orchestration.Event) (*schema.DevHost_ConfigureEnvironment, error)
}

func K3D added in v0.0.110

func K3D(clusterName, ingressClass string) Stage

func NamespaceCluster added in v0.0.110

func NamespaceCluster(machineType string, ephemeral, withBuild bool) Stage

func PrepareAWSProfile

func PrepareAWSProfile(profileName string) Stage

func PrepareEksCluster

func PrepareEksCluster(clusterName, ingressClass string) Stage

func PrepareExistingK8s

func PrepareExistingK8s(env cfg.Context, kubeConfig, contextName, ingressClass string, registry proto.Message) Stage

func PrepareGcpProjectID added in v0.0.124

func PrepareGcpProjectID(projectID string) Stage

func PrepareGkeCluster added in v0.0.124

func PrepareGkeCluster(clusterName, ingressClass string) Stage

Jump to

Keyboard shortcuts

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