Versions in this module Expand all Collapse all v0 v0.5.5 Feb 24, 2022 Changes in this version + const GatewayFQDNProxyType + const GatewayNameProxyType + const NetworkType + const PublicIPType + const PublicIPv4Type + const QuantumSafeFSType + const ZDBModeSeq + const ZDBModeUser + const ZDBType + const ZMachineType + const ZMountType + type Backend string + func (b Backend) Valid() error + type DeviceType string + const HDDDevice + const SSDDevice + func (d DeviceType) String() string + func (d DeviceType) Valid() error + type Encryption struct + Algorithm EncryptionAlgorithm + Key EncryptionKey + func (c *Encryption) Challenge(w io.Writer) error + type EncryptionAlgorithm string + type EncryptionKey []byte + func (k *EncryptionKey) UnmarshalText(data []byte) error + func (k EncryptionKey) MarshalText() ([]byte, error) + func (k EncryptionKey) Valid() error + type GatewayFQDNProxy struct + Backends []Backend + FQDN string + TLSPassthrough bool + func (g GatewayFQDNProxy) Capacity() (gridtypes.Capacity, error) + func (g GatewayFQDNProxy) Challenge(w io.Writer) error + func (g GatewayFQDNProxy) Valid(getter gridtypes.WorkloadGetter) error + type GatewayFQDNResult struct + type GatewayNameProxy struct + Backends []Backend + Name string + TLSPassthrough bool + func (g GatewayNameProxy) Capacity() (gridtypes.Capacity, error) + func (g GatewayNameProxy) Challenge(w io.Writer) error + func (g GatewayNameProxy) Valid(getter gridtypes.WorkloadGetter) error + type GatewayProxyResult struct + FQDN string + type MachineCapacity struct + CPU uint8 + Memory gridtypes.Unit + func (c *MachineCapacity) Challenge(w io.Writer) error + func (c *MachineCapacity) String() string + type MachineInterface struct + IP net.IP + Network gridtypes.Name + type MachineMount struct + Mountpoint string + Name gridtypes.Name + func (m *MachineMount) Challenge(w io.Writer) error + type MachineNetwork struct + Interfaces []MachineInterface + Planetary bool + PublicIP gridtypes.Name + func (n *MachineNetwork) Challenge(w io.Writer) error + type NetID string + func NetworkID(twin uint32, network gridtypes.Name) NetID + func (i NetID) String() string + type Network struct + NetworkIPRange gridtypes.IPNet + Peers []Peer + Subnet gridtypes.IPNet + WGListenPort uint16 + WGPrivateKey string + func (n Network) Capacity() (gridtypes.Capacity, error) + func (n Network) Challenge(b io.Writer) error + func (n Network) Valid(getter gridtypes.WorkloadGetter) error + type Peer struct + AllowedIPs []gridtypes.IPNet + Endpoint string + Subnet gridtypes.IPNet + WGPublicKey string + func (p *Peer) Valid() error + func (p Peer) Challenge(w io.Writer) error + type PublicIP struct + V4 bool + V6 bool + func (p PublicIP) Capacity() (gridtypes.Capacity, error) + func (p PublicIP) Challenge(w io.Writer) error + func (p PublicIP) Valid(getter gridtypes.WorkloadGetter) error + type PublicIP4 struct + func (p PublicIP4) Capacity() (gridtypes.Capacity, error) + func (p PublicIP4) Challenge(b io.Writer) error + func (p PublicIP4) Valid(getter gridtypes.WorkloadGetter) error + type PublicIPResult struct + Gateway net.IP + IP gridtypes.IPNet + IPv6 gridtypes.IPNet + type QuantumCompression struct + Algorithm string + func (c *QuantumCompression) Challenge(w io.Writer) error + type QuantumSafeConfig struct + Backends []ZdbBackend + Encryption Encryption + Prefix string + func (m *QuantumSafeConfig) Challenge(w io.Writer) error + type QuantumSafeFS struct + Cache gridtypes.Unit + Config QuantumSafeFSConfig + func (q QuantumSafeFS) Capacity() (gridtypes.Capacity, error) + func (q QuantumSafeFS) Challenge(w io.Writer) error + func (q QuantumSafeFS) Valid(getter gridtypes.WorkloadGetter) error + type QuantumSafeFSConfig struct + Compression QuantumCompression + Encryption Encryption + ExpectedShards uint32 + Groups []ZdbGroup + MaxZDBDataDirSize uint32 + Meta QuantumSafeMeta + MinimalShards uint32 + RedundantGroups uint32 + RedundantNodes uint32 + func (c *QuantumSafeFSConfig) Challenge(w io.Writer) error + type QuantumSafeMeta struct + Config QuantumSafeConfig + Type string + func (m *QuantumSafeMeta) Challenge(w io.Writer) error + type QuatumSafeFSResult struct + MetricsEndpoint string + Path string + type ZDB struct + Mode ZDBMode + Password string + Public bool + Size gridtypes.Unit + func (z ZDB) Capacity() (cap gridtypes.Capacity, err error) + func (z ZDB) Challenge(b io.Writer) error + func (z ZDB) Valid(getter gridtypes.WorkloadGetter) error + type ZDBMode string + func (m ZDBMode) String() string + func (m ZDBMode) Valid() error + type ZDBResult struct + IPs []string + Namespace string + Port uint + type ZMachine struct + ComputeCapacity MachineCapacity + Corex bool + Entrypoint string + Env map[string]string + FList string + Mounts []MachineMount + Network MachineNetwork + Size gridtypes.Unit + func (m *ZMachine) MinRootSize() gridtypes.Unit + func (m *ZMachine) RootSize() gridtypes.Unit + func (v ZMachine) Capacity() (gridtypes.Capacity, error) + func (v ZMachine) Challenge(b io.Writer) error + func (v ZMachine) Valid(getter gridtypes.WorkloadGetter) error + type ZMachineResult struct + ID string + IP string + YggIP string + type ZMount struct + Size gridtypes.Unit + func (v ZMount) Capacity() (gridtypes.Capacity, error) + func (v ZMount) Challenge(w io.Writer) error + func (v ZMount) Valid(getter gridtypes.WorkloadGetter) error + type ZMountResult struct + ID string + type ZdbBackend struct + Address string + Namespace string + Password string + func (z *ZdbBackend) Challenge(w io.Writer) error + type ZdbGroup struct + Backends []ZdbBackend + func (z *ZdbGroup) Challenge(w io.Writer) error