Documentation ¶
Index ¶
- func InstantiateKube(ctx context.Context, env cfg.Context, ...) (*kubernetes.Cluster, error)
- func PrepareIngressInKube(ctx context.Context, env cfg.Context, kube *kubernetes.Cluster) error
- func PrepareK3d(ctx context.Context, clusterName 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 string) Stage
- func NamespaceCluster(machineType string, ephemeral, withBuild bool) Stage
- func PrepareAWSProfile(profileName string) Stage
- func PrepareEksCluster(clusterName string) Stage
- func PrepareExistingK8s(env cfg.Context, kubeConfig, contextName string, registry proto.Message) 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 PrepareIngressInKube ¶
func PrepareK3d ¶
func PrepareK3d(ctx context.Context, clusterName 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 ¶
Click to show internal directories.
Click to hide internal directories.