Documentation ¶
Index ¶
- type ContainerModuleStub
- func (s *ContainerModuleStub) Delete(arg0 string, arg1 pkg.ContainerID) (ret0 error)
- func (s *ContainerModuleStub) Inspect(arg0 string, arg1 pkg.ContainerID) (ret0 pkg.Container, ret1 error)
- func (s *ContainerModuleStub) List(arg0 string) (ret0 []pkg.ContainerID, ret1 error)
- func (s *ContainerModuleStub) ListNS() (ret0 []string, ret1 error)
- func (s *ContainerModuleStub) Run(arg0 string, arg1 pkg.Container) (ret0 pkg.ContainerID, ret1 error)
- type FlisterStub
- func (s *FlisterStub) FlistHash(arg0 string) (ret0 string, ret1 error)
- func (s *FlisterStub) HashFromRootPath(arg0 string) (ret0 string, ret1 error)
- func (s *FlisterStub) Mount(arg0 string, arg1 string, arg2 pkg.MountOptions) (ret0 string, ret1 error)
- func (s *FlisterStub) NamedMount(arg0 string, arg1 string, arg2 string, arg3 pkg.MountOptions) (ret0 string, ret1 error)
- func (s *FlisterStub) NamedUmount(arg0 string) (ret0 error)
- func (s *FlisterStub) Umount(arg0 string) (ret0 error)
- type HostMonitorStub
- type IdentityManagerStub
- func (s *IdentityManagerStub) Decrypt(arg0 []uint8) (ret0 []uint8, ret1 error)
- func (s *IdentityManagerStub) DecryptECDH(arg0 []uint8, arg1 []uint8) (ret0 []uint8, ret1 error)
- func (s *IdentityManagerStub) Encrypt(arg0 []uint8) (ret0 []uint8, ret1 error)
- func (s *IdentityManagerStub) EncryptECDH(arg0 []uint8, arg1 []uint8) (ret0 []uint8, ret1 error)
- func (s *IdentityManagerStub) FarmID() (ret0 pkg.FarmID, ret1 error)
- func (s *IdentityManagerStub) NodeID() (ret0 pkg.StrIdentifier)
- func (s *IdentityManagerStub) PrivateKey() (ret0 []uint8)
- func (s *IdentityManagerStub) Sign(arg0 []uint8) (ret0 []uint8, ret1 error)
- func (s *IdentityManagerStub) Verify(arg0 []uint8, arg1 []uint8) (ret0 error)
- type NetworkerStub
- func (s *NetworkerStub) Addrs(arg0 string, arg1 string) (ret0 [][]uint8, ret1 error)
- func (s *NetworkerStub) CreateNR(arg0 pkg.NetResource) (ret0 string, ret1 error)
- func (s *NetworkerStub) DMZAddresses(ctx context.Context) (<-chan pkg.NetlinkAddresses, error)
- func (s *NetworkerStub) DeleteNR(arg0 pkg.NetResource) (ret0 error)
- func (s *NetworkerStub) GetDefaultGwIP(arg0 pkg.NetID) (ret0 []uint8, ret1 error)
- func (s *NetworkerStub) GetSubnet(arg0 pkg.NetID) (ret0 net.IPNet, ret1 error)
- func (s *NetworkerStub) Join(arg0 pkg.NetID, arg1 string, arg2 pkg.ContainerNetworkConfig) (ret0 pkg.Member, ret1 error)
- func (s *NetworkerStub) Leave(arg0 pkg.NetID, arg1 string) (ret0 error)
- func (s *NetworkerStub) PublicAddresses(ctx context.Context) (<-chan pkg.NetlinkAddresses, error)
- func (s *NetworkerStub) Ready() (ret0 error)
- func (s *NetworkerStub) RemoveTap(arg0 pkg.NetID) (ret0 error)
- func (s *NetworkerStub) SetupTap(arg0 pkg.NetID) (ret0 string, ret1 error)
- func (s *NetworkerStub) TapExists(arg0 pkg.NetID) (ret0 bool, ret1 error)
- func (s *NetworkerStub) YggAddresses(ctx context.Context) (<-chan pkg.NetlinkAddresses, error)
- func (s *NetworkerStub) ZDBDestroy(arg0 string) (ret0 error)
- func (s *NetworkerStub) ZDBPrepare(arg0 []uint8) (ret0 string, ret1 error)
- func (s *NetworkerStub) ZOSAddresses(ctx context.Context) (<-chan pkg.NetlinkAddresses, error)
- type ProvisionStub
- type StorageModuleStub
- func (s *StorageModuleStub) Allocate(arg0 string, arg1 pkg.DeviceType, arg2 uint64, arg3 pkg.ZDBMode) (ret0 pkg.Allocation, ret1 error)
- func (s *StorageModuleStub) BrokenDevices() (ret0 []pkg.BrokenDevice)
- func (s *StorageModuleStub) BrokenPools() (ret0 []pkg.BrokenPool)
- func (s *StorageModuleStub) CreateFilesystem(arg0 string, arg1 uint64, arg2 pkg.DeviceType) (ret0 pkg.Filesystem, ret1 error)
- func (s *StorageModuleStub) Find(arg0 string) (ret0 pkg.Allocation, ret1 error)
- func (s *StorageModuleStub) GetCacheFS() (ret0 pkg.Filesystem, ret1 error)
- func (s *StorageModuleStub) ListFilesystems() (ret0 []pkg.Filesystem, ret1 error)
- func (s *StorageModuleStub) Monitor(ctx context.Context) (<-chan pkg.PoolsStats, error)
- func (s *StorageModuleStub) Path(arg0 string) (ret0 pkg.Filesystem, ret1 error)
- func (s *StorageModuleStub) ReleaseFilesystem(arg0 string) (ret0 error)
- func (s *StorageModuleStub) Total(arg0 pkg.DeviceType) (ret0 uint64, ret1 error)
- type SystemMonitorStub
- func (s *SystemMonitorStub) CPU(ctx context.Context) (<-chan pkg.CPUTimesStat, error)
- func (s *SystemMonitorStub) Disks(ctx context.Context) (<-chan pkg.DisksIOCountersStat, error)
- func (s *SystemMonitorStub) Memory(ctx context.Context) (<-chan pkg.VirtualMemoryStat, error)
- func (s *SystemMonitorStub) Nics(ctx context.Context) (<-chan pkg.NicsIOCounterStat, error)
- type UpgradeModuleStub
- type VDiskModuleStub
- func (s *VDiskModuleStub) Allocate(arg0 string, arg1 int64) (ret0 string, ret1 error)
- func (s *VDiskModuleStub) Deallocate(arg0 string) (ret0 error)
- func (s *VDiskModuleStub) Exists(arg0 string) (ret0 bool)
- func (s *VDiskModuleStub) Inspect(arg0 string) (ret0 pkg.VDisk, ret1 error)
- func (s *VDiskModuleStub) List() (ret0 []pkg.VDisk, ret1 error)
- type VMModuleStub
- type VersionMonitorStub
- type ZDBAllocaterStub
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerModuleStub ¶
type ContainerModuleStub struct {
// contains filtered or unexported fields
}
func NewContainerModuleStub ¶
func NewContainerModuleStub(client zbus.Client) *ContainerModuleStub
func (*ContainerModuleStub) Delete ¶
func (s *ContainerModuleStub) Delete(arg0 string, arg1 pkg.ContainerID) (ret0 error)
func (*ContainerModuleStub) Inspect ¶
func (s *ContainerModuleStub) Inspect(arg0 string, arg1 pkg.ContainerID) (ret0 pkg.Container, ret1 error)
func (*ContainerModuleStub) List ¶ added in v0.4.0
func (s *ContainerModuleStub) List(arg0 string) (ret0 []pkg.ContainerID, ret1 error)
func (*ContainerModuleStub) ListNS ¶ added in v0.4.9
func (s *ContainerModuleStub) ListNS() (ret0 []string, ret1 error)
func (*ContainerModuleStub) Run ¶
func (s *ContainerModuleStub) Run(arg0 string, arg1 pkg.Container) (ret0 pkg.ContainerID, ret1 error)
type FlisterStub ¶
type FlisterStub struct {
// contains filtered or unexported fields
}
func NewFlisterStub ¶
func NewFlisterStub(client zbus.Client) *FlisterStub
func (*FlisterStub) FlistHash ¶ added in v0.4.0
func (s *FlisterStub) FlistHash(arg0 string) (ret0 string, ret1 error)
func (*FlisterStub) HashFromRootPath ¶ added in v0.4.0
func (s *FlisterStub) HashFromRootPath(arg0 string) (ret0 string, ret1 error)
func (*FlisterStub) Mount ¶
func (s *FlisterStub) Mount(arg0 string, arg1 string, arg2 pkg.MountOptions) (ret0 string, ret1 error)
func (*FlisterStub) NamedMount ¶
func (s *FlisterStub) NamedMount(arg0 string, arg1 string, arg2 string, arg3 pkg.MountOptions) (ret0 string, ret1 error)
func (*FlisterStub) NamedUmount ¶
func (s *FlisterStub) NamedUmount(arg0 string) (ret0 error)
func (*FlisterStub) Umount ¶
func (s *FlisterStub) Umount(arg0 string) (ret0 error)
type HostMonitorStub ¶
type HostMonitorStub struct {
// contains filtered or unexported fields
}
func NewHostMonitorStub ¶
func NewHostMonitorStub(client zbus.Client) *HostMonitorStub
type IdentityManagerStub ¶
type IdentityManagerStub struct {
// contains filtered or unexported fields
}
func NewIdentityManagerStub ¶
func NewIdentityManagerStub(client zbus.Client) *IdentityManagerStub
func (*IdentityManagerStub) Decrypt ¶
func (s *IdentityManagerStub) Decrypt(arg0 []uint8) (ret0 []uint8, ret1 error)
func (*IdentityManagerStub) DecryptECDH ¶ added in v0.4.9
func (s *IdentityManagerStub) DecryptECDH(arg0 []uint8, arg1 []uint8) (ret0 []uint8, ret1 error)
func (*IdentityManagerStub) Encrypt ¶
func (s *IdentityManagerStub) Encrypt(arg0 []uint8) (ret0 []uint8, ret1 error)
func (*IdentityManagerStub) EncryptECDH ¶ added in v0.4.9
func (s *IdentityManagerStub) EncryptECDH(arg0 []uint8, arg1 []uint8) (ret0 []uint8, ret1 error)
func (*IdentityManagerStub) FarmID ¶
func (s *IdentityManagerStub) FarmID() (ret0 pkg.FarmID, ret1 error)
func (*IdentityManagerStub) NodeID ¶
func (s *IdentityManagerStub) NodeID() (ret0 pkg.StrIdentifier)
func (*IdentityManagerStub) PrivateKey ¶ added in v0.4.0
func (s *IdentityManagerStub) PrivateKey() (ret0 []uint8)
type NetworkerStub ¶
type NetworkerStub struct {
// contains filtered or unexported fields
}
func NewNetworkerStub ¶
func NewNetworkerStub(client zbus.Client) *NetworkerStub
func (*NetworkerStub) Addrs ¶
func (s *NetworkerStub) Addrs(arg0 string, arg1 string) (ret0 [][]uint8, ret1 error)
func (*NetworkerStub) CreateNR ¶
func (s *NetworkerStub) CreateNR(arg0 pkg.NetResource) (ret0 string, ret1 error)
func (*NetworkerStub) DMZAddresses ¶
func (s *NetworkerStub) DMZAddresses(ctx context.Context) (<-chan pkg.NetlinkAddresses, error)
func (*NetworkerStub) DeleteNR ¶
func (s *NetworkerStub) DeleteNR(arg0 pkg.NetResource) (ret0 error)
func (*NetworkerStub) GetDefaultGwIP ¶
func (s *NetworkerStub) GetDefaultGwIP(arg0 pkg.NetID) (ret0 []uint8, ret1 error)
func (*NetworkerStub) Join ¶
func (s *NetworkerStub) Join(arg0 pkg.NetID, arg1 string, arg2 pkg.ContainerNetworkConfig) (ret0 pkg.Member, ret1 error)
func (*NetworkerStub) Leave ¶
func (s *NetworkerStub) Leave(arg0 pkg.NetID, arg1 string) (ret0 error)
func (*NetworkerStub) PublicAddresses ¶
func (s *NetworkerStub) PublicAddresses(ctx context.Context) (<-chan pkg.NetlinkAddresses, error)
func (*NetworkerStub) Ready ¶ added in v0.3.4
func (s *NetworkerStub) Ready() (ret0 error)
func (*NetworkerStub) SetupTap ¶
func (s *NetworkerStub) SetupTap(arg0 pkg.NetID) (ret0 string, ret1 error)
func (*NetworkerStub) TapExists ¶ added in v0.4.0
func (s *NetworkerStub) TapExists(arg0 pkg.NetID) (ret0 bool, ret1 error)
func (*NetworkerStub) YggAddresses ¶ added in v0.4.0
func (s *NetworkerStub) YggAddresses(ctx context.Context) (<-chan pkg.NetlinkAddresses, error)
func (*NetworkerStub) ZDBDestroy ¶ added in v0.4.0
func (s *NetworkerStub) ZDBDestroy(arg0 string) (ret0 error)
func (*NetworkerStub) ZDBPrepare ¶
func (s *NetworkerStub) ZDBPrepare(arg0 []uint8) (ret0 string, ret1 error)
func (*NetworkerStub) ZOSAddresses ¶
func (s *NetworkerStub) ZOSAddresses(ctx context.Context) (<-chan pkg.NetlinkAddresses, error)
type ProvisionStub ¶ added in v0.4.9
type ProvisionStub struct {
// contains filtered or unexported fields
}
func NewProvisionStub ¶ added in v0.4.9
func NewProvisionStub(client zbus.Client) *ProvisionStub
func (*ProvisionStub) Counters ¶ added in v0.4.9
func (s *ProvisionStub) Counters(ctx context.Context) (<-chan pkg.ProvisionCounters, error)
func (*ProvisionStub) DecommissionCached ¶ added in v0.4.9
func (s *ProvisionStub) DecommissionCached(arg0 string, arg1 string) (ret0 error)
type StorageModuleStub ¶
type StorageModuleStub struct {
// contains filtered or unexported fields
}
func NewStorageModuleStub ¶
func NewStorageModuleStub(client zbus.Client) *StorageModuleStub
func (*StorageModuleStub) Allocate ¶
func (s *StorageModuleStub) Allocate(arg0 string, arg1 pkg.DeviceType, arg2 uint64, arg3 pkg.ZDBMode) (ret0 pkg.Allocation, ret1 error)
func (*StorageModuleStub) BrokenDevices ¶
func (s *StorageModuleStub) BrokenDevices() (ret0 []pkg.BrokenDevice)
func (*StorageModuleStub) BrokenPools ¶
func (s *StorageModuleStub) BrokenPools() (ret0 []pkg.BrokenPool)
func (*StorageModuleStub) CreateFilesystem ¶
func (s *StorageModuleStub) CreateFilesystem(arg0 string, arg1 uint64, arg2 pkg.DeviceType) (ret0 pkg.Filesystem, ret1 error)
func (*StorageModuleStub) Find ¶
func (s *StorageModuleStub) Find(arg0 string) (ret0 pkg.Allocation, ret1 error)
func (*StorageModuleStub) GetCacheFS ¶ added in v0.4.9
func (s *StorageModuleStub) GetCacheFS() (ret0 pkg.Filesystem, ret1 error)
func (*StorageModuleStub) ListFilesystems ¶ added in v0.4.9
func (s *StorageModuleStub) ListFilesystems() (ret0 []pkg.Filesystem, ret1 error)
func (*StorageModuleStub) Monitor ¶
func (s *StorageModuleStub) Monitor(ctx context.Context) (<-chan pkg.PoolsStats, error)
func (*StorageModuleStub) Path ¶
func (s *StorageModuleStub) Path(arg0 string) (ret0 pkg.Filesystem, ret1 error)
func (*StorageModuleStub) ReleaseFilesystem ¶
func (s *StorageModuleStub) ReleaseFilesystem(arg0 string) (ret0 error)
func (*StorageModuleStub) Total ¶
func (s *StorageModuleStub) Total(arg0 pkg.DeviceType) (ret0 uint64, ret1 error)
type SystemMonitorStub ¶
type SystemMonitorStub struct {
// contains filtered or unexported fields
}
func NewSystemMonitorStub ¶
func NewSystemMonitorStub(client zbus.Client) *SystemMonitorStub
func (*SystemMonitorStub) CPU ¶
func (s *SystemMonitorStub) CPU(ctx context.Context) (<-chan pkg.CPUTimesStat, error)
func (*SystemMonitorStub) Disks ¶
func (s *SystemMonitorStub) Disks(ctx context.Context) (<-chan pkg.DisksIOCountersStat, error)
func (*SystemMonitorStub) Memory ¶
func (s *SystemMonitorStub) Memory(ctx context.Context) (<-chan pkg.VirtualMemoryStat, error)
func (*SystemMonitorStub) Nics ¶
func (s *SystemMonitorStub) Nics(ctx context.Context) (<-chan pkg.NicsIOCounterStat, error)
type UpgradeModuleStub ¶
type UpgradeModuleStub struct {
// contains filtered or unexported fields
}
func NewUpgradeModuleStub ¶
func NewUpgradeModuleStub(client zbus.Client) *UpgradeModuleStub
type VDiskModuleStub ¶
type VDiskModuleStub struct {
// contains filtered or unexported fields
}
func NewVDiskModuleStub ¶
func NewVDiskModuleStub(client zbus.Client) *VDiskModuleStub
func (*VDiskModuleStub) Allocate ¶
func (s *VDiskModuleStub) Allocate(arg0 string, arg1 int64) (ret0 string, ret1 error)
func (*VDiskModuleStub) Deallocate ¶
func (s *VDiskModuleStub) Deallocate(arg0 string) (ret0 error)
func (*VDiskModuleStub) Exists ¶
func (s *VDiskModuleStub) Exists(arg0 string) (ret0 bool)
type VMModuleStub ¶
type VMModuleStub struct {
// contains filtered or unexported fields
}
func NewVMModuleStub ¶
func NewVMModuleStub(client zbus.Client) *VMModuleStub
func (*VMModuleStub) Delete ¶
func (s *VMModuleStub) Delete(arg0 string) (ret0 error)
func (*VMModuleStub) Exists ¶
func (s *VMModuleStub) Exists(arg0 string) (ret0 bool)
type VersionMonitorStub ¶
type VersionMonitorStub struct {
// contains filtered or unexported fields
}
func NewVersionMonitorStub ¶
func NewVersionMonitorStub(client zbus.Client) *VersionMonitorStub
type ZDBAllocaterStub ¶
type ZDBAllocaterStub struct {
// contains filtered or unexported fields
}
func NewZDBAllocaterStub ¶
func NewZDBAllocaterStub(client zbus.Client) *ZDBAllocaterStub
func (*ZDBAllocaterStub) Allocate ¶
func (s *ZDBAllocaterStub) Allocate(arg0 string, arg1 pkg.DeviceType, arg2 uint64, arg3 pkg.ZDBMode) (ret0 pkg.Allocation, ret1 error)
func (*ZDBAllocaterStub) Find ¶
func (s *ZDBAllocaterStub) Find(arg0 string) (ret0 pkg.Allocation, ret1 error)
Click to show internal directories.
Click to hide internal directories.