# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package provision exposes the Engine type.
No description provided by the author
No description provided by the author
No description provided by the author
*
rotate package provides a very simple tool to truncate a given file to 0 after it copies
the last *configurable* part of this file to a new file with suffix .tail
The idea is that services need to have their log files (or redirection) be open in append
mode.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package zdb implements a client to 0-db: https://github.com/threefoldtech/0-DB.
Package zinit exposes function to interat with zinit service life cyle management.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
No description provided by the author
# Constants
BootDisk booting from a virtual disk.
BootVirtioFS booting from a virtiofs mount.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MacVlanIface means we use macvlan for the public interface.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
VlanIface means we use vlan for the public interface.
# Variables
DefaultMountOptions has sane values for mount.
No description provided by the author
instance of default filesystem.
ReadOnlyMountOptions shortcut for readonly mount options.
# Structs
Boot structure.
No description provided by the author
No description provided by the author
Container creation info.
ContainerNetworkConfig defines how to construct the network namespace of a container.
ContractCancelledEvent a contract has been cancelled, The type specify if this is just notification of the reconnection, or actual event has been received.
ContractLockedEvent is raised when a contract is locked/unlocked.
No description provided by the author
Device struct is a full hdd.
DiskIOCountersStat struct.
ErrInvalidDeviceType raised when trying to allocate space on unsupported device type.
ErrNotEnoughSpace indicates that there is not enough space in a pool of the requested type to create the filesystem.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Interfaces struct to bypass zbus generation error where it generate a stub with map as interface instead of map.
No description provided by the author
MachineMetric is a container for metrics from multiple networks currently only grouped as private (wireguard + yggdrasil), and public (public Ips).
MountInfo defines a mount point.
MountOptions struct.
NetMetric aggregated metrics from a single network.
Network type.
NetworkInfo defines a network configuration for a container.
NicIOCounterStat counter for a nic.
No description provided by the author
PlanetaryTap structure.
No description provided by the author
PoolStats is pool statistics reported by storaged.
No description provided by the author
PublicConfig is the configuration of the interface that is connected to the public internet.
PublicConfigEvent pubic config event received.
No description provided by the author
No description provided by the author
Route structure.
SharedDir specifies virtio shared dir params.
Stats endpoints.
No description provided by the author
No description provided by the author
SystemOSMock used to mock the filesystem object.
No description provided by the author
TaskResult the result test schema.
TimesStat struct.
Usage struct.
UsersCounters the expected counters for deployments and workloads.
VDisk info returned by a call to inspect.
VM config structure.
VMDisk specifies vm disk params.
VMIface structure.
VMInfo returned by the inspect method.
VMNetworkInfo structure.
Volume struct is a btrfs subvolume.
# Interfaces
ContainerModule defines rpc interface to containerd.
Flister is the interface for the flist module.
No description provided by the author
HostMonitor interface (provided by noded).
Identifier is the interface that defines how an object can be used as an identity.
IdentityManager interface.
Networker is the interface for the network module.
NetworkerLight is the interface for the network light module.
No description provided by the author
Provision interface.
No description provided by the author
No description provided by the author
No description provided by the author
StorageModule is the storage subsystem interface this should allow you to work with the following types of storage medium - full disks (device) (these are used by zdb) - subvolumes these are used as a read-write layers for 0-fs mounts - vdisks are used by zmachines this works as following: a storage module maintains a list of ALL disks on the system separated in 2 sets of pools (SSDs, and HDDs) ssd pools can only be used for - subvolumes - vdisks hdd pools are only used by zdb as one disk.
No description provided by the author
No description provided by the author
SystemMonitor interface (provided by noded).
SystemOS interface to mock actual OS operations.
VersionMonitor interface (provided by identityd).
VMModule defines the virtual machine module interface.
No description provided by the author
# Type aliases
No description provided by the author
BootType for vm.
ContainerID type.
DeviceType is the actual type of hardware that the storage device runs on, i.e.
DisksIOCountersStat alias for map[string]IOCountersStat required by zbus.
FarmID is the identification of a farm.
IfaceType define the different public interface supported.
KernelArgs are arguments passed to the kernel.
MachineMetrics container for metrics from multiple machines.
NetID type.
NetlinkAddress alias.
NetlinkAddresses alias for [][]NetlinkAddress.
No description provided by the author
NicsIOCounterStat alias for []NicIOCounterStat.
Types of workloads can be deployed depending on the network manager running on the node.
PoolsStats alias for map[string]PoolStats.
RootFSPropagation defines how the submounts are propagated to its mountpoint peers.
StrIdentifier is a helper type that implement the Identifier interface on top of simple string.
VirtualMemoryStat struct.