package
0.6.0-rc5
Repository: https://github.com/threefoldtech/zos.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ContainerToProvisionType converts TfgridReservationContainer1 to Container.
K8SToProvisionType converts type to internal provision type.
NetworkResourceToProvisionType converts type to internal provision type.
NewProvisioner creates a new 0-OS provisioner.
PublicIPToProvisionType converts type to internal provision type.
ResultToSchemaType converts result to schema type.
VMToProvisionType converts type to internal provision type.
VolumeToProvisionType converts TfgridReservationVolume1 to Volume.
WireguardToProvisionType converts WireguardPeer1 to pkg.Peer.
WorkloadToProvisionType converts from the explorer type to the internal provision.Reservation.
ZDBToProvisionType converts TfgridReservationZdb1 to ZDB.

# Constants

ContainerReservation type.
DebugReservation type.
FListElevated url of privileged container.
KubernetesReservation type.
NetworkReservation type.
NetworkResourceReservation type.
PublicIPReservation type.
VirtualMachineReservation type.
VMREPO in which all the vm flists are stored.
VMTAG the tag of the vm images.
VolumeReservation type.
ZDBReservation type.

# Variables

ErrUnsupportedWorkload is return when a workload of a type not supported by provisiond is received from the explorer.
ProvisionOrder is used to sort the workload type in the right order for provision engine.

# Structs

Container creation info.
ContainerCapacity is the amount of resource to allocate to the container.
ContainerResult is the information return to the BCDB after deploying a container.
Counters tracks the amount of primitives workload deployed and the amount of resource unit used.
Debug provision schema.
Kubernetes reservation data.
KubernetesCustomSize type.
KubernetesResult result returned by k3s reservation.
Logs defines a custom backend with variable settings.
LogsData structure.
Mount defines a container volume mounted inside the container.
Network struct.
Provisioner hold all the logic responsible to provision and decomission the different primitives workloads defined by this package.
PublicIP structure.
PublicIPResult result returned by publicIP reservation.
VM reservation data.
VMCustomSize type.
VMInfo kernel initrd and the raw disk path of the vm.
VMResult result returned by k3s reservation.
Volume defines a mount point.
VolumeResult is the information return to the BCDB after deploying a volume.
ZDB namespace creation info.
ZDBResult is the information return to the BCDB after deploying a 0-db namespace.

# Interfaces

Counter interface.

# Type aliases

CounterUint64 value for safe increment/decrement.