Documentation ¶
Index ¶
- func InstantiateKube(ctx context.Context, env cfg.Context, ...) (*kubernetes.Cluster, error)
- func PrepareBuildCluster(ctx context.Context, env cfg.Context, cluster *kubernetes.Cluster) (*buildkit.JobDefinition, error)
- func PrepareIngressInKube(ctx context.Context, env cfg.Context, kube *kubernetes.Cluster) error
- func PrepareK3d(ctx context.Context, clusterName, ingressClass string, env cfg.Context, ...) (*schema.DevHost_ConfigureEnvironment, error)
- func PrepareNewNamespaceCluster(ctx context.Context, env cfg.Context, machineType string, ...) (*schema.DevHost_ConfigureEnvironment, error)
- func PrepareOrchestratorInKube(ctx context.Context, env cfg.Context, ...) error
- type ClusterStage
- type Stage
- func K3D(clusterName, ingressClass string) Stage
- func NamespaceCluster(machineType string, ephemeral, withBuild bool) Stage
- func PrepareAWSProfile(profileName string) Stage
- func PrepareEksCluster(clusterName, ingressClass string) Stage
- func PrepareExistingK8s(env cfg.Context, kubeConfig, contextName, ingressClass string, ...) Stage
- func PrepareGcpProjectID(projectID string) Stage
- func PrepareGkeCluster(clusterName, ingressClass string) Stage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstantiateKube ¶ added in v0.0.110
func InstantiateKube(ctx context.Context, env cfg.Context, conf *schema.DevHost_ConfigureEnvironment) (*kubernetes.Cluster, error)
func PrepareBuildCluster ¶ added in v0.0.124
func PrepareBuildCluster(ctx context.Context, env cfg.Context, cluster *kubernetes.Cluster) (*buildkit.JobDefinition, error)
func PrepareIngressInKube ¶
func PrepareK3d ¶
func PrepareK3d(ctx context.Context, clusterName, ingressClass string, env cfg.Context, 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 NamespaceCluster ¶ added in v0.0.110
func PrepareAWSProfile ¶
func PrepareEksCluster ¶
func PrepareExistingK8s ¶
func PrepareGcpProjectID ¶ added in v0.0.124
func PrepareGkeCluster ¶ added in v0.0.124
Click to show internal directories.
Click to hide internal directories.