proto

package
v0.66.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RpcKaktusNodeCapabilities               = "NodeCapabilities"
	RpcKaktusGetLibvirtEndpoint             = "GetLibvirtEndpoint"
	RpcKaktusCreateInstance                 = "CreateInstance"
	RpcKaktusGetInstance                    = "GetInstance"
	RpcKaktusUpdateInstance                 = "UpdateInstance"
	RpcKaktusDeleteInstance                 = "DeleteInstance"
	RpcKaktusMigrateInstance                = "MigrateInstance"
	RpcKaktusGetInstanceState               = "GetInstanceState"
	RpcKaktusGetInstanceRemoteConnectionUrl = "GetInstanceRemoteConnectionUrl"
	RpcKaktusInstanceIsRunning              = "InstanceIsRunning"
	RpcKaktusInstanceOperation              = "InstanceOperation"
	RpcKaktusGetStoragePoolStats            = "GetStoragePoolStats"
	RpcKaktusGetVolumeInfos                 = "GetVolumeInfos"
	RpcKaktusResizeVolume                   = "ResizeVolume"
	RpcKaktusCreateRawVolume                = "CreateRawVolume"
	RpcKaktusCreateTemplateVolume           = "CreateTemplateVolume"
	RpcKaktusCreateOsVolume                 = "CreateOsVolume"
	RpcKaktusCreateIsoVolume                = "CreateIsoVolume"
	RpcKaktusDeleteVolume                   = "DeleteVolume"
	RpcKaktusUpdateIsoVolume                = "UpdateIsoVolume"
	RpcKaktusListFileSystems                = "ListFileSystems"
	RpcKaktusListFsSubVolumes               = "ListFsSubVolumes"
	RpcKaktusCreateFsSubVolume              = "CreateFsSubVolume"
	RpcKaktusCreateNfsBackends              = "CreateNfsBackends"
	RpcKaktusUpdateNfsBackends              = "UpdateNfsBackends"
	RpcKaktusDeleteFsSubVolume              = "DeleteFsSubVolume"
	RpcKaktusDeleteNfsBackends              = "DeleteNfsBackends"
)
View Source
const (
	RpcKiwiReload          = "Reload"
	RpcKiwiCreateDnsZone   = "CreateDnsZone"
	RpcKiwiDeleteDnsZone   = "DeleteDnsZone"
	RpcKiwiCreateDnsRecord = "CreateDnsRecord"
	RpcKiwiUpdateDnsRecord = "UpdateDnsRecord"
	RpcKiwiDeleteDnsRecord = "DeleteDnsRecord"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KaktusCreateFsSubVolumeArgs

type KaktusCreateFsSubVolumeArgs struct {
	FS        string
	SubVolume string
}

type KaktusCreateFsSubVolumeReply

type KaktusCreateFsSubVolumeReply struct {
	Path      string
	BytesUsed int64
}

type KaktusCreateInstanceArgs

type KaktusCreateInstanceArgs struct {
	Name string
	XML  string
}

type KaktusCreateInstanceReply

type KaktusCreateInstanceReply struct{}

type KaktusCreateIsoVolumeArgs

type KaktusCreateIsoVolumeArgs struct {
	Pool    string
	Volume  string
	Size    uint64
	Content []byte
}

type KaktusCreateIsoVolumeReply

type KaktusCreateIsoVolumeReply struct{}

type KaktusCreateNfsBackendsArgs

type KaktusCreateNfsBackendsArgs struct {
	ID        string
	Name      string
	FS        string
	Path      string
	Access    string
	Protocols []int32
	Clients   []string
	Backends  []string
	Port      int
}

type KaktusCreateNfsBackendsReply

type KaktusCreateNfsBackendsReply struct{}

type KaktusCreateOsVolumeArgs

type KaktusCreateOsVolumeArgs struct {
	Pool     string
	Volume   string
	Size     uint64
	Template string
}

type KaktusCreateOsVolumeReply

type KaktusCreateOsVolumeReply struct{}

type KaktusCreateRawVolumeArgs

type KaktusCreateRawVolumeArgs struct {
	Pool   string
	Volume string
	Size   uint64
}

type KaktusCreateRawVolumeReply

type KaktusCreateRawVolumeReply struct{}

type KaktusCreateTemplateVolumeArgs

type KaktusCreateTemplateVolumeArgs struct {
	Pool      string
	Volume    string
	SourceURL string
}

type KaktusCreateTemplateVolumeReply

type KaktusCreateTemplateVolumeReply struct {
	Size uint64
}

type KaktusDeleteFsSubVolumeArgs

type KaktusDeleteFsSubVolumeArgs struct {
	FS        string
	SubVolume string
}

type KaktusDeleteFsSubVolumeReply

type KaktusDeleteFsSubVolumeReply struct{}

type KaktusDeleteInstanceArgs

type KaktusDeleteInstanceArgs struct {
	Name string
}

type KaktusDeleteInstanceReply

type KaktusDeleteInstanceReply struct{}

type KaktusDeleteNfsBackendsArgs

type KaktusDeleteNfsBackendsArgs struct {
	ID        string
	Name      string
	FS        string
	Path      string
	Access    string
	Protocols []int32
	Clients   []string
	Backends  []string
	Port      int
}

type KaktusDeleteNfsBackendsReply

type KaktusDeleteNfsBackendsReply struct{}

type KaktusDeleteVolumeArgs

type KaktusDeleteVolumeArgs struct {
	Pool          string
	Volume        string
	WithSnapshots bool
}

type KaktusDeleteVolumeReply

type KaktusDeleteVolumeReply struct{}

type KaktusGetInstanceArgs

type KaktusGetInstanceArgs struct {
	Name       string
	Migratable bool
}

type KaktusGetInstanceRemoteConnectionUrlArgs

type KaktusGetInstanceRemoteConnectionUrlArgs struct {
	Name string
}

type KaktusGetInstanceRemoteConnectionUrlReply

type KaktusGetInstanceRemoteConnectionUrlReply struct {
	URL string
}

type KaktusGetInstanceReply

type KaktusGetInstanceReply struct {
	XML string
}

type KaktusGetInstanceStateArgs

type KaktusGetInstanceStateArgs struct {
	Name string
}

type KaktusGetInstanceStateReply

type KaktusGetInstanceStateReply struct {
	State  string
	Reason string
}

type KaktusGetLibvirtEndpointArgs added in v0.65.0

type KaktusGetLibvirtEndpointArgs struct{}

type KaktusGetLibvirtEndpointReply added in v0.65.0

type KaktusGetLibvirtEndpointReply struct {
	Protocol string // "tcp" or "tls"
	Address  string
	Port     int
}

type KaktusGetStoragePoolStatsArgs

type KaktusGetStoragePoolStatsArgs struct {
	Pool string
}

type KaktusGetStoragePoolStatsReply

type KaktusGetStoragePoolStatsReply struct {
	Allocated uint64
	Available uint64
	Capacity  uint64
}

type KaktusGetVolumeInfosArgs

type KaktusGetVolumeInfosArgs struct {
	Pool   string
	Volume string
}

type KaktusGetVolumeInfosReply

type KaktusGetVolumeInfosReply struct {
	Size uint64
}

type KaktusInstanceIsRunningArgs

type KaktusInstanceIsRunningArgs struct {
	Name string
}

type KaktusInstanceIsRunningReply

type KaktusInstanceIsRunningReply struct {
	Running bool
}

type KaktusInstanceOperation

type KaktusInstanceOperation int
const (
	KaktusInstanceOpAutoStart KaktusInstanceOperation = iota
	KaktusInstanceOpStart
	KaktusInstanceOpSoftReboot
	KaktusInstanceOpHardReboot
	KaktusInstanceOpHardShutdown
	KaktusInstanceOpSoftShutdown
	KaktusInstanceOpPmSuspend
	KaktusInstanceOpPmResume
)

type KaktusInstanceOperationArgs

type KaktusInstanceOperationArgs struct {
	Name   string
	Action KaktusInstanceOperation
}

type KaktusInstanceOperationReply

type KaktusInstanceOperationReply struct{}

type KaktusListFileSystemsArgs

type KaktusListFileSystemsArgs struct{}

type KaktusListFileSystemsReply

type KaktusListFileSystemsReply struct {
	FS []string
}

type KaktusListFsSubVolumesArgs

type KaktusListFsSubVolumesArgs struct {
	FS string
}

type KaktusListFsSubVolumesReply

type KaktusListFsSubVolumesReply struct {
	SubVolumes []string
}

type KaktusMigrateInstanceArgs added in v0.65.0

type KaktusMigrateInstanceArgs struct {
	Name           string
	DestinationURI string
}

type KaktusMigrateInstanceReply added in v0.65.0

type KaktusMigrateInstanceReply struct{}

type KaktusNodeCapabilitiesArgs

type KaktusNodeCapabilitiesArgs struct{}

type KaktusNodeCapabilitiesReply

type KaktusNodeCapabilitiesReply struct {
	Arch             string
	Vendor           string
	Model            string
	Sockets          uint8
	Cores            uint16
	Threads          uint16
	Memory           uint64
	GuestEmulator    string
	GuestMachineName string
}

type KaktusResizeVolumeArgs

type KaktusResizeVolumeArgs struct {
	Pool   string
	Volume string
	Size   uint64
}

type KaktusResizeVolumeReply

type KaktusResizeVolumeReply struct{}

type KaktusUpdateInstanceArgs

type KaktusUpdateInstanceArgs struct {
	Name string
	XML  string
}

type KaktusUpdateInstanceReply

type KaktusUpdateInstanceReply struct{}

type KaktusUpdateIsoVolumeArgs

type KaktusUpdateIsoVolumeArgs struct {
	Pool    string
	Volume  string
	Size    uint64
	Content []byte
}

type KaktusUpdateIsoVolumeReply

type KaktusUpdateIsoVolumeReply struct{}

type KaktusUpdateNfsBackendsArgs

type KaktusUpdateNfsBackendsArgs struct {
	ID        string
	Name      string
	FS        string
	Path      string
	Access    string
	Protocols []int32
	Clients   []string
	Backends  []string
	Port      int
}

type KaktusUpdateNfsBackendsReply

type KaktusUpdateNfsBackendsReply struct{}

type KiwiCreateDnsRecordArgs

type KiwiCreateDnsRecordArgs struct {
	Domain    string
	Entry     string
	Addresses []string
}

type KiwiCreateDnsRecordReply

type KiwiCreateDnsRecordReply struct{}

type KiwiCreateDnsZoneArgs

type KiwiCreateDnsZoneArgs struct {
	Domain string
}

type KiwiCreateDnsZoneReply

type KiwiCreateDnsZoneReply struct{}

type KiwiDeleteDnsRecordArgs

type KiwiDeleteDnsRecordArgs struct {
	Domain string
	Entry  string
}

type KiwiDeleteDnsRecordReply

type KiwiDeleteDnsRecordReply struct{}

type KiwiDeleteDnsZoneArgs

type KiwiDeleteDnsZoneArgs struct {
	Domain string
}

type KiwiDeleteDnsZoneReply

type KiwiDeleteDnsZoneReply struct{}

type KiwiReloadArgs

type KiwiReloadArgs struct {
	Domains []KiwiReloadArgsDomain
}

type KiwiReloadArgsDomain

type KiwiReloadArgsDomain struct {
	Name    string
	Records []KiwiReloadArgsRecord
}

type KiwiReloadArgsRecord

type KiwiReloadArgsRecord struct {
	Name      string
	Type      string
	Addresses []string
}

type KiwiReloadReply

type KiwiReloadReply struct{}

type KiwiUpdateDnsRecordArgs

type KiwiUpdateDnsRecordArgs struct {
	Domain    string
	Entry     string
	Addresses []string
}

type KiwiUpdateDnsRecordReply

type KiwiUpdateDnsRecordReply struct{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址