package
0.16.0
Repository: https://github.com/threefoldtech/tfgrid-sdk-go.git
Documentation: pkg.go.dev

# Functions

BackendsFromZos gets backends from zos.
ConstructPublicIPWorkload constructs a public IP workload.
ConstructPublicIPWorkload constructs a public IP workload.
Contains check if a slice contains an element.
Delete removes an element from a slice.
FlistChecksumURL returns flist check sum url format.
GenerateWGConfig generates wireguard configs.
GetFlistChecksum gets flist check sum url.
GetUsedIPs returns used IPs for a deployment.
GroupsFromZos gets groups from zos.
IPNet returns an IP net type.
NewDeployment generates a new deployment.
NewDeploymentFromZosDeployment generates deployment from zos deployment.
NewDiskFromWorkload generates a new disk from a workload.
NewGatewayFQDNProxyFromZosWorkload generates a gateway FQDN proxy from a zos workload.
NewGatewayNameProxyFromZosWorkload generates a gateway name proxy from a zos workload.
NewGridDeployment generates a new grid deployment.
NewIPRange generates a new IPRange from the given network IP.
NewK8sNodeFromWorkload generates a new k8s from a workload.
NewNetworkFromWorkload generates a new znet from a workload.
NewNetworkFromWorkload generates a new znet from a workload.
NewQSFSFromWorkload generates a new QSFS from a workload.
NewVMFromWorkload generates a new vm from given workloads and deployment.
NewVMLightFromWorkload generates a new vm from given workloads and deployment.
NewVolumeFromWorkload generates a new volume from a workload.
NewWorkloadFromMap converts a map (dict) to a workload.
NewZDBFromWorkload generates a new zdb from a workload.
NewZosBackends generates new zos backends for the given string backends.
ParseDeploymentData parses the deployment metadata.
No description provided by the author
No description provided by the author
ToMap converts workload data to a map (dict).
No description provided by the author
WgIP return wireguard IP network.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ExternalSKZeroValue as its not empty when it is zero.
GatewayFQDNType for deployment date of fqdn gateway.
GatewayNameType for deployment date of name gateway.
old: https://hub.grid.tf/tf-official-apps/threefoldtech-k3s-latest.flist.
K8sType for deployment date of k8s.
NetworkType for deployment date of network.
VMType for deployment date of vms.

# Structs

Deployment struct.
DeploymentData for deployments meta data.
Disk struct.
GatewayFQDNProxy for gateway FQDN proxy.
GatewayNameProxy struct for gateway name proxy.
Group is a zos group.
K8sCluster struct for k8s cluster.
K8sNode kubernetes data.
Metadata for QSFS.
Mount disks/volumes struct.
NetworkMetaData is added to network workloads to help rebuilding networks when retrieved from the grid.
QSFS struct.
UserAccess struct.
VM is a virtual machine struct.
VMLight is a virtual machine struct.
Volume struct.
ZDB workload struct.
Zlog logger struct.
ZNet is zos network workload.
ZNetLight is zos network light workload.

# Interfaces

No description provided by the author

# Type aliases

Backend is a zos backend.
Backends is a list of backends.
Groups is a list of groups.
No description provided by the author