Documentation
¶
Overview ¶
Package cmd for handling commands
Package cmd for handling commands ¶
Package cmd for handling commands
Index ¶
- func AddWorkersKubernetesCluster(ctx context.Context, t deployer.TFPluginClient, cluster workloads.K8sCluster, ...) (workloads.K8sCluster, error)
- func DeleteWorkerKubernetesCluster(ctx context.Context, t deployer.TFPluginClient, cluster workloads.K8sCluster) error
- func DeployGatewayFQDN(ctx context.Context, t deployer.TFPluginClient, ...) error
- func DeployGatewayName(ctx context.Context, t deployer.TFPluginClient, ...) (workloads.GatewayNameProxy, error)
- func DeployKubernetesCluster(ctx context.Context, t deployer.TFPluginClient, master workloads.K8sNode, ...) (workloads.K8sCluster, error)
- func DeployVM(ctx context.Context, t deployer.TFPluginClient, vm workloads.VM, ...) (workloads.VM, error)
- func DeployVMLight(ctx context.Context, t deployer.TFPluginClient, vm workloads.VMLight, ...) (workloads.VMLight, error)
- func DeployZDBs(ctx context.Context, t deployer.TFPluginClient, projectName string, ...) ([]workloads.ZDB, error)
- func GetDeployment(ctx context.Context, t deployer.TFPluginClient, name string) (workloads.Deployment, error)
- func GetGatewayFQDN(ctx context.Context, t deployer.TFPluginClient, name string) (workloads.GatewayFQDNProxy, error)
- func GetGatewayName(ctx context.Context, t deployer.TFPluginClient, name string) (workloads.GatewayNameProxy, error)
- func GetK8sCluster(ctx context.Context, t deployer.TFPluginClient, name string) (workloads.K8sCluster, error)
- func GetVM(ctx context.Context, t deployer.TFPluginClient, name string) (workloads.Deployment, error)
- func Login() error
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 ¶
func DeployGatewayName(ctx context.Context, t deployer.TFPluginClient, gateway workloads.GatewayNameProxy) (workloads.GatewayNameProxy, error)
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 ¶
func GetGatewayFQDN(ctx context.Context, t deployer.TFPluginClient, name string) (workloads.GatewayFQDNProxy, error)
GetGatewayFQDN gets a gateway fqdn with its project name
func GetGatewayName ¶
func GetGatewayName(ctx context.Context, t deployer.TFPluginClient, name string) (workloads.GatewayNameProxy, error)
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 ¶
func GetVM(ctx context.Context, t deployer.TFPluginClient, name string) (workloads.Deployment, error)
GetVM gets a vm with its project name
Types ¶
This section is empty.