cmd

package
v0.0.0-...-818b14e Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package cmd for handling commands

Package cmd for handling commands

Package cmd for handling commands

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddWorkersKubernetesCluster

func AddWorkersKubernetesCluster(ctx context.Context, t deployer.TFPluginClient, cluster workloads.K8sCluster, addMycelium bool) (workloads.K8sCluster, error)

AddWorkersKubernetesCluster deploys a kubernetes cluster

func DeleteWorkerKubernetesCluster

func DeleteWorkerKubernetesCluster(ctx context.Context, t deployer.TFPluginClient, cluster workloads.K8sCluster) error

func DeployGatewayFQDN

func DeployGatewayFQDN(ctx context.Context, t deployer.TFPluginClient, gateway workloads.GatewayFQDNProxy) error

DeployGatewayFQDN deploys a gateway fqdn

func DeployGatewayName

DeployGatewayName deploys a gateway name

func DeployKubernetesCluster

func DeployKubernetesCluster(ctx context.Context, t deployer.TFPluginClient, master workloads.K8sNode, workers []workloads.K8sNode, sshKey, k8sFlist string) (workloads.K8sCluster, error)

DeployKubernetesCluster deploys a kubernetes cluster

func DeployVM

func DeployVM(ctx context.Context, t deployer.TFPluginClient, vm workloads.VM, diskMount workloads.Disk, volumeMount workloads.Volume) (workloads.VM, error)

DeployVM deploys a vm with mounts

func DeployVMLight

func DeployVMLight(ctx context.Context, t deployer.TFPluginClient, vm workloads.VMLight, diskMount workloads.Disk, volumeMount workloads.Volume) (workloads.VMLight, error)

DeployVMLight deploys a vm-light with mounts

func DeployZDBs

func DeployZDBs(ctx context.Context, t deployer.TFPluginClient, projectName string, zdbs []workloads.ZDB, n int, node uint32) ([]workloads.ZDB, error)

DeployZDBs deploys multiple zdbs

func GetDeployment

func GetDeployment(ctx context.Context, t deployer.TFPluginClient, name string) (workloads.Deployment, error)

GetDeployment gets a deployment with its project name

func GetGatewayFQDN

GetGatewayFQDN gets a gateway fqdn with its project name

func GetGatewayName

GetGatewayName gets a gateway name with its project name

func GetK8sCluster

func GetK8sCluster(ctx context.Context, t deployer.TFPluginClient, name string) (workloads.K8sCluster, error)

GetK8sCluster gets a kubernetes cluster with its project name

func GetVM

GetVM gets a vm with its project name

func Login

func Login() error

Login handles login command logic

Types

This section is empty.

Jump to

Keyboard shortcuts

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