weftv1

package module
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: BSD-3-Clause Imports: 9 Imported by: 0

README

weft-proto

Protobuf/gRPC service definition and generated Go stubs for the weft daemon API.

This module is the shared contract between the weft daemon + CLI, the web dashboard (weft-webui), and the Terraform provider (terraform-provider-weft).

Module

github.com/openweft/weft-proto

Service: WeftService

RPC Description
ListVMs List all local VMs with state and resource info
VMStatus Get status of a specific VM
StartVM Start a VM by name
StopVM Stop a VM by name
CreateVM Clone an image into a new VM
DeleteVM Delete a VM
ProvisionVM Clone + cloud-init inject + start + wait for IP
DeprovisionVM Stop + delete a VM
PullImage Pull a single image by URL
PullImages Pull all images referenced in an HCL config directory
ListImages List locally cached images
CleanImages Remove cached images (dry-run supported)
WaitVM Wait until a VM has an IP address

Service: Introspect (guest-side, package introspectv1)

Read-only inspection API a micro-VM serves on its wg0 address for an operator CLI to reach over WireGuard (see weft-microvm-agent for the server and weft-client/wgdial for the client transport). Defined in introspect.proto, generated into the introspectv1/ subpackage.

RPC Description
ListProcesses The VM's process table — gRPC equivalent of ps aux, sourced from the guest's /proc

Key types

message VMInfo {
  string name    = 1;
  VMState state  = 2;  // RUNNING | STOPPED | NOT_CREATED
  string os      = 3;
  uint32 cpu     = 4;
  uint64 mem_mb  = 5;
  uint64 disk_gb = 6;
  string image   = 7;
  string ip      = 8;
}

Regenerate stubs

# weft.proto → root package weftv1 (go_package has no path component)
protoc --go_out=. --go-grpc_out=. \
  --go_opt=paths=source_relative --go-grpc_opt=paths=source_relative \
  weft.proto

# introspect.proto → introspectv1/ subpackage (go_package carries a path,
# so use module= to land output in the right subdir)
protoc --go_out=. --go-grpc_out=. \
  --go_opt=module=github.com/openweft/weft-proto \
  --go-grpc_opt=module=github.com/openweft/weft-proto \
  introspect.proto

Requires protoc, protoc-gen-go, and protoc-gen-go-grpc.

Documentation

Index

Constants

View Source
const (
	WeftAgent_ListVMs_FullMethodName                         = "/weft.v1.WeftAgent/ListVMs"
	WeftAgent_VMStatus_FullMethodName                        = "/weft.v1.WeftAgent/VMStatus"
	WeftAgent_StartVM_FullMethodName                         = "/weft.v1.WeftAgent/StartVM"
	WeftAgent_StopVM_FullMethodName                          = "/weft.v1.WeftAgent/StopVM"
	WeftAgent_CreateVM_FullMethodName                        = "/weft.v1.WeftAgent/CreateVM"
	WeftAgent_DeleteVM_FullMethodName                        = "/weft.v1.WeftAgent/DeleteVM"
	WeftAgent_ProvisionVM_FullMethodName                     = "/weft.v1.WeftAgent/ProvisionVM"
	WeftAgent_DeprovisionVM_FullMethodName                   = "/weft.v1.WeftAgent/DeprovisionVM"
	WeftAgent_PullImages_FullMethodName                      = "/weft.v1.WeftAgent/PullImages"
	WeftAgent_PullImage_FullMethodName                       = "/weft.v1.WeftAgent/PullImage"
	WeftAgent_PatchImage_FullMethodName                      = "/weft.v1.WeftAgent/PatchImage"
	WeftAgent_ListImages_FullMethodName                      = "/weft.v1.WeftAgent/ListImages"
	WeftAgent_CleanImages_FullMethodName                     = "/weft.v1.WeftAgent/CleanImages"
	WeftAgent_WaitVM_FullMethodName                          = "/weft.v1.WeftAgent/WaitVM"
	WeftAgent_RegisterMicroVM_FullMethodName                 = "/weft.v1.WeftAgent/RegisterMicroVM"
	WeftAgent_VMTimings_FullMethodName                       = "/weft.v1.WeftAgent/VMTimings"
	WeftAgent_VMLogs_FullMethodName                          = "/weft.v1.WeftAgent/VMLogs"
	WeftAgent_ListProjects_FullMethodName                    = "/weft.v1.WeftAgent/ListProjects"
	WeftAgent_CreateProject_FullMethodName                   = "/weft.v1.WeftAgent/CreateProject"
	WeftAgent_RenameProject_FullMethodName                   = "/weft.v1.WeftAgent/RenameProject"
	WeftAgent_DeleteProject_FullMethodName                   = "/weft.v1.WeftAgent/DeleteProject"
	WeftAgent_AddProjectMember_FullMethodName                = "/weft.v1.WeftAgent/AddProjectMember"
	WeftAgent_RemoveProjectMember_FullMethodName             = "/weft.v1.WeftAgent/RemoveProjectMember"
	WeftAgent_ListProjectMembers_FullMethodName              = "/weft.v1.WeftAgent/ListProjectMembers"
	WeftAgent_ListUsers_FullMethodName                       = "/weft.v1.WeftAgent/ListUsers"
	WeftAgent_GetUser_FullMethodName                         = "/weft.v1.WeftAgent/GetUser"
	WeftAgent_Me_FullMethodName                              = "/weft.v1.WeftAgent/Me"
	WeftAgent_SetUserDisplayName_FullMethodName              = "/weft.v1.WeftAgent/SetUserDisplayName"
	WeftAgent_DeleteUser_FullMethodName                      = "/weft.v1.WeftAgent/DeleteUser"
	WeftAgent_ListNetworks_FullMethodName                    = "/weft.v1.WeftAgent/ListNetworks"
	WeftAgent_CreateNetwork_FullMethodName                   = "/weft.v1.WeftAgent/CreateNetwork"
	WeftAgent_RenameNetwork_FullMethodName                   = "/weft.v1.WeftAgent/RenameNetwork"
	WeftAgent_SetNetworkDNS_FullMethodName                   = "/weft.v1.WeftAgent/SetNetworkDNS"
	WeftAgent_DeleteNetwork_FullMethodName                   = "/weft.v1.WeftAgent/DeleteNetwork"
	WeftAgent_SetNetworkDefaultSecurityGroups_FullMethodName = "/weft.v1.WeftAgent/SetNetworkDefaultSecurityGroups"
	WeftAgent_ListSecurityGroups_FullMethodName              = "/weft.v1.WeftAgent/ListSecurityGroups"
	WeftAgent_CreateSecurityGroup_FullMethodName             = "/weft.v1.WeftAgent/CreateSecurityGroup"
	WeftAgent_RenameSecurityGroup_FullMethodName             = "/weft.v1.WeftAgent/RenameSecurityGroup"
	WeftAgent_SetSecurityGroupDescription_FullMethodName     = "/weft.v1.WeftAgent/SetSecurityGroupDescription"
	WeftAgent_SetSecurityGroupRules_FullMethodName           = "/weft.v1.WeftAgent/SetSecurityGroupRules"
	WeftAgent_DeleteSecurityGroup_FullMethodName             = "/weft.v1.WeftAgent/DeleteSecurityGroup"
	WeftAgent_ListVolumes_FullMethodName                     = "/weft.v1.WeftAgent/ListVolumes"
	WeftAgent_CreateVolume_FullMethodName                    = "/weft.v1.WeftAgent/CreateVolume"
	WeftAgent_RenameVolume_FullMethodName                    = "/weft.v1.WeftAgent/RenameVolume"
	WeftAgent_ResizeVolume_FullMethodName                    = "/weft.v1.WeftAgent/ResizeVolume"
	WeftAgent_AttachVolume_FullMethodName                    = "/weft.v1.WeftAgent/AttachVolume"
	WeftAgent_DetachVolume_FullMethodName                    = "/weft.v1.WeftAgent/DetachVolume"
	WeftAgent_DeleteVolume_FullMethodName                    = "/weft.v1.WeftAgent/DeleteVolume"
	WeftAgent_CreateVolumeSnapshot_FullMethodName            = "/weft.v1.WeftAgent/CreateVolumeSnapshot"
	WeftAgent_ListVolumeSnapshots_FullMethodName             = "/weft.v1.WeftAgent/ListVolumeSnapshots"
	WeftAgent_RestoreVolumeSnapshot_FullMethodName           = "/weft.v1.WeftAgent/RestoreVolumeSnapshot"
	WeftAgent_DeleteVolumeSnapshot_FullMethodName            = "/weft.v1.WeftAgent/DeleteVolumeSnapshot"
	WeftAgent_WatchEvents_FullMethodName                     = "/weft.v1.WeftAgent/WatchEvents"
	WeftAgent_RenderNATSAuthorization_FullMethodName         = "/weft.v1.WeftAgent/RenderNATSAuthorization"
	WeftAgent_RegisterHost_FullMethodName                    = "/weft.v1.WeftAgent/RegisterHost"
	WeftAgent_ListHosts_FullMethodName                       = "/weft.v1.WeftAgent/ListHosts"
	WeftAgent_GetHost_FullMethodName                         = "/weft.v1.WeftAgent/GetHost"
	WeftAgent_HeartbeatHost_FullMethodName                   = "/weft.v1.WeftAgent/HeartbeatHost"
	WeftAgent_SetHostState_FullMethodName                    = "/weft.v1.WeftAgent/SetHostState"
	WeftAgent_SetHostLabels_FullMethodName                   = "/weft.v1.WeftAgent/SetHostLabels"
	WeftAgent_SetHostCordoned_FullMethodName                 = "/weft.v1.WeftAgent/SetHostCordoned"
	WeftAgent_DeleteHost_FullMethodName                      = "/weft.v1.WeftAgent/DeleteHost"
	WeftAgent_PublishShareToProject_FullMethodName           = "/weft.v1.WeftAgent/PublishShareToProject"
	WeftAgent_ListTenants_FullMethodName                     = "/weft.v1.WeftAgent/ListTenants"
	WeftAgent_CreateTenant_FullMethodName                    = "/weft.v1.WeftAgent/CreateTenant"
	WeftAgent_DeleteTenant_FullMethodName                    = "/weft.v1.WeftAgent/DeleteTenant"
	WeftAgent_AddTenantAdmin_FullMethodName                  = "/weft.v1.WeftAgent/AddTenantAdmin"
	WeftAgent_RemoveTenantAdmin_FullMethodName               = "/weft.v1.WeftAgent/RemoveTenantAdmin"
	WeftAgent_AddTenantMember_FullMethodName                 = "/weft.v1.WeftAgent/AddTenantMember"
	WeftAgent_RemoveTenantMember_FullMethodName              = "/weft.v1.WeftAgent/RemoveTenantMember"
	WeftAgent_GetTenantQuota_FullMethodName                  = "/weft.v1.WeftAgent/GetTenantQuota"
	WeftAgent_SetTenantQuota_FullMethodName                  = "/weft.v1.WeftAgent/SetTenantQuota"
	WeftAgent_GetProjectQuota_FullMethodName                 = "/weft.v1.WeftAgent/GetProjectQuota"
	WeftAgent_SetProjectQuota_FullMethodName                 = "/weft.v1.WeftAgent/SetProjectQuota"
	WeftAgent_ListShares_FullMethodName                      = "/weft.v1.WeftAgent/ListShares"
	WeftAgent_CreateShare_FullMethodName                     = "/weft.v1.WeftAgent/CreateShare"
	WeftAgent_DeleteShare_FullMethodName                     = "/weft.v1.WeftAgent/DeleteShare"
	WeftAgent_ListFloatingIPs_FullMethodName                 = "/weft.v1.WeftAgent/ListFloatingIPs"
	WeftAgent_AllocateFloatingIP_FullMethodName              = "/weft.v1.WeftAgent/AllocateFloatingIP"
	WeftAgent_ReleaseFloatingIP_FullMethodName               = "/weft.v1.WeftAgent/ReleaseFloatingIP"
	WeftAgent_MapFloatingIP_FullMethodName                   = "/weft.v1.WeftAgent/MapFloatingIP"
	WeftAgent_UnmapFloatingIP_FullMethodName                 = "/weft.v1.WeftAgent/UnmapFloatingIP"
	WeftAgent_ListFlavors_FullMethodName                     = "/weft.v1.WeftAgent/ListFlavors"
	WeftAgent_GetFlavor_FullMethodName                       = "/weft.v1.WeftAgent/GetFlavor"
	WeftAgent_SetFlavor_FullMethodName                       = "/weft.v1.WeftAgent/SetFlavor"
	WeftAgent_DeleteFlavor_FullMethodName                    = "/weft.v1.WeftAgent/DeleteFlavor"
	WeftAgent_ListScripts_FullMethodName                     = "/weft.v1.WeftAgent/ListScripts"
	WeftAgent_GetScript_FullMethodName                       = "/weft.v1.WeftAgent/GetScript"
	WeftAgent_SetScript_FullMethodName                       = "/weft.v1.WeftAgent/SetScript"
	WeftAgent_DeleteScript_FullMethodName                    = "/weft.v1.WeftAgent/DeleteScript"
	WeftAgent_ListVMProperties_FullMethodName                = "/weft.v1.WeftAgent/ListVMProperties"
	WeftAgent_SetVMProperty_FullMethodName                   = "/weft.v1.WeftAgent/SetVMProperty"
	WeftAgent_DeleteVMProperty_FullMethodName                = "/weft.v1.WeftAgent/DeleteVMProperty"
	WeftAgent_ListUEFIVars_FullMethodName                    = "/weft.v1.WeftAgent/ListUEFIVars"
	WeftAgent_SetUEFIVar_FullMethodName                      = "/weft.v1.WeftAgent/SetUEFIVar"
	WeftAgent_DeleteUEFIVar_FullMethodName                   = "/weft.v1.WeftAgent/DeleteUEFIVar"
	WeftAgent_ListVMSSHKeys_FullMethodName                   = "/weft.v1.WeftAgent/ListVMSSHKeys"
	WeftAgent_AddVMSSHKey_FullMethodName                     = "/weft.v1.WeftAgent/AddVMSSHKey"
	WeftAgent_RemoveVMSSHKey_FullMethodName                  = "/weft.v1.WeftAgent/RemoveVMSSHKey"
)
View Source
const (
	AgentDispatch_Connect_FullMethodName = "/weft.v1.AgentDispatch/Connect"
)

Variables

View Source
var (
	VMState_name = map[int32]string{
		0: "VM_STATE_UNSPECIFIED",
		1: "VM_STATE_NOT_CREATED",
		2: "VM_STATE_STOPPED",
		3: "VM_STATE_RUNNING",
		4: "VM_STATE_ERROR",
	}
	VMState_value = map[string]int32{
		"VM_STATE_UNSPECIFIED": 0,
		"VM_STATE_NOT_CREATED": 1,
		"VM_STATE_STOPPED":     2,
		"VM_STATE_RUNNING":     3,
		"VM_STATE_ERROR":       4,
	}
)

Enum value maps for VMState.

View Source
var AgentDispatch_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "weft.v1.AgentDispatch",
	HandlerType: (*AgentDispatchServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Connect",
			Handler:       _AgentDispatch_Connect_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "weft.proto",
}

AgentDispatch_ServiceDesc is the grpc.ServiceDesc for AgentDispatch service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var WeftAgent_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "weft.v1.WeftAgent",
	HandlerType: (*WeftAgentServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListVMs",
			Handler:    _WeftAgent_ListVMs_Handler,
		},
		{
			MethodName: "VMStatus",
			Handler:    _WeftAgent_VMStatus_Handler,
		},
		{
			MethodName: "StartVM",
			Handler:    _WeftAgent_StartVM_Handler,
		},
		{
			MethodName: "StopVM",
			Handler:    _WeftAgent_StopVM_Handler,
		},
		{
			MethodName: "CreateVM",
			Handler:    _WeftAgent_CreateVM_Handler,
		},
		{
			MethodName: "DeleteVM",
			Handler:    _WeftAgent_DeleteVM_Handler,
		},
		{
			MethodName: "ProvisionVM",
			Handler:    _WeftAgent_ProvisionVM_Handler,
		},
		{
			MethodName: "DeprovisionVM",
			Handler:    _WeftAgent_DeprovisionVM_Handler,
		},
		{
			MethodName: "PullImages",
			Handler:    _WeftAgent_PullImages_Handler,
		},
		{
			MethodName: "PullImage",
			Handler:    _WeftAgent_PullImage_Handler,
		},
		{
			MethodName: "PatchImage",
			Handler:    _WeftAgent_PatchImage_Handler,
		},
		{
			MethodName: "ListImages",
			Handler:    _WeftAgent_ListImages_Handler,
		},
		{
			MethodName: "CleanImages",
			Handler:    _WeftAgent_CleanImages_Handler,
		},
		{
			MethodName: "WaitVM",
			Handler:    _WeftAgent_WaitVM_Handler,
		},
		{
			MethodName: "RegisterMicroVM",
			Handler:    _WeftAgent_RegisterMicroVM_Handler,
		},
		{
			MethodName: "VMTimings",
			Handler:    _WeftAgent_VMTimings_Handler,
		},
		{
			MethodName: "VMLogs",
			Handler:    _WeftAgent_VMLogs_Handler,
		},
		{
			MethodName: "ListProjects",
			Handler:    _WeftAgent_ListProjects_Handler,
		},
		{
			MethodName: "CreateProject",
			Handler:    _WeftAgent_CreateProject_Handler,
		},
		{
			MethodName: "RenameProject",
			Handler:    _WeftAgent_RenameProject_Handler,
		},
		{
			MethodName: "DeleteProject",
			Handler:    _WeftAgent_DeleteProject_Handler,
		},
		{
			MethodName: "AddProjectMember",
			Handler:    _WeftAgent_AddProjectMember_Handler,
		},
		{
			MethodName: "RemoveProjectMember",
			Handler:    _WeftAgent_RemoveProjectMember_Handler,
		},
		{
			MethodName: "ListProjectMembers",
			Handler:    _WeftAgent_ListProjectMembers_Handler,
		},
		{
			MethodName: "ListUsers",
			Handler:    _WeftAgent_ListUsers_Handler,
		},
		{
			MethodName: "GetUser",
			Handler:    _WeftAgent_GetUser_Handler,
		},
		{
			MethodName: "Me",
			Handler:    _WeftAgent_Me_Handler,
		},
		{
			MethodName: "SetUserDisplayName",
			Handler:    _WeftAgent_SetUserDisplayName_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _WeftAgent_DeleteUser_Handler,
		},
		{
			MethodName: "ListNetworks",
			Handler:    _WeftAgent_ListNetworks_Handler,
		},
		{
			MethodName: "CreateNetwork",
			Handler:    _WeftAgent_CreateNetwork_Handler,
		},
		{
			MethodName: "RenameNetwork",
			Handler:    _WeftAgent_RenameNetwork_Handler,
		},
		{
			MethodName: "SetNetworkDNS",
			Handler:    _WeftAgent_SetNetworkDNS_Handler,
		},
		{
			MethodName: "DeleteNetwork",
			Handler:    _WeftAgent_DeleteNetwork_Handler,
		},
		{
			MethodName: "SetNetworkDefaultSecurityGroups",
			Handler:    _WeftAgent_SetNetworkDefaultSecurityGroups_Handler,
		},
		{
			MethodName: "ListSecurityGroups",
			Handler:    _WeftAgent_ListSecurityGroups_Handler,
		},
		{
			MethodName: "CreateSecurityGroup",
			Handler:    _WeftAgent_CreateSecurityGroup_Handler,
		},
		{
			MethodName: "RenameSecurityGroup",
			Handler:    _WeftAgent_RenameSecurityGroup_Handler,
		},
		{
			MethodName: "SetSecurityGroupDescription",
			Handler:    _WeftAgent_SetSecurityGroupDescription_Handler,
		},
		{
			MethodName: "SetSecurityGroupRules",
			Handler:    _WeftAgent_SetSecurityGroupRules_Handler,
		},
		{
			MethodName: "DeleteSecurityGroup",
			Handler:    _WeftAgent_DeleteSecurityGroup_Handler,
		},
		{
			MethodName: "ListVolumes",
			Handler:    _WeftAgent_ListVolumes_Handler,
		},
		{
			MethodName: "CreateVolume",
			Handler:    _WeftAgent_CreateVolume_Handler,
		},
		{
			MethodName: "RenameVolume",
			Handler:    _WeftAgent_RenameVolume_Handler,
		},
		{
			MethodName: "ResizeVolume",
			Handler:    _WeftAgent_ResizeVolume_Handler,
		},
		{
			MethodName: "AttachVolume",
			Handler:    _WeftAgent_AttachVolume_Handler,
		},
		{
			MethodName: "DetachVolume",
			Handler:    _WeftAgent_DetachVolume_Handler,
		},
		{
			MethodName: "DeleteVolume",
			Handler:    _WeftAgent_DeleteVolume_Handler,
		},
		{
			MethodName: "CreateVolumeSnapshot",
			Handler:    _WeftAgent_CreateVolumeSnapshot_Handler,
		},
		{
			MethodName: "ListVolumeSnapshots",
			Handler:    _WeftAgent_ListVolumeSnapshots_Handler,
		},
		{
			MethodName: "RestoreVolumeSnapshot",
			Handler:    _WeftAgent_RestoreVolumeSnapshot_Handler,
		},
		{
			MethodName: "DeleteVolumeSnapshot",
			Handler:    _WeftAgent_DeleteVolumeSnapshot_Handler,
		},
		{
			MethodName: "RenderNATSAuthorization",
			Handler:    _WeftAgent_RenderNATSAuthorization_Handler,
		},
		{
			MethodName: "RegisterHost",
			Handler:    _WeftAgent_RegisterHost_Handler,
		},
		{
			MethodName: "ListHosts",
			Handler:    _WeftAgent_ListHosts_Handler,
		},
		{
			MethodName: "GetHost",
			Handler:    _WeftAgent_GetHost_Handler,
		},
		{
			MethodName: "HeartbeatHost",
			Handler:    _WeftAgent_HeartbeatHost_Handler,
		},
		{
			MethodName: "SetHostState",
			Handler:    _WeftAgent_SetHostState_Handler,
		},
		{
			MethodName: "SetHostLabels",
			Handler:    _WeftAgent_SetHostLabels_Handler,
		},
		{
			MethodName: "SetHostCordoned",
			Handler:    _WeftAgent_SetHostCordoned_Handler,
		},
		{
			MethodName: "DeleteHost",
			Handler:    _WeftAgent_DeleteHost_Handler,
		},
		{
			MethodName: "PublishShareToProject",
			Handler:    _WeftAgent_PublishShareToProject_Handler,
		},
		{
			MethodName: "ListTenants",
			Handler:    _WeftAgent_ListTenants_Handler,
		},
		{
			MethodName: "CreateTenant",
			Handler:    _WeftAgent_CreateTenant_Handler,
		},
		{
			MethodName: "DeleteTenant",
			Handler:    _WeftAgent_DeleteTenant_Handler,
		},
		{
			MethodName: "AddTenantAdmin",
			Handler:    _WeftAgent_AddTenantAdmin_Handler,
		},
		{
			MethodName: "RemoveTenantAdmin",
			Handler:    _WeftAgent_RemoveTenantAdmin_Handler,
		},
		{
			MethodName: "AddTenantMember",
			Handler:    _WeftAgent_AddTenantMember_Handler,
		},
		{
			MethodName: "RemoveTenantMember",
			Handler:    _WeftAgent_RemoveTenantMember_Handler,
		},
		{
			MethodName: "GetTenantQuota",
			Handler:    _WeftAgent_GetTenantQuota_Handler,
		},
		{
			MethodName: "SetTenantQuota",
			Handler:    _WeftAgent_SetTenantQuota_Handler,
		},
		{
			MethodName: "GetProjectQuota",
			Handler:    _WeftAgent_GetProjectQuota_Handler,
		},
		{
			MethodName: "SetProjectQuota",
			Handler:    _WeftAgent_SetProjectQuota_Handler,
		},
		{
			MethodName: "ListShares",
			Handler:    _WeftAgent_ListShares_Handler,
		},
		{
			MethodName: "CreateShare",
			Handler:    _WeftAgent_CreateShare_Handler,
		},
		{
			MethodName: "DeleteShare",
			Handler:    _WeftAgent_DeleteShare_Handler,
		},
		{
			MethodName: "ListFloatingIPs",
			Handler:    _WeftAgent_ListFloatingIPs_Handler,
		},
		{
			MethodName: "AllocateFloatingIP",
			Handler:    _WeftAgent_AllocateFloatingIP_Handler,
		},
		{
			MethodName: "ReleaseFloatingIP",
			Handler:    _WeftAgent_ReleaseFloatingIP_Handler,
		},
		{
			MethodName: "MapFloatingIP",
			Handler:    _WeftAgent_MapFloatingIP_Handler,
		},
		{
			MethodName: "UnmapFloatingIP",
			Handler:    _WeftAgent_UnmapFloatingIP_Handler,
		},
		{
			MethodName: "ListFlavors",
			Handler:    _WeftAgent_ListFlavors_Handler,
		},
		{
			MethodName: "GetFlavor",
			Handler:    _WeftAgent_GetFlavor_Handler,
		},
		{
			MethodName: "SetFlavor",
			Handler:    _WeftAgent_SetFlavor_Handler,
		},
		{
			MethodName: "DeleteFlavor",
			Handler:    _WeftAgent_DeleteFlavor_Handler,
		},
		{
			MethodName: "ListScripts",
			Handler:    _WeftAgent_ListScripts_Handler,
		},
		{
			MethodName: "GetScript",
			Handler:    _WeftAgent_GetScript_Handler,
		},
		{
			MethodName: "SetScript",
			Handler:    _WeftAgent_SetScript_Handler,
		},
		{
			MethodName: "DeleteScript",
			Handler:    _WeftAgent_DeleteScript_Handler,
		},
		{
			MethodName: "ListVMProperties",
			Handler:    _WeftAgent_ListVMProperties_Handler,
		},
		{
			MethodName: "SetVMProperty",
			Handler:    _WeftAgent_SetVMProperty_Handler,
		},
		{
			MethodName: "DeleteVMProperty",
			Handler:    _WeftAgent_DeleteVMProperty_Handler,
		},
		{
			MethodName: "ListUEFIVars",
			Handler:    _WeftAgent_ListUEFIVars_Handler,
		},
		{
			MethodName: "SetUEFIVar",
			Handler:    _WeftAgent_SetUEFIVar_Handler,
		},
		{
			MethodName: "DeleteUEFIVar",
			Handler:    _WeftAgent_DeleteUEFIVar_Handler,
		},
		{
			MethodName: "ListVMSSHKeys",
			Handler:    _WeftAgent_ListVMSSHKeys_Handler,
		},
		{
			MethodName: "AddVMSSHKey",
			Handler:    _WeftAgent_AddVMSSHKey_Handler,
		},
		{
			MethodName: "RemoveVMSSHKey",
			Handler:    _WeftAgent_RemoveVMSSHKey_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "WatchEvents",
			Handler:       _WeftAgent_WatchEvents_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "weft.proto",
}

WeftAgent_ServiceDesc is the grpc.ServiceDesc for WeftAgent service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterAgentDispatchServer

func RegisterAgentDispatchServer(s grpc.ServiceRegistrar, srv AgentDispatchServer)

func RegisterWeftAgentServer

func RegisterWeftAgentServer(s grpc.ServiceRegistrar, srv WeftAgentServer)

Types

type AddProjectMemberRequest

type AddProjectMemberRequest struct {
	ProjectUuid string `protobuf:"bytes,1,opt,name=project_uuid,json=projectUuid,proto3" json:"project_uuid,omitempty"`
	UserUuid    string `protobuf:"bytes,2,opt,name=user_uuid,json=userUuid,proto3" json:"user_uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*AddProjectMemberRequest) Descriptor deprecated

func (*AddProjectMemberRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddProjectMemberRequest.ProtoReflect.Descriptor instead.

func (*AddProjectMemberRequest) GetProjectUuid

func (x *AddProjectMemberRequest) GetProjectUuid() string

func (*AddProjectMemberRequest) GetUserUuid

func (x *AddProjectMemberRequest) GetUserUuid() string

func (*AddProjectMemberRequest) ProtoMessage

func (*AddProjectMemberRequest) ProtoMessage()

func (*AddProjectMemberRequest) ProtoReflect

func (x *AddProjectMemberRequest) ProtoReflect() protoreflect.Message

func (*AddProjectMemberRequest) Reset

func (x *AddProjectMemberRequest) Reset()

func (*AddProjectMemberRequest) String

func (x *AddProjectMemberRequest) String() string

type AddProjectMemberResponse

type AddProjectMemberResponse struct {
	UserUuids []string `protobuf:"bytes,1,rep,name=user_uuids,json=userUuids,proto3" json:"user_uuids,omitempty"`
	// contains filtered or unexported fields
}

func (*AddProjectMemberResponse) Descriptor deprecated

func (*AddProjectMemberResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddProjectMemberResponse.ProtoReflect.Descriptor instead.

func (*AddProjectMemberResponse) GetUserUuids

func (x *AddProjectMemberResponse) GetUserUuids() []string

func (*AddProjectMemberResponse) ProtoMessage

func (*AddProjectMemberResponse) ProtoMessage()

func (*AddProjectMemberResponse) ProtoReflect

func (x *AddProjectMemberResponse) ProtoReflect() protoreflect.Message

func (*AddProjectMemberResponse) Reset

func (x *AddProjectMemberResponse) Reset()

func (*AddProjectMemberResponse) String

func (x *AddProjectMemberResponse) String() string

type AddTenantAdminRequest

type AddTenantAdminRequest struct {
	TenantUuid string `protobuf:"bytes,1,opt,name=tenant_uuid,json=tenantUuid,proto3" json:"tenant_uuid,omitempty"`
	Email      string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

AddTenantAdmin promotes a user (looked up by email) into the tenant's admin group. The user is created on the fly if no matching email is already registered.

func (*AddTenantAdminRequest) Descriptor deprecated

func (*AddTenantAdminRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddTenantAdminRequest.ProtoReflect.Descriptor instead.

func (*AddTenantAdminRequest) GetEmail

func (x *AddTenantAdminRequest) GetEmail() string

func (*AddTenantAdminRequest) GetTenantUuid

func (x *AddTenantAdminRequest) GetTenantUuid() string

func (*AddTenantAdminRequest) ProtoMessage

func (*AddTenantAdminRequest) ProtoMessage()

func (*AddTenantAdminRequest) ProtoReflect

func (x *AddTenantAdminRequest) ProtoReflect() protoreflect.Message

func (*AddTenantAdminRequest) Reset

func (x *AddTenantAdminRequest) Reset()

func (*AddTenantAdminRequest) String

func (x *AddTenantAdminRequest) String() string

type AddTenantAdminResponse

type AddTenantAdminResponse struct {
	Tenant *TenantInfo `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

func (*AddTenantAdminResponse) Descriptor deprecated

func (*AddTenantAdminResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddTenantAdminResponse.ProtoReflect.Descriptor instead.

func (*AddTenantAdminResponse) GetTenant

func (x *AddTenantAdminResponse) GetTenant() *TenantInfo

func (*AddTenantAdminResponse) ProtoMessage

func (*AddTenantAdminResponse) ProtoMessage()

func (*AddTenantAdminResponse) ProtoReflect

func (x *AddTenantAdminResponse) ProtoReflect() protoreflect.Message

func (*AddTenantAdminResponse) Reset

func (x *AddTenantAdminResponse) Reset()

func (*AddTenantAdminResponse) String

func (x *AddTenantAdminResponse) String() string

type AddTenantMemberRequest

type AddTenantMemberRequest struct {
	TenantUuid string   `protobuf:"bytes,1,opt,name=tenant_uuid,json=tenantUuid,proto3" json:"tenant_uuid,omitempty"`
	Email      string   `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	Groups     []string `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups,omitempty"`
	// contains filtered or unexported fields
}

AddTenantMember adds a user with a specific group set. Groups listed must exist on the tenant (admins / developers / viewers at minimum).

func (*AddTenantMemberRequest) Descriptor deprecated

func (*AddTenantMemberRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddTenantMemberRequest.ProtoReflect.Descriptor instead.

func (*AddTenantMemberRequest) GetEmail

func (x *AddTenantMemberRequest) GetEmail() string

func (*AddTenantMemberRequest) GetGroups

func (x *AddTenantMemberRequest) GetGroups() []string

func (*AddTenantMemberRequest) GetTenantUuid

func (x *AddTenantMemberRequest) GetTenantUuid() string

func (*AddTenantMemberRequest) ProtoMessage

func (*AddTenantMemberRequest) ProtoMessage()

func (*AddTenantMemberRequest) ProtoReflect

func (x *AddTenantMemberRequest) ProtoReflect() protoreflect.Message

func (*AddTenantMemberRequest) Reset

func (x *AddTenantMemberRequest) Reset()

func (*AddTenantMemberRequest) String

func (x *AddTenantMemberRequest) String() string

type AddTenantMemberResponse

type AddTenantMemberResponse struct {
	Tenant *TenantInfo `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

func (*AddTenantMemberResponse) Descriptor deprecated

func (*AddTenantMemberResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddTenantMemberResponse.ProtoReflect.Descriptor instead.

func (*AddTenantMemberResponse) GetTenant

func (x *AddTenantMemberResponse) GetTenant() *TenantInfo

func (*AddTenantMemberResponse) ProtoMessage

func (*AddTenantMemberResponse) ProtoMessage()

func (*AddTenantMemberResponse) ProtoReflect

func (x *AddTenantMemberResponse) ProtoReflect() protoreflect.Message

func (*AddTenantMemberResponse) Reset

func (x *AddTenantMemberResponse) Reset()

func (*AddTenantMemberResponse) String

func (x *AddTenantMemberResponse) String() string

type AddVMSSHKeyRequest

type AddVMSSHKeyRequest struct {
	VmName    string `protobuf:"bytes,1,opt,name=vm_name,json=vmName,proto3" json:"vm_name,omitempty"`
	Project   string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	PublicKey string `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

AddVMSSHKey : client sends the raw OpenSSH-format public-key line ; server parses, computes the fingerprint, stores. Idempotent on fingerprint.

func (*AddVMSSHKeyRequest) Descriptor deprecated

func (*AddVMSSHKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddVMSSHKeyRequest.ProtoReflect.Descriptor instead.

func (*AddVMSSHKeyRequest) GetProject

func (x *AddVMSSHKeyRequest) GetProject() string

func (*AddVMSSHKeyRequest) GetPublicKey

func (x *AddVMSSHKeyRequest) GetPublicKey() string

func (*AddVMSSHKeyRequest) GetVmName

func (x *AddVMSSHKeyRequest) GetVmName() string

func (*AddVMSSHKeyRequest) ProtoMessage

func (*AddVMSSHKeyRequest) ProtoMessage()

func (*AddVMSSHKeyRequest) ProtoReflect

func (x *AddVMSSHKeyRequest) ProtoReflect() protoreflect.Message

func (*AddVMSSHKeyRequest) Reset

func (x *AddVMSSHKeyRequest) Reset()

func (*AddVMSSHKeyRequest) String

func (x *AddVMSSHKeyRequest) String() string

type AddVMSSHKeyResponse

type AddVMSSHKeyResponse struct {
	Key *VMSSHKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*AddVMSSHKeyResponse) Descriptor deprecated

func (*AddVMSSHKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddVMSSHKeyResponse.ProtoReflect.Descriptor instead.

func (*AddVMSSHKeyResponse) GetKey

func (x *AddVMSSHKeyResponse) GetKey() *VMSSHKey

func (*AddVMSSHKeyResponse) ProtoMessage

func (*AddVMSSHKeyResponse) ProtoMessage()

func (*AddVMSSHKeyResponse) ProtoReflect

func (x *AddVMSSHKeyResponse) ProtoReflect() protoreflect.Message

func (*AddVMSSHKeyResponse) Reset

func (x *AddVMSSHKeyResponse) Reset()

func (*AddVMSSHKeyResponse) String

func (x *AddVMSSHKeyResponse) String() string

type AgentDispatchClient

type AgentDispatchClient interface {
	Connect(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[AgentMessage, ControlMessage], error)
}

AgentDispatchClient is the client API for AgentDispatch service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type AgentDispatchServer

type AgentDispatchServer interface {
	Connect(grpc.BidiStreamingServer[AgentMessage, ControlMessage]) error
	// contains filtered or unexported methods
}

AgentDispatchServer is the server API for AgentDispatch service. All implementations must embed UnimplementedAgentDispatchServer for forward compatibility.

type AgentDispatch_ConnectClient

type AgentDispatch_ConnectClient = grpc.BidiStreamingClient[AgentMessage, ControlMessage]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type AgentDispatch_ConnectServer

type AgentDispatch_ConnectServer = grpc.BidiStreamingServer[AgentMessage, ControlMessage]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type AgentHello

type AgentHello struct {
	HostUuid     string `protobuf:"bytes,1,opt,name=host_uuid,json=hostUuid,proto3" json:"host_uuid,omitempty"`
	AgentVersion string `protobuf:"bytes,2,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"` // free-form, for telemetry / compatibility checks
	// contains filtered or unexported fields
}

AgentHello identifies the connecting agent. The control plane uses this to register the stream in its dispatch table keyed on host_uuid. host_uuid must already exist in the Host registry (the agent ran RegisterHost first).

func (*AgentHello) Descriptor deprecated

func (*AgentHello) Descriptor() ([]byte, []int)

Deprecated: Use AgentHello.ProtoReflect.Descriptor instead.

func (*AgentHello) GetAgentVersion

func (x *AgentHello) GetAgentVersion() string

func (*AgentHello) GetHostUuid

func (x *AgentHello) GetHostUuid() string

func (*AgentHello) ProtoMessage

func (*AgentHello) ProtoMessage()

func (*AgentHello) ProtoReflect

func (x *AgentHello) ProtoReflect() protoreflect.Message

func (*AgentHello) Reset

func (x *AgentHello) Reset()

func (*AgentHello) String

func (x *AgentHello) String() string

type AgentMessage

type AgentMessage struct {

	// Types that are valid to be assigned to Body:
	//
	//	*AgentMessage_Hello
	//	*AgentMessage_Pong
	//	*AgentMessage_Reply
	Body isAgentMessage_Body `protobuf_oneof:"body"`
	// contains filtered or unexported fields
}

AgentMessage is what the agent sends up the stream. The very first message MUST be a Hello (the control plane refuses any other variant until it has identified the host). Subsequent messages are Pongs (keepalive responses) and DriverReply messages keyed by the request_id the control plane assigned.

func (*AgentMessage) Descriptor deprecated

func (*AgentMessage) Descriptor() ([]byte, []int)

Deprecated: Use AgentMessage.ProtoReflect.Descriptor instead.

func (*AgentMessage) GetBody

func (x *AgentMessage) GetBody() isAgentMessage_Body

func (*AgentMessage) GetHello

func (x *AgentMessage) GetHello() *AgentHello

func (*AgentMessage) GetPong

func (x *AgentMessage) GetPong() *AgentPong

func (*AgentMessage) GetReply

func (x *AgentMessage) GetReply() *DriverReply

func (*AgentMessage) ProtoMessage

func (*AgentMessage) ProtoMessage()

func (*AgentMessage) ProtoReflect

func (x *AgentMessage) ProtoReflect() protoreflect.Message

func (*AgentMessage) Reset

func (x *AgentMessage) Reset()

func (*AgentMessage) String

func (x *AgentMessage) String() string

type AgentMessage_Hello

type AgentMessage_Hello struct {
	Hello *AgentHello `protobuf:"bytes,1,opt,name=hello,proto3,oneof"`
}

type AgentMessage_Pong

type AgentMessage_Pong struct {
	Pong *AgentPong `protobuf:"bytes,2,opt,name=pong,proto3,oneof"`
}

type AgentMessage_Reply

type AgentMessage_Reply struct {
	Reply *DriverReply `protobuf:"bytes,3,opt,name=reply,proto3,oneof"`
}

type AgentPong

type AgentPong struct {
	SessionId     string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	PingedUnixNs  int64  `protobuf:"varint,2,opt,name=pinged_unix_ns,json=pingedUnixNs,proto3" json:"pinged_unix_ns,omitempty"` // copied from the ControlPing
	RepliedUnixNs int64  `protobuf:"varint,3,opt,name=replied_unix_ns,json=repliedUnixNs,proto3" json:"replied_unix_ns,omitempty"`
	// contains filtered or unexported fields
}

AgentPong is the agent's keepalive reply.

func (*AgentPong) Descriptor deprecated

func (*AgentPong) Descriptor() ([]byte, []int)

Deprecated: Use AgentPong.ProtoReflect.Descriptor instead.

func (*AgentPong) GetPingedUnixNs

func (x *AgentPong) GetPingedUnixNs() int64

func (*AgentPong) GetRepliedUnixNs

func (x *AgentPong) GetRepliedUnixNs() int64

func (*AgentPong) GetSessionId

func (x *AgentPong) GetSessionId() string

func (*AgentPong) ProtoMessage

func (*AgentPong) ProtoMessage()

func (*AgentPong) ProtoReflect

func (x *AgentPong) ProtoReflect() protoreflect.Message

func (*AgentPong) Reset

func (x *AgentPong) Reset()

func (*AgentPong) String

func (x *AgentPong) String() string

type AllocateFloatingIPRequest

type AllocateFloatingIPRequest struct {
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"` // edge network name or UUID
	// contains filtered or unexported fields
}

AllocateFloatingIP reserves the next-available address from the `network`'s pool. Returns the freshly-allocated record (with `status="available"` until MapFloatingIP wires it).

func (*AllocateFloatingIPRequest) Descriptor deprecated

func (*AllocateFloatingIPRequest) Descriptor() ([]byte, []int)

Deprecated: Use AllocateFloatingIPRequest.ProtoReflect.Descriptor instead.

func (*AllocateFloatingIPRequest) GetNetwork

func (x *AllocateFloatingIPRequest) GetNetwork() string

func (*AllocateFloatingIPRequest) GetProject

func (x *AllocateFloatingIPRequest) GetProject() string

func (*AllocateFloatingIPRequest) ProtoMessage

func (*AllocateFloatingIPRequest) ProtoMessage()

func (*AllocateFloatingIPRequest) ProtoReflect

func (*AllocateFloatingIPRequest) Reset

func (x *AllocateFloatingIPRequest) Reset()

func (*AllocateFloatingIPRequest) String

func (x *AllocateFloatingIPRequest) String() string

type AllocateFloatingIPResponse

type AllocateFloatingIPResponse struct {
	FloatingIp *FloatingIPInfo `protobuf:"bytes,1,opt,name=floating_ip,json=floatingIp,proto3" json:"floating_ip,omitempty"`
	// contains filtered or unexported fields
}

func (*AllocateFloatingIPResponse) Descriptor deprecated

func (*AllocateFloatingIPResponse) Descriptor() ([]byte, []int)

Deprecated: Use AllocateFloatingIPResponse.ProtoReflect.Descriptor instead.

func (*AllocateFloatingIPResponse) GetFloatingIp

func (x *AllocateFloatingIPResponse) GetFloatingIp() *FloatingIPInfo

func (*AllocateFloatingIPResponse) ProtoMessage

func (*AllocateFloatingIPResponse) ProtoMessage()

func (*AllocateFloatingIPResponse) ProtoReflect

func (*AllocateFloatingIPResponse) Reset

func (x *AllocateFloatingIPResponse) Reset()

func (*AllocateFloatingIPResponse) String

func (x *AllocateFloatingIPResponse) String() string

type AttachVolumeRequest

type AttachVolumeRequest struct {
	Uuid   string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	VmUuid string `protobuf:"bytes,2,opt,name=vm_uuid,json=vmUuid,proto3" json:"vm_uuid,omitempty"`
	// contains filtered or unexported fields
}

AttachVolume binds a volume to a VM (identified by UUID since VMs themselves carry UUIDs in the multi-tenant model). Refuses when the volume is already attached elsewhere.

func (*AttachVolumeRequest) Descriptor deprecated

func (*AttachVolumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use AttachVolumeRequest.ProtoReflect.Descriptor instead.

func (*AttachVolumeRequest) GetUuid

func (x *AttachVolumeRequest) GetUuid() string

func (*AttachVolumeRequest) GetVmUuid

func (x *AttachVolumeRequest) GetVmUuid() string

func (*AttachVolumeRequest) ProtoMessage

func (*AttachVolumeRequest) ProtoMessage()

func (*AttachVolumeRequest) ProtoReflect

func (x *AttachVolumeRequest) ProtoReflect() protoreflect.Message

func (*AttachVolumeRequest) Reset

func (x *AttachVolumeRequest) Reset()

func (*AttachVolumeRequest) String

func (x *AttachVolumeRequest) String() string

type AttachVolumeResponse

type AttachVolumeResponse struct {
	Volume *VolumeInfo `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	// contains filtered or unexported fields
}

func (*AttachVolumeResponse) Descriptor deprecated

func (*AttachVolumeResponse) Descriptor() ([]byte, []int)

Deprecated: Use AttachVolumeResponse.ProtoReflect.Descriptor instead.

func (*AttachVolumeResponse) GetVolume

func (x *AttachVolumeResponse) GetVolume() *VolumeInfo

func (*AttachVolumeResponse) ProtoMessage

func (*AttachVolumeResponse) ProtoMessage()

func (*AttachVolumeResponse) ProtoReflect

func (x *AttachVolumeResponse) ProtoReflect() protoreflect.Message

func (*AttachVolumeResponse) Reset

func (x *AttachVolumeResponse) Reset()

func (*AttachVolumeResponse) String

func (x *AttachVolumeResponse) String() string

type CleanImagesRequest

type CleanImagesRequest struct {
	ConfigDir string `protobuf:"bytes,1,opt,name=config_dir,json=configDir,proto3" json:"config_dir,omitempty"`
	DryRun    bool   `protobuf:"varint,2,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
	// contains filtered or unexported fields
}

func (*CleanImagesRequest) Descriptor deprecated

func (*CleanImagesRequest) Descriptor() ([]byte, []int)

Deprecated: Use CleanImagesRequest.ProtoReflect.Descriptor instead.

func (*CleanImagesRequest) GetConfigDir

func (x *CleanImagesRequest) GetConfigDir() string

func (*CleanImagesRequest) GetDryRun

func (x *CleanImagesRequest) GetDryRun() bool

func (*CleanImagesRequest) ProtoMessage

func (*CleanImagesRequest) ProtoMessage()

func (*CleanImagesRequest) ProtoReflect

func (x *CleanImagesRequest) ProtoReflect() protoreflect.Message

func (*CleanImagesRequest) Reset

func (x *CleanImagesRequest) Reset()

func (*CleanImagesRequest) String

func (x *CleanImagesRequest) String() string

type CleanImagesResponse

type CleanImagesResponse struct {
	Deleted []string `protobuf:"bytes,1,rep,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*CleanImagesResponse) Descriptor deprecated

func (*CleanImagesResponse) Descriptor() ([]byte, []int)

Deprecated: Use CleanImagesResponse.ProtoReflect.Descriptor instead.

func (*CleanImagesResponse) GetDeleted

func (x *CleanImagesResponse) GetDeleted() []string

func (*CleanImagesResponse) ProtoMessage

func (*CleanImagesResponse) ProtoMessage()

func (*CleanImagesResponse) ProtoReflect

func (x *CleanImagesResponse) ProtoReflect() protoreflect.Message

func (*CleanImagesResponse) Reset

func (x *CleanImagesResponse) Reset()

func (*CleanImagesResponse) String

func (x *CleanImagesResponse) String() string

type ControlHelloAck

type ControlHelloAck struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

ControlHelloAck is the control plane's confirmation that the stream is live + the host is registered. session_id is a per-connection nonce the agent echoes back in Pongs (useful for the control plane to spot a stale stream that survived across a reconnect race).

func (*ControlHelloAck) Descriptor deprecated

func (*ControlHelloAck) Descriptor() ([]byte, []int)

Deprecated: Use ControlHelloAck.ProtoReflect.Descriptor instead.

func (*ControlHelloAck) GetSessionId

func (x *ControlHelloAck) GetSessionId() string

func (*ControlHelloAck) ProtoMessage

func (*ControlHelloAck) ProtoMessage()

func (*ControlHelloAck) ProtoReflect

func (x *ControlHelloAck) ProtoReflect() protoreflect.Message

func (*ControlHelloAck) Reset

func (x *ControlHelloAck) Reset()

func (*ControlHelloAck) String

func (x *ControlHelloAck) String() string

type ControlMessage

type ControlMessage struct {

	// Types that are valid to be assigned to Body:
	//
	//	*ControlMessage_HelloAck
	//	*ControlMessage_Ping
	//	*ControlMessage_Request
	Body isControlMessage_Body `protobuf_oneof:"body"`
	// contains filtered or unexported fields
}

ControlMessage is what the control plane sends down the stream. The agent processes each one then sends a corresponding AgentMessage back (Pong for Ping, DriverReply for DriverRequest).

func (*ControlMessage) Descriptor deprecated

func (*ControlMessage) Descriptor() ([]byte, []int)

Deprecated: Use ControlMessage.ProtoReflect.Descriptor instead.

func (*ControlMessage) GetBody

func (x *ControlMessage) GetBody() isControlMessage_Body

func (*ControlMessage) GetHelloAck

func (x *ControlMessage) GetHelloAck() *ControlHelloAck

func (*ControlMessage) GetPing

func (x *ControlMessage) GetPing() *ControlPing

func (*ControlMessage) GetRequest

func (x *ControlMessage) GetRequest() *DriverRequest

func (*ControlMessage) ProtoMessage

func (*ControlMessage) ProtoMessage()

func (*ControlMessage) ProtoReflect

func (x *ControlMessage) ProtoReflect() protoreflect.Message

func (*ControlMessage) Reset

func (x *ControlMessage) Reset()

func (*ControlMessage) String

func (x *ControlMessage) String() string

type ControlMessage_HelloAck

type ControlMessage_HelloAck struct {
	HelloAck *ControlHelloAck `protobuf:"bytes,1,opt,name=hello_ack,json=helloAck,proto3,oneof"`
}

type ControlMessage_Ping

type ControlMessage_Ping struct {
	Ping *ControlPing `protobuf:"bytes,2,opt,name=ping,proto3,oneof"`
}

type ControlMessage_Request

type ControlMessage_Request struct {
	Request *DriverRequest `protobuf:"bytes,3,opt,name=request,proto3,oneof"`
}

type ControlPing

type ControlPing struct {
	SessionId  string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	SentUnixNs int64  `protobuf:"varint,2,opt,name=sent_unix_ns,json=sentUnixNs,proto3" json:"sent_unix_ns,omitempty"` // for round-trip telemetry
	// contains filtered or unexported fields
}

ControlPing is the control plane's keepalive probe ; the agent echoes session_id back in an AgentPong so the control plane knows the stream is alive AND owned by the expected session.

func (*ControlPing) Descriptor deprecated

func (*ControlPing) Descriptor() ([]byte, []int)

Deprecated: Use ControlPing.ProtoReflect.Descriptor instead.

func (*ControlPing) GetSentUnixNs

func (x *ControlPing) GetSentUnixNs() int64

func (*ControlPing) GetSessionId

func (x *ControlPing) GetSessionId() string

func (*ControlPing) ProtoMessage

func (*ControlPing) ProtoMessage()

func (*ControlPing) ProtoReflect

func (x *ControlPing) ProtoReflect() protoreflect.Message

func (*ControlPing) Reset

func (x *ControlPing) Reset()

func (*ControlPing) String

func (x *ControlPing) String() string

type CreateNetworkRequest

type CreateNetworkRequest struct {
	Project    string   `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // name or UUID
	Name       string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Cidr       string   `protobuf:"bytes,3,opt,name=cidr,proto3" json:"cidr,omitempty"`
	Gateway    string   `protobuf:"bytes,4,opt,name=gateway,proto3" json:"gateway,omitempty"`
	DnsServers []string `protobuf:"bytes,5,rep,name=dns_servers,json=dnsServers,proto3" json:"dns_servers,omitempty"`
	Type       string   `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` // empty → "nat"
	// contains filtered or unexported fields
}

func (*CreateNetworkRequest) Descriptor deprecated

func (*CreateNetworkRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateNetworkRequest.ProtoReflect.Descriptor instead.

func (*CreateNetworkRequest) GetCidr

func (x *CreateNetworkRequest) GetCidr() string

func (*CreateNetworkRequest) GetDnsServers

func (x *CreateNetworkRequest) GetDnsServers() []string

func (*CreateNetworkRequest) GetGateway

func (x *CreateNetworkRequest) GetGateway() string

func (*CreateNetworkRequest) GetName

func (x *CreateNetworkRequest) GetName() string

func (*CreateNetworkRequest) GetProject

func (x *CreateNetworkRequest) GetProject() string

func (*CreateNetworkRequest) GetType

func (x *CreateNetworkRequest) GetType() string

func (*CreateNetworkRequest) ProtoMessage

func (*CreateNetworkRequest) ProtoMessage()

func (*CreateNetworkRequest) ProtoReflect

func (x *CreateNetworkRequest) ProtoReflect() protoreflect.Message

func (*CreateNetworkRequest) Reset

func (x *CreateNetworkRequest) Reset()

func (*CreateNetworkRequest) String

func (x *CreateNetworkRequest) String() string

type CreateNetworkResponse

type CreateNetworkResponse struct {
	Network *NetworkInfo `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNetworkResponse) Descriptor deprecated

func (*CreateNetworkResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateNetworkResponse.ProtoReflect.Descriptor instead.

func (*CreateNetworkResponse) GetNetwork

func (x *CreateNetworkResponse) GetNetwork() *NetworkInfo

func (*CreateNetworkResponse) ProtoMessage

func (*CreateNetworkResponse) ProtoMessage()

func (*CreateNetworkResponse) ProtoReflect

func (x *CreateNetworkResponse) ProtoReflect() protoreflect.Message

func (*CreateNetworkResponse) Reset

func (x *CreateNetworkResponse) Reset()

func (*CreateNetworkResponse) String

func (x *CreateNetworkResponse) String() string

type CreateProjectRequest

type CreateProjectRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProjectRequest) Descriptor deprecated

func (*CreateProjectRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateProjectRequest.ProtoReflect.Descriptor instead.

func (*CreateProjectRequest) GetName

func (x *CreateProjectRequest) GetName() string

func (*CreateProjectRequest) ProtoMessage

func (*CreateProjectRequest) ProtoMessage()

func (*CreateProjectRequest) ProtoReflect

func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message

func (*CreateProjectRequest) Reset

func (x *CreateProjectRequest) Reset()

func (*CreateProjectRequest) String

func (x *CreateProjectRequest) String() string

type CreateProjectResponse

type CreateProjectResponse struct {
	Project *ProjectInfo `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Created bool         `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProjectResponse) Descriptor deprecated

func (*CreateProjectResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateProjectResponse.ProtoReflect.Descriptor instead.

func (*CreateProjectResponse) GetCreated

func (x *CreateProjectResponse) GetCreated() bool

func (*CreateProjectResponse) GetProject

func (x *CreateProjectResponse) GetProject() *ProjectInfo

func (*CreateProjectResponse) ProtoMessage

func (*CreateProjectResponse) ProtoMessage()

func (*CreateProjectResponse) ProtoReflect

func (x *CreateProjectResponse) ProtoReflect() protoreflect.Message

func (*CreateProjectResponse) Reset

func (x *CreateProjectResponse) Reset()

func (*CreateProjectResponse) String

func (x *CreateProjectResponse) String() string

type CreateSecurityGroupRequest

type CreateSecurityGroupRequest struct {
	Project     string          `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Name        string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string          `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Rules       []*SecurityRule `protobuf:"bytes,4,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSecurityGroupRequest) Descriptor deprecated

func (*CreateSecurityGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateSecurityGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateSecurityGroupRequest) GetDescription

func (x *CreateSecurityGroupRequest) GetDescription() string

func (*CreateSecurityGroupRequest) GetName

func (x *CreateSecurityGroupRequest) GetName() string

func (*CreateSecurityGroupRequest) GetProject

func (x *CreateSecurityGroupRequest) GetProject() string

func (*CreateSecurityGroupRequest) GetRules

func (x *CreateSecurityGroupRequest) GetRules() []*SecurityRule

func (*CreateSecurityGroupRequest) ProtoMessage

func (*CreateSecurityGroupRequest) ProtoMessage()

func (*CreateSecurityGroupRequest) ProtoReflect

func (*CreateSecurityGroupRequest) Reset

func (x *CreateSecurityGroupRequest) Reset()

func (*CreateSecurityGroupRequest) String

func (x *CreateSecurityGroupRequest) String() string

type CreateSecurityGroupResponse

type CreateSecurityGroupResponse struct {
	Group *SecurityGroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSecurityGroupResponse) Descriptor deprecated

func (*CreateSecurityGroupResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateSecurityGroupResponse.ProtoReflect.Descriptor instead.

func (*CreateSecurityGroupResponse) GetGroup

func (*CreateSecurityGroupResponse) ProtoMessage

func (*CreateSecurityGroupResponse) ProtoMessage()

func (*CreateSecurityGroupResponse) ProtoReflect

func (*CreateSecurityGroupResponse) Reset

func (x *CreateSecurityGroupResponse) Reset()

func (*CreateSecurityGroupResponse) String

func (x *CreateSecurityGroupResponse) String() string

type CreateShareRequest

type CreateShareRequest struct {
	Project  string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // name or UUID
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	SizeGb   int64  `protobuf:"varint,3,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
	Readonly bool   `protobuf:"varint,4,opt,name=readonly,proto3" json:"readonly,omitempty"`
	Backend  string `protobuf:"bytes,5,opt,name=backend,proto3" json:"backend,omitempty"` // empty → "cubefs"
	// contains filtered or unexported fields
}

func (*CreateShareRequest) Descriptor deprecated

func (*CreateShareRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateShareRequest.ProtoReflect.Descriptor instead.

func (*CreateShareRequest) GetBackend

func (x *CreateShareRequest) GetBackend() string

func (*CreateShareRequest) GetName

func (x *CreateShareRequest) GetName() string

func (*CreateShareRequest) GetProject

func (x *CreateShareRequest) GetProject() string

func (*CreateShareRequest) GetReadonly

func (x *CreateShareRequest) GetReadonly() bool

func (*CreateShareRequest) GetSizeGb

func (x *CreateShareRequest) GetSizeGb() int64

func (*CreateShareRequest) ProtoMessage

func (*CreateShareRequest) ProtoMessage()

func (*CreateShareRequest) ProtoReflect

func (x *CreateShareRequest) ProtoReflect() protoreflect.Message

func (*CreateShareRequest) Reset

func (x *CreateShareRequest) Reset()

func (*CreateShareRequest) String

func (x *CreateShareRequest) String() string

type CreateShareResponse

type CreateShareResponse struct {
	Share *ShareInfo `protobuf:"bytes,1,opt,name=share,proto3" json:"share,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateShareResponse) Descriptor deprecated

func (*CreateShareResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateShareResponse.ProtoReflect.Descriptor instead.

func (*CreateShareResponse) GetShare

func (x *CreateShareResponse) GetShare() *ShareInfo

func (*CreateShareResponse) ProtoMessage

func (*CreateShareResponse) ProtoMessage()

func (*CreateShareResponse) ProtoReflect

func (x *CreateShareResponse) ProtoReflect() protoreflect.Message

func (*CreateShareResponse) Reset

func (x *CreateShareResponse) Reset()

func (*CreateShareResponse) String

func (x *CreateShareResponse) String() string

type CreateTenantRequest

type CreateTenantRequest struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTenantRequest) Descriptor deprecated

func (*CreateTenantRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateTenantRequest.ProtoReflect.Descriptor instead.

func (*CreateTenantRequest) GetDomain

func (x *CreateTenantRequest) GetDomain() string

func (*CreateTenantRequest) GetName

func (x *CreateTenantRequest) GetName() string

func (*CreateTenantRequest) ProtoMessage

func (*CreateTenantRequest) ProtoMessage()

func (*CreateTenantRequest) ProtoReflect

func (x *CreateTenantRequest) ProtoReflect() protoreflect.Message

func (*CreateTenantRequest) Reset

func (x *CreateTenantRequest) Reset()

func (*CreateTenantRequest) String

func (x *CreateTenantRequest) String() string

type CreateTenantResponse

type CreateTenantResponse struct {
	Tenant *TenantInfo `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTenantResponse) Descriptor deprecated

func (*CreateTenantResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateTenantResponse.ProtoReflect.Descriptor instead.

func (*CreateTenantResponse) GetTenant

func (x *CreateTenantResponse) GetTenant() *TenantInfo

func (*CreateTenantResponse) ProtoMessage

func (*CreateTenantResponse) ProtoMessage()

func (*CreateTenantResponse) ProtoReflect

func (x *CreateTenantResponse) ProtoReflect() protoreflect.Message

func (*CreateTenantResponse) Reset

func (x *CreateTenantResponse) Reset()

func (*CreateTenantResponse) String

func (x *CreateTenantResponse) String() string

type CreateVMOp

type CreateVMOp struct {

	// VM identity. UUID can be empty to mint server-side ; non-
	// empty UUID supports idempotent retry / reconnect.
	VmUuid  string `protobuf:"bytes,1,opt,name=vm_uuid,json=vmUuid,proto3" json:"vm_uuid,omitempty"`
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Image   string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"`
	Cpu     uint32 `protobuf:"varint,4,opt,name=cpu,proto3" json:"cpu,omitempty"`
	MemMb   uint64 `protobuf:"varint,5,opt,name=mem_mb,json=memMb,proto3" json:"mem_mb,omitempty"`
	DiskGb  uint64 `protobuf:"varint,6,opt,name=disk_gb,json=diskGb,proto3" json:"disk_gb,omitempty"`
	// contains filtered or unexported fields
}

CreateVMOp dispatches a CreateVM driver call to the agent's local Hypervisor driver. The agent's response includes the VM UUID the driver assigned.

func (*CreateVMOp) Descriptor deprecated

func (*CreateVMOp) Descriptor() ([]byte, []int)

Deprecated: Use CreateVMOp.ProtoReflect.Descriptor instead.

func (*CreateVMOp) GetCpu

func (x *CreateVMOp) GetCpu() uint32

func (*CreateVMOp) GetDiskGb

func (x *CreateVMOp) GetDiskGb() uint64

func (*CreateVMOp) GetImage

func (x *CreateVMOp) GetImage() string

func (*CreateVMOp) GetMemMb

func (x *CreateVMOp) GetMemMb() uint64

func (*CreateVMOp) GetProject

func (x *CreateVMOp) GetProject() string

func (*CreateVMOp) GetVmUuid

func (x *CreateVMOp) GetVmUuid() string

func (*CreateVMOp) ProtoMessage

func (*CreateVMOp) ProtoMessage()

func (*CreateVMOp) ProtoReflect

func (x *CreateVMOp) ProtoReflect() protoreflect.Message

func (*CreateVMOp) Reset

func (x *CreateVMOp) Reset()

func (*CreateVMOp) String

func (x *CreateVMOp) String() string

type CreateVMRequest

type CreateVMRequest struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Image   string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	Cpu     uint32 `protobuf:"varint,3,opt,name=cpu,proto3" json:"cpu,omitempty"`
	MemMb   uint64 `protobuf:"varint,4,opt,name=mem_mb,json=memMb,proto3" json:"mem_mb,omitempty"`
	DiskGb  uint64 `protobuf:"varint,5,opt,name=disk_gb,json=diskGb,proto3" json:"disk_gb,omitempty"`
	Project string `protobuf:"bytes,7,opt,name=project,proto3" json:"project,omitempty"`
	// Nominal binding to a scheduling rule. When set, this VM is counted
	// under the named rule regardless of label matching ; the rule's
	// selector then only applies to VMs that have NO explicit binding
	// (discovery path). Editing a rule's selector therefore never
	// dislodges nominally-bound VMs — the property that makes selectors
	// safe to refine in production. Empty = discovery path only.
	//
	// Pull/reconcile model : weft-agent persists this on the VMRecord
	// and emits a vm.created event ; weft-network's reconcile loop
	// applies the binding. No agent→network call in the hot path.
	SchedulingRule string `protobuf:"bytes,8,opt,name=scheduling_rule,json=schedulingRule,proto3" json:"scheduling_rule,omitempty"`
	// Private network to attach the primary NIC to. Empty = the
	// project's default network. Same pull/reconcile semantics as
	// scheduling_rule — weft-agent stores the label, weft-network
	// reconciles AttachVM on its own. Editing the field on a live VM
	// is a separate concern (not handled by CreateVM).
	Network string `protobuf:"bytes,9,opt,name=network,proto3" json:"network,omitempty"`
	// requested_gpus is the GPU passthrough shape persisted on the
	// VMRecord and enforced by tenant_quotas at admission. Empty =
	// no GPU passthrough. The scheduler picks a host whose inventory
	// satisfies every entry ; the driver resolves to BDFs/MIG UUIDs
	// at StartVM. Closes the loop noted in tenant_quotas
	// (EnforceTenantQuotaForGPU previously got nil because the proto
	// did not carry the field — see commit 2ca4fce).
	RequestedGpus []*GPURequest `protobuf:"bytes,10,rep,name=requested_gpus,json=requestedGpus,proto3" json:"requested_gpus,omitempty"`
	// requested_pci is the generic (non-GPU) PCI passthrough shape
	// persisted on the VMRecord. Same matching/lifecycle semantics
	// as requested_gpus. Empty = no PCI passthrough. Operators use
	// it for NIC, NVMe, FPGA, sound-card passthrough — anything the
	// host exposes through its PCI inventory that isn't a GPU.
	RequestedPci []*PCIPassthroughRequest `protobuf:"bytes,11,rep,name=requested_pci,json=requestedPci,proto3" json:"requested_pci,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateVMRequest) Descriptor deprecated

func (*CreateVMRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateVMRequest.ProtoReflect.Descriptor instead.

func (*CreateVMRequest) GetCpu

func (x *CreateVMRequest) GetCpu() uint32

func (*CreateVMRequest) GetDiskGb

func (x *CreateVMRequest) GetDiskGb() uint64

func (*CreateVMRequest) GetImage

func (x *CreateVMRequest) GetImage() string

func (*CreateVMRequest) GetMemMb

func (x *CreateVMRequest) GetMemMb() uint64

func (*CreateVMRequest) GetName

func (x *CreateVMRequest) GetName() string

func (*CreateVMRequest) GetNetwork

func (x *CreateVMRequest) GetNetwork() string

func (*CreateVMRequest) GetProject

func (x *CreateVMRequest) GetProject() string

func (*CreateVMRequest) GetRequestedGpus

func (x *CreateVMRequest) GetRequestedGpus() []*GPURequest

func (*CreateVMRequest) GetRequestedPci

func (x *CreateVMRequest) GetRequestedPci() []*PCIPassthroughRequest

func (*CreateVMRequest) GetSchedulingRule

func (x *CreateVMRequest) GetSchedulingRule() string

func (*CreateVMRequest) ProtoMessage

func (*CreateVMRequest) ProtoMessage()

func (*CreateVMRequest) ProtoReflect

func (x *CreateVMRequest) ProtoReflect() protoreflect.Message

func (*CreateVMRequest) Reset

func (x *CreateVMRequest) Reset()

func (*CreateVMRequest) String

func (x *CreateVMRequest) String() string

type CreateVMResponse

type CreateVMResponse struct {
	// contains filtered or unexported fields
}

func (*CreateVMResponse) Descriptor deprecated

func (*CreateVMResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateVMResponse.ProtoReflect.Descriptor instead.

func (*CreateVMResponse) ProtoMessage

func (*CreateVMResponse) ProtoMessage()

func (*CreateVMResponse) ProtoReflect

func (x *CreateVMResponse) ProtoReflect() protoreflect.Message

func (*CreateVMResponse) Reset

func (x *CreateVMResponse) Reset()

func (*CreateVMResponse) String

func (x *CreateVMResponse) String() string

type CreateVMResult

type CreateVMResult struct {
	VmUuid string `protobuf:"bytes,1,opt,name=vm_uuid,json=vmUuid,proto3" json:"vm_uuid,omitempty"`
	// contains filtered or unexported fields
}

CreateVMResult is the success-side payload — the VM UUID the driver assigned (matches `vm_uuid` from the request when set, freshly minted otherwise).

func (*CreateVMResult) Descriptor deprecated

func (*CreateVMResult) Descriptor() ([]byte, []int)

Deprecated: Use CreateVMResult.ProtoReflect.Descriptor instead.

func (*CreateVMResult) GetVmUuid

func (x *CreateVMResult) GetVmUuid() string

func (*CreateVMResult) ProtoMessage

func (*CreateVMResult) ProtoMessage()

func (*CreateVMResult) ProtoReflect

func (x *CreateVMResult) ProtoReflect() protoreflect.Message

func (*CreateVMResult) Reset

func (x *CreateVMResult) Reset()

func (*CreateVMResult) String

func (x *CreateVMResult) String() string

type CreateVolumeRequest

type CreateVolumeRequest struct {
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // name or UUID; resolved server-side
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	SizeGib int64  `protobuf:"varint,3,opt,name=size_gib,json=sizeGib,proto3" json:"size_gib,omitempty"`
	Format  string `protobuf:"bytes,4,opt,name=format,proto3" json:"format,omitempty"` // empty → "raw"
	// contains filtered or unexported fields
}

func (*CreateVolumeRequest) Descriptor deprecated

func (*CreateVolumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateVolumeRequest.ProtoReflect.Descriptor instead.

func (*CreateVolumeRequest) GetFormat

func (x *CreateVolumeRequest) GetFormat() string

func (*CreateVolumeRequest) GetName

func (x *CreateVolumeRequest) GetName() string

func (*CreateVolumeRequest) GetProject

func (x *CreateVolumeRequest) GetProject() string

func (*CreateVolumeRequest) GetSizeGib

func (x *CreateVolumeRequest) GetSizeGib() int64

func (*CreateVolumeRequest) ProtoMessage

func (*CreateVolumeRequest) ProtoMessage()

func (*CreateVolumeRequest) ProtoReflect

func (x *CreateVolumeRequest) ProtoReflect() protoreflect.Message

func (*CreateVolumeRequest) Reset

func (x *CreateVolumeRequest) Reset()

func (*CreateVolumeRequest) String

func (x *CreateVolumeRequest) String() string

type CreateVolumeResponse

type CreateVolumeResponse struct {
	Volume *VolumeInfo `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateVolumeResponse) Descriptor deprecated

func (*CreateVolumeResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateVolumeResponse.ProtoReflect.Descriptor instead.

func (*CreateVolumeResponse) GetVolume

func (x *CreateVolumeResponse) GetVolume() *VolumeInfo

func (*CreateVolumeResponse) ProtoMessage

func (*CreateVolumeResponse) ProtoMessage()

func (*CreateVolumeResponse) ProtoReflect

func (x *CreateVolumeResponse) ProtoReflect() protoreflect.Message

func (*CreateVolumeResponse) Reset

func (x *CreateVolumeResponse) Reset()

func (*CreateVolumeResponse) String

func (x *CreateVolumeResponse) String() string

type CreateVolumeSnapshotRequest

type CreateVolumeSnapshotRequest struct {
	VolumeUuid string `protobuf:"bytes,1,opt,name=volume_uuid,json=volumeUuid,proto3" json:"volume_uuid,omitempty"`
	Name       string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Project    string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateVolumeSnapshotRequest) Descriptor deprecated

func (*CreateVolumeSnapshotRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateVolumeSnapshotRequest.ProtoReflect.Descriptor instead.

func (*CreateVolumeSnapshotRequest) GetName

func (x *CreateVolumeSnapshotRequest) GetName() string

func (*CreateVolumeSnapshotRequest) GetProject

func (x *CreateVolumeSnapshotRequest) GetProject() string

func (*CreateVolumeSnapshotRequest) GetVolumeUuid

func (x *CreateVolumeSnapshotRequest) GetVolumeUuid() string

func (*CreateVolumeSnapshotRequest) ProtoMessage

func (*CreateVolumeSnapshotRequest) ProtoMessage()

func (*CreateVolumeSnapshotRequest) ProtoReflect

func (*CreateVolumeSnapshotRequest) Reset

func (x *CreateVolumeSnapshotRequest) Reset()

func (*CreateVolumeSnapshotRequest) String

func (x *CreateVolumeSnapshotRequest) String() string

type CreateVolumeSnapshotResponse

type CreateVolumeSnapshotResponse struct {
	Snapshot *VolumeSnapshotInfo `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateVolumeSnapshotResponse) Descriptor deprecated

func (*CreateVolumeSnapshotResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateVolumeSnapshotResponse.ProtoReflect.Descriptor instead.

func (*CreateVolumeSnapshotResponse) GetSnapshot

func (*CreateVolumeSnapshotResponse) ProtoMessage

func (*CreateVolumeSnapshotResponse) ProtoMessage()

func (*CreateVolumeSnapshotResponse) ProtoReflect

func (*CreateVolumeSnapshotResponse) Reset

func (x *CreateVolumeSnapshotResponse) Reset()

func (*CreateVolumeSnapshotResponse) String

type CubeFSMount

type CubeFSMount struct {
	Volume    string   `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	Masters   []string `protobuf:"bytes,2,rep,name=masters,proto3" json:"masters,omitempty"` // CubeFS master node "host:port" list
	Owner     string   `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
	AccessKey string   `protobuf:"bytes,4,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"`
	SecretKey string   `protobuf:"bytes,5,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	Subdir    string   `protobuf:"bytes,6,opt,name=subdir,proto3" json:"subdir,omitempty"`
	// contains filtered or unexported fields
}

func (*CubeFSMount) Descriptor deprecated

func (*CubeFSMount) Descriptor() ([]byte, []int)

Deprecated: Use CubeFSMount.ProtoReflect.Descriptor instead.

func (*CubeFSMount) GetAccessKey

func (x *CubeFSMount) GetAccessKey() string

func (*CubeFSMount) GetMasters

func (x *CubeFSMount) GetMasters() []string

func (*CubeFSMount) GetOwner

func (x *CubeFSMount) GetOwner() string

func (*CubeFSMount) GetSecretKey

func (x *CubeFSMount) GetSecretKey() string

func (*CubeFSMount) GetSubdir

func (x *CubeFSMount) GetSubdir() string

func (*CubeFSMount) GetVolume

func (x *CubeFSMount) GetVolume() string

func (*CubeFSMount) ProtoMessage

func (*CubeFSMount) ProtoMessage()

func (*CubeFSMount) ProtoReflect

func (x *CubeFSMount) ProtoReflect() protoreflect.Message

func (*CubeFSMount) Reset

func (x *CubeFSMount) Reset()

func (*CubeFSMount) String

func (x *CubeFSMount) String() string

type DeleteFlavorRequest

type DeleteFlavorRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteFlavorRequest) Descriptor deprecated

func (*DeleteFlavorRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteFlavorRequest.ProtoReflect.Descriptor instead.

func (*DeleteFlavorRequest) GetName

func (x *DeleteFlavorRequest) GetName() string

func (*DeleteFlavorRequest) ProtoMessage

func (*DeleteFlavorRequest) ProtoMessage()

func (*DeleteFlavorRequest) ProtoReflect

func (x *DeleteFlavorRequest) ProtoReflect() protoreflect.Message

func (*DeleteFlavorRequest) Reset

func (x *DeleteFlavorRequest) Reset()

func (*DeleteFlavorRequest) String

func (x *DeleteFlavorRequest) String() string

type DeleteFlavorResponse

type DeleteFlavorResponse struct {
	Deleted string `protobuf:"bytes,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteFlavorResponse) Descriptor deprecated

func (*DeleteFlavorResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteFlavorResponse.ProtoReflect.Descriptor instead.

func (*DeleteFlavorResponse) GetDeleted

func (x *DeleteFlavorResponse) GetDeleted() string

func (*DeleteFlavorResponse) ProtoMessage

func (*DeleteFlavorResponse) ProtoMessage()

func (*DeleteFlavorResponse) ProtoReflect

func (x *DeleteFlavorResponse) ProtoReflect() protoreflect.Message

func (*DeleteFlavorResponse) Reset

func (x *DeleteFlavorResponse) Reset()

func (*DeleteFlavorResponse) String

func (x *DeleteFlavorResponse) String() string

type DeleteHostRequest

type DeleteHostRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

DeleteHost removes a host from the registry. The operator should drain + stop the host's VMs first ; the server does not move workloads automatically.

func (*DeleteHostRequest) Descriptor deprecated

func (*DeleteHostRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteHostRequest.ProtoReflect.Descriptor instead.

func (*DeleteHostRequest) GetUuid

func (x *DeleteHostRequest) GetUuid() string

func (*DeleteHostRequest) ProtoMessage

func (*DeleteHostRequest) ProtoMessage()

func (*DeleteHostRequest) ProtoReflect

func (x *DeleteHostRequest) ProtoReflect() protoreflect.Message

func (*DeleteHostRequest) Reset

func (x *DeleteHostRequest) Reset()

func (*DeleteHostRequest) String

func (x *DeleteHostRequest) String() string

type DeleteHostResponse

type DeleteHostResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteHostResponse) Descriptor deprecated

func (*DeleteHostResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteHostResponse.ProtoReflect.Descriptor instead.

func (*DeleteHostResponse) ProtoMessage

func (*DeleteHostResponse) ProtoMessage()

func (*DeleteHostResponse) ProtoReflect

func (x *DeleteHostResponse) ProtoReflect() protoreflect.Message

func (*DeleteHostResponse) Reset

func (x *DeleteHostResponse) Reset()

func (*DeleteHostResponse) String

func (x *DeleteHostResponse) String() string

type DeleteNetworkRequest

type DeleteNetworkRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteNetworkRequest) Descriptor deprecated

func (*DeleteNetworkRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNetworkRequest.ProtoReflect.Descriptor instead.

func (*DeleteNetworkRequest) GetUuid

func (x *DeleteNetworkRequest) GetUuid() string

func (*DeleteNetworkRequest) ProtoMessage

func (*DeleteNetworkRequest) ProtoMessage()

func (*DeleteNetworkRequest) ProtoReflect

func (x *DeleteNetworkRequest) ProtoReflect() protoreflect.Message

func (*DeleteNetworkRequest) Reset

func (x *DeleteNetworkRequest) Reset()

func (*DeleteNetworkRequest) String

func (x *DeleteNetworkRequest) String() string

type DeleteNetworkResponse

type DeleteNetworkResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteNetworkResponse) Descriptor deprecated

func (*DeleteNetworkResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNetworkResponse.ProtoReflect.Descriptor instead.

func (*DeleteNetworkResponse) ProtoMessage

func (*DeleteNetworkResponse) ProtoMessage()

func (*DeleteNetworkResponse) ProtoReflect

func (x *DeleteNetworkResponse) ProtoReflect() protoreflect.Message

func (*DeleteNetworkResponse) Reset

func (x *DeleteNetworkResponse) Reset()

func (*DeleteNetworkResponse) String

func (x *DeleteNetworkResponse) String() string

type DeleteProjectRequest

type DeleteProjectRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

DeleteProject refuses when the project still has VMs.

func (*DeleteProjectRequest) Descriptor deprecated

func (*DeleteProjectRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProjectRequest.ProtoReflect.Descriptor instead.

func (*DeleteProjectRequest) GetUuid

func (x *DeleteProjectRequest) GetUuid() string

func (*DeleteProjectRequest) ProtoMessage

func (*DeleteProjectRequest) ProtoMessage()

func (*DeleteProjectRequest) ProtoReflect

func (x *DeleteProjectRequest) ProtoReflect() protoreflect.Message

func (*DeleteProjectRequest) Reset

func (x *DeleteProjectRequest) Reset()

func (*DeleteProjectRequest) String

func (x *DeleteProjectRequest) String() string

type DeleteProjectResponse

type DeleteProjectResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteProjectResponse) Descriptor deprecated

func (*DeleteProjectResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProjectResponse.ProtoReflect.Descriptor instead.

func (*DeleteProjectResponse) ProtoMessage

func (*DeleteProjectResponse) ProtoMessage()

func (*DeleteProjectResponse) ProtoReflect

func (x *DeleteProjectResponse) ProtoReflect() protoreflect.Message

func (*DeleteProjectResponse) Reset

func (x *DeleteProjectResponse) Reset()

func (*DeleteProjectResponse) String

func (x *DeleteProjectResponse) String() string

type DeleteScriptRequest

type DeleteScriptRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteScriptRequest) Descriptor deprecated

func (*DeleteScriptRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteScriptRequest.ProtoReflect.Descriptor instead.

func (*DeleteScriptRequest) GetName

func (x *DeleteScriptRequest) GetName() string

func (*DeleteScriptRequest) ProtoMessage

func (*DeleteScriptRequest) ProtoMessage()

func (*DeleteScriptRequest) ProtoReflect

func (x *DeleteScriptRequest) ProtoReflect() protoreflect.Message

func (*DeleteScriptRequest) Reset

func (x *DeleteScriptRequest) Reset()

func (*DeleteScriptRequest) String

func (x *DeleteScriptRequest) String() string

type DeleteScriptResponse

type DeleteScriptResponse struct {
	Deleted string `protobuf:"bytes,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteScriptResponse) Descriptor deprecated

func (*DeleteScriptResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteScriptResponse.ProtoReflect.Descriptor instead.

func (*DeleteScriptResponse) GetDeleted

func (x *DeleteScriptResponse) GetDeleted() string

func (*DeleteScriptResponse) ProtoMessage

func (*DeleteScriptResponse) ProtoMessage()

func (*DeleteScriptResponse) ProtoReflect

func (x *DeleteScriptResponse) ProtoReflect() protoreflect.Message

func (*DeleteScriptResponse) Reset

func (x *DeleteScriptResponse) Reset()

func (*DeleteScriptResponse) String

func (x *DeleteScriptResponse) String() string

type DeleteSecurityGroupRequest

type DeleteSecurityGroupRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSecurityGroupRequest) Descriptor deprecated

func (*DeleteSecurityGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSecurityGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteSecurityGroupRequest) GetUuid

func (x *DeleteSecurityGroupRequest) GetUuid() string

func (*DeleteSecurityGroupRequest) ProtoMessage

func (*DeleteSecurityGroupRequest) ProtoMessage()

func (*DeleteSecurityGroupRequest) ProtoReflect

func (*DeleteSecurityGroupRequest) Reset

func (x *DeleteSecurityGroupRequest) Reset()

func (*DeleteSecurityGroupRequest) String

func (x *DeleteSecurityGroupRequest) String() string

type DeleteSecurityGroupResponse

type DeleteSecurityGroupResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteSecurityGroupResponse) Descriptor deprecated

func (*DeleteSecurityGroupResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSecurityGroupResponse.ProtoReflect.Descriptor instead.

func (*DeleteSecurityGroupResponse) ProtoMessage

func (*DeleteSecurityGroupResponse) ProtoMessage()

func (*DeleteSecurityGroupResponse) ProtoReflect

func (*DeleteSecurityGroupResponse) Reset

func (x *DeleteSecurityGroupResponse) Reset()

func (*DeleteSecurityGroupResponse) String

func (x *DeleteSecurityGroupResponse) String() string

type DeleteShareRequest

type DeleteShareRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteShareRequest) Descriptor deprecated

func (*DeleteShareRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteShareRequest.ProtoReflect.Descriptor instead.

func (*DeleteShareRequest) GetUuid

func (x *DeleteShareRequest) GetUuid() string

func (*DeleteShareRequest) ProtoMessage

func (*DeleteShareRequest) ProtoMessage()

func (*DeleteShareRequest) ProtoReflect

func (x *DeleteShareRequest) ProtoReflect() protoreflect.Message

func (*DeleteShareRequest) Reset

func (x *DeleteShareRequest) Reset()

func (*DeleteShareRequest) String

func (x *DeleteShareRequest) String() string

type DeleteShareResponse

type DeleteShareResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteShareResponse) Descriptor deprecated

func (*DeleteShareResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteShareResponse.ProtoReflect.Descriptor instead.

func (*DeleteShareResponse) ProtoMessage

func (*DeleteShareResponse) ProtoMessage()

func (*DeleteShareResponse) ProtoReflect

func (x *DeleteShareResponse) ProtoReflect() protoreflect.Message

func (*DeleteShareResponse) Reset

func (x *DeleteShareResponse) Reset()

func (*DeleteShareResponse) String

func (x *DeleteShareResponse) String() string

type DeleteTenantRequest

type DeleteTenantRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTenantRequest) Descriptor deprecated

func (*DeleteTenantRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTenantRequest.ProtoReflect.Descriptor instead.

func (*DeleteTenantRequest) GetUuid

func (x *DeleteTenantRequest) GetUuid() string

func (*DeleteTenantRequest) ProtoMessage

func (*DeleteTenantRequest) ProtoMessage()

func (*DeleteTenantRequest) ProtoReflect

func (x *DeleteTenantRequest) ProtoReflect() protoreflect.Message

func (*DeleteTenantRequest) Reset

func (x *DeleteTenantRequest) Reset()

func (*DeleteTenantRequest) String

func (x *DeleteTenantRequest) String() string

type DeleteTenantResponse

type DeleteTenantResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteTenantResponse) Descriptor deprecated

func (*DeleteTenantResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTenantResponse.ProtoReflect.Descriptor instead.

func (*DeleteTenantResponse) ProtoMessage

func (*DeleteTenantResponse) ProtoMessage()

func (*DeleteTenantResponse) ProtoReflect

func (x *DeleteTenantResponse) ProtoReflect() protoreflect.Message

func (*DeleteTenantResponse) Reset

func (x *DeleteTenantResponse) Reset()

func (*DeleteTenantResponse) String

func (x *DeleteTenantResponse) String() string

type DeleteUEFIVarRequest

type DeleteUEFIVarRequest struct {
	VmName    string `protobuf:"bytes,1,opt,name=vm_name,json=vmName,proto3" json:"vm_name,omitempty"`
	Project   string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUEFIVarRequest) Descriptor deprecated

func (*DeleteUEFIVarRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUEFIVarRequest.ProtoReflect.Descriptor instead.

func (*DeleteUEFIVarRequest) GetName

func (x *DeleteUEFIVarRequest) GetName() string

func (*DeleteUEFIVarRequest) GetNamespace

func (x *DeleteUEFIVarRequest) GetNamespace() string

func (*DeleteUEFIVarRequest) GetProject

func (x *DeleteUEFIVarRequest) GetProject() string

func (*DeleteUEFIVarRequest) GetVmName

func (x *DeleteUEFIVarRequest) GetVmName() string

func (*DeleteUEFIVarRequest) ProtoMessage

func (*DeleteUEFIVarRequest) ProtoMessage()

func (*DeleteUEFIVarRequest) ProtoReflect

func (x *DeleteUEFIVarRequest) ProtoReflect() protoreflect.Message

func (*DeleteUEFIVarRequest) Reset

func (x *DeleteUEFIVarRequest) Reset()

func (*DeleteUEFIVarRequest) String

func (x *DeleteUEFIVarRequest) String() string

type DeleteUEFIVarResponse

type DeleteUEFIVarResponse struct {
	Deleted string `protobuf:"bytes,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUEFIVarResponse) Descriptor deprecated

func (*DeleteUEFIVarResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUEFIVarResponse.ProtoReflect.Descriptor instead.

func (*DeleteUEFIVarResponse) GetDeleted

func (x *DeleteUEFIVarResponse) GetDeleted() string

func (*DeleteUEFIVarResponse) ProtoMessage

func (*DeleteUEFIVarResponse) ProtoMessage()

func (*DeleteUEFIVarResponse) ProtoReflect

func (x *DeleteUEFIVarResponse) ProtoReflect() protoreflect.Message

func (*DeleteUEFIVarResponse) Reset

func (x *DeleteUEFIVarResponse) Reset()

func (*DeleteUEFIVarResponse) String

func (x *DeleteUEFIVarResponse) String() string

type DeleteUserRequest

type DeleteUserRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

DeleteUser removes a registered user. Platform-admin only. Does NOT cascade onto resources the user owns — those are addressed by project ACL changes.

func (*DeleteUserRequest) Descriptor deprecated

func (*DeleteUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetUuid

func (x *DeleteUserRequest) GetUuid() string

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect

func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message

func (*DeleteUserRequest) Reset

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (x *DeleteUserRequest) String() string

type DeleteUserResponse

type DeleteUserResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteUserResponse) Descriptor deprecated

func (*DeleteUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserResponse) ProtoMessage

func (*DeleteUserResponse) ProtoMessage()

func (*DeleteUserResponse) ProtoReflect

func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message

func (*DeleteUserResponse) Reset

func (x *DeleteUserResponse) Reset()

func (*DeleteUserResponse) String

func (x *DeleteUserResponse) String() string

type DeleteVMOp

type DeleteVMOp struct {
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteVMOp dispatches a DeleteVM call to the agent. Removes the VM dir on the agent's host ; idempotent in spirit (a re-delete of a missing VM surfaces the Adapter's typed error rather than silently succeeding).

func (*DeleteVMOp) Descriptor deprecated

func (*DeleteVMOp) Descriptor() ([]byte, []int)

Deprecated: Use DeleteVMOp.ProtoReflect.Descriptor instead.

func (*DeleteVMOp) GetName

func (x *DeleteVMOp) GetName() string

func (*DeleteVMOp) GetProject

func (x *DeleteVMOp) GetProject() string

func (*DeleteVMOp) ProtoMessage

func (*DeleteVMOp) ProtoMessage()

func (*DeleteVMOp) ProtoReflect

func (x *DeleteVMOp) ProtoReflect() protoreflect.Message

func (*DeleteVMOp) Reset

func (x *DeleteVMOp) Reset()

func (*DeleteVMOp) String

func (x *DeleteVMOp) String() string

type DeleteVMPropertyRequest

type DeleteVMPropertyRequest struct {
	VmName  string `protobuf:"bytes,1,opt,name=vm_name,json=vmName,proto3" json:"vm_name,omitempty"`
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Key     string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteVMPropertyRequest) Descriptor deprecated

func (*DeleteVMPropertyRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteVMPropertyRequest.ProtoReflect.Descriptor instead.

func (*DeleteVMPropertyRequest) GetKey

func (x *DeleteVMPropertyRequest) GetKey() string

func (*DeleteVMPropertyRequest) GetProject

func (x *DeleteVMPropertyRequest) GetProject() string

func (*DeleteVMPropertyRequest) GetVmName

func (x *DeleteVMPropertyRequest) GetVmName() string

func (*DeleteVMPropertyRequest) ProtoMessage

func (*DeleteVMPropertyRequest) ProtoMessage()

func (*DeleteVMPropertyRequest) ProtoReflect

func (x *DeleteVMPropertyRequest) ProtoReflect() protoreflect.Message

func (*DeleteVMPropertyRequest) Reset

func (x *DeleteVMPropertyRequest) Reset()

func (*DeleteVMPropertyRequest) String

func (x *DeleteVMPropertyRequest) String() string

type DeleteVMPropertyResponse

type DeleteVMPropertyResponse struct {
	Deleted string `protobuf:"bytes,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteVMPropertyResponse) Descriptor deprecated

func (*DeleteVMPropertyResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteVMPropertyResponse.ProtoReflect.Descriptor instead.

func (*DeleteVMPropertyResponse) GetDeleted

func (x *DeleteVMPropertyResponse) GetDeleted() string

func (*DeleteVMPropertyResponse) ProtoMessage

func (*DeleteVMPropertyResponse) ProtoMessage()

func (*DeleteVMPropertyResponse) ProtoReflect

func (x *DeleteVMPropertyResponse) ProtoReflect() protoreflect.Message

func (*DeleteVMPropertyResponse) Reset

func (x *DeleteVMPropertyResponse) Reset()

func (*DeleteVMPropertyResponse) String

func (x *DeleteVMPropertyResponse) String() string

type DeleteVMRequest

type DeleteVMRequest struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Project  string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	HostUuid string `protobuf:"bytes,3,opt,name=host_uuid,json=hostUuid,proto3" json:"host_uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteVMRequest) Descriptor deprecated

func (*DeleteVMRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteVMRequest.ProtoReflect.Descriptor instead.

func (*DeleteVMRequest) GetHostUuid

func (x *DeleteVMRequest) GetHostUuid() string

func (*DeleteVMRequest) GetName

func (x *DeleteVMRequest) GetName() string

func (*DeleteVMRequest) GetProject

func (x *DeleteVMRequest) GetProject() string

func (*DeleteVMRequest) ProtoMessage

func (*DeleteVMRequest) ProtoMessage()

func (*DeleteVMRequest) ProtoReflect

func (x *DeleteVMRequest) ProtoReflect() protoreflect.Message

func (*DeleteVMRequest) Reset

func (x *DeleteVMRequest) Reset()

func (*DeleteVMRequest) String

func (x *DeleteVMRequest) String() string

type DeleteVMResponse

type DeleteVMResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteVMResponse) Descriptor deprecated

func (*DeleteVMResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteVMResponse.ProtoReflect.Descriptor instead.

func (*DeleteVMResponse) ProtoMessage

func (*DeleteVMResponse) ProtoMessage()

func (*DeleteVMResponse) ProtoReflect

func (x *DeleteVMResponse) ProtoReflect() protoreflect.Message

func (*DeleteVMResponse) Reset

func (x *DeleteVMResponse) Reset()

func (*DeleteVMResponse) String

func (x *DeleteVMResponse) String() string

type DeleteVMResult

type DeleteVMResult struct {
	// contains filtered or unexported fields
}

DeleteVMResult is empty ; success/error is in DriverReply.error.

func (*DeleteVMResult) Descriptor deprecated

func (*DeleteVMResult) Descriptor() ([]byte, []int)

Deprecated: Use DeleteVMResult.ProtoReflect.Descriptor instead.

func (*DeleteVMResult) ProtoMessage

func (*DeleteVMResult) ProtoMessage()

func (*DeleteVMResult) ProtoReflect

func (x *DeleteVMResult) ProtoReflect() protoreflect.Message

func (*DeleteVMResult) Reset

func (x *DeleteVMResult) Reset()

func (*DeleteVMResult) String

func (x *DeleteVMResult) String() string

type DeleteVolumeRequest

type DeleteVolumeRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteVolumeRequest) Descriptor deprecated

func (*DeleteVolumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteVolumeRequest.ProtoReflect.Descriptor instead.

func (*DeleteVolumeRequest) GetUuid

func (x *DeleteVolumeRequest) GetUuid() string

func (*DeleteVolumeRequest) ProtoMessage

func (*DeleteVolumeRequest) ProtoMessage()

func (*DeleteVolumeRequest) ProtoReflect

func (x *DeleteVolumeRequest) ProtoReflect() protoreflect.Message

func (*DeleteVolumeRequest) Reset

func (x *DeleteVolumeRequest) Reset()

func (*DeleteVolumeRequest) String

func (x *DeleteVolumeRequest) String() string

type DeleteVolumeResponse

type DeleteVolumeResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteVolumeResponse) Descriptor deprecated

func (*DeleteVolumeResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteVolumeResponse.ProtoReflect.Descriptor instead.

func (*DeleteVolumeResponse) ProtoMessage

func (*DeleteVolumeResponse) ProtoMessage()

func (*DeleteVolumeResponse) ProtoReflect

func (x *DeleteVolumeResponse) ProtoReflect() protoreflect.Message

func (*DeleteVolumeResponse) Reset

func (x *DeleteVolumeResponse) Reset()

func (*DeleteVolumeResponse) String

func (x *DeleteVolumeResponse) String() string

type DeleteVolumeSnapshotRequest

type DeleteVolumeSnapshotRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteVolumeSnapshotRequest) Descriptor deprecated

func (*DeleteVolumeSnapshotRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteVolumeSnapshotRequest.ProtoReflect.Descriptor instead.

func (*DeleteVolumeSnapshotRequest) GetUuid

func (x *DeleteVolumeSnapshotRequest) GetUuid() string

func (*DeleteVolumeSnapshotRequest) ProtoMessage

func (*DeleteVolumeSnapshotRequest) ProtoMessage()

func (*DeleteVolumeSnapshotRequest) ProtoReflect

func (*DeleteVolumeSnapshotRequest) Reset

func (x *DeleteVolumeSnapshotRequest) Reset()

func (*DeleteVolumeSnapshotRequest) String

func (x *DeleteVolumeSnapshotRequest) String() string

type DeleteVolumeSnapshotResponse

type DeleteVolumeSnapshotResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteVolumeSnapshotResponse) Descriptor deprecated

func (*DeleteVolumeSnapshotResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteVolumeSnapshotResponse.ProtoReflect.Descriptor instead.

func (*DeleteVolumeSnapshotResponse) ProtoMessage

func (*DeleteVolumeSnapshotResponse) ProtoMessage()

func (*DeleteVolumeSnapshotResponse) ProtoReflect

func (*DeleteVolumeSnapshotResponse) Reset

func (x *DeleteVolumeSnapshotResponse) Reset()

func (*DeleteVolumeSnapshotResponse) String

type DeprovisionVMRequest

type DeprovisionVMRequest struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*DeprovisionVMRequest) Descriptor deprecated

func (*DeprovisionVMRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeprovisionVMRequest.ProtoReflect.Descriptor instead.

func (*DeprovisionVMRequest) GetName

func (x *DeprovisionVMRequest) GetName() string

func (*DeprovisionVMRequest) GetProject

func (x *DeprovisionVMRequest) GetProject() string

func (*DeprovisionVMRequest) ProtoMessage

func (*DeprovisionVMRequest) ProtoMessage()

func (*DeprovisionVMRequest) ProtoReflect

func (x *DeprovisionVMRequest) ProtoReflect() protoreflect.Message

func (*DeprovisionVMRequest) Reset

func (x *DeprovisionVMRequest) Reset()

func (*DeprovisionVMRequest) String

func (x *DeprovisionVMRequest) String() string

type DeprovisionVMResponse

type DeprovisionVMResponse struct {
	// contains filtered or unexported fields
}

func (*DeprovisionVMResponse) Descriptor deprecated

func (*DeprovisionVMResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeprovisionVMResponse.ProtoReflect.Descriptor instead.

func (*DeprovisionVMResponse) ProtoMessage

func (*DeprovisionVMResponse) ProtoMessage()

func (*DeprovisionVMResponse) ProtoReflect

func (x *DeprovisionVMResponse) ProtoReflect() protoreflect.Message

func (*DeprovisionVMResponse) Reset

func (x *DeprovisionVMResponse) Reset()

func (*DeprovisionVMResponse) String

func (x *DeprovisionVMResponse) String() string

type DetachVolumeRequest

type DetachVolumeRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*DetachVolumeRequest) Descriptor deprecated

func (*DetachVolumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use DetachVolumeRequest.ProtoReflect.Descriptor instead.

func (*DetachVolumeRequest) GetUuid

func (x *DetachVolumeRequest) GetUuid() string

func (*DetachVolumeRequest) ProtoMessage

func (*DetachVolumeRequest) ProtoMessage()

func (*DetachVolumeRequest) ProtoReflect

func (x *DetachVolumeRequest) ProtoReflect() protoreflect.Message

func (*DetachVolumeRequest) Reset

func (x *DetachVolumeRequest) Reset()

func (*DetachVolumeRequest) String

func (x *DetachVolumeRequest) String() string

type DetachVolumeResponse

type DetachVolumeResponse struct {
	Volume *VolumeInfo `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	// contains filtered or unexported fields
}

func (*DetachVolumeResponse) Descriptor deprecated

func (*DetachVolumeResponse) Descriptor() ([]byte, []int)

Deprecated: Use DetachVolumeResponse.ProtoReflect.Descriptor instead.

func (*DetachVolumeResponse) GetVolume

func (x *DetachVolumeResponse) GetVolume() *VolumeInfo

func (*DetachVolumeResponse) ProtoMessage

func (*DetachVolumeResponse) ProtoMessage()

func (*DetachVolumeResponse) ProtoReflect

func (x *DetachVolumeResponse) ProtoReflect() protoreflect.Message

func (*DetachVolumeResponse) Reset

func (x *DetachVolumeResponse) Reset()

func (*DetachVolumeResponse) String

func (x *DetachVolumeResponse) String() string

type DiskDeleteOp

type DiskDeleteOp struct {
	Dst string `protobuf:"bytes,1,opt,name=dst,proto3" json:"dst,omitempty"` // absolute path inside the disk image to delete
	// contains filtered or unexported fields
}

DiskDeleteOp describes a single file to remove from the VM disk image before boot (or from a cached image via PatchImage).

func (*DiskDeleteOp) Descriptor deprecated

func (*DiskDeleteOp) Descriptor() ([]byte, []int)

Deprecated: Use DiskDeleteOp.ProtoReflect.Descriptor instead.

func (*DiskDeleteOp) GetDst

func (x *DiskDeleteOp) GetDst() string

func (*DiskDeleteOp) ProtoMessage

func (*DiskDeleteOp) ProtoMessage()

func (*DiskDeleteOp) ProtoReflect

func (x *DiskDeleteOp) ProtoReflect() protoreflect.Message

func (*DiskDeleteOp) Reset

func (x *DiskDeleteOp) Reset()

func (*DiskDeleteOp) String

func (x *DiskDeleteOp) String() string

type DiskFileOp

type DiskFileOp struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // literal file content to write
	Dst     string `protobuf:"bytes,2,opt,name=dst,proto3" json:"dst,omitempty"`         // absolute destination path inside the disk image
	// Optional trigger to run after the file is written.
	// Supported values: "grub-mkconfig" — regenerates the GRUB config.
	Trigger string `protobuf:"bytes,3,opt,name=trigger,proto3" json:"trigger,omitempty"`
	// contains filtered or unexported fields
}

DiskFileOp describes a single file to copy into the VM disk image before boot, plus an optional post-copy trigger.

func (*DiskFileOp) Descriptor deprecated

func (*DiskFileOp) Descriptor() ([]byte, []int)

Deprecated: Use DiskFileOp.ProtoReflect.Descriptor instead.

func (*DiskFileOp) GetContent

func (x *DiskFileOp) GetContent() string

func (*DiskFileOp) GetDst

func (x *DiskFileOp) GetDst() string

func (*DiskFileOp) GetTrigger

func (x *DiskFileOp) GetTrigger() string

func (*DiskFileOp) ProtoMessage

func (*DiskFileOp) ProtoMessage()

func (*DiskFileOp) ProtoReflect

func (x *DiskFileOp) ProtoReflect() protoreflect.Message

func (*DiskFileOp) Reset

func (x *DiskFileOp) Reset()

func (*DiskFileOp) String

func (x *DiskFileOp) String() string

type DiskModOp

type DiskModOp struct {
	Dst string `protobuf:"bytes,1,opt,name=dst,proto3" json:"dst,omitempty"` // absolute path inside the disk image
	Old string `protobuf:"bytes,2,opt,name=old,proto3" json:"old,omitempty"` // RE2 regular expression to match
	New string `protobuf:"bytes,3,opt,name=new,proto3" json:"new,omitempty"` // replacement text (may reference capture groups: $1, ${name})
	// contains filtered or unexported fields
}

DiskModOp describes an in-place substitution to apply to a file inside the disk image. Old is a RE2 regular expression (compatible with the vast majority of PCRE patterns); every non-overlapping match is replaced by New. New may reference capture groups with $1, ${name}, etc.

func (*DiskModOp) Descriptor deprecated

func (*DiskModOp) Descriptor() ([]byte, []int)

Deprecated: Use DiskModOp.ProtoReflect.Descriptor instead.

func (*DiskModOp) GetDst

func (x *DiskModOp) GetDst() string

func (*DiskModOp) GetNew

func (x *DiskModOp) GetNew() string

func (*DiskModOp) GetOld

func (x *DiskModOp) GetOld() string

func (*DiskModOp) ProtoMessage

func (*DiskModOp) ProtoMessage()

func (*DiskModOp) ProtoReflect

func (x *DiskModOp) ProtoReflect() protoreflect.Message

func (*DiskModOp) Reset

func (x *DiskModOp) Reset()

func (*DiskModOp) String

func (x *DiskModOp) String() string

type DriverReply

type DriverReply struct {
	RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Error     string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// Types that are valid to be assigned to Result:
	//
	//	*DriverReply_CreateVm
	//	*DriverReply_RegisterMicroVm
	//	*DriverReply_StartVm
	//	*DriverReply_StopVm
	//	*DriverReply_DeleteVm
	Result isDriverReply_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

DriverReply is the agent's response. `request_id` matches the originating DriverRequest. `error` is empty on success ; when set, the typed `result` oneof is also empty.

func (*DriverReply) Descriptor deprecated

func (*DriverReply) Descriptor() ([]byte, []int)

Deprecated: Use DriverReply.ProtoReflect.Descriptor instead.

func (*DriverReply) GetCreateVm

func (x *DriverReply) GetCreateVm() *CreateVMResult

func (*DriverReply) GetDeleteVm

func (x *DriverReply) GetDeleteVm() *DeleteVMResult

func (*DriverReply) GetError

func (x *DriverReply) GetError() string

func (*DriverReply) GetRegisterMicroVm

func (x *DriverReply) GetRegisterMicroVm() *RegisterMicroVMResult

func (*DriverReply) GetRequestId

func (x *DriverReply) GetRequestId() string

func (*DriverReply) GetResult

func (x *DriverReply) GetResult() isDriverReply_Result

func (*DriverReply) GetStartVm

func (x *DriverReply) GetStartVm() *StartVMResult

func (*DriverReply) GetStopVm

func (x *DriverReply) GetStopVm() *StopVMResult

func (*DriverReply) ProtoMessage

func (*DriverReply) ProtoMessage()

func (*DriverReply) ProtoReflect

func (x *DriverReply) ProtoReflect() protoreflect.Message

func (*DriverReply) Reset

func (x *DriverReply) Reset()

func (*DriverReply) String

func (x *DriverReply) String() string

type DriverReply_CreateVm

type DriverReply_CreateVm struct {
	CreateVm *CreateVMResult `protobuf:"bytes,3,opt,name=create_vm,json=createVm,proto3,oneof"`
}

type DriverReply_DeleteVm

type DriverReply_DeleteVm struct {
	DeleteVm *DeleteVMResult `protobuf:"bytes,7,opt,name=delete_vm,json=deleteVm,proto3,oneof"`
}

type DriverReply_RegisterMicroVm

type DriverReply_RegisterMicroVm struct {
	RegisterMicroVm *RegisterMicroVMResult `protobuf:"bytes,4,opt,name=register_micro_vm,json=registerMicroVm,proto3,oneof"`
}

type DriverReply_StartVm

type DriverReply_StartVm struct {
	StartVm *StartVMResult `protobuf:"bytes,5,opt,name=start_vm,json=startVm,proto3,oneof"`
}

type DriverReply_StopVm

type DriverReply_StopVm struct {
	StopVm *StopVMResult `protobuf:"bytes,6,opt,name=stop_vm,json=stopVm,proto3,oneof"`
}

type DriverRequest

type DriverRequest struct {
	RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Types that are valid to be assigned to Op:
	//
	//	*DriverRequest_CreateVm
	//	*DriverRequest_RegisterMicroVm
	//	*DriverRequest_StartVm
	//	*DriverRequest_StopVm
	//	*DriverRequest_DeleteVm
	Op isDriverRequest_Op `protobuf_oneof:"op"`
	// contains filtered or unexported fields
}

DriverRequest carries one driver operation the control plane wants the agent to execute against its local driver Bundle. `request_id` is opaque to the agent : it's whatever the control plane assigned. The agent must echo it back in the matching DriverReply so the server can route it to the right pending caller.

New op variants slot into the oneof without breaking existing agents — unknown variants surface as DriverReply{error= "unknown op"} so the control plane sees a clean diagnostic.

func (*DriverRequest) Descriptor deprecated

func (*DriverRequest) Descriptor() ([]byte, []int)

Deprecated: Use DriverRequest.ProtoReflect.Descriptor instead.

func (*DriverRequest) GetCreateVm

func (x *DriverRequest) GetCreateVm() *CreateVMOp

func (*DriverRequest) GetDeleteVm

func (x *DriverRequest) GetDeleteVm() *DeleteVMOp

func (*DriverRequest) GetOp

func (x *DriverRequest) GetOp() isDriverRequest_Op

func (*DriverRequest) GetRegisterMicroVm

func (x *DriverRequest) GetRegisterMicroVm() *RegisterMicroVMOp

func (*DriverRequest) GetRequestId

func (x *DriverRequest) GetRequestId() string

func (*DriverRequest) GetStartVm

func (x *DriverRequest) GetStartVm() *StartVMOp

func (*DriverRequest) GetStopVm

func (x *DriverRequest) GetStopVm() *StopVMOp

func (*DriverRequest) ProtoMessage

func (*DriverRequest) ProtoMessage()

func (*DriverRequest) ProtoReflect

func (x *DriverRequest) ProtoReflect() protoreflect.Message

func (*DriverRequest) Reset

func (x *DriverRequest) Reset()

func (*DriverRequest) String

func (x *DriverRequest) String() string

type DriverRequest_CreateVm

type DriverRequest_CreateVm struct {
	CreateVm *CreateVMOp `protobuf:"bytes,2,opt,name=create_vm,json=createVm,proto3,oneof"`
}

type DriverRequest_DeleteVm

type DriverRequest_DeleteVm struct {
	DeleteVm *DeleteVMOp `protobuf:"bytes,6,opt,name=delete_vm,json=deleteVm,proto3,oneof"` // Future : AttachVolumeOp / DetachVolumeOp / …
}

type DriverRequest_RegisterMicroVm

type DriverRequest_RegisterMicroVm struct {
	RegisterMicroVm *RegisterMicroVMOp `protobuf:"bytes,3,opt,name=register_micro_vm,json=registerMicroVm,proto3,oneof"`
}

type DriverRequest_StartVm

type DriverRequest_StartVm struct {
	StartVm *StartVMOp `protobuf:"bytes,4,opt,name=start_vm,json=startVm,proto3,oneof"`
}

type DriverRequest_StopVm

type DriverRequest_StopVm struct {
	StopVm *StopVMOp `protobuf:"bytes,5,opt,name=stop_vm,json=stopVm,proto3,oneof"`
}

type Flavor

type Flavor struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Vcpu        int32  `protobuf:"varint,2,opt,name=vcpu,proto3" json:"vcpu,omitempty"`
	Ram         string `protobuf:"bytes,3,opt,name=ram,proto3" json:"ram,omitempty"` // "4Gi" / "256Mi" / raw integer = MB
	EphemeralGb int32  `protobuf:"varint,4,opt,name=ephemeral_gb,json=ephemeralGb,proto3" json:"ephemeral_gb,omitempty"`
	Gpu         string `protobuf:"bytes,5,opt,name=gpu,proto3" json:"gpu,omitempty"` // empty = none ; "1×A100-40G" etc.
	// contains filtered or unexported fields
}

func (*Flavor) Descriptor deprecated

func (*Flavor) Descriptor() ([]byte, []int)

Deprecated: Use Flavor.ProtoReflect.Descriptor instead.

func (*Flavor) GetEphemeralGb

func (x *Flavor) GetEphemeralGb() int32

func (*Flavor) GetGpu

func (x *Flavor) GetGpu() string

func (*Flavor) GetName

func (x *Flavor) GetName() string

func (*Flavor) GetRam

func (x *Flavor) GetRam() string

func (*Flavor) GetVcpu

func (x *Flavor) GetVcpu() int32

func (*Flavor) ProtoMessage

func (*Flavor) ProtoMessage()

func (*Flavor) ProtoReflect

func (x *Flavor) ProtoReflect() protoreflect.Message

func (*Flavor) Reset

func (x *Flavor) Reset()

func (*Flavor) String

func (x *Flavor) String() string

type FloatingIPInfo

type FloatingIPInfo struct {
	Uuid              string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Address           string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // dotted-quad or IPv6
	Network           string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"` // edge network this address lives on
	ProjectUuid       string `protobuf:"bytes,4,opt,name=project_uuid,json=projectUuid,proto3" json:"project_uuid,omitempty"`
	MappedTo          string `protobuf:"bytes,5,opt,name=mapped_to,json=mappedTo,proto3" json:"mapped_to,omitempty"` // VM name or LB name ; "" = available
	Status            string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`                     // "active" | "available"
	AllocatedAtUnixNs int64  `protobuf:"varint,7,opt,name=allocated_at_unix_ns,json=allocatedAtUnixNs,proto3" json:"allocated_at_unix_ns,omitempty"`
	// contains filtered or unexported fields
}

func (*FloatingIPInfo) Descriptor deprecated

func (*FloatingIPInfo) Descriptor() ([]byte, []int)

Deprecated: Use FloatingIPInfo.ProtoReflect.Descriptor instead.

func (*FloatingIPInfo) GetAddress

func (x *FloatingIPInfo) GetAddress() string

func (*FloatingIPInfo) GetAllocatedAtUnixNs

func (x *FloatingIPInfo) GetAllocatedAtUnixNs() int64

func (*FloatingIPInfo) GetMappedTo

func (x *FloatingIPInfo) GetMappedTo() string

func (*FloatingIPInfo) GetNetwork

func (x *FloatingIPInfo) GetNetwork() string

func (*FloatingIPInfo) GetProjectUuid

func (x *FloatingIPInfo) GetProjectUuid() string

func (*FloatingIPInfo) GetStatus

func (x *FloatingIPInfo) GetStatus() string

func (*FloatingIPInfo) GetUuid

func (x *FloatingIPInfo) GetUuid() string

func (*FloatingIPInfo) ProtoMessage

func (*FloatingIPInfo) ProtoMessage()

func (*FloatingIPInfo) ProtoReflect

func (x *FloatingIPInfo) ProtoReflect() protoreflect.Message

func (*FloatingIPInfo) Reset

func (x *FloatingIPInfo) Reset()

func (*FloatingIPInfo) String

func (x *FloatingIPInfo) String() string

type GPURequest

type GPURequest struct {
	Vendor   string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`                     // e.g. "nvidia"
	Model    string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`                       // e.g. "H200" or "RTX-6000-Ada"
	Count    int32  `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`                      // 0 → 1
	MigSlice string `protobuf:"bytes,4,opt,name=mig_slice,json=migSlice,proto3" json:"mig_slice,omitempty"` // optional MIG profile, e.g. "1g.10gb" ; empty = whole card
	// contains filtered or unexported fields
}

GPURequest is a single GPU passthrough shape attached to a VM at create time. The scheduler matches every entry against the candidate host's inventory before placement ; the driver then resolves the (vendor, model[, mig_slice]) tuple to concrete PCI BDFs (or MIG instance UUIDs for sliced cards). Mirrors the in-tree weft/scheduling.GPURequest struct one-to-one. See [[openweft_gpu_fleet]] for the supported (vendor, model) set — currently NVIDIA H200 (datacenter, MIG-capable) and RTX 6000 Ada (workstation, whole-card passthrough only).

func (*GPURequest) Descriptor deprecated

func (*GPURequest) Descriptor() ([]byte, []int)

Deprecated: Use GPURequest.ProtoReflect.Descriptor instead.

func (*GPURequest) GetCount

func (x *GPURequest) GetCount() int32

func (*GPURequest) GetMigSlice

func (x *GPURequest) GetMigSlice() string

func (*GPURequest) GetModel

func (x *GPURequest) GetModel() string

func (*GPURequest) GetVendor

func (x *GPURequest) GetVendor() string

func (*GPURequest) ProtoMessage

func (*GPURequest) ProtoMessage()

func (*GPURequest) ProtoReflect

func (x *GPURequest) ProtoReflect() protoreflect.Message

func (*GPURequest) Reset

func (x *GPURequest) Reset()

func (*GPURequest) String

func (x *GPURequest) String() string

type GetFlavorRequest

type GetFlavorRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFlavorRequest) Descriptor deprecated

func (*GetFlavorRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetFlavorRequest.ProtoReflect.Descriptor instead.

func (*GetFlavorRequest) GetName

func (x *GetFlavorRequest) GetName() string

func (*GetFlavorRequest) ProtoMessage

func (*GetFlavorRequest) ProtoMessage()

func (*GetFlavorRequest) ProtoReflect

func (x *GetFlavorRequest) ProtoReflect() protoreflect.Message

func (*GetFlavorRequest) Reset

func (x *GetFlavorRequest) Reset()

func (*GetFlavorRequest) String

func (x *GetFlavorRequest) String() string

type GetFlavorResponse

type GetFlavorResponse struct {
	Flavor *Flavor `protobuf:"bytes,1,opt,name=flavor,proto3" json:"flavor,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFlavorResponse) Descriptor deprecated

func (*GetFlavorResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetFlavorResponse.ProtoReflect.Descriptor instead.

func (*GetFlavorResponse) GetFlavor

func (x *GetFlavorResponse) GetFlavor() *Flavor

func (*GetFlavorResponse) ProtoMessage

func (*GetFlavorResponse) ProtoMessage()

func (*GetFlavorResponse) ProtoReflect

func (x *GetFlavorResponse) ProtoReflect() protoreflect.Message

func (*GetFlavorResponse) Reset

func (x *GetFlavorResponse) Reset()

func (*GetFlavorResponse) String

func (x *GetFlavorResponse) String() string

type GetHostRequest

type GetHostRequest struct {
	Uuid     string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// contains filtered or unexported fields
}

GetHost fetches one entry by UUID OR by hostname. Exactly one of the two must be set ; the server errors with InvalidArgument when both are empty or both are set.

func (*GetHostRequest) Descriptor deprecated

func (*GetHostRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetHostRequest.ProtoReflect.Descriptor instead.

func (*GetHostRequest) GetHostname

func (x *GetHostRequest) GetHostname() string

func (*GetHostRequest) GetUuid

func (x *GetHostRequest) GetUuid() string

func (*GetHostRequest) ProtoMessage

func (*GetHostRequest) ProtoMessage()

func (*GetHostRequest) ProtoReflect

func (x *GetHostRequest) ProtoReflect() protoreflect.Message

func (*GetHostRequest) Reset

func (x *GetHostRequest) Reset()

func (*GetHostRequest) String

func (x *GetHostRequest) String() string

type GetHostResponse

type GetHostResponse struct {
	Host *HostInfo `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

func (*GetHostResponse) Descriptor deprecated

func (*GetHostResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetHostResponse.ProtoReflect.Descriptor instead.

func (*GetHostResponse) GetHost

func (x *GetHostResponse) GetHost() *HostInfo

func (*GetHostResponse) ProtoMessage

func (*GetHostResponse) ProtoMessage()

func (*GetHostResponse) ProtoReflect

func (x *GetHostResponse) ProtoReflect() protoreflect.Message

func (*GetHostResponse) Reset

func (x *GetHostResponse) Reset()

func (*GetHostResponse) String

func (x *GetHostResponse) String() string

type GetProjectQuotaRequest

type GetProjectQuotaRequest struct {
	ProjectUuid string `protobuf:"bytes,1,opt,name=project_uuid,json=projectUuid,proto3" json:"project_uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProjectQuotaRequest) Descriptor deprecated

func (*GetProjectQuotaRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetProjectQuotaRequest.ProtoReflect.Descriptor instead.

func (*GetProjectQuotaRequest) GetProjectUuid

func (x *GetProjectQuotaRequest) GetProjectUuid() string

func (*GetProjectQuotaRequest) ProtoMessage

func (*GetProjectQuotaRequest) ProtoMessage()

func (*GetProjectQuotaRequest) ProtoReflect

func (x *GetProjectQuotaRequest) ProtoReflect() protoreflect.Message

func (*GetProjectQuotaRequest) Reset

func (x *GetProjectQuotaRequest) Reset()

func (*GetProjectQuotaRequest) String

func (x *GetProjectQuotaRequest) String() string

type GetProjectQuotaResponse

type GetProjectQuotaResponse struct {
	Project       *Quotas `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	TenantCap     *Quotas `protobuf:"bytes,2,opt,name=tenant_cap,json=tenantCap,proto3" json:"tenant_cap,omitempty"`
	SiblingsTotal *Quotas `protobuf:"bytes,3,opt,name=siblings_total,json=siblingsTotal,proto3" json:"siblings_total,omitempty"` // sum of OTHER projects in the tenant
	// contains filtered or unexported fields
}

func (*GetProjectQuotaResponse) Descriptor deprecated

func (*GetProjectQuotaResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetProjectQuotaResponse.ProtoReflect.Descriptor instead.

func (*GetProjectQuotaResponse) GetProject

func (x *GetProjectQuotaResponse) GetProject() *Quotas

func (*GetProjectQuotaResponse) GetSiblingsTotal

func (x *GetProjectQuotaResponse) GetSiblingsTotal() *Quotas

func (*GetProjectQuotaResponse) GetTenantCap

func (x *GetProjectQuotaResponse) GetTenantCap() *Quotas

func (*GetProjectQuotaResponse) ProtoMessage

func (*GetProjectQuotaResponse) ProtoMessage()

func (*GetProjectQuotaResponse) ProtoReflect

func (x *GetProjectQuotaResponse) ProtoReflect() protoreflect.Message

func (*GetProjectQuotaResponse) Reset

func (x *GetProjectQuotaResponse) Reset()

func (*GetProjectQuotaResponse) String

func (x *GetProjectQuotaResponse) String() string

type GetScriptRequest

type GetScriptRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetScriptRequest) Descriptor deprecated

func (*GetScriptRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetScriptRequest.ProtoReflect.Descriptor instead.

func (*GetScriptRequest) GetName

func (x *GetScriptRequest) GetName() string

func (*GetScriptRequest) ProtoMessage

func (*GetScriptRequest) ProtoMessage()

func (*GetScriptRequest) ProtoReflect

func (x *GetScriptRequest) ProtoReflect() protoreflect.Message

func (*GetScriptRequest) Reset

func (x *GetScriptRequest) Reset()

func (*GetScriptRequest) String

func (x *GetScriptRequest) String() string

type GetScriptResponse

type GetScriptResponse struct {
	Script *Script `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"`
	// contains filtered or unexported fields
}

func (*GetScriptResponse) Descriptor deprecated

func (*GetScriptResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetScriptResponse.ProtoReflect.Descriptor instead.

func (*GetScriptResponse) GetScript

func (x *GetScriptResponse) GetScript() *Script

func (*GetScriptResponse) ProtoMessage

func (*GetScriptResponse) ProtoMessage()

func (*GetScriptResponse) ProtoReflect

func (x *GetScriptResponse) ProtoReflect() protoreflect.Message

func (*GetScriptResponse) Reset

func (x *GetScriptResponse) Reset()

func (*GetScriptResponse) String

func (x *GetScriptResponse) String() string

type GetTenantQuotaRequest

type GetTenantQuotaRequest struct {
	TenantUuid string `protobuf:"bytes,1,opt,name=tenant_uuid,json=tenantUuid,proto3" json:"tenant_uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTenantQuotaRequest) Descriptor deprecated

func (*GetTenantQuotaRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTenantQuotaRequest.ProtoReflect.Descriptor instead.

func (*GetTenantQuotaRequest) GetTenantUuid

func (x *GetTenantQuotaRequest) GetTenantUuid() string

func (*GetTenantQuotaRequest) ProtoMessage

func (*GetTenantQuotaRequest) ProtoMessage()

func (*GetTenantQuotaRequest) ProtoReflect

func (x *GetTenantQuotaRequest) ProtoReflect() protoreflect.Message

func (*GetTenantQuotaRequest) Reset

func (x *GetTenantQuotaRequest) Reset()

func (*GetTenantQuotaRequest) String

func (x *GetTenantQuotaRequest) String() string

type GetTenantQuotaResponse

type GetTenantQuotaResponse struct {
	Cap       *Quotas `protobuf:"bytes,1,opt,name=cap,proto3" json:"cap,omitempty"`
	Allocated *Quotas `protobuf:"bytes,2,opt,name=allocated,proto3" json:"allocated,omitempty"` // sum of per-project quotas + len(projects)
	// contains filtered or unexported fields
}

func (*GetTenantQuotaResponse) Descriptor deprecated

func (*GetTenantQuotaResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetTenantQuotaResponse.ProtoReflect.Descriptor instead.

func (*GetTenantQuotaResponse) GetAllocated

func (x *GetTenantQuotaResponse) GetAllocated() *Quotas

func (*GetTenantQuotaResponse) GetCap

func (x *GetTenantQuotaResponse) GetCap() *Quotas

func (*GetTenantQuotaResponse) ProtoMessage

func (*GetTenantQuotaResponse) ProtoMessage()

func (*GetTenantQuotaResponse) ProtoReflect

func (x *GetTenantQuotaResponse) ProtoReflect() protoreflect.Message

func (*GetTenantQuotaResponse) Reset

func (x *GetTenantQuotaResponse) Reset()

func (*GetTenantQuotaResponse) String

func (x *GetTenantQuotaResponse) String() string

type GetUserRequest

type GetUserRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

GetUser fetches a single user by UUID. Allowed for the user themselves (self-introspection) or platform-admin.

func (*GetUserRequest) Descriptor deprecated

func (*GetUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetUuid

func (x *GetUserRequest) GetUuid() string

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect

func (x *GetUserRequest) ProtoReflect() protoreflect.Message

func (*GetUserRequest) Reset

func (x *GetUserRequest) Reset()

func (*GetUserRequest) String

func (x *GetUserRequest) String() string

type GetUserResponse

type GetUserResponse struct {
	User *UserInfo `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserResponse) Descriptor deprecated

func (*GetUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.

func (*GetUserResponse) GetUser

func (x *GetUserResponse) GetUser() *UserInfo

func (*GetUserResponse) ProtoMessage

func (*GetUserResponse) ProtoMessage()

func (*GetUserResponse) ProtoReflect

func (x *GetUserResponse) ProtoReflect() protoreflect.Message

func (*GetUserResponse) Reset

func (x *GetUserResponse) Reset()

func (*GetUserResponse) String

func (x *GetUserResponse) String() string

type HeartbeatHostRequest

type HeartbeatHostRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

HeartbeatHost bumps LastSeenAt. Hosts that miss the configured TTL transition to "down". Called by the per-host agent on a timer.

func (*HeartbeatHostRequest) Descriptor deprecated

func (*HeartbeatHostRequest) Descriptor() ([]byte, []int)

Deprecated: Use HeartbeatHostRequest.ProtoReflect.Descriptor instead.

func (*HeartbeatHostRequest) GetUuid

func (x *HeartbeatHostRequest) GetUuid() string

func (*HeartbeatHostRequest) ProtoMessage

func (*HeartbeatHostRequest) ProtoMessage()

func (*HeartbeatHostRequest) ProtoReflect

func (x *HeartbeatHostRequest) ProtoReflect() protoreflect.Message

func (*HeartbeatHostRequest) Reset

func (x *HeartbeatHostRequest) Reset()

func (*HeartbeatHostRequest) String

func (x *HeartbeatHostRequest) String() string

type HeartbeatHostResponse

type HeartbeatHostResponse struct {
	// contains filtered or unexported fields
}

func (*HeartbeatHostResponse) Descriptor deprecated

func (*HeartbeatHostResponse) Descriptor() ([]byte, []int)

Deprecated: Use HeartbeatHostResponse.ProtoReflect.Descriptor instead.

func (*HeartbeatHostResponse) ProtoMessage

func (*HeartbeatHostResponse) ProtoMessage()

func (*HeartbeatHostResponse) ProtoReflect

func (x *HeartbeatHostResponse) ProtoReflect() protoreflect.Message

func (*HeartbeatHostResponse) Reset

func (x *HeartbeatHostResponse) Reset()

func (*HeartbeatHostResponse) String

func (x *HeartbeatHostResponse) String() string

type HostInfo

type HostInfo struct {
	Uuid           string            `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Hostname       string            `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
	Az             string            `protobuf:"bytes,3,opt,name=az,proto3" json:"az,omitempty"`
	Rack           string            `protobuf:"bytes,4,opt,name=rack,proto3" json:"rack,omitempty"`
	Endpoint       string            `protobuf:"bytes,5,opt,name=endpoint,proto3" json:"endpoint,omitempty"`         // host:port of the agent's gRPC listener
	Hypervisor     string            `protobuf:"bytes,6,opt,name=hypervisor,proto3" json:"hypervisor,omitempty"`     // "apple-vz" | "qemu-kvm" | …
	Architecture   string            `protobuf:"bytes,7,opt,name=architecture,proto3" json:"architecture,omitempty"` // "arm64" | "amd64" | "riscv64" | …
	NetworkTypes   []string          `protobuf:"bytes,8,rep,name=network_types,json=networkTypes,proto3" json:"network_types,omitempty"`
	VolumeBackends []string          `protobuf:"bytes,9,rep,name=volume_backends,json=volumeBackends,proto3" json:"volume_backends,omitempty"`
	Labels         map[string]string `` /* 140-byte string literal not displayed */
	// state: "active" | "draining" | "down".
	State            string `protobuf:"bytes,11,opt,name=state,proto3" json:"state,omitempty"`
	CreatedAtUnixNs  int64  `protobuf:"varint,12,opt,name=created_at_unix_ns,json=createdAtUnixNs,proto3" json:"created_at_unix_ns,omitempty"`
	LastSeenAtUnixNs int64  `protobuf:"varint,13,opt,name=last_seen_at_unix_ns,json=lastSeenAtUnixNs,proto3" json:"last_seen_at_unix_ns,omitempty"`
	// cordoned, when true, takes this host out of the scheduler's
	// candidate set for *new* placements ; already-running VMs stay
	// put. Set/cleared via SetHostCordoned. Independent of `state` —
	// a cordoned host stays Active + reachable, it just refuses new
	// work. Implements the upgrade-runbook primitive previously
	// documented as proposed.
	Cordoned bool `protobuf:"varint,14,opt,name=cordoned,proto3" json:"cordoned,omitempty"`
	// contains filtered or unexported fields
}

HostInfo is one entry in the Host registry. UUID is stable across restarts (persisted at <stateDir>/host-uuid by the per-host agent) ; everything else can refresh on re-register.

func (*HostInfo) Descriptor deprecated

func (*HostInfo) Descriptor() ([]byte, []int)

Deprecated: Use HostInfo.ProtoReflect.Descriptor instead.

func (*HostInfo) GetArchitecture

func (x *HostInfo) GetArchitecture() string

func (*HostInfo) GetAz

func (x *HostInfo) GetAz() string

func (*HostInfo) GetCordoned added in v0.4.0

func (x *HostInfo) GetCordoned() bool

func (*HostInfo) GetCreatedAtUnixNs

func (x *HostInfo) GetCreatedAtUnixNs() int64

func (*HostInfo) GetEndpoint

func (x *HostInfo) GetEndpoint() string

func (*HostInfo) GetHostname

func (x *HostInfo) GetHostname() string

func (*HostInfo) GetHypervisor

func (x *HostInfo) GetHypervisor() string

func (*HostInfo) GetLabels

func (x *HostInfo) GetLabels() map[string]string

func (*HostInfo) GetLastSeenAtUnixNs

func (x *HostInfo) GetLastSeenAtUnixNs() int64

func (*HostInfo) GetNetworkTypes

func (x *HostInfo) GetNetworkTypes() []string

func (*HostInfo) GetRack

func (x *HostInfo) GetRack() string

func (*HostInfo) GetState

func (x *HostInfo) GetState() string

func (*HostInfo) GetUuid

func (x *HostInfo) GetUuid() string

func (*HostInfo) GetVolumeBackends

func (x *HostInfo) GetVolumeBackends() []string

func (*HostInfo) ProtoMessage

func (*HostInfo) ProtoMessage()

func (*HostInfo) ProtoReflect

func (x *HostInfo) ProtoReflect() protoreflect.Message

func (*HostInfo) Reset

func (x *HostInfo) Reset()

func (*HostInfo) String

func (x *HostInfo) String() string

type ImageInfo

type ImageInfo struct {
	Url       string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`                               // original image URL / reference
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                             // filename on disk (e.g. noble-server-cloudimg-arm64.img)
	Format    string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"`                         // raw, qcow2, oci, img, or unknown
	SizeBytes int64  `protobuf:"varint,4,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"` // total size on disk in bytes
	// contains filtered or unexported fields
}

func (*ImageInfo) Descriptor deprecated

func (*ImageInfo) Descriptor() ([]byte, []int)

Deprecated: Use ImageInfo.ProtoReflect.Descriptor instead.

func (*ImageInfo) GetFormat

func (x *ImageInfo) GetFormat() string

func (*ImageInfo) GetName

func (x *ImageInfo) GetName() string

func (*ImageInfo) GetSizeBytes

func (x *ImageInfo) GetSizeBytes() int64

func (*ImageInfo) GetUrl

func (x *ImageInfo) GetUrl() string

func (*ImageInfo) ProtoMessage

func (*ImageInfo) ProtoMessage()

func (*ImageInfo) ProtoReflect

func (x *ImageInfo) ProtoReflect() protoreflect.Message

func (*ImageInfo) Reset

func (x *ImageInfo) Reset()

func (*ImageInfo) String

func (x *ImageInfo) String() string

type ListFlavorsRequest

type ListFlavorsRequest struct {
	Limit     int32  `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFlavorsRequest) Descriptor deprecated

func (*ListFlavorsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListFlavorsRequest.ProtoReflect.Descriptor instead.

func (*ListFlavorsRequest) GetLimit

func (x *ListFlavorsRequest) GetLimit() int32

func (*ListFlavorsRequest) GetPageToken

func (x *ListFlavorsRequest) GetPageToken() string

func (*ListFlavorsRequest) ProtoMessage

func (*ListFlavorsRequest) ProtoMessage()

func (*ListFlavorsRequest) ProtoReflect

func (x *ListFlavorsRequest) ProtoReflect() protoreflect.Message

func (*ListFlavorsRequest) Reset

func (x *ListFlavorsRequest) Reset()

func (*ListFlavorsRequest) String

func (x *ListFlavorsRequest) String() string

type ListFlavorsResponse

type ListFlavorsResponse struct {
	Flavors       []*Flavor `protobuf:"bytes,1,rep,name=flavors,proto3" json:"flavors,omitempty"`
	NextPageToken string    `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFlavorsResponse) Descriptor deprecated

func (*ListFlavorsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListFlavorsResponse.ProtoReflect.Descriptor instead.

func (*ListFlavorsResponse) GetFlavors

func (x *ListFlavorsResponse) GetFlavors() []*Flavor

func (*ListFlavorsResponse) GetNextPageToken

func (x *ListFlavorsResponse) GetNextPageToken() string

func (*ListFlavorsResponse) ProtoMessage

func (*ListFlavorsResponse) ProtoMessage()

func (*ListFlavorsResponse) ProtoReflect

func (x *ListFlavorsResponse) ProtoReflect() protoreflect.Message

func (*ListFlavorsResponse) Reset

func (x *ListFlavorsResponse) Reset()

func (*ListFlavorsResponse) String

func (x *ListFlavorsResponse) String() string

type ListFloatingIPsRequest

type ListFloatingIPsRequest struct {
	Project   string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Limit     int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFloatingIPsRequest) Descriptor deprecated

func (*ListFloatingIPsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListFloatingIPsRequest.ProtoReflect.Descriptor instead.

func (*ListFloatingIPsRequest) GetLimit

func (x *ListFloatingIPsRequest) GetLimit() int32

func (*ListFloatingIPsRequest) GetPageToken

func (x *ListFloatingIPsRequest) GetPageToken() string

func (*ListFloatingIPsRequest) GetProject

func (x *ListFloatingIPsRequest) GetProject() string

func (*ListFloatingIPsRequest) ProtoMessage

func (*ListFloatingIPsRequest) ProtoMessage()

func (*ListFloatingIPsRequest) ProtoReflect

func (x *ListFloatingIPsRequest) ProtoReflect() protoreflect.Message

func (*ListFloatingIPsRequest) Reset

func (x *ListFloatingIPsRequest) Reset()

func (*ListFloatingIPsRequest) String

func (x *ListFloatingIPsRequest) String() string

type ListFloatingIPsResponse

type ListFloatingIPsResponse struct {
	FloatingIps   []*FloatingIPInfo `protobuf:"bytes,1,rep,name=floating_ips,json=floatingIps,proto3" json:"floating_ips,omitempty"`
	NextPageToken string            `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFloatingIPsResponse) Descriptor deprecated

func (*ListFloatingIPsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListFloatingIPsResponse.ProtoReflect.Descriptor instead.

func (*ListFloatingIPsResponse) GetFloatingIps

func (x *ListFloatingIPsResponse) GetFloatingIps() []*FloatingIPInfo

func (*ListFloatingIPsResponse) GetNextPageToken

func (x *ListFloatingIPsResponse) GetNextPageToken() string

func (*ListFloatingIPsResponse) ProtoMessage

func (*ListFloatingIPsResponse) ProtoMessage()

func (*ListFloatingIPsResponse) ProtoReflect

func (x *ListFloatingIPsResponse) ProtoReflect() protoreflect.Message

func (*ListFloatingIPsResponse) Reset

func (x *ListFloatingIPsResponse) Reset()

func (*ListFloatingIPsResponse) String

func (x *ListFloatingIPsResponse) String() string

type ListHostsRequest

type ListHostsRequest struct {
	Az        string `protobuf:"bytes,1,opt,name=az,proto3" json:"az,omitempty"`
	Limit     int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

ListHosts returns the full registry, optionally filtered by AZ. Sorted by (AZ, Hostname) for stable diff-friendly output.

func (*ListHostsRequest) Descriptor deprecated

func (*ListHostsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListHostsRequest.ProtoReflect.Descriptor instead.

func (*ListHostsRequest) GetAz

func (x *ListHostsRequest) GetAz() string

func (*ListHostsRequest) GetLimit

func (x *ListHostsRequest) GetLimit() int32

func (*ListHostsRequest) GetPageToken

func (x *ListHostsRequest) GetPageToken() string

func (*ListHostsRequest) ProtoMessage

func (*ListHostsRequest) ProtoMessage()

func (*ListHostsRequest) ProtoReflect

func (x *ListHostsRequest) ProtoReflect() protoreflect.Message

func (*ListHostsRequest) Reset

func (x *ListHostsRequest) Reset()

func (*ListHostsRequest) String

func (x *ListHostsRequest) String() string

type ListHostsResponse

type ListHostsResponse struct {
	Hosts              []*HostInfo `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"`
	ConnectedHostUuids []string    `protobuf:"bytes,2,rep,name=connected_host_uuids,json=connectedHostUuids,proto3" json:"connected_host_uuids,omitempty"`
	NextPageToken      string      `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

ListHostsResponse exposes both the persisted Host registry (hosts) and a runtime view (connected_host_uuids) — the UUIDs of hosts whose agents currently hold an open AgentDispatch stream. A host listed in `hosts` but absent from `connected_host_uuids` either hasn't run `weft agent --client` yet, or its dispatch stream is mid-reconnect / TTL-expired.

func (*ListHostsResponse) Descriptor deprecated

func (*ListHostsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListHostsResponse.ProtoReflect.Descriptor instead.

func (*ListHostsResponse) GetConnectedHostUuids

func (x *ListHostsResponse) GetConnectedHostUuids() []string

func (*ListHostsResponse) GetHosts

func (x *ListHostsResponse) GetHosts() []*HostInfo

func (*ListHostsResponse) GetNextPageToken

func (x *ListHostsResponse) GetNextPageToken() string

func (*ListHostsResponse) ProtoMessage

func (*ListHostsResponse) ProtoMessage()

func (*ListHostsResponse) ProtoReflect

func (x *ListHostsResponse) ProtoReflect() protoreflect.Message

func (*ListHostsResponse) Reset

func (x *ListHostsResponse) Reset()

func (*ListHostsResponse) String

func (x *ListHostsResponse) String() string

type ListImagesRequest

type ListImagesRequest struct {
	Limit     int32  `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListImagesRequest) Descriptor deprecated

func (*ListImagesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListImagesRequest.ProtoReflect.Descriptor instead.

func (*ListImagesRequest) GetLimit

func (x *ListImagesRequest) GetLimit() int32

func (*ListImagesRequest) GetPageToken

func (x *ListImagesRequest) GetPageToken() string

func (*ListImagesRequest) ProtoMessage

func (*ListImagesRequest) ProtoMessage()

func (*ListImagesRequest) ProtoReflect

func (x *ListImagesRequest) ProtoReflect() protoreflect.Message

func (*ListImagesRequest) Reset

func (x *ListImagesRequest) Reset()

func (*ListImagesRequest) String

func (x *ListImagesRequest) String() string

type ListImagesResponse

type ListImagesResponse struct {
	Images        []*ImageInfo `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
	NextPageToken string       `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListImagesResponse) Descriptor deprecated

func (*ListImagesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListImagesResponse.ProtoReflect.Descriptor instead.

func (*ListImagesResponse) GetImages

func (x *ListImagesResponse) GetImages() []*ImageInfo

func (*ListImagesResponse) GetNextPageToken

func (x *ListImagesResponse) GetNextPageToken() string

func (*ListImagesResponse) ProtoMessage

func (*ListImagesResponse) ProtoMessage()

func (*ListImagesResponse) ProtoReflect

func (x *ListImagesResponse) ProtoReflect() protoreflect.Message

func (*ListImagesResponse) Reset

func (x *ListImagesResponse) Reset()

func (*ListImagesResponse) String

func (x *ListImagesResponse) String() string

type ListNetworksRequest

type ListNetworksRequest struct {
	Project   string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Limit     int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNetworksRequest) Descriptor deprecated

func (*ListNetworksRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListNetworksRequest.ProtoReflect.Descriptor instead.

func (*ListNetworksRequest) GetLimit

func (x *ListNetworksRequest) GetLimit() int32

func (*ListNetworksRequest) GetPageToken

func (x *ListNetworksRequest) GetPageToken() string

func (*ListNetworksRequest) GetProject

func (x *ListNetworksRequest) GetProject() string

func (*ListNetworksRequest) ProtoMessage

func (*ListNetworksRequest) ProtoMessage()

func (*ListNetworksRequest) ProtoReflect

func (x *ListNetworksRequest) ProtoReflect() protoreflect.Message

func (*ListNetworksRequest) Reset

func (x *ListNetworksRequest) Reset()

func (*ListNetworksRequest) String

func (x *ListNetworksRequest) String() string

type ListNetworksResponse

type ListNetworksResponse struct {
	Networks      []*NetworkInfo `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
	NextPageToken string         `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNetworksResponse) Descriptor deprecated

func (*ListNetworksResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListNetworksResponse.ProtoReflect.Descriptor instead.

func (*ListNetworksResponse) GetNetworks

func (x *ListNetworksResponse) GetNetworks() []*NetworkInfo

func (*ListNetworksResponse) GetNextPageToken

func (x *ListNetworksResponse) GetNextPageToken() string

func (*ListNetworksResponse) ProtoMessage

func (*ListNetworksResponse) ProtoMessage()

func (*ListNetworksResponse) ProtoReflect

func (x *ListNetworksResponse) ProtoReflect() protoreflect.Message

func (*ListNetworksResponse) Reset

func (x *ListNetworksResponse) Reset()

func (*ListNetworksResponse) String

func (x *ListNetworksResponse) String() string

type ListProjectMembersRequest

type ListProjectMembersRequest struct {
	ProjectUuid string `protobuf:"bytes,1,opt,name=project_uuid,json=projectUuid,proto3" json:"project_uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProjectMembersRequest) Descriptor deprecated

func (*ListProjectMembersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListProjectMembersRequest.ProtoReflect.Descriptor instead.

func (*ListProjectMembersRequest) GetProjectUuid

func (x *ListProjectMembersRequest) GetProjectUuid() string

func (*ListProjectMembersRequest) ProtoMessage

func (*ListProjectMembersRequest) ProtoMessage()

func (*ListProjectMembersRequest) ProtoReflect

func (*ListProjectMembersRequest) Reset

func (x *ListProjectMembersRequest) Reset()

func (*ListProjectMembersRequest) String

func (x *ListProjectMembersRequest) String() string

type ListProjectMembersResponse

type ListProjectMembersResponse struct {
	UserUuids []string `protobuf:"bytes,1,rep,name=user_uuids,json=userUuids,proto3" json:"user_uuids,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProjectMembersResponse) Descriptor deprecated

func (*ListProjectMembersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListProjectMembersResponse.ProtoReflect.Descriptor instead.

func (*ListProjectMembersResponse) GetUserUuids

func (x *ListProjectMembersResponse) GetUserUuids() []string

func (*ListProjectMembersResponse) ProtoMessage

func (*ListProjectMembersResponse) ProtoMessage()

func (*ListProjectMembersResponse) ProtoReflect

func (*ListProjectMembersResponse) Reset

func (x *ListProjectMembersResponse) Reset()

func (*ListProjectMembersResponse) String

func (x *ListProjectMembersResponse) String() string

type ListProjectsRequest

type ListProjectsRequest struct {

	// Pagination. Empty page_token = first page. `limit` clamped to
	// [0, 1000] server-side ; 0 = server default (50). next_page_token
	// empty in the response = no more rows.
	Limit     int32  `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProjectsRequest) Descriptor deprecated

func (*ListProjectsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListProjectsRequest.ProtoReflect.Descriptor instead.

func (*ListProjectsRequest) GetLimit

func (x *ListProjectsRequest) GetLimit() int32

func (*ListProjectsRequest) GetPageToken

func (x *ListProjectsRequest) GetPageToken() string

func (*ListProjectsRequest) ProtoMessage

func (*ListProjectsRequest) ProtoMessage()

func (*ListProjectsRequest) ProtoReflect

func (x *ListProjectsRequest) ProtoReflect() protoreflect.Message

func (*ListProjectsRequest) Reset

func (x *ListProjectsRequest) Reset()

func (*ListProjectsRequest) String

func (x *ListProjectsRequest) String() string

type ListProjectsResponse

type ListProjectsResponse struct {
	Projects      []*ProjectInfo `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"`
	NextPageToken string         `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProjectsResponse) Descriptor deprecated

func (*ListProjectsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListProjectsResponse.ProtoReflect.Descriptor instead.

func (*ListProjectsResponse) GetNextPageToken

func (x *ListProjectsResponse) GetNextPageToken() string

func (*ListProjectsResponse) GetProjects

func (x *ListProjectsResponse) GetProjects() []*ProjectInfo

func (*ListProjectsResponse) ProtoMessage

func (*ListProjectsResponse) ProtoMessage()

func (*ListProjectsResponse) ProtoReflect

func (x *ListProjectsResponse) ProtoReflect() protoreflect.Message

func (*ListProjectsResponse) Reset

func (x *ListProjectsResponse) Reset()

func (*ListProjectsResponse) String

func (x *ListProjectsResponse) String() string

type ListScriptsRequest

type ListScriptsRequest struct {
	Limit     int32  `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListScriptsRequest) Descriptor deprecated

func (*ListScriptsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListScriptsRequest.ProtoReflect.Descriptor instead.

func (*ListScriptsRequest) GetLimit

func (x *ListScriptsRequest) GetLimit() int32

func (*ListScriptsRequest) GetPageToken

func (x *ListScriptsRequest) GetPageToken() string

func (*ListScriptsRequest) ProtoMessage

func (*ListScriptsRequest) ProtoMessage()

func (*ListScriptsRequest) ProtoReflect

func (x *ListScriptsRequest) ProtoReflect() protoreflect.Message

func (*ListScriptsRequest) Reset

func (x *ListScriptsRequest) Reset()

func (*ListScriptsRequest) String

func (x *ListScriptsRequest) String() string

type ListScriptsResponse

type ListScriptsResponse struct {
	Scripts       []*Script `protobuf:"bytes,1,rep,name=scripts,proto3" json:"scripts,omitempty"`
	NextPageToken string    `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListScriptsResponse) Descriptor deprecated

func (*ListScriptsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListScriptsResponse.ProtoReflect.Descriptor instead.

func (*ListScriptsResponse) GetNextPageToken

func (x *ListScriptsResponse) GetNextPageToken() string

func (*ListScriptsResponse) GetScripts

func (x *ListScriptsResponse) GetScripts() []*Script

func (*ListScriptsResponse) ProtoMessage

func (*ListScriptsResponse) ProtoMessage()

func (*ListScriptsResponse) ProtoReflect

func (x *ListScriptsResponse) ProtoReflect() protoreflect.Message

func (*ListScriptsResponse) Reset

func (x *ListScriptsResponse) Reset()

func (*ListScriptsResponse) String

func (x *ListScriptsResponse) String() string

type ListSecurityGroupsRequest

type ListSecurityGroupsRequest struct {
	Project   string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Limit     int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSecurityGroupsRequest) Descriptor deprecated

func (*ListSecurityGroupsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSecurityGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListSecurityGroupsRequest) GetLimit

func (x *ListSecurityGroupsRequest) GetLimit() int32

func (*ListSecurityGroupsRequest) GetPageToken

func (x *ListSecurityGroupsRequest) GetPageToken() string

func (*ListSecurityGroupsRequest) GetProject

func (x *ListSecurityGroupsRequest) GetProject() string

func (*ListSecurityGroupsRequest) ProtoMessage

func (*ListSecurityGroupsRequest) ProtoMessage()

func (*ListSecurityGroupsRequest) ProtoReflect

func (*ListSecurityGroupsRequest) Reset

func (x *ListSecurityGroupsRequest) Reset()

func (*ListSecurityGroupsRequest) String

func (x *ListSecurityGroupsRequest) String() string

type ListSecurityGroupsResponse

type ListSecurityGroupsResponse struct {
	Groups        []*SecurityGroupInfo `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
	NextPageToken string               `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSecurityGroupsResponse) Descriptor deprecated

func (*ListSecurityGroupsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListSecurityGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListSecurityGroupsResponse) GetGroups

func (*ListSecurityGroupsResponse) GetNextPageToken

func (x *ListSecurityGroupsResponse) GetNextPageToken() string

func (*ListSecurityGroupsResponse) ProtoMessage

func (*ListSecurityGroupsResponse) ProtoMessage()

func (*ListSecurityGroupsResponse) ProtoReflect

func (*ListSecurityGroupsResponse) Reset

func (x *ListSecurityGroupsResponse) Reset()

func (*ListSecurityGroupsResponse) String

func (x *ListSecurityGroupsResponse) String() string

type ListSharesRequest

type ListSharesRequest struct {
	Project   string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // optional ; "" = caller's accessible set
	Limit     int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSharesRequest) Descriptor deprecated

func (*ListSharesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSharesRequest.ProtoReflect.Descriptor instead.

func (*ListSharesRequest) GetLimit

func (x *ListSharesRequest) GetLimit() int32

func (*ListSharesRequest) GetPageToken

func (x *ListSharesRequest) GetPageToken() string

func (*ListSharesRequest) GetProject

func (x *ListSharesRequest) GetProject() string

func (*ListSharesRequest) ProtoMessage

func (*ListSharesRequest) ProtoMessage()

func (*ListSharesRequest) ProtoReflect

func (x *ListSharesRequest) ProtoReflect() protoreflect.Message

func (*ListSharesRequest) Reset

func (x *ListSharesRequest) Reset()

func (*ListSharesRequest) String

func (x *ListSharesRequest) String() string

type ListSharesResponse

type ListSharesResponse struct {
	Shares        []*ShareInfo `protobuf:"bytes,1,rep,name=shares,proto3" json:"shares,omitempty"`
	NextPageToken string       `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSharesResponse) Descriptor deprecated

func (*ListSharesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListSharesResponse.ProtoReflect.Descriptor instead.

func (*ListSharesResponse) GetNextPageToken

func (x *ListSharesResponse) GetNextPageToken() string

func (*ListSharesResponse) GetShares

func (x *ListSharesResponse) GetShares() []*ShareInfo

func (*ListSharesResponse) ProtoMessage

func (*ListSharesResponse) ProtoMessage()

func (*ListSharesResponse) ProtoReflect

func (x *ListSharesResponse) ProtoReflect() protoreflect.Message

func (*ListSharesResponse) Reset

func (x *ListSharesResponse) Reset()

func (*ListSharesResponse) String

func (x *ListSharesResponse) String() string

type ListTenantsRequest

type ListTenantsRequest struct {
	// contains filtered or unexported fields
}

func (*ListTenantsRequest) Descriptor deprecated

func (*ListTenantsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListTenantsRequest.ProtoReflect.Descriptor instead.

func (*ListTenantsRequest) ProtoMessage

func (*ListTenantsRequest) ProtoMessage()

func (*ListTenantsRequest) ProtoReflect

func (x *ListTenantsRequest) ProtoReflect() protoreflect.Message

func (*ListTenantsRequest) Reset

func (x *ListTenantsRequest) Reset()

func (*ListTenantsRequest) String

func (x *ListTenantsRequest) String() string

type ListTenantsResponse

type ListTenantsResponse struct {
	Tenants []*TenantInfo `protobuf:"bytes,1,rep,name=tenants,proto3" json:"tenants,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTenantsResponse) Descriptor deprecated

func (*ListTenantsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListTenantsResponse.ProtoReflect.Descriptor instead.

func (*ListTenantsResponse) GetTenants

func (x *ListTenantsResponse) GetTenants() []*TenantInfo

func (*ListTenantsResponse) ProtoMessage

func (*ListTenantsResponse) ProtoMessage()

func (*ListTenantsResponse) ProtoReflect

func (x *ListTenantsResponse) ProtoReflect() protoreflect.Message

func (*ListTenantsResponse) Reset

func (x *ListTenantsResponse) Reset()

func (*ListTenantsResponse) String

func (x *ListTenantsResponse) String() string

type ListUEFIVarsRequest

type ListUEFIVarsRequest struct {
	VmName    string `protobuf:"bytes,1,opt,name=vm_name,json=vmName,proto3" json:"vm_name,omitempty"`
	Project   string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Limit     int32  `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUEFIVarsRequest) Descriptor deprecated

func (*ListUEFIVarsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListUEFIVarsRequest.ProtoReflect.Descriptor instead.

func (*ListUEFIVarsRequest) GetLimit

func (x *ListUEFIVarsRequest) GetLimit() int32

func (*ListUEFIVarsRequest) GetPageToken

func (x *ListUEFIVarsRequest) GetPageToken() string

func (*ListUEFIVarsRequest) GetProject

func (x *ListUEFIVarsRequest) GetProject() string

func (*ListUEFIVarsRequest) GetVmName

func (x *ListUEFIVarsRequest) GetVmName() string

func (*ListUEFIVarsRequest) ProtoMessage

func (*ListUEFIVarsRequest) ProtoMessage()

func (*ListUEFIVarsRequest) ProtoReflect

func (x *ListUEFIVarsRequest) ProtoReflect() protoreflect.Message

func (*ListUEFIVarsRequest) Reset

func (x *ListUEFIVarsRequest) Reset()

func (*ListUEFIVarsRequest) String

func (x *ListUEFIVarsRequest) String() string

type ListUEFIVarsResponse

type ListUEFIVarsResponse struct {
	Vars          []*UEFIVar `protobuf:"bytes,1,rep,name=vars,proto3" json:"vars,omitempty"`
	NextPageToken string     `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUEFIVarsResponse) Descriptor deprecated

func (*ListUEFIVarsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListUEFIVarsResponse.ProtoReflect.Descriptor instead.

func (*ListUEFIVarsResponse) GetNextPageToken

func (x *ListUEFIVarsResponse) GetNextPageToken() string

func (*ListUEFIVarsResponse) GetVars

func (x *ListUEFIVarsResponse) GetVars() []*UEFIVar

func (*ListUEFIVarsResponse) ProtoMessage

func (*ListUEFIVarsResponse) ProtoMessage()

func (*ListUEFIVarsResponse) ProtoReflect

func (x *ListUEFIVarsResponse) ProtoReflect() protoreflect.Message

func (*ListUEFIVarsResponse) Reset

func (x *ListUEFIVarsResponse) Reset()

func (*ListUEFIVarsResponse) String

func (x *ListUEFIVarsResponse) String() string

type ListUsersRequest

type ListUsersRequest struct {
	Limit     int32  `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

ListUsers returns every registered user. Platform-admin only (Phase-2 ACL gate via RequireAdmin).

func (*ListUsersRequest) Descriptor deprecated

func (*ListUsersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.

func (*ListUsersRequest) GetLimit

func (x *ListUsersRequest) GetLimit() int32

func (*ListUsersRequest) GetPageToken

func (x *ListUsersRequest) GetPageToken() string

func (*ListUsersRequest) ProtoMessage

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) ProtoReflect

func (x *ListUsersRequest) ProtoReflect() protoreflect.Message

func (*ListUsersRequest) Reset

func (x *ListUsersRequest) Reset()

func (*ListUsersRequest) String

func (x *ListUsersRequest) String() string

type ListUsersResponse

type ListUsersResponse struct {
	Users         []*UserInfo `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	NextPageToken string      `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersResponse) Descriptor deprecated

func (*ListUsersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.

func (*ListUsersResponse) GetNextPageToken

func (x *ListUsersResponse) GetNextPageToken() string

func (*ListUsersResponse) GetUsers

func (x *ListUsersResponse) GetUsers() []*UserInfo

func (*ListUsersResponse) ProtoMessage

func (*ListUsersResponse) ProtoMessage()

func (*ListUsersResponse) ProtoReflect

func (x *ListUsersResponse) ProtoReflect() protoreflect.Message

func (*ListUsersResponse) Reset

func (x *ListUsersResponse) Reset()

func (*ListUsersResponse) String

func (x *ListUsersResponse) String() string

type ListVMPropertiesRequest

type ListVMPropertiesRequest struct {
	VmName    string `protobuf:"bytes,1,opt,name=vm_name,json=vmName,proto3" json:"vm_name,omitempty"`
	Project   string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` // narrow if the VM name is ambiguous across projects
	Limit     int32  `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListVMPropertiesRequest) Descriptor deprecated

func (*ListVMPropertiesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListVMPropertiesRequest.ProtoReflect.Descriptor instead.

func (*ListVMPropertiesRequest) GetLimit

func (x *ListVMPropertiesRequest) GetLimit() int32

func (*ListVMPropertiesRequest) GetPageToken

func (x *ListVMPropertiesRequest) GetPageToken() string

func (*ListVMPropertiesRequest) GetProject

func (x *ListVMPropertiesRequest) GetProject() string

func (*ListVMPropertiesRequest) GetVmName

func (x *ListVMPropertiesRequest) GetVmName() string

func (*ListVMPropertiesRequest) ProtoMessage

func (*ListVMPropertiesRequest) ProtoMessage()

func (*ListVMPropertiesRequest) ProtoReflect

func (x *ListVMPropertiesRequest) ProtoReflect() protoreflect.Message

func (*ListVMPropertiesRequest) Reset

func (x *ListVMPropertiesRequest) Reset()

func (*ListVMPropertiesRequest) String

func (x *ListVMPropertiesRequest) String() string

type ListVMPropertiesResponse

type ListVMPropertiesResponse struct {
	Properties    []*VMProperty `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty"`
	NextPageToken string        `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListVMPropertiesResponse) Descriptor deprecated

func (*ListVMPropertiesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListVMPropertiesResponse.ProtoReflect.Descriptor instead.

func (*ListVMPropertiesResponse) GetNextPageToken

func (x *ListVMPropertiesResponse) GetNextPageToken() string

func (*ListVMPropertiesResponse) GetProperties

func (x *ListVMPropertiesResponse) GetProperties() []*VMProperty

func (*ListVMPropertiesResponse) ProtoMessage

func (*ListVMPropertiesResponse) ProtoMessage()

func (*ListVMPropertiesResponse) ProtoReflect

func (x *ListVMPropertiesResponse) ProtoReflect() protoreflect.Message

func (*ListVMPropertiesResponse) Reset

func (x *ListVMPropertiesResponse) Reset()

func (*ListVMPropertiesResponse) String

func (x *ListVMPropertiesResponse) String() string

type ListVMSSHKeysRequest

type ListVMSSHKeysRequest struct {
	VmName    string `protobuf:"bytes,1,opt,name=vm_name,json=vmName,proto3" json:"vm_name,omitempty"`
	Project   string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Limit     int32  `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListVMSSHKeysRequest) Descriptor deprecated

func (*ListVMSSHKeysRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListVMSSHKeysRequest.ProtoReflect.Descriptor instead.

func (*ListVMSSHKeysRequest) GetLimit

func (x *ListVMSSHKeysRequest) GetLimit() int32

func (*ListVMSSHKeysRequest) GetPageToken

func (x *ListVMSSHKeysRequest) GetPageToken() string

func (*ListVMSSHKeysRequest) GetProject

func (x *ListVMSSHKeysRequest) GetProject() string

func (*ListVMSSHKeysRequest) GetVmName

func (x *ListVMSSHKeysRequest) GetVmName() string

func (*ListVMSSHKeysRequest) ProtoMessage

func (*ListVMSSHKeysRequest) ProtoMessage()

func (*ListVMSSHKeysRequest) ProtoReflect

func (x *ListVMSSHKeysRequest) ProtoReflect() protoreflect.Message

func (*ListVMSSHKeysRequest) Reset

func (x *ListVMSSHKeysRequest) Reset()

func (*ListVMSSHKeysRequest) String

func (x *ListVMSSHKeysRequest) String() string

type ListVMSSHKeysResponse

type ListVMSSHKeysResponse struct {
	Keys          []*VMSSHKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	NextPageToken string      `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListVMSSHKeysResponse) Descriptor deprecated

func (*ListVMSSHKeysResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListVMSSHKeysResponse.ProtoReflect.Descriptor instead.

func (*ListVMSSHKeysResponse) GetKeys

func (x *ListVMSSHKeysResponse) GetKeys() []*VMSSHKey

func (*ListVMSSHKeysResponse) GetNextPageToken

func (x *ListVMSSHKeysResponse) GetNextPageToken() string

func (*ListVMSSHKeysResponse) ProtoMessage

func (*ListVMSSHKeysResponse) ProtoMessage()

func (*ListVMSSHKeysResponse) ProtoReflect

func (x *ListVMSSHKeysResponse) ProtoReflect() protoreflect.Message

func (*ListVMSSHKeysResponse) Reset

func (x *ListVMSSHKeysResponse) Reset()

func (*ListVMSSHKeysResponse) String

func (x *ListVMSSHKeysResponse) String() string

type ListVMsRequest

type ListVMsRequest struct {
	Project   string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Limit     int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Filtering rules:

  • `project == ""`: return every VM the caller can see across all their projects (Phase 1: every VM, since auth is not yet wired — Phase 2 will scope this to the caller's identity).
  • `project != ""`: a display name OR a UUID. Server resolves it before filtering.

func (*ListVMsRequest) Descriptor deprecated

func (*ListVMsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListVMsRequest.ProtoReflect.Descriptor instead.

func (*ListVMsRequest) GetLimit

func (x *ListVMsRequest) GetLimit() int32

func (*ListVMsRequest) GetPageToken

func (x *ListVMsRequest) GetPageToken() string

func (*ListVMsRequest) GetProject

func (x *ListVMsRequest) GetProject() string

func (*ListVMsRequest) ProtoMessage

func (*ListVMsRequest) ProtoMessage()

func (*ListVMsRequest) ProtoReflect

func (x *ListVMsRequest) ProtoReflect() protoreflect.Message

func (*ListVMsRequest) Reset

func (x *ListVMsRequest) Reset()

func (*ListVMsRequest) String

func (x *ListVMsRequest) String() string

type ListVMsResponse

type ListVMsResponse struct {
	Vms           []*VMInfo `protobuf:"bytes,1,rep,name=vms,proto3" json:"vms,omitempty"`
	NextPageToken string    `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListVMsResponse) Descriptor deprecated

func (*ListVMsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListVMsResponse.ProtoReflect.Descriptor instead.

func (*ListVMsResponse) GetNextPageToken

func (x *ListVMsResponse) GetNextPageToken() string

func (*ListVMsResponse) GetVms

func (x *ListVMsResponse) GetVms() []*VMInfo

func (*ListVMsResponse) ProtoMessage

func (*ListVMsResponse) ProtoMessage()

func (*ListVMsResponse) ProtoReflect

func (x *ListVMsResponse) ProtoReflect() protoreflect.Message

func (*ListVMsResponse) Reset

func (x *ListVMsResponse) Reset()

func (*ListVMsResponse) String

func (x *ListVMsResponse) String() string

type ListVolumeSnapshotsRequest

type ListVolumeSnapshotsRequest struct {
	VolumeUuid string `protobuf:"bytes,1,opt,name=volume_uuid,json=volumeUuid,proto3" json:"volume_uuid,omitempty"` // empty → list all snapshots in the project
	Project    string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*ListVolumeSnapshotsRequest) Descriptor deprecated

func (*ListVolumeSnapshotsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListVolumeSnapshotsRequest.ProtoReflect.Descriptor instead.

func (*ListVolumeSnapshotsRequest) GetProject

func (x *ListVolumeSnapshotsRequest) GetProject() string

func (*ListVolumeSnapshotsRequest) GetVolumeUuid

func (x *ListVolumeSnapshotsRequest) GetVolumeUuid() string

func (*ListVolumeSnapshotsRequest) ProtoMessage

func (*ListVolumeSnapshotsRequest) ProtoMessage()

func (*ListVolumeSnapshotsRequest) ProtoReflect

func (*ListVolumeSnapshotsRequest) Reset

func (x *ListVolumeSnapshotsRequest) Reset()

func (*ListVolumeSnapshotsRequest) String

func (x *ListVolumeSnapshotsRequest) String() string

type ListVolumeSnapshotsResponse

type ListVolumeSnapshotsResponse struct {
	Snapshots []*VolumeSnapshotInfo `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty"`
	// contains filtered or unexported fields
}

func (*ListVolumeSnapshotsResponse) Descriptor deprecated

func (*ListVolumeSnapshotsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListVolumeSnapshotsResponse.ProtoReflect.Descriptor instead.

func (*ListVolumeSnapshotsResponse) GetSnapshots

func (x *ListVolumeSnapshotsResponse) GetSnapshots() []*VolumeSnapshotInfo

func (*ListVolumeSnapshotsResponse) ProtoMessage

func (*ListVolumeSnapshotsResponse) ProtoMessage()

func (*ListVolumeSnapshotsResponse) ProtoReflect

func (*ListVolumeSnapshotsResponse) Reset

func (x *ListVolumeSnapshotsResponse) Reset()

func (*ListVolumeSnapshotsResponse) String

func (x *ListVolumeSnapshotsResponse) String() string

type ListVolumesRequest

type ListVolumesRequest struct {

	// Empty → every visible volume (ACL-scoped). Set a project
	// (UUID or display name) to narrow to one bucket.
	Project   string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Limit     int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListVolumesRequest) Descriptor deprecated

func (*ListVolumesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListVolumesRequest.ProtoReflect.Descriptor instead.

func (*ListVolumesRequest) GetLimit

func (x *ListVolumesRequest) GetLimit() int32

func (*ListVolumesRequest) GetPageToken

func (x *ListVolumesRequest) GetPageToken() string

func (*ListVolumesRequest) GetProject

func (x *ListVolumesRequest) GetProject() string

func (*ListVolumesRequest) ProtoMessage

func (*ListVolumesRequest) ProtoMessage()

func (*ListVolumesRequest) ProtoReflect

func (x *ListVolumesRequest) ProtoReflect() protoreflect.Message

func (*ListVolumesRequest) Reset

func (x *ListVolumesRequest) Reset()

func (*ListVolumesRequest) String

func (x *ListVolumesRequest) String() string

type ListVolumesResponse

type ListVolumesResponse struct {
	Volumes       []*VolumeInfo `protobuf:"bytes,1,rep,name=volumes,proto3" json:"volumes,omitempty"`
	NextPageToken string        `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListVolumesResponse) Descriptor deprecated

func (*ListVolumesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListVolumesResponse.ProtoReflect.Descriptor instead.

func (*ListVolumesResponse) GetNextPageToken

func (x *ListVolumesResponse) GetNextPageToken() string

func (*ListVolumesResponse) GetVolumes

func (x *ListVolumesResponse) GetVolumes() []*VolumeInfo

func (*ListVolumesResponse) ProtoMessage

func (*ListVolumesResponse) ProtoMessage()

func (*ListVolumesResponse) ProtoReflect

func (x *ListVolumesResponse) ProtoReflect() protoreflect.Message

func (*ListVolumesResponse) Reset

func (x *ListVolumesResponse) Reset()

func (*ListVolumesResponse) String

func (x *ListVolumesResponse) String() string

type MapFloatingIPRequest

type MapFloatingIPRequest struct {
	Uuid       string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	TargetKind string `protobuf:"bytes,2,opt,name=target_kind,json=targetKind,proto3" json:"target_kind,omitempty"` // "vm" | "lb"
	TargetName string `protobuf:"bytes,3,opt,name=target_name,json=targetName,proto3" json:"target_name,omitempty"`
	// contains filtered or unexported fields
}

MapFloatingIP attaches an allocated FIP to a target. `target_kind` distinguishes "vm" (one VM's primary IP gets DNATed) from "lb" (the VIP of a LoadBalancer entry) — the network controller (weft-network) wires the NAT / Envoy listener accordingly.

func (*MapFloatingIPRequest) Descriptor deprecated

func (*MapFloatingIPRequest) Descriptor() ([]byte, []int)

Deprecated: Use MapFloatingIPRequest.ProtoReflect.Descriptor instead.

func (*MapFloatingIPRequest) GetTargetKind

func (x *MapFloatingIPRequest) GetTargetKind() string

func (*MapFloatingIPRequest) GetTargetName

func (x *MapFloatingIPRequest) GetTargetName() string

func (*MapFloatingIPRequest) GetUuid

func (x *MapFloatingIPRequest) GetUuid() string

func (*MapFloatingIPRequest) ProtoMessage

func (*MapFloatingIPRequest) ProtoMessage()

func (*MapFloatingIPRequest) ProtoReflect

func (x *MapFloatingIPRequest) ProtoReflect() protoreflect.Message

func (*MapFloatingIPRequest) Reset

func (x *MapFloatingIPRequest) Reset()

func (*MapFloatingIPRequest) String

func (x *MapFloatingIPRequest) String() string

type MapFloatingIPResponse

type MapFloatingIPResponse struct {
	FloatingIp *FloatingIPInfo `protobuf:"bytes,1,opt,name=floating_ip,json=floatingIp,proto3" json:"floating_ip,omitempty"`
	// contains filtered or unexported fields
}

func (*MapFloatingIPResponse) Descriptor deprecated

func (*MapFloatingIPResponse) Descriptor() ([]byte, []int)

Deprecated: Use MapFloatingIPResponse.ProtoReflect.Descriptor instead.

func (*MapFloatingIPResponse) GetFloatingIp

func (x *MapFloatingIPResponse) GetFloatingIp() *FloatingIPInfo

func (*MapFloatingIPResponse) ProtoMessage

func (*MapFloatingIPResponse) ProtoMessage()

func (*MapFloatingIPResponse) ProtoReflect

func (x *MapFloatingIPResponse) ProtoReflect() protoreflect.Message

func (*MapFloatingIPResponse) Reset

func (x *MapFloatingIPResponse) Reset()

func (*MapFloatingIPResponse) String

func (x *MapFloatingIPResponse) String() string

type MeRequest

type MeRequest struct {
	// contains filtered or unexported fields
}

Me returns the caller's own UserInfo — the authoritative form of `weft whoami` that consults weft rather than decoding the local id_token. Dev-mode callers get a synthesised entry with the `dev:` subject.

func (*MeRequest) Descriptor deprecated

func (*MeRequest) Descriptor() ([]byte, []int)

Deprecated: Use MeRequest.ProtoReflect.Descriptor instead.

func (*MeRequest) ProtoMessage

func (*MeRequest) ProtoMessage()

func (*MeRequest) ProtoReflect

func (x *MeRequest) ProtoReflect() protoreflect.Message

func (*MeRequest) Reset

func (x *MeRequest) Reset()

func (*MeRequest) String

func (x *MeRequest) String() string

type MeResponse

type MeResponse struct {
	User *UserInfo `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*MeResponse) Descriptor deprecated

func (*MeResponse) Descriptor() ([]byte, []int)

Deprecated: Use MeResponse.ProtoReflect.Descriptor instead.

func (*MeResponse) GetUser

func (x *MeResponse) GetUser() *UserInfo

func (*MeResponse) ProtoMessage

func (*MeResponse) ProtoMessage()

func (*MeResponse) ProtoReflect

func (x *MeResponse) ProtoReflect() protoreflect.Message

func (*MeResponse) Reset

func (x *MeResponse) Reset()

func (*MeResponse) String

func (x *MeResponse) String() string

type MicroVMShare

type MicroVMShare struct {
	Tag      string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`                            // mount tag the guest sees (e.g. "rootfs0")
	Path     string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`                          // absolute host directory to expose
	ReadOnly bool   `protobuf:"varint,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` // optional; default = false
	// When true, weft materialises a copy-on-write clone of `path` into
	// <vmDir>/<tag>/ before exposing it (macOS clonefile(2) — instant,
	// shares blocks until written). Lets weft-microvm boot multiple instances
	// from the same OCI rootfs without their writes leaking back into
	// the shared cache. The cloned tree is deleted with the VM dir at
	// DeleteVM time. Host must be on APFS for the clone to succeed.
	Clone bool `protobuf:"varint,4,opt,name=clone,proto3" json:"clone,omitempty"`
	// contains filtered or unexported fields
}

MicroVMShare is one virtio-fs share exposed to a microVM. weft-microvm's `weft-microvm run` uses these to plumb an extracted OCI image rootfs to the guest, where weft-microvm-init mounts it on /newroot before pivot_root.

func (*MicroVMShare) Descriptor deprecated

func (*MicroVMShare) Descriptor() ([]byte, []int)

Deprecated: Use MicroVMShare.ProtoReflect.Descriptor instead.

func (*MicroVMShare) GetClone

func (x *MicroVMShare) GetClone() bool

func (*MicroVMShare) GetPath

func (x *MicroVMShare) GetPath() string

func (*MicroVMShare) GetReadOnly

func (x *MicroVMShare) GetReadOnly() bool

func (*MicroVMShare) GetTag

func (x *MicroVMShare) GetTag() string

func (*MicroVMShare) ProtoMessage

func (*MicroVMShare) ProtoMessage()

func (*MicroVMShare) ProtoReflect

func (x *MicroVMShare) ProtoReflect() protoreflect.Message

func (*MicroVMShare) Reset

func (x *MicroVMShare) Reset()

func (*MicroVMShare) String

func (x *MicroVMShare) String() string

type NetworkInfo

type NetworkInfo struct {
	Uuid            string   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	ProjectUuid     string   `protobuf:"bytes,2,opt,name=project_uuid,json=projectUuid,proto3" json:"project_uuid,omitempty"`
	Name            string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Cidr            string   `protobuf:"bytes,4,opt,name=cidr,proto3" json:"cidr,omitempty"`
	Gateway         string   `protobuf:"bytes,5,opt,name=gateway,proto3" json:"gateway,omitempty"`
	DnsServers      []string `protobuf:"bytes,6,rep,name=dns_servers,json=dnsServers,proto3" json:"dns_servers,omitempty"`
	Type            string   `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"` // "nat" | "bridged" | "isolated"
	CreatedAtUnixNs int64    `protobuf:"varint,8,opt,name=created_at_unix_ns,json=createdAtUnixNs,proto3" json:"created_at_unix_ns,omitempty"`
	// Security-group UUIDs applied by default to every NIC that
	// joins this network. Updated via SetNetworkDefaultSecurityGroups.
	DefaultSecurityGroupUuids []string `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

NetworkInfo is one entry in the network registry. UUID, CIDR and Type are immutable; Name + DNS servers move via the dedicated RPCs.

func (*NetworkInfo) Descriptor deprecated

func (*NetworkInfo) Descriptor() ([]byte, []int)

Deprecated: Use NetworkInfo.ProtoReflect.Descriptor instead.

func (*NetworkInfo) GetCidr

func (x *NetworkInfo) GetCidr() string

func (*NetworkInfo) GetCreatedAtUnixNs

func (x *NetworkInfo) GetCreatedAtUnixNs() int64

func (*NetworkInfo) GetDefaultSecurityGroupUuids

func (x *NetworkInfo) GetDefaultSecurityGroupUuids() []string

func (*NetworkInfo) GetDnsServers

func (x *NetworkInfo) GetDnsServers() []string

func (*NetworkInfo) GetGateway

func (x *NetworkInfo) GetGateway() string

func (*NetworkInfo) GetName

func (x *NetworkInfo) GetName() string

func (*NetworkInfo) GetProjectUuid

func (x *NetworkInfo) GetProjectUuid() string

func (*NetworkInfo) GetType

func (x *NetworkInfo) GetType() string

func (*NetworkInfo) GetUuid

func (x *NetworkInfo) GetUuid() string

func (*NetworkInfo) ProtoMessage

func (*NetworkInfo) ProtoMessage()

func (*NetworkInfo) ProtoReflect

func (x *NetworkInfo) ProtoReflect() protoreflect.Message

func (*NetworkInfo) Reset

func (x *NetworkInfo) Reset()

func (*NetworkInfo) String

func (x *NetworkInfo) String() string

type PCIPassthroughRequest

type PCIPassthroughRequest struct {
	VendorId string `protobuf:"bytes,1,opt,name=vendor_id,json=vendorId,proto3" json:"vendor_id,omitempty"` // 4-hex-digit PCI Vendor Code, lowercase, no "0x" prefix (e.g. "10de")
	DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // 4-hex-digit PCI Device Code, lowercase, no "0x" prefix (e.g. "2330") ; empty = any device from this vendor
	Count    int32  `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`                      // 0 → 1
	// contains filtered or unexported fields
}

PCIPassthroughRequest is one (vendor:device) tuple a VM asks to passthrough at create time. Sibling of the GPU passthrough surface — same matching semantics (host inventory must satisfy every entry) but for non-GPU endpoints (NICs, NVMe, sound cards, FPGAs). See docs/operations/pci-passthrough.md for the operator workflow and the "no exclusivity today" gotcha.

func (*PCIPassthroughRequest) Descriptor deprecated

func (*PCIPassthroughRequest) Descriptor() ([]byte, []int)

Deprecated: Use PCIPassthroughRequest.ProtoReflect.Descriptor instead.

func (*PCIPassthroughRequest) GetCount

func (x *PCIPassthroughRequest) GetCount() int32

func (*PCIPassthroughRequest) GetDeviceId

func (x *PCIPassthroughRequest) GetDeviceId() string

func (*PCIPassthroughRequest) GetVendorId

func (x *PCIPassthroughRequest) GetVendorId() string

func (*PCIPassthroughRequest) ProtoMessage

func (*PCIPassthroughRequest) ProtoMessage()

func (*PCIPassthroughRequest) ProtoReflect

func (x *PCIPassthroughRequest) ProtoReflect() protoreflect.Message

func (*PCIPassthroughRequest) Reset

func (x *PCIPassthroughRequest) Reset()

func (*PCIPassthroughRequest) String

func (x *PCIPassthroughRequest) String() string

type PatchImageRequest

type PatchImageRequest struct {
	Url       string          `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`                              // image URL (used to locate the cached file)
	FileOps   []*DiskFileOp   `protobuf:"bytes,2,rep,name=file_ops,json=fileOps,proto3" json:"file_ops,omitempty"`       // file operations to apply to the image
	DeleteOps []*DiskDeleteOp `protobuf:"bytes,3,rep,name=delete_ops,json=deleteOps,proto3" json:"delete_ops,omitempty"` // delete operations to apply to the image
	ModOps    []*DiskModOp    `protobuf:"bytes,4,rep,name=mod_ops,json=modOps,proto3" json:"mod_ops,omitempty"`          // in-place text substitutions to apply to the image
	// contains filtered or unexported fields
}

PatchImageRequest applies DiskFileOps to a cached image so that all VMs cloned from it inherit the patches without repeating them per instance.

func (*PatchImageRequest) Descriptor deprecated

func (*PatchImageRequest) Descriptor() ([]byte, []int)

Deprecated: Use PatchImageRequest.ProtoReflect.Descriptor instead.

func (*PatchImageRequest) GetDeleteOps

func (x *PatchImageRequest) GetDeleteOps() []*DiskDeleteOp

func (*PatchImageRequest) GetFileOps

func (x *PatchImageRequest) GetFileOps() []*DiskFileOp

func (*PatchImageRequest) GetModOps

func (x *PatchImageRequest) GetModOps() []*DiskModOp

func (*PatchImageRequest) GetUrl

func (x *PatchImageRequest) GetUrl() string

func (*PatchImageRequest) ProtoMessage

func (*PatchImageRequest) ProtoMessage()

func (*PatchImageRequest) ProtoReflect

func (x *PatchImageRequest) ProtoReflect() protoreflect.Message

func (*PatchImageRequest) Reset

func (x *PatchImageRequest) Reset()

func (*PatchImageRequest) String

func (x *PatchImageRequest) String() string

type PatchImageResponse

type PatchImageResponse struct {
	// contains filtered or unexported fields
}

func (*PatchImageResponse) Descriptor deprecated

func (*PatchImageResponse) Descriptor() ([]byte, []int)

Deprecated: Use PatchImageResponse.ProtoReflect.Descriptor instead.

func (*PatchImageResponse) ProtoMessage

func (*PatchImageResponse) ProtoMessage()

func (*PatchImageResponse) ProtoReflect

func (x *PatchImageResponse) ProtoReflect() protoreflect.Message

func (*PatchImageResponse) Reset

func (x *PatchImageResponse) Reset()

func (*PatchImageResponse) String

func (x *PatchImageResponse) String() string

type PlatformEvent

type PlatformEvent struct {
	TsUnixNs    int64             `protobuf:"varint,1,opt,name=ts_unix_ns,json=tsUnixNs,proto3" json:"ts_unix_ns,omitempty"`
	Kind        string            `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // e.g. "vm.state.running", "project.renamed", "guest.exec_ready"
	Subject     string            `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	ProjectUuid string            `protobuf:"bytes,4,opt,name=project_uuid,json=projectUuid,proto3" json:"project_uuid,omitempty"`
	Meta        map[string]string `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

PlatformEvent is one event published on weft's bus. Schema is deliberately the same shape as TimingEvent so the wire reuses the operator's existing mental model: kind, ts, opaque meta. Adds `subject` (VM name or project UUID, depending on `kind`) and `project_uuid` (the ACL filter key — server-side filtering drops events from projects the caller can't see).

func (*PlatformEvent) Descriptor deprecated

func (*PlatformEvent) Descriptor() ([]byte, []int)

Deprecated: Use PlatformEvent.ProtoReflect.Descriptor instead.

func (*PlatformEvent) GetKind

func (x *PlatformEvent) GetKind() string

func (*PlatformEvent) GetMeta

func (x *PlatformEvent) GetMeta() map[string]string

func (*PlatformEvent) GetProjectUuid

func (x *PlatformEvent) GetProjectUuid() string

func (*PlatformEvent) GetSubject

func (x *PlatformEvent) GetSubject() string

func (*PlatformEvent) GetTsUnixNs

func (x *PlatformEvent) GetTsUnixNs() int64

func (*PlatformEvent) ProtoMessage

func (*PlatformEvent) ProtoMessage()

func (*PlatformEvent) ProtoReflect

func (x *PlatformEvent) ProtoReflect() protoreflect.Message

func (*PlatformEvent) Reset

func (x *PlatformEvent) Reset()

func (*PlatformEvent) String

func (x *PlatformEvent) String() string

type ProjectInfo

type ProjectInfo struct {
	Uuid            string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name            string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CreatedAtUnixNs int64  `protobuf:"varint,3,opt,name=created_at_unix_ns,json=createdAtUnixNs,proto3" json:"created_at_unix_ns,omitempty"`
	// contains filtered or unexported fields
}

ProjectInfo is one entry in the project registry. `uuid` is the stable identifier vmDirs are keyed on; `name` is the rename-able display name a user sees in their CLI.

func (*ProjectInfo) Descriptor deprecated

func (*ProjectInfo) Descriptor() ([]byte, []int)

Deprecated: Use ProjectInfo.ProtoReflect.Descriptor instead.

func (*ProjectInfo) GetCreatedAtUnixNs

func (x *ProjectInfo) GetCreatedAtUnixNs() int64

func (*ProjectInfo) GetName

func (x *ProjectInfo) GetName() string

func (*ProjectInfo) GetUuid

func (x *ProjectInfo) GetUuid() string

func (*ProjectInfo) ProtoMessage

func (*ProjectInfo) ProtoMessage()

func (*ProjectInfo) ProtoReflect

func (x *ProjectInfo) ProtoReflect() protoreflect.Message

func (*ProjectInfo) Reset

func (x *ProjectInfo) Reset()

func (*ProjectInfo) String

func (x *ProjectInfo) String() string

type ProvisionVMRequest

type ProvisionVMRequest struct {
	Name      string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Image     string          `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	Cpu       uint32          `protobuf:"varint,3,opt,name=cpu,proto3" json:"cpu,omitempty"`
	MemMb     uint64          `protobuf:"varint,4,opt,name=mem_mb,json=memMb,proto3" json:"mem_mb,omitempty"`
	DiskGb    uint64          `protobuf:"varint,5,opt,name=disk_gb,json=diskGb,proto3" json:"disk_gb,omitempty"`
	SshPubKey string          `protobuf:"bytes,6,opt,name=ssh_pub_key,json=sshPubKey,proto3" json:"ssh_pub_key,omitempty"` // public key injected via cloud-init
	FileOps   []*DiskFileOp   `protobuf:"bytes,7,rep,name=file_ops,json=fileOps,proto3" json:"file_ops,omitempty"`         // optional disk file operations applied before first boot
	DeleteOps []*DiskDeleteOp `protobuf:"bytes,8,rep,name=delete_ops,json=deleteOps,proto3" json:"delete_ops,omitempty"`   // optional disk delete operations applied before first boot
	ModOps    []*DiskModOp    `protobuf:"bytes,9,rep,name=mod_ops,json=modOps,proto3" json:"mod_ops,omitempty"`            // optional in-place text substitutions applied before first boot
	Project   string          `protobuf:"bytes,10,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*ProvisionVMRequest) Descriptor deprecated

func (*ProvisionVMRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProvisionVMRequest.ProtoReflect.Descriptor instead.

func (*ProvisionVMRequest) GetCpu

func (x *ProvisionVMRequest) GetCpu() uint32

func (*ProvisionVMRequest) GetDeleteOps

func (x *ProvisionVMRequest) GetDeleteOps() []*DiskDeleteOp

func (*ProvisionVMRequest) GetDiskGb

func (x *ProvisionVMRequest) GetDiskGb() uint64

func (*ProvisionVMRequest) GetFileOps

func (x *ProvisionVMRequest) GetFileOps() []*DiskFileOp

func (*ProvisionVMRequest) GetImage

func (x *ProvisionVMRequest) GetImage() string

func (*ProvisionVMRequest) GetMemMb

func (x *ProvisionVMRequest) GetMemMb() uint64

func (*ProvisionVMRequest) GetModOps

func (x *ProvisionVMRequest) GetModOps() []*DiskModOp

func (*ProvisionVMRequest) GetName

func (x *ProvisionVMRequest) GetName() string

func (*ProvisionVMRequest) GetProject

func (x *ProvisionVMRequest) GetProject() string

func (*ProvisionVMRequest) GetSshPubKey

func (x *ProvisionVMRequest) GetSshPubKey() string

func (*ProvisionVMRequest) ProtoMessage

func (*ProvisionVMRequest) ProtoMessage()

func (*ProvisionVMRequest) ProtoReflect

func (x *ProvisionVMRequest) ProtoReflect() protoreflect.Message

func (*ProvisionVMRequest) Reset

func (x *ProvisionVMRequest) Reset()

func (*ProvisionVMRequest) String

func (x *ProvisionVMRequest) String() string

type ProvisionVMResponse

type ProvisionVMResponse struct {
	// contains filtered or unexported fields
}

func (*ProvisionVMResponse) Descriptor deprecated

func (*ProvisionVMResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProvisionVMResponse.ProtoReflect.Descriptor instead.

func (*ProvisionVMResponse) ProtoMessage

func (*ProvisionVMResponse) ProtoMessage()

func (*ProvisionVMResponse) ProtoReflect

func (x *ProvisionVMResponse) ProtoReflect() protoreflect.Message

func (*ProvisionVMResponse) Reset

func (x *ProvisionVMResponse) Reset()

func (*ProvisionVMResponse) String

func (x *ProvisionVMResponse) String() string

type PublishShareToProjectRequest

type PublishShareToProjectRequest struct {
	ProjectUuid string      `protobuf:"bytes,1,opt,name=project_uuid,json=projectUuid,proto3" json:"project_uuid,omitempty"`
	Mount       *ShareMount `protobuf:"bytes,2,opt,name=mount,proto3" json:"mount,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishShareToProjectRequest) Descriptor deprecated

func (*PublishShareToProjectRequest) Descriptor() ([]byte, []int)

Deprecated: Use PublishShareToProjectRequest.ProtoReflect.Descriptor instead.

func (*PublishShareToProjectRequest) GetMount

func (*PublishShareToProjectRequest) GetProjectUuid

func (x *PublishShareToProjectRequest) GetProjectUuid() string

func (*PublishShareToProjectRequest) ProtoMessage

func (*PublishShareToProjectRequest) ProtoMessage()

func (*PublishShareToProjectRequest) ProtoReflect

func (*PublishShareToProjectRequest) Reset

func (x *PublishShareToProjectRequest) Reset()

func (*PublishShareToProjectRequest) String

type PublishShareToProjectResponse

type PublishShareToProjectResponse struct {
	VmCount uint32 `protobuf:"varint,1,opt,name=vm_count,json=vmCount,proto3" json:"vm_count,omitempty"` // number of VMs the mount was fanned out to
	// contains filtered or unexported fields
}

func (*PublishShareToProjectResponse) Descriptor deprecated

func (*PublishShareToProjectResponse) Descriptor() ([]byte, []int)

Deprecated: Use PublishShareToProjectResponse.ProtoReflect.Descriptor instead.

func (*PublishShareToProjectResponse) GetVmCount

func (x *PublishShareToProjectResponse) GetVmCount() uint32

func (*PublishShareToProjectResponse) ProtoMessage

func (*PublishShareToProjectResponse) ProtoMessage()

func (*PublishShareToProjectResponse) ProtoReflect

func (*PublishShareToProjectResponse) Reset

func (x *PublishShareToProjectResponse) Reset()

func (*PublishShareToProjectResponse) String

type PullImageRequest

type PullImageRequest struct {
	Url      string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`           // fully-resolved image URL
	Checksum string `protobuf:"bytes,2,opt,name=checksum,proto3" json:"checksum,omitempty"` // optional checksum file URL
	// contains filtered or unexported fields
}

func (*PullImageRequest) Descriptor deprecated

func (*PullImageRequest) Descriptor() ([]byte, []int)

Deprecated: Use PullImageRequest.ProtoReflect.Descriptor instead.

func (*PullImageRequest) GetChecksum

func (x *PullImageRequest) GetChecksum() string

func (*PullImageRequest) GetUrl

func (x *PullImageRequest) GetUrl() string

func (*PullImageRequest) ProtoMessage

func (*PullImageRequest) ProtoMessage()

func (*PullImageRequest) ProtoReflect

func (x *PullImageRequest) ProtoReflect() protoreflect.Message

func (*PullImageRequest) Reset

func (x *PullImageRequest) Reset()

func (*PullImageRequest) String

func (x *PullImageRequest) String() string

type PullImageResponse

type PullImageResponse struct {
	// contains filtered or unexported fields
}

func (*PullImageResponse) Descriptor deprecated

func (*PullImageResponse) Descriptor() ([]byte, []int)

Deprecated: Use PullImageResponse.ProtoReflect.Descriptor instead.

func (*PullImageResponse) ProtoMessage

func (*PullImageResponse) ProtoMessage()

func (*PullImageResponse) ProtoReflect

func (x *PullImageResponse) ProtoReflect() protoreflect.Message

func (*PullImageResponse) Reset

func (x *PullImageResponse) Reset()

func (*PullImageResponse) String

func (x *PullImageResponse) String() string

type PullImagesRequest

type PullImagesRequest struct {
	ConfigDir string `protobuf:"bytes,1,opt,name=config_dir,json=configDir,proto3" json:"config_dir,omitempty"`
	Parallel  int32  `protobuf:"varint,2,opt,name=parallel,proto3" json:"parallel,omitempty"`
	// contains filtered or unexported fields
}

func (*PullImagesRequest) Descriptor deprecated

func (*PullImagesRequest) Descriptor() ([]byte, []int)

Deprecated: Use PullImagesRequest.ProtoReflect.Descriptor instead.

func (*PullImagesRequest) GetConfigDir

func (x *PullImagesRequest) GetConfigDir() string

func (*PullImagesRequest) GetParallel

func (x *PullImagesRequest) GetParallel() int32

func (*PullImagesRequest) ProtoMessage

func (*PullImagesRequest) ProtoMessage()

func (*PullImagesRequest) ProtoReflect

func (x *PullImagesRequest) ProtoReflect() protoreflect.Message

func (*PullImagesRequest) Reset

func (x *PullImagesRequest) Reset()

func (*PullImagesRequest) String

func (x *PullImagesRequest) String() string

type PullImagesResponse

type PullImagesResponse struct {
	// contains filtered or unexported fields
}

func (*PullImagesResponse) Descriptor deprecated

func (*PullImagesResponse) Descriptor() ([]byte, []int)

Deprecated: Use PullImagesResponse.ProtoReflect.Descriptor instead.

func (*PullImagesResponse) ProtoMessage

func (*PullImagesResponse) ProtoMessage()

func (*PullImagesResponse) ProtoReflect

func (x *PullImagesResponse) ProtoReflect() protoreflect.Message

func (*PullImagesResponse) Reset

func (x *PullImagesResponse) Reset()

func (*PullImagesResponse) String

func (x *PullImagesResponse) String() string

type Quotas

type Quotas struct {
	Vcpu        int32 `protobuf:"varint,1,opt,name=vcpu,proto3" json:"vcpu,omitempty"`
	RamGib      int32 `protobuf:"varint,2,opt,name=ram_gib,json=ramGib,proto3" json:"ram_gib,omitempty"`
	Volumes     int32 `protobuf:"varint,3,opt,name=volumes,proto3" json:"volumes,omitempty"`
	VolumesGib  int32 `protobuf:"varint,4,opt,name=volumes_gib,json=volumesGib,proto3" json:"volumes_gib,omitempty"`
	Shares      int32 `protobuf:"varint,5,opt,name=shares,proto3" json:"shares,omitempty"`
	SharesGib   int32 `protobuf:"varint,6,opt,name=shares_gib,json=sharesGib,proto3" json:"shares_gib,omitempty"`
	Buckets     int32 `protobuf:"varint,7,opt,name=buckets,proto3" json:"buckets,omitempty"`
	BucketsGib  int32 `protobuf:"varint,8,opt,name=buckets_gib,json=bucketsGib,proto3" json:"buckets_gib,omitempty"`
	RegistryGib int32 `protobuf:"varint,9,opt,name=registry_gib,json=registryGib,proto3" json:"registry_gib,omitempty"`
	FloatingIps int32 `protobuf:"varint,10,opt,name=floating_ips,json=floatingIps,proto3" json:"floating_ips,omitempty"`
	// Tenant-only : caps how many projects a tenant admin can carve.
	// Ignored on per-project quotas.
	Projects int32 `protobuf:"varint,11,opt,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

func (*Quotas) Descriptor deprecated

func (*Quotas) Descriptor() ([]byte, []int)

Deprecated: Use Quotas.ProtoReflect.Descriptor instead.

func (*Quotas) GetBuckets

func (x *Quotas) GetBuckets() int32

func (*Quotas) GetBucketsGib

func (x *Quotas) GetBucketsGib() int32

func (*Quotas) GetFloatingIps

func (x *Quotas) GetFloatingIps() int32

func (*Quotas) GetProjects

func (x *Quotas) GetProjects() int32

func (*Quotas) GetRamGib

func (x *Quotas) GetRamGib() int32

func (*Quotas) GetRegistryGib

func (x *Quotas) GetRegistryGib() int32

func (*Quotas) GetShares

func (x *Quotas) GetShares() int32

func (*Quotas) GetSharesGib

func (x *Quotas) GetSharesGib() int32

func (*Quotas) GetVcpu

func (x *Quotas) GetVcpu() int32

func (*Quotas) GetVolumes

func (x *Quotas) GetVolumes() int32

func (*Quotas) GetVolumesGib

func (x *Quotas) GetVolumesGib() int32

func (*Quotas) ProtoMessage

func (*Quotas) ProtoMessage()

func (*Quotas) ProtoReflect

func (x *Quotas) ProtoReflect() protoreflect.Message

func (*Quotas) Reset

func (x *Quotas) Reset()

func (*Quotas) String

func (x *Quotas) String() string

type RegisterHostRequest

type RegisterHostRequest struct {
	Uuid           string            `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // empty → mint; set → idempotent re-register
	Hostname       string            `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
	Az             string            `protobuf:"bytes,3,opt,name=az,proto3" json:"az,omitempty"`
	Rack           string            `protobuf:"bytes,4,opt,name=rack,proto3" json:"rack,omitempty"`
	Endpoint       string            `protobuf:"bytes,5,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Hypervisor     string            `protobuf:"bytes,6,opt,name=hypervisor,proto3" json:"hypervisor,omitempty"`
	Architecture   string            `protobuf:"bytes,7,opt,name=architecture,proto3" json:"architecture,omitempty"`
	NetworkTypes   []string          `protobuf:"bytes,8,rep,name=network_types,json=networkTypes,proto3" json:"network_types,omitempty"`
	VolumeBackends []string          `protobuf:"bytes,9,rep,name=volume_backends,json=volumeBackends,proto3" json:"volume_backends,omitempty"`
	Labels         map[string]string `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

RegisterHost adds a new host or refreshes an existing one (idempotent by UUID). Per [[weft-placement-rules]] the `rack` field is the sub-AZ failure domain — set it on every host in multi-rack clusters so the scheduler's `rack: "different"` can succeed.

func (*RegisterHostRequest) Descriptor deprecated

func (*RegisterHostRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterHostRequest.ProtoReflect.Descriptor instead.

func (*RegisterHostRequest) GetArchitecture

func (x *RegisterHostRequest) GetArchitecture() string

func (*RegisterHostRequest) GetAz

func (x *RegisterHostRequest) GetAz() string

func (*RegisterHostRequest) GetEndpoint

func (x *RegisterHostRequest) GetEndpoint() string

func (*RegisterHostRequest) GetHostname

func (x *RegisterHostRequest) GetHostname() string

func (*RegisterHostRequest) GetHypervisor

func (x *RegisterHostRequest) GetHypervisor() string

func (*RegisterHostRequest) GetLabels

func (x *RegisterHostRequest) GetLabels() map[string]string

func (*RegisterHostRequest) GetNetworkTypes

func (x *RegisterHostRequest) GetNetworkTypes() []string

func (*RegisterHostRequest) GetRack

func (x *RegisterHostRequest) GetRack() string

func (*RegisterHostRequest) GetUuid

func (x *RegisterHostRequest) GetUuid() string

func (*RegisterHostRequest) GetVolumeBackends

func (x *RegisterHostRequest) GetVolumeBackends() []string

func (*RegisterHostRequest) ProtoMessage

func (*RegisterHostRequest) ProtoMessage()

func (*RegisterHostRequest) ProtoReflect

func (x *RegisterHostRequest) ProtoReflect() protoreflect.Message

func (*RegisterHostRequest) Reset

func (x *RegisterHostRequest) Reset()

func (*RegisterHostRequest) String

func (x *RegisterHostRequest) String() string

type RegisterHostResponse

type RegisterHostResponse struct {
	Host *HostInfo `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterHostResponse) Descriptor deprecated

func (*RegisterHostResponse) Descriptor() ([]byte, []int)

Deprecated: Use RegisterHostResponse.ProtoReflect.Descriptor instead.

func (*RegisterHostResponse) GetHost

func (x *RegisterHostResponse) GetHost() *HostInfo

func (*RegisterHostResponse) ProtoMessage

func (*RegisterHostResponse) ProtoMessage()

func (*RegisterHostResponse) ProtoReflect

func (x *RegisterHostResponse) ProtoReflect() protoreflect.Message

func (*RegisterHostResponse) Reset

func (x *RegisterHostResponse) Reset()

func (*RegisterHostResponse) String

func (x *RegisterHostResponse) String() string

type RegisterMicroVMOp

type RegisterMicroVMOp struct {
	Project string          `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Name    string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	BootIso string          `protobuf:"bytes,3,opt,name=boot_iso,json=bootIso,proto3" json:"boot_iso,omitempty"` // UKI mode (mutually exclusive with kernel)
	Kernel  string          `protobuf:"bytes,4,opt,name=kernel,proto3" json:"kernel,omitempty"`                  // direct-Linux mode
	Initrd  string          `protobuf:"bytes,5,opt,name=initrd,proto3" json:"initrd,omitempty"`                  // optional, direct-Linux mode
	Cmdline string          `protobuf:"bytes,6,opt,name=cmdline,proto3" json:"cmdline,omitempty"`                // kernel cmdline override
	Shares  []*MicroVMShare `protobuf:"bytes,7,rep,name=shares,proto3" json:"shares,omitempty"`
	// contains filtered or unexported fields
}

RegisterMicroVMOp dispatches a RegisterMicroVM call to the agent. Mirrors the shape of the existing RegisterMicroVMRequest RPC : same boot artefacts (UKI or direct-Linux kernel+initrd), same virtio-fs shares. The agent calls its local Adapter to materialise the vmDir on its host's disk.

Idempotent in spirit : the agent's RegisterMicroVM refuses to clobber an existing vmDir, so a retry after a transient disconnect surfaces a clean "already exists" error rather than silently double-registering.

func (*RegisterMicroVMOp) Descriptor deprecated

func (*RegisterMicroVMOp) Descriptor() ([]byte, []int)

Deprecated: Use RegisterMicroVMOp.ProtoReflect.Descriptor instead.

func (*RegisterMicroVMOp) GetBootIso

func (x *RegisterMicroVMOp) GetBootIso() string

func (*RegisterMicroVMOp) GetCmdline

func (x *RegisterMicroVMOp) GetCmdline() string

func (*RegisterMicroVMOp) GetInitrd

func (x *RegisterMicroVMOp) GetInitrd() string

func (*RegisterMicroVMOp) GetKernel

func (x *RegisterMicroVMOp) GetKernel() string

func (*RegisterMicroVMOp) GetName

func (x *RegisterMicroVMOp) GetName() string

func (*RegisterMicroVMOp) GetProject

func (x *RegisterMicroVMOp) GetProject() string

func (*RegisterMicroVMOp) GetShares

func (x *RegisterMicroVMOp) GetShares() []*MicroVMShare

func (*RegisterMicroVMOp) ProtoMessage

func (*RegisterMicroVMOp) ProtoMessage()

func (*RegisterMicroVMOp) ProtoReflect

func (x *RegisterMicroVMOp) ProtoReflect() protoreflect.Message

func (*RegisterMicroVMOp) Reset

func (x *RegisterMicroVMOp) Reset()

func (*RegisterMicroVMOp) String

func (x *RegisterMicroVMOp) String() string

type RegisterMicroVMRequest

type RegisterMicroVMRequest struct {
	Name    string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                      // VM name; must be unique inside `project`
	BootIso string          `protobuf:"bytes,2,opt,name=boot_iso,json=bootIso,proto3" json:"boot_iso,omitempty"` // absolute host path to the UKI ISO (UKI mode)
	Shares  []*MicroVMShare `protobuf:"bytes,3,rep,name=shares,proto3" json:"shares,omitempty"`
	Kernel  string          `protobuf:"bytes,4,opt,name=kernel,proto3" json:"kernel,omitempty"`   // absolute host path to a Linux kernel image (direct-Linux mode)
	Initrd  string          `protobuf:"bytes,5,opt,name=initrd,proto3" json:"initrd,omitempty"`   // absolute host path to an initramfs (optional, direct-Linux mode)
	Cmdline string          `protobuf:"bytes,6,opt,name=cmdline,proto3" json:"cmdline,omitempty"` // kernel cmdline override (e.g. "weft.rootfs=virtiofs:rootfs0")
	Project string          `protobuf:"bytes,7,opt,name=project,proto3" json:"project,omitempty"`
	// host_uuid optionally pins the VM to a specific compute host.
	// Empty / matching-local : server runs RegisterMicroVM in-
	// process (single-host all-in-one path). Non-empty + non-
	// local : the server dispatches RegisterMicroVMOp to the
	// matching agent's stream and waits for the reply. The agent
	// must already be connected (Unavailable error otherwise).
	// The scheduler typically fills this in via ScheduleVMGroup.
	HostUuid string `protobuf:"bytes,8,opt,name=host_uuid,json=hostUuid,proto3" json:"host_uuid,omitempty"`
	// requested_gpus / requested_pci mirror the CreateVMRequest
	// surface for the microVM-style boot path : same shape, same
	// tenant-quota enforcement at admission, same scheduler
	// matching against host inventory. Empty = no passthrough.
	// See CreateVMRequest.requested_gpus for the per-entry contract.
	RequestedGpus []*GPURequest            `protobuf:"bytes,9,rep,name=requested_gpus,json=requestedGpus,proto3" json:"requested_gpus,omitempty"`
	RequestedPci  []*PCIPassthroughRequest `protobuf:"bytes,10,rep,name=requested_pci,json=requestedPci,proto3" json:"requested_pci,omitempty"`
	// OCI image reference, e.g. "ghcr.io/openweft/weft-router:v0.1.0".
	// When set, the server-side handler pulls the image, materialises
	// its rootfs in the imagestore cache, synthesises the boot
	// artefacts (shared weft-microvm-init kernel + initrd, cmdline
	// "weft.rootfs=virtiofs:rootfs0 console=hvc0"), and assembles the
	// matching MicroVMShare automatically. Mutually exclusive with
	// boot_iso / kernel / initrd / cmdline / shares ; the server
	// returns InvalidArgument on collision. This is the path
	// weft-network's lifecycle.Ensure uses for weft-router
	// micro-VMs — the client just passes the image, the server
	// handles the orchestration.
	Image string `protobuf:"bytes,11,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

RegisterMicroVMRequest creates a VM directory wired for a microVM-style boot. Two boot modes are supported, controlled by which of the path fields are set:

  • UKI mode: set `boot_iso` only. weft attaches the ISO as a read-only primary disk and the firmware's EFI loader picks up the UKI from \EFI\BOOT\bootaa64.efi.
  • Direct-Linux mode: set `kernel` (and optionally `initrd`). weft uses `vz.LinuxBootLoader` and skips EFI/UKI entirely. Faster cold-boot, smaller artefacts.

`cmdline` overrides the default Linux kernel cmdline (which for the direct-Linux path defaults to `console=hvc0 root=/dev/vda2 rw` — fine for cloud-init disk images, not for microVMs that want `weft.rootfs=virtiofs:rootfs0`). Empty means "use the existing default".

`shares` is one or more virtio-fs directory shares exposed to the guest (typical: the OCI image rootfs at tag "rootfs0").

The VM appears in ListVMs alongside CloneVM-created VMs and is started via the regular StartVM RPC.

func (*RegisterMicroVMRequest) Descriptor deprecated

func (*RegisterMicroVMRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterMicroVMRequest.ProtoReflect.Descriptor instead.

func (*RegisterMicroVMRequest) GetBootIso

func (x *RegisterMicroVMRequest) GetBootIso() string

func (*RegisterMicroVMRequest) GetCmdline

func (x *RegisterMicroVMRequest) GetCmdline() string

func (*RegisterMicroVMRequest) GetHostUuid

func (x *RegisterMicroVMRequest) GetHostUuid() string

func (*RegisterMicroVMRequest) GetImage added in v0.4.0

func (x *RegisterMicroVMRequest) GetImage() string

func (*RegisterMicroVMRequest) GetInitrd

func (x *RegisterMicroVMRequest) GetInitrd() string

func (*RegisterMicroVMRequest) GetKernel

func (x *RegisterMicroVMRequest) GetKernel() string

func (*RegisterMicroVMRequest) GetName

func (x *RegisterMicroVMRequest) GetName() string

func (*RegisterMicroVMRequest) GetProject

func (x *RegisterMicroVMRequest) GetProject() string

func (*RegisterMicroVMRequest) GetRequestedGpus

func (x *RegisterMicroVMRequest) GetRequestedGpus() []*GPURequest

func (*RegisterMicroVMRequest) GetRequestedPci

func (x *RegisterMicroVMRequest) GetRequestedPci() []*PCIPassthroughRequest

func (*RegisterMicroVMRequest) GetShares

func (x *RegisterMicroVMRequest) GetShares() []*MicroVMShare

func (*RegisterMicroVMRequest) ProtoMessage

func (*RegisterMicroVMRequest) ProtoMessage()

func (*RegisterMicroVMRequest) ProtoReflect

func (x *RegisterMicroVMRequest) ProtoReflect() protoreflect.Message

func (*RegisterMicroVMRequest) Reset

func (x *RegisterMicroVMRequest) Reset()

func (*RegisterMicroVMRequest) String

func (x *RegisterMicroVMRequest) String() string

type RegisterMicroVMResponse

type RegisterMicroVMResponse struct {
	// contains filtered or unexported fields
}

func (*RegisterMicroVMResponse) Descriptor deprecated

func (*RegisterMicroVMResponse) Descriptor() ([]byte, []int)

Deprecated: Use RegisterMicroVMResponse.ProtoReflect.Descriptor instead.

func (*RegisterMicroVMResponse) ProtoMessage

func (*RegisterMicroVMResponse) ProtoMessage()

func (*RegisterMicroVMResponse) ProtoReflect

func (x *RegisterMicroVMResponse) ProtoReflect() protoreflect.Message

func (*RegisterMicroVMResponse) Reset

func (x *RegisterMicroVMResponse) Reset()

func (*RegisterMicroVMResponse) String

func (x *RegisterMicroVMResponse) String() string

type RegisterMicroVMResult

type RegisterMicroVMResult struct {
	// contains filtered or unexported fields
}

RegisterMicroVMResult is empty — the call's only outcome is success/error.

func (*RegisterMicroVMResult) Descriptor deprecated

func (*RegisterMicroVMResult) Descriptor() ([]byte, []int)

Deprecated: Use RegisterMicroVMResult.ProtoReflect.Descriptor instead.

func (*RegisterMicroVMResult) ProtoMessage

func (*RegisterMicroVMResult) ProtoMessage()

func (*RegisterMicroVMResult) ProtoReflect

func (x *RegisterMicroVMResult) ProtoReflect() protoreflect.Message

func (*RegisterMicroVMResult) Reset

func (x *RegisterMicroVMResult) Reset()

func (*RegisterMicroVMResult) String

func (x *RegisterMicroVMResult) String() string

type ReleaseFloatingIPRequest

type ReleaseFloatingIPRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseFloatingIPRequest) Descriptor deprecated

func (*ReleaseFloatingIPRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReleaseFloatingIPRequest.ProtoReflect.Descriptor instead.

func (*ReleaseFloatingIPRequest) GetUuid

func (x *ReleaseFloatingIPRequest) GetUuid() string

func (*ReleaseFloatingIPRequest) ProtoMessage

func (*ReleaseFloatingIPRequest) ProtoMessage()

func (*ReleaseFloatingIPRequest) ProtoReflect

func (x *ReleaseFloatingIPRequest) ProtoReflect() protoreflect.Message

func (*ReleaseFloatingIPRequest) Reset

func (x *ReleaseFloatingIPRequest) Reset()

func (*ReleaseFloatingIPRequest) String

func (x *ReleaseFloatingIPRequest) String() string

type ReleaseFloatingIPResponse

type ReleaseFloatingIPResponse struct {
	// contains filtered or unexported fields
}

func (*ReleaseFloatingIPResponse) Descriptor deprecated

func (*ReleaseFloatingIPResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReleaseFloatingIPResponse.ProtoReflect.Descriptor instead.

func (*ReleaseFloatingIPResponse) ProtoMessage

func (*ReleaseFloatingIPResponse) ProtoMessage()

func (*ReleaseFloatingIPResponse) ProtoReflect

func (*ReleaseFloatingIPResponse) Reset

func (x *ReleaseFloatingIPResponse) Reset()

func (*ReleaseFloatingIPResponse) String

func (x *ReleaseFloatingIPResponse) String() string

type RemoveProjectMemberRequest

type RemoveProjectMemberRequest struct {
	ProjectUuid string `protobuf:"bytes,1,opt,name=project_uuid,json=projectUuid,proto3" json:"project_uuid,omitempty"`
	UserUuid    string `protobuf:"bytes,2,opt,name=user_uuid,json=userUuid,proto3" json:"user_uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveProjectMemberRequest) Descriptor deprecated

func (*RemoveProjectMemberRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveProjectMemberRequest.ProtoReflect.Descriptor instead.

func (*RemoveProjectMemberRequest) GetProjectUuid

func (x *RemoveProjectMemberRequest) GetProjectUuid() string

func (*RemoveProjectMemberRequest) GetUserUuid

func (x *RemoveProjectMemberRequest) GetUserUuid() string

func (*RemoveProjectMemberRequest) ProtoMessage

func (*RemoveProjectMemberRequest) ProtoMessage()

func (*RemoveProjectMemberRequest) ProtoReflect

func (*RemoveProjectMemberRequest) Reset

func (x *RemoveProjectMemberRequest) Reset()

func (*RemoveProjectMemberRequest) String

func (x *RemoveProjectMemberRequest) String() string

type RemoveProjectMemberResponse

type RemoveProjectMemberResponse struct {
	UserUuids []string `protobuf:"bytes,1,rep,name=user_uuids,json=userUuids,proto3" json:"user_uuids,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveProjectMemberResponse) Descriptor deprecated

func (*RemoveProjectMemberResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveProjectMemberResponse.ProtoReflect.Descriptor instead.

func (*RemoveProjectMemberResponse) GetUserUuids

func (x *RemoveProjectMemberResponse) GetUserUuids() []string

func (*RemoveProjectMemberResponse) ProtoMessage

func (*RemoveProjectMemberResponse) ProtoMessage()

func (*RemoveProjectMemberResponse) ProtoReflect

func (*RemoveProjectMemberResponse) Reset

func (x *RemoveProjectMemberResponse) Reset()

func (*RemoveProjectMemberResponse) String

func (x *RemoveProjectMemberResponse) String() string

type RemoveTenantAdminRequest

type RemoveTenantAdminRequest struct {
	TenantUuid string `protobuf:"bytes,1,opt,name=tenant_uuid,json=tenantUuid,proto3" json:"tenant_uuid,omitempty"`
	Email      string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveTenantAdminRequest) Descriptor deprecated

func (*RemoveTenantAdminRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveTenantAdminRequest.ProtoReflect.Descriptor instead.

func (*RemoveTenantAdminRequest) GetEmail

func (x *RemoveTenantAdminRequest) GetEmail() string

func (*RemoveTenantAdminRequest) GetTenantUuid

func (x *RemoveTenantAdminRequest) GetTenantUuid() string

func (*RemoveTenantAdminRequest) ProtoMessage

func (*RemoveTenantAdminRequest) ProtoMessage()

func (*RemoveTenantAdminRequest) ProtoReflect

func (x *RemoveTenantAdminRequest) ProtoReflect() protoreflect.Message

func (*RemoveTenantAdminRequest) Reset

func (x *RemoveTenantAdminRequest) Reset()

func (*RemoveTenantAdminRequest) String

func (x *RemoveTenantAdminRequest) String() string

type RemoveTenantAdminResponse

type RemoveTenantAdminResponse struct {
	Tenant *TenantInfo `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveTenantAdminResponse) Descriptor deprecated

func (*RemoveTenantAdminResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveTenantAdminResponse.ProtoReflect.Descriptor instead.

func (*RemoveTenantAdminResponse) GetTenant

func (x *RemoveTenantAdminResponse) GetTenant() *TenantInfo

func (*RemoveTenantAdminResponse) ProtoMessage

func (*RemoveTenantAdminResponse) ProtoMessage()

func (*RemoveTenantAdminResponse) ProtoReflect

func (*RemoveTenantAdminResponse) Reset

func (x *RemoveTenantAdminResponse) Reset()

func (*RemoveTenantAdminResponse) String

func (x *RemoveTenantAdminResponse) String() string

type RemoveTenantMemberRequest

type RemoveTenantMemberRequest struct {
	TenantUuid string `protobuf:"bytes,1,opt,name=tenant_uuid,json=tenantUuid,proto3" json:"tenant_uuid,omitempty"`
	Email      string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveTenantMemberRequest) Descriptor deprecated

func (*RemoveTenantMemberRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveTenantMemberRequest.ProtoReflect.Descriptor instead.

func (*RemoveTenantMemberRequest) GetEmail

func (x *RemoveTenantMemberRequest) GetEmail() string

func (*RemoveTenantMemberRequest) GetTenantUuid

func (x *RemoveTenantMemberRequest) GetTenantUuid() string

func (*RemoveTenantMemberRequest) ProtoMessage

func (*RemoveTenantMemberRequest) ProtoMessage()

func (*RemoveTenantMemberRequest) ProtoReflect

func (*RemoveTenantMemberRequest) Reset

func (x *RemoveTenantMemberRequest) Reset()

func (*RemoveTenantMemberRequest) String

func (x *RemoveTenantMemberRequest) String() string

type RemoveTenantMemberResponse

type RemoveTenantMemberResponse struct {
	Tenant *TenantInfo `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveTenantMemberResponse) Descriptor deprecated

func (*RemoveTenantMemberResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveTenantMemberResponse.ProtoReflect.Descriptor instead.

func (*RemoveTenantMemberResponse) GetTenant

func (x *RemoveTenantMemberResponse) GetTenant() *TenantInfo

func (*RemoveTenantMemberResponse) ProtoMessage

func (*RemoveTenantMemberResponse) ProtoMessage()

func (*RemoveTenantMemberResponse) ProtoReflect

func (*RemoveTenantMemberResponse) Reset

func (x *RemoveTenantMemberResponse) Reset()

func (*RemoveTenantMemberResponse) String

func (x *RemoveTenantMemberResponse) String() string

type RemoveVMSSHKeyRequest

type RemoveVMSSHKeyRequest struct {
	VmName      string `protobuf:"bytes,1,opt,name=vm_name,json=vmName,proto3" json:"vm_name,omitempty"`
	Project     string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Fingerprint string `protobuf:"bytes,3,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveVMSSHKeyRequest) Descriptor deprecated

func (*RemoveVMSSHKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveVMSSHKeyRequest.ProtoReflect.Descriptor instead.

func (*RemoveVMSSHKeyRequest) GetFingerprint

func (x *RemoveVMSSHKeyRequest) GetFingerprint() string

func (*RemoveVMSSHKeyRequest) GetProject

func (x *RemoveVMSSHKeyRequest) GetProject() string

func (*RemoveVMSSHKeyRequest) GetVmName

func (x *RemoveVMSSHKeyRequest) GetVmName() string

func (*RemoveVMSSHKeyRequest) ProtoMessage

func (*RemoveVMSSHKeyRequest) ProtoMessage()

func (*RemoveVMSSHKeyRequest) ProtoReflect

func (x *RemoveVMSSHKeyRequest) ProtoReflect() protoreflect.Message

func (*RemoveVMSSHKeyRequest) Reset

func (x *RemoveVMSSHKeyRequest) Reset()

func (*RemoveVMSSHKeyRequest) String

func (x *RemoveVMSSHKeyRequest) String() string

type RemoveVMSSHKeyResponse

type RemoveVMSSHKeyResponse struct {
	Removed string `protobuf:"bytes,1,opt,name=removed,proto3" json:"removed,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveVMSSHKeyResponse) Descriptor deprecated

func (*RemoveVMSSHKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveVMSSHKeyResponse.ProtoReflect.Descriptor instead.

func (*RemoveVMSSHKeyResponse) GetRemoved

func (x *RemoveVMSSHKeyResponse) GetRemoved() string

func (*RemoveVMSSHKeyResponse) ProtoMessage

func (*RemoveVMSSHKeyResponse) ProtoMessage()

func (*RemoveVMSSHKeyResponse) ProtoReflect

func (x *RemoveVMSSHKeyResponse) ProtoReflect() protoreflect.Message

func (*RemoveVMSSHKeyResponse) Reset

func (x *RemoveVMSSHKeyResponse) Reset()

func (*RemoveVMSSHKeyResponse) String

func (x *RemoveVMSSHKeyResponse) String() string

type RenameNetworkRequest

type RenameNetworkRequest struct {
	Uuid    string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
	// contains filtered or unexported fields
}

func (*RenameNetworkRequest) Descriptor deprecated

func (*RenameNetworkRequest) Descriptor() ([]byte, []int)

Deprecated: Use RenameNetworkRequest.ProtoReflect.Descriptor instead.

func (*RenameNetworkRequest) GetNewName

func (x *RenameNetworkRequest) GetNewName() string

func (*RenameNetworkRequest) GetUuid

func (x *RenameNetworkRequest) GetUuid() string

func (*RenameNetworkRequest) ProtoMessage

func (*RenameNetworkRequest) ProtoMessage()

func (*RenameNetworkRequest) ProtoReflect

func (x *RenameNetworkRequest) ProtoReflect() protoreflect.Message

func (*RenameNetworkRequest) Reset

func (x *RenameNetworkRequest) Reset()

func (*RenameNetworkRequest) String

func (x *RenameNetworkRequest) String() string

type RenameNetworkResponse

type RenameNetworkResponse struct {
	Network *NetworkInfo `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

func (*RenameNetworkResponse) Descriptor deprecated

func (*RenameNetworkResponse) Descriptor() ([]byte, []int)

Deprecated: Use RenameNetworkResponse.ProtoReflect.Descriptor instead.

func (*RenameNetworkResponse) GetNetwork

func (x *RenameNetworkResponse) GetNetwork() *NetworkInfo

func (*RenameNetworkResponse) ProtoMessage

func (*RenameNetworkResponse) ProtoMessage()

func (*RenameNetworkResponse) ProtoReflect

func (x *RenameNetworkResponse) ProtoReflect() protoreflect.Message

func (*RenameNetworkResponse) Reset

func (x *RenameNetworkResponse) Reset()

func (*RenameNetworkResponse) String

func (x *RenameNetworkResponse) String() string

type RenameProjectRequest

type RenameProjectRequest struct {
	Uuid    string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
	// contains filtered or unexported fields
}

RenameProject mutates `name` only; `uuid` (and every attached vmDir) stays untouched.

func (*RenameProjectRequest) Descriptor deprecated

func (*RenameProjectRequest) Descriptor() ([]byte, []int)

Deprecated: Use RenameProjectRequest.ProtoReflect.Descriptor instead.

func (*RenameProjectRequest) GetNewName

func (x *RenameProjectRequest) GetNewName() string

func (*RenameProjectRequest) GetUuid

func (x *RenameProjectRequest) GetUuid() string

func (*RenameProjectRequest) ProtoMessage

func (*RenameProjectRequest) ProtoMessage()

func (*RenameProjectRequest) ProtoReflect

func (x *RenameProjectRequest) ProtoReflect() protoreflect.Message

func (*RenameProjectRequest) Reset

func (x *RenameProjectRequest) Reset()

func (*RenameProjectRequest) String

func (x *RenameProjectRequest) String() string

type RenameProjectResponse

type RenameProjectResponse struct {
	Project *ProjectInfo `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*RenameProjectResponse) Descriptor deprecated

func (*RenameProjectResponse) Descriptor() ([]byte, []int)

Deprecated: Use RenameProjectResponse.ProtoReflect.Descriptor instead.

func (*RenameProjectResponse) GetProject

func (x *RenameProjectResponse) GetProject() *ProjectInfo

func (*RenameProjectResponse) ProtoMessage

func (*RenameProjectResponse) ProtoMessage()

func (*RenameProjectResponse) ProtoReflect

func (x *RenameProjectResponse) ProtoReflect() protoreflect.Message

func (*RenameProjectResponse) Reset

func (x *RenameProjectResponse) Reset()

func (*RenameProjectResponse) String

func (x *RenameProjectResponse) String() string

type RenameSecurityGroupRequest

type RenameSecurityGroupRequest struct {
	Uuid    string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
	// contains filtered or unexported fields
}

func (*RenameSecurityGroupRequest) Descriptor deprecated

func (*RenameSecurityGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use RenameSecurityGroupRequest.ProtoReflect.Descriptor instead.

func (*RenameSecurityGroupRequest) GetNewName

func (x *RenameSecurityGroupRequest) GetNewName() string

func (*RenameSecurityGroupRequest) GetUuid

func (x *RenameSecurityGroupRequest) GetUuid() string

func (*RenameSecurityGroupRequest) ProtoMessage

func (*RenameSecurityGroupRequest) ProtoMessage()

func (*RenameSecurityGroupRequest) ProtoReflect

func (*RenameSecurityGroupRequest) Reset

func (x *RenameSecurityGroupRequest) Reset()

func (*RenameSecurityGroupRequest) String

func (x *RenameSecurityGroupRequest) String() string

type RenameSecurityGroupResponse

type RenameSecurityGroupResponse struct {
	Group *SecurityGroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*RenameSecurityGroupResponse) Descriptor deprecated

func (*RenameSecurityGroupResponse) Descriptor() ([]byte, []int)

Deprecated: Use RenameSecurityGroupResponse.ProtoReflect.Descriptor instead.

func (*RenameSecurityGroupResponse) GetGroup

func (*RenameSecurityGroupResponse) ProtoMessage

func (*RenameSecurityGroupResponse) ProtoMessage()

func (*RenameSecurityGroupResponse) ProtoReflect

func (*RenameSecurityGroupResponse) Reset

func (x *RenameSecurityGroupResponse) Reset()

func (*RenameSecurityGroupResponse) String

func (x *RenameSecurityGroupResponse) String() string

type RenameVolumeRequest

type RenameVolumeRequest struct {
	Uuid    string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
	// contains filtered or unexported fields
}

RenameVolume / ResizeVolume / DeleteVolume target the volume by UUID. (Lookup by name is a client-side concern — the proto stays unambiguous.)

func (*RenameVolumeRequest) Descriptor deprecated

func (*RenameVolumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use RenameVolumeRequest.ProtoReflect.Descriptor instead.

func (*RenameVolumeRequest) GetNewName

func (x *RenameVolumeRequest) GetNewName() string

func (*RenameVolumeRequest) GetUuid

func (x *RenameVolumeRequest) GetUuid() string

func (*RenameVolumeRequest) ProtoMessage

func (*RenameVolumeRequest) ProtoMessage()

func (*RenameVolumeRequest) ProtoReflect

func (x *RenameVolumeRequest) ProtoReflect() protoreflect.Message

func (*RenameVolumeRequest) Reset

func (x *RenameVolumeRequest) Reset()

func (*RenameVolumeRequest) String

func (x *RenameVolumeRequest) String() string

type RenameVolumeResponse

type RenameVolumeResponse struct {
	Volume *VolumeInfo `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	// contains filtered or unexported fields
}

func (*RenameVolumeResponse) Descriptor deprecated

func (*RenameVolumeResponse) Descriptor() ([]byte, []int)

Deprecated: Use RenameVolumeResponse.ProtoReflect.Descriptor instead.

func (*RenameVolumeResponse) GetVolume

func (x *RenameVolumeResponse) GetVolume() *VolumeInfo

func (*RenameVolumeResponse) ProtoMessage

func (*RenameVolumeResponse) ProtoMessage()

func (*RenameVolumeResponse) ProtoReflect

func (x *RenameVolumeResponse) ProtoReflect() protoreflect.Message

func (*RenameVolumeResponse) Reset

func (x *RenameVolumeResponse) Reset()

func (*RenameVolumeResponse) String

func (x *RenameVolumeResponse) String() string

type RenderNATSAuthorizationRequest

type RenderNATSAuthorizationRequest struct {

	// Optional NATS user-NKey public key ("U...") of the platform
	// itself, granted full pub/sub on weft.>. Leave empty in dev /
	// single-host mode where weft publishes anonymously.
	AdminPubkey string `protobuf:"bytes,1,opt,name=admin_pubkey,json=adminPubkey,proto3" json:"admin_pubkey,omitempty"`
	// contains filtered or unexported fields
}

RenderNATSAuthorizationRequest asks weft to render the NATS-conf `authorization { ... }` block from the current project registry. Admin-gated: the rendered block reveals every project's NATS pubkey, which is fine for operators but not for tenants.

func (*RenderNATSAuthorizationRequest) Descriptor deprecated

func (*RenderNATSAuthorizationRequest) Descriptor() ([]byte, []int)

Deprecated: Use RenderNATSAuthorizationRequest.ProtoReflect.Descriptor instead.

func (*RenderNATSAuthorizationRequest) GetAdminPubkey

func (x *RenderNATSAuthorizationRequest) GetAdminPubkey() string

func (*RenderNATSAuthorizationRequest) ProtoMessage

func (*RenderNATSAuthorizationRequest) ProtoMessage()

func (*RenderNATSAuthorizationRequest) ProtoReflect

func (*RenderNATSAuthorizationRequest) Reset

func (x *RenderNATSAuthorizationRequest) Reset()

func (*RenderNATSAuthorizationRequest) String

type RenderNATSAuthorizationResponse

type RenderNATSAuthorizationResponse struct {
	Config []byte `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // utf-8 text of the authorization { ... } block
	// contains filtered or unexported fields
}

RenderNATSAuthorizationResponse carries the rendered text. Output is NATS conf format — splice into nats.conf and signal `nats-server --signal reload`.

func (*RenderNATSAuthorizationResponse) Descriptor deprecated

func (*RenderNATSAuthorizationResponse) Descriptor() ([]byte, []int)

Deprecated: Use RenderNATSAuthorizationResponse.ProtoReflect.Descriptor instead.

func (*RenderNATSAuthorizationResponse) GetConfig

func (x *RenderNATSAuthorizationResponse) GetConfig() []byte

func (*RenderNATSAuthorizationResponse) ProtoMessage

func (*RenderNATSAuthorizationResponse) ProtoMessage()

func (*RenderNATSAuthorizationResponse) ProtoReflect

func (*RenderNATSAuthorizationResponse) Reset

func (*RenderNATSAuthorizationResponse) String

type ResizeVolumeRequest

type ResizeVolumeRequest struct {
	Uuid       string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	NewSizeGib int64  `protobuf:"varint,2,opt,name=new_size_gib,json=newSizeGib,proto3" json:"new_size_gib,omitempty"`
	// contains filtered or unexported fields
}

func (*ResizeVolumeRequest) Descriptor deprecated

func (*ResizeVolumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResizeVolumeRequest.ProtoReflect.Descriptor instead.

func (*ResizeVolumeRequest) GetNewSizeGib

func (x *ResizeVolumeRequest) GetNewSizeGib() int64

func (*ResizeVolumeRequest) GetUuid

func (x *ResizeVolumeRequest) GetUuid() string

func (*ResizeVolumeRequest) ProtoMessage

func (*ResizeVolumeRequest) ProtoMessage()

func (*ResizeVolumeRequest) ProtoReflect

func (x *ResizeVolumeRequest) ProtoReflect() protoreflect.Message

func (*ResizeVolumeRequest) Reset

func (x *ResizeVolumeRequest) Reset()

func (*ResizeVolumeRequest) String

func (x *ResizeVolumeRequest) String() string

type ResizeVolumeResponse

type ResizeVolumeResponse struct {
	Volume *VolumeInfo `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	// contains filtered or unexported fields
}

func (*ResizeVolumeResponse) Descriptor deprecated

func (*ResizeVolumeResponse) Descriptor() ([]byte, []int)

Deprecated: Use ResizeVolumeResponse.ProtoReflect.Descriptor instead.

func (*ResizeVolumeResponse) GetVolume

func (x *ResizeVolumeResponse) GetVolume() *VolumeInfo

func (*ResizeVolumeResponse) ProtoMessage

func (*ResizeVolumeResponse) ProtoMessage()

func (*ResizeVolumeResponse) ProtoReflect

func (x *ResizeVolumeResponse) ProtoReflect() protoreflect.Message

func (*ResizeVolumeResponse) Reset

func (x *ResizeVolumeResponse) Reset()

func (*ResizeVolumeResponse) String

func (x *ResizeVolumeResponse) String() string

type RestoreVolumeSnapshotRequest

type RestoreVolumeSnapshotRequest struct {
	SnapshotUuid  string `protobuf:"bytes,1,opt,name=snapshot_uuid,json=snapshotUuid,proto3" json:"snapshot_uuid,omitempty"`
	NewVolumeName string `protobuf:"bytes,2,opt,name=new_volume_name,json=newVolumeName,proto3" json:"new_volume_name,omitempty"`
	Project       string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

RestoreVolumeSnapshot clones the snapshot into a NEW volume (CoW, reflink-backed). The parent volume is untouched ; operators wanting in-place rollback delete the existing volume + rename the restored one. Returns the newly minted volume.

func (*RestoreVolumeSnapshotRequest) Descriptor deprecated

func (*RestoreVolumeSnapshotRequest) Descriptor() ([]byte, []int)

Deprecated: Use RestoreVolumeSnapshotRequest.ProtoReflect.Descriptor instead.

func (*RestoreVolumeSnapshotRequest) GetNewVolumeName

func (x *RestoreVolumeSnapshotRequest) GetNewVolumeName() string

func (*RestoreVolumeSnapshotRequest) GetProject

func (x *RestoreVolumeSnapshotRequest) GetProject() string

func (*RestoreVolumeSnapshotRequest) GetSnapshotUuid

func (x *RestoreVolumeSnapshotRequest) GetSnapshotUuid() string

func (*RestoreVolumeSnapshotRequest) ProtoMessage

func (*RestoreVolumeSnapshotRequest) ProtoMessage()

func (*RestoreVolumeSnapshotRequest) ProtoReflect

func (*RestoreVolumeSnapshotRequest) Reset

func (x *RestoreVolumeSnapshotRequest) Reset()

func (*RestoreVolumeSnapshotRequest) String

type RestoreVolumeSnapshotResponse

type RestoreVolumeSnapshotResponse struct {
	Volume *VolumeInfo `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreVolumeSnapshotResponse) Descriptor deprecated

func (*RestoreVolumeSnapshotResponse) Descriptor() ([]byte, []int)

Deprecated: Use RestoreVolumeSnapshotResponse.ProtoReflect.Descriptor instead.

func (*RestoreVolumeSnapshotResponse) GetVolume

func (x *RestoreVolumeSnapshotResponse) GetVolume() *VolumeInfo

func (*RestoreVolumeSnapshotResponse) ProtoMessage

func (*RestoreVolumeSnapshotResponse) ProtoMessage()

func (*RestoreVolumeSnapshotResponse) ProtoReflect

func (*RestoreVolumeSnapshotResponse) Reset

func (x *RestoreVolumeSnapshotResponse) Reset()

func (*RestoreVolumeSnapshotResponse) String

type Script

type Script struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Body        string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`                            // POSIX sh source ; mvdan.cc/sh/v3 in the guest
	UpdatedAt   string `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // RFC3339, server-stamped
	UpdatedBy   string `protobuf:"bytes,5,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` // OIDC sub / email of the last editor
	// contains filtered or unexported fields
}

func (*Script) Descriptor deprecated

func (*Script) Descriptor() ([]byte, []int)

Deprecated: Use Script.ProtoReflect.Descriptor instead.

func (*Script) GetBody

func (x *Script) GetBody() string

func (*Script) GetDescription

func (x *Script) GetDescription() string

func (*Script) GetName

func (x *Script) GetName() string

func (*Script) GetUpdatedAt

func (x *Script) GetUpdatedAt() string

func (*Script) GetUpdatedBy

func (x *Script) GetUpdatedBy() string

func (*Script) ProtoMessage

func (*Script) ProtoMessage()

func (*Script) ProtoReflect

func (x *Script) ProtoReflect() protoreflect.Message

func (*Script) Reset

func (x *Script) Reset()

func (*Script) String

func (x *Script) String() string

type SecurityGroupInfo

type SecurityGroupInfo struct {
	Uuid            string          `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	ProjectUuid     string          `protobuf:"bytes,2,opt,name=project_uuid,json=projectUuid,proto3" json:"project_uuid,omitempty"`
	Name            string          `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description     string          `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Rules           []*SecurityRule `protobuf:"bytes,5,rep,name=rules,proto3" json:"rules,omitempty"`
	CreatedAtUnixNs int64           `protobuf:"varint,6,opt,name=created_at_unix_ns,json=createdAtUnixNs,proto3" json:"created_at_unix_ns,omitempty"`
	// contains filtered or unexported fields
}

func (*SecurityGroupInfo) Descriptor deprecated

func (*SecurityGroupInfo) Descriptor() ([]byte, []int)

Deprecated: Use SecurityGroupInfo.ProtoReflect.Descriptor instead.

func (*SecurityGroupInfo) GetCreatedAtUnixNs

func (x *SecurityGroupInfo) GetCreatedAtUnixNs() int64

func (*SecurityGroupInfo) GetDescription

func (x *SecurityGroupInfo) GetDescription() string

func (*SecurityGroupInfo) GetName

func (x *SecurityGroupInfo) GetName() string

func (*SecurityGroupInfo) GetProjectUuid

func (x *SecurityGroupInfo) GetProjectUuid() string

func (*SecurityGroupInfo) GetRules

func (x *SecurityGroupInfo) GetRules() []*SecurityRule

func (*SecurityGroupInfo) GetUuid

func (x *SecurityGroupInfo) GetUuid() string

func (*SecurityGroupInfo) ProtoMessage

func (*SecurityGroupInfo) ProtoMessage()

func (*SecurityGroupInfo) ProtoReflect

func (x *SecurityGroupInfo) ProtoReflect() protoreflect.Message

func (*SecurityGroupInfo) Reset

func (x *SecurityGroupInfo) Reset()

func (*SecurityGroupInfo) String

func (x *SecurityGroupInfo) String() string

type SecurityRule

type SecurityRule struct {
	Direction       string `protobuf:"bytes,1,opt,name=direction,proto3" json:"direction,omitempty"`
	Protocol        string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"`
	PortMin         int32  `protobuf:"varint,3,opt,name=port_min,json=portMin,proto3" json:"port_min,omitempty"`
	PortMax         int32  `protobuf:"varint,4,opt,name=port_max,json=portMax,proto3" json:"port_max,omitempty"`
	RemoteCidr      string `protobuf:"bytes,5,opt,name=remote_cidr,json=remoteCidr,proto3" json:"remote_cidr,omitempty"`
	RemoteGroupUuid string `protobuf:"bytes,6,opt,name=remote_group_uuid,json=remoteGroupUuid,proto3" json:"remote_group_uuid,omitempty"`
	// contains filtered or unexported fields
}

SecurityRule mirrors weft.SecurityRule. Direction is "ingress" | "egress"; Protocol is "tcp" | "udp" | "icmp" | "any". PortMin / PortMax are 0 when N/A (ICMP or "any"). Exactly one of RemoteCidr or RemoteGroupUuid is non-empty: the rule either matches a CIDR block or another security group (the latter expressing intra-tenant peer-group references).

func (*SecurityRule) Descriptor deprecated

func (*SecurityRule) Descriptor() ([]byte, []int)

Deprecated: Use SecurityRule.ProtoReflect.Descriptor instead.

func (*SecurityRule) GetDirection

func (x *SecurityRule) GetDirection() string

func (*SecurityRule) GetPortMax

func (x *SecurityRule) GetPortMax() int32

func (*SecurityRule) GetPortMin

func (x *SecurityRule) GetPortMin() int32

func (*SecurityRule) GetProtocol

func (x *SecurityRule) GetProtocol() string

func (*SecurityRule) GetRemoteCidr

func (x *SecurityRule) GetRemoteCidr() string

func (*SecurityRule) GetRemoteGroupUuid

func (x *SecurityRule) GetRemoteGroupUuid() string

func (*SecurityRule) ProtoMessage

func (*SecurityRule) ProtoMessage()

func (*SecurityRule) ProtoReflect

func (x *SecurityRule) ProtoReflect() protoreflect.Message

func (*SecurityRule) Reset

func (x *SecurityRule) Reset()

func (*SecurityRule) String

func (x *SecurityRule) String() string

type SetFlavorRequest

type SetFlavorRequest struct {
	Flavor *Flavor `protobuf:"bytes,1,opt,name=flavor,proto3" json:"flavor,omitempty"`
	// contains filtered or unexported fields
}

SetFlavor is upsert : a flavor with the given name is created or replaced atomically. Catalogue history is etcd-versioned ; this RPC doesn't expose revisions (the operator can read them via `etcdctl get --rev=N` when an audit needs it).

func (*SetFlavorRequest) Descriptor deprecated

func (*SetFlavorRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetFlavorRequest.ProtoReflect.Descriptor instead.

func (*SetFlavorRequest) GetFlavor

func (x *SetFlavorRequest) GetFlavor() *Flavor

func (*SetFlavorRequest) ProtoMessage

func (*SetFlavorRequest) ProtoMessage()

func (*SetFlavorRequest) ProtoReflect

func (x *SetFlavorRequest) ProtoReflect() protoreflect.Message

func (*SetFlavorRequest) Reset

func (x *SetFlavorRequest) Reset()

func (*SetFlavorRequest) String

func (x *SetFlavorRequest) String() string

type SetFlavorResponse

type SetFlavorResponse struct {
	Flavor *Flavor `protobuf:"bytes,1,opt,name=flavor,proto3" json:"flavor,omitempty"`
	// contains filtered or unexported fields
}

func (*SetFlavorResponse) Descriptor deprecated

func (*SetFlavorResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetFlavorResponse.ProtoReflect.Descriptor instead.

func (*SetFlavorResponse) GetFlavor

func (x *SetFlavorResponse) GetFlavor() *Flavor

func (*SetFlavorResponse) ProtoMessage

func (*SetFlavorResponse) ProtoMessage()

func (*SetFlavorResponse) ProtoReflect

func (x *SetFlavorResponse) ProtoReflect() protoreflect.Message

func (*SetFlavorResponse) Reset

func (x *SetFlavorResponse) Reset()

func (*SetFlavorResponse) String

func (x *SetFlavorResponse) String() string

type SetHostCordonedRequest added in v0.4.0

type SetHostCordonedRequest struct {
	Uuid     string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Cordoned bool   `protobuf:"varint,2,opt,name=cordoned,proto3" json:"cordoned,omitempty"`
	// contains filtered or unexported fields
}

SetHostCordoned flips the host's cordon flag. Cordoned hosts stay Active (existing VMs keep running) but the scheduler drops them from candidate sets for new placements. Idempotent — calling with the current value is a no-op + OK return. Operators use `weft host cordon` / `weft host uncordon`. See upgrade.md for the maintenance-window workflow.

func (*SetHostCordonedRequest) Descriptor deprecated added in v0.4.0

func (*SetHostCordonedRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetHostCordonedRequest.ProtoReflect.Descriptor instead.

func (*SetHostCordonedRequest) GetCordoned added in v0.4.0

func (x *SetHostCordonedRequest) GetCordoned() bool

func (*SetHostCordonedRequest) GetUuid added in v0.4.0

func (x *SetHostCordonedRequest) GetUuid() string

func (*SetHostCordonedRequest) ProtoMessage added in v0.4.0

func (*SetHostCordonedRequest) ProtoMessage()

func (*SetHostCordonedRequest) ProtoReflect added in v0.4.0

func (x *SetHostCordonedRequest) ProtoReflect() protoreflect.Message

func (*SetHostCordonedRequest) Reset added in v0.4.0

func (x *SetHostCordonedRequest) Reset()

func (*SetHostCordonedRequest) String added in v0.4.0

func (x *SetHostCordonedRequest) String() string

type SetHostCordonedResponse added in v0.4.0

type SetHostCordonedResponse struct {
	// contains filtered or unexported fields
}

func (*SetHostCordonedResponse) Descriptor deprecated added in v0.4.0

func (*SetHostCordonedResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetHostCordonedResponse.ProtoReflect.Descriptor instead.

func (*SetHostCordonedResponse) ProtoMessage added in v0.4.0

func (*SetHostCordonedResponse) ProtoMessage()

func (*SetHostCordonedResponse) ProtoReflect added in v0.4.0

func (x *SetHostCordonedResponse) ProtoReflect() protoreflect.Message

func (*SetHostCordonedResponse) Reset added in v0.4.0

func (x *SetHostCordonedResponse) Reset()

func (*SetHostCordonedResponse) String added in v0.4.0

func (x *SetHostCordonedResponse) String() string

type SetHostLabelsRequest

type SetHostLabelsRequest struct {
	Uuid   string            `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

SetHostLabels replaces the host's labels atomically. The scheduler's LabelSelectors match against these.

func (*SetHostLabelsRequest) Descriptor deprecated

func (*SetHostLabelsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetHostLabelsRequest.ProtoReflect.Descriptor instead.

func (*SetHostLabelsRequest) GetLabels

func (x *SetHostLabelsRequest) GetLabels() map[string]string

func (*SetHostLabelsRequest) GetUuid

func (x *SetHostLabelsRequest) GetUuid() string

func (*SetHostLabelsRequest) ProtoMessage

func (*SetHostLabelsRequest) ProtoMessage()

func (*SetHostLabelsRequest) ProtoReflect

func (x *SetHostLabelsRequest) ProtoReflect() protoreflect.Message

func (*SetHostLabelsRequest) Reset

func (x *SetHostLabelsRequest) Reset()

func (*SetHostLabelsRequest) String

func (x *SetHostLabelsRequest) String() string

type SetHostLabelsResponse

type SetHostLabelsResponse struct {
	// contains filtered or unexported fields
}

func (*SetHostLabelsResponse) Descriptor deprecated

func (*SetHostLabelsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetHostLabelsResponse.ProtoReflect.Descriptor instead.

func (*SetHostLabelsResponse) ProtoMessage

func (*SetHostLabelsResponse) ProtoMessage()

func (*SetHostLabelsResponse) ProtoReflect

func (x *SetHostLabelsResponse) ProtoReflect() protoreflect.Message

func (*SetHostLabelsResponse) Reset

func (x *SetHostLabelsResponse) Reset()

func (*SetHostLabelsResponse) String

func (x *SetHostLabelsResponse) String() string

type SetHostStateRequest

type SetHostStateRequest struct {
	Uuid  string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

SetHostState transitions a host to "active" / "draining" / "down". Operators set "draining" to stop scheduling new VMs without taking the host offline.

func (*SetHostStateRequest) Descriptor deprecated

func (*SetHostStateRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetHostStateRequest.ProtoReflect.Descriptor instead.

func (*SetHostStateRequest) GetState

func (x *SetHostStateRequest) GetState() string

func (*SetHostStateRequest) GetUuid

func (x *SetHostStateRequest) GetUuid() string

func (*SetHostStateRequest) ProtoMessage

func (*SetHostStateRequest) ProtoMessage()

func (*SetHostStateRequest) ProtoReflect

func (x *SetHostStateRequest) ProtoReflect() protoreflect.Message

func (*SetHostStateRequest) Reset

func (x *SetHostStateRequest) Reset()

func (*SetHostStateRequest) String

func (x *SetHostStateRequest) String() string

type SetHostStateResponse

type SetHostStateResponse struct {
	// contains filtered or unexported fields
}

func (*SetHostStateResponse) Descriptor deprecated

func (*SetHostStateResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetHostStateResponse.ProtoReflect.Descriptor instead.

func (*SetHostStateResponse) ProtoMessage

func (*SetHostStateResponse) ProtoMessage()

func (*SetHostStateResponse) ProtoReflect

func (x *SetHostStateResponse) ProtoReflect() protoreflect.Message

func (*SetHostStateResponse) Reset

func (x *SetHostStateResponse) Reset()

func (*SetHostStateResponse) String

func (x *SetHostStateResponse) String() string

type SetNetworkDNSRequest

type SetNetworkDNSRequest struct {
	Uuid       string   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	DnsServers []string `protobuf:"bytes,2,rep,name=dns_servers,json=dnsServers,proto3" json:"dns_servers,omitempty"`
	// contains filtered or unexported fields
}

func (*SetNetworkDNSRequest) Descriptor deprecated

func (*SetNetworkDNSRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetNetworkDNSRequest.ProtoReflect.Descriptor instead.

func (*SetNetworkDNSRequest) GetDnsServers

func (x *SetNetworkDNSRequest) GetDnsServers() []string

func (*SetNetworkDNSRequest) GetUuid

func (x *SetNetworkDNSRequest) GetUuid() string

func (*SetNetworkDNSRequest) ProtoMessage

func (*SetNetworkDNSRequest) ProtoMessage()

func (*SetNetworkDNSRequest) ProtoReflect

func (x *SetNetworkDNSRequest) ProtoReflect() protoreflect.Message

func (*SetNetworkDNSRequest) Reset

func (x *SetNetworkDNSRequest) Reset()

func (*SetNetworkDNSRequest) String

func (x *SetNetworkDNSRequest) String() string

type SetNetworkDNSResponse

type SetNetworkDNSResponse struct {
	Network *NetworkInfo `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

func (*SetNetworkDNSResponse) Descriptor deprecated

func (*SetNetworkDNSResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetNetworkDNSResponse.ProtoReflect.Descriptor instead.

func (*SetNetworkDNSResponse) GetNetwork

func (x *SetNetworkDNSResponse) GetNetwork() *NetworkInfo

func (*SetNetworkDNSResponse) ProtoMessage

func (*SetNetworkDNSResponse) ProtoMessage()

func (*SetNetworkDNSResponse) ProtoReflect

func (x *SetNetworkDNSResponse) ProtoReflect() protoreflect.Message

func (*SetNetworkDNSResponse) Reset

func (x *SetNetworkDNSResponse) Reset()

func (*SetNetworkDNSResponse) String

func (x *SetNetworkDNSResponse) String() string

type SetNetworkDefaultSecurityGroupsRequest

type SetNetworkDefaultSecurityGroupsRequest struct {
	Uuid               string   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	SecurityGroupUuids []string `protobuf:"bytes,2,rep,name=security_group_uuids,json=securityGroupUuids,proto3" json:"security_group_uuids,omitempty"`
	// contains filtered or unexported fields
}

SetNetworkDefaultSecurityGroups replaces the network's default SG list atomically. Empty `security_group_uuids` clears the list (NICs joining the network get no automatic SG bindings). Server validates every UUID refers to an existing SG inside the same project so this can't be used to escape tenant isolation.

func (*SetNetworkDefaultSecurityGroupsRequest) Descriptor deprecated

func (*SetNetworkDefaultSecurityGroupsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetNetworkDefaultSecurityGroupsRequest.ProtoReflect.Descriptor instead.

func (*SetNetworkDefaultSecurityGroupsRequest) GetSecurityGroupUuids

func (x *SetNetworkDefaultSecurityGroupsRequest) GetSecurityGroupUuids() []string

func (*SetNetworkDefaultSecurityGroupsRequest) GetUuid

func (*SetNetworkDefaultSecurityGroupsRequest) ProtoMessage

func (*SetNetworkDefaultSecurityGroupsRequest) ProtoReflect

func (*SetNetworkDefaultSecurityGroupsRequest) Reset

func (*SetNetworkDefaultSecurityGroupsRequest) String

type SetNetworkDefaultSecurityGroupsResponse

type SetNetworkDefaultSecurityGroupsResponse struct {
	Network *NetworkInfo `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

func (*SetNetworkDefaultSecurityGroupsResponse) Descriptor deprecated

func (*SetNetworkDefaultSecurityGroupsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetNetworkDefaultSecurityGroupsResponse.ProtoReflect.Descriptor instead.

func (*SetNetworkDefaultSecurityGroupsResponse) GetNetwork

func (*SetNetworkDefaultSecurityGroupsResponse) ProtoMessage

func (*SetNetworkDefaultSecurityGroupsResponse) ProtoReflect

func (*SetNetworkDefaultSecurityGroupsResponse) Reset

func (*SetNetworkDefaultSecurityGroupsResponse) String

type SetProjectQuotaRequest

type SetProjectQuotaRequest struct {
	ProjectUuid string  `protobuf:"bytes,1,opt,name=project_uuid,json=projectUuid,proto3" json:"project_uuid,omitempty"`
	Quota       *Quotas `protobuf:"bytes,2,opt,name=quota,proto3" json:"quota,omitempty"`
	// contains filtered or unexported fields
}

func (*SetProjectQuotaRequest) Descriptor deprecated

func (*SetProjectQuotaRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetProjectQuotaRequest.ProtoReflect.Descriptor instead.

func (*SetProjectQuotaRequest) GetProjectUuid

func (x *SetProjectQuotaRequest) GetProjectUuid() string

func (*SetProjectQuotaRequest) GetQuota

func (x *SetProjectQuotaRequest) GetQuota() *Quotas

func (*SetProjectQuotaRequest) ProtoMessage

func (*SetProjectQuotaRequest) ProtoMessage()

func (*SetProjectQuotaRequest) ProtoReflect

func (x *SetProjectQuotaRequest) ProtoReflect() protoreflect.Message

func (*SetProjectQuotaRequest) Reset

func (x *SetProjectQuotaRequest) Reset()

func (*SetProjectQuotaRequest) String

func (x *SetProjectQuotaRequest) String() string

type SetProjectQuotaResponse

type SetProjectQuotaResponse struct {
	Project       *Quotas `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	TenantCap     *Quotas `protobuf:"bytes,2,opt,name=tenant_cap,json=tenantCap,proto3" json:"tenant_cap,omitempty"`
	SiblingsTotal *Quotas `protobuf:"bytes,3,opt,name=siblings_total,json=siblingsTotal,proto3" json:"siblings_total,omitempty"`
	// contains filtered or unexported fields
}

func (*SetProjectQuotaResponse) Descriptor deprecated

func (*SetProjectQuotaResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetProjectQuotaResponse.ProtoReflect.Descriptor instead.

func (*SetProjectQuotaResponse) GetProject

func (x *SetProjectQuotaResponse) GetProject() *Quotas

func (*SetProjectQuotaResponse) GetSiblingsTotal

func (x *SetProjectQuotaResponse) GetSiblingsTotal() *Quotas

func (*SetProjectQuotaResponse) GetTenantCap

func (x *SetProjectQuotaResponse) GetTenantCap() *Quotas

func (*SetProjectQuotaResponse) ProtoMessage

func (*SetProjectQuotaResponse) ProtoMessage()

func (*SetProjectQuotaResponse) ProtoReflect

func (x *SetProjectQuotaResponse) ProtoReflect() protoreflect.Message

func (*SetProjectQuotaResponse) Reset

func (x *SetProjectQuotaResponse) Reset()

func (*SetProjectQuotaResponse) String

func (x *SetProjectQuotaResponse) String() string

type SetScriptRequest

type SetScriptRequest struct {
	Script *Script `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"`
	// contains filtered or unexported fields
}

func (*SetScriptRequest) Descriptor deprecated

func (*SetScriptRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetScriptRequest.ProtoReflect.Descriptor instead.

func (*SetScriptRequest) GetScript

func (x *SetScriptRequest) GetScript() *Script

func (*SetScriptRequest) ProtoMessage

func (*SetScriptRequest) ProtoMessage()

func (*SetScriptRequest) ProtoReflect

func (x *SetScriptRequest) ProtoReflect() protoreflect.Message

func (*SetScriptRequest) Reset

func (x *SetScriptRequest) Reset()

func (*SetScriptRequest) String

func (x *SetScriptRequest) String() string

type SetScriptResponse

type SetScriptResponse struct {
	Script *Script `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"`
	// contains filtered or unexported fields
}

func (*SetScriptResponse) Descriptor deprecated

func (*SetScriptResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetScriptResponse.ProtoReflect.Descriptor instead.

func (*SetScriptResponse) GetScript

func (x *SetScriptResponse) GetScript() *Script

func (*SetScriptResponse) ProtoMessage

func (*SetScriptResponse) ProtoMessage()

func (*SetScriptResponse) ProtoReflect

func (x *SetScriptResponse) ProtoReflect() protoreflect.Message

func (*SetScriptResponse) Reset

func (x *SetScriptResponse) Reset()

func (*SetScriptResponse) String

func (x *SetScriptResponse) String() string

type SetSecurityGroupDescriptionRequest

type SetSecurityGroupDescriptionRequest struct {
	Uuid        string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*SetSecurityGroupDescriptionRequest) Descriptor deprecated

func (*SetSecurityGroupDescriptionRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetSecurityGroupDescriptionRequest.ProtoReflect.Descriptor instead.

func (*SetSecurityGroupDescriptionRequest) GetDescription

func (x *SetSecurityGroupDescriptionRequest) GetDescription() string

func (*SetSecurityGroupDescriptionRequest) GetUuid

func (*SetSecurityGroupDescriptionRequest) ProtoMessage

func (*SetSecurityGroupDescriptionRequest) ProtoMessage()

func (*SetSecurityGroupDescriptionRequest) ProtoReflect

func (*SetSecurityGroupDescriptionRequest) Reset

func (*SetSecurityGroupDescriptionRequest) String

type SetSecurityGroupDescriptionResponse

type SetSecurityGroupDescriptionResponse struct {
	Group *SecurityGroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*SetSecurityGroupDescriptionResponse) Descriptor deprecated

func (*SetSecurityGroupDescriptionResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetSecurityGroupDescriptionResponse.ProtoReflect.Descriptor instead.

func (*SetSecurityGroupDescriptionResponse) GetGroup

func (*SetSecurityGroupDescriptionResponse) ProtoMessage

func (*SetSecurityGroupDescriptionResponse) ProtoMessage()

func (*SetSecurityGroupDescriptionResponse) ProtoReflect

func (*SetSecurityGroupDescriptionResponse) Reset

func (*SetSecurityGroupDescriptionResponse) String

type SetSecurityGroupRulesRequest

type SetSecurityGroupRulesRequest struct {
	Uuid  string          `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Rules []*SecurityRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

SetSecurityGroupRules replaces the whole rule list atomically — matches the registry's setRules semantics. Append-only and "patch one rule" stay out of the API; clients GET-modify-PUT.

func (*SetSecurityGroupRulesRequest) Descriptor deprecated

func (*SetSecurityGroupRulesRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetSecurityGroupRulesRequest.ProtoReflect.Descriptor instead.

func (*SetSecurityGroupRulesRequest) GetRules

func (x *SetSecurityGroupRulesRequest) GetRules() []*SecurityRule

func (*SetSecurityGroupRulesRequest) GetUuid

func (x *SetSecurityGroupRulesRequest) GetUuid() string

func (*SetSecurityGroupRulesRequest) ProtoMessage

func (*SetSecurityGroupRulesRequest) ProtoMessage()

func (*SetSecurityGroupRulesRequest) ProtoReflect

func (*SetSecurityGroupRulesRequest) Reset

func (x *SetSecurityGroupRulesRequest) Reset()

func (*SetSecurityGroupRulesRequest) String

type SetSecurityGroupRulesResponse

type SetSecurityGroupRulesResponse struct {
	Group *SecurityGroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*SetSecurityGroupRulesResponse) Descriptor deprecated

func (*SetSecurityGroupRulesResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetSecurityGroupRulesResponse.ProtoReflect.Descriptor instead.

func (*SetSecurityGroupRulesResponse) GetGroup

func (*SetSecurityGroupRulesResponse) ProtoMessage

func (*SetSecurityGroupRulesResponse) ProtoMessage()

func (*SetSecurityGroupRulesResponse) ProtoReflect

func (*SetSecurityGroupRulesResponse) Reset

func (x *SetSecurityGroupRulesResponse) Reset()

func (*SetSecurityGroupRulesResponse) String

type SetTenantQuotaRequest

type SetTenantQuotaRequest struct {
	TenantUuid string  `protobuf:"bytes,1,opt,name=tenant_uuid,json=tenantUuid,proto3" json:"tenant_uuid,omitempty"`
	Cap        *Quotas `protobuf:"bytes,2,opt,name=cap,proto3" json:"cap,omitempty"`
	// contains filtered or unexported fields
}

func (*SetTenantQuotaRequest) Descriptor deprecated

func (*SetTenantQuotaRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetTenantQuotaRequest.ProtoReflect.Descriptor instead.

func (*SetTenantQuotaRequest) GetCap

func (x *SetTenantQuotaRequest) GetCap() *Quotas

func (*SetTenantQuotaRequest) GetTenantUuid

func (x *SetTenantQuotaRequest) GetTenantUuid() string

func (*SetTenantQuotaRequest) ProtoMessage

func (*SetTenantQuotaRequest) ProtoMessage()

func (*SetTenantQuotaRequest) ProtoReflect

func (x *SetTenantQuotaRequest) ProtoReflect() protoreflect.Message

func (*SetTenantQuotaRequest) Reset

func (x *SetTenantQuotaRequest) Reset()

func (*SetTenantQuotaRequest) String

func (x *SetTenantQuotaRequest) String() string

type SetTenantQuotaResponse

type SetTenantQuotaResponse struct {
	Cap       *Quotas `protobuf:"bytes,1,opt,name=cap,proto3" json:"cap,omitempty"`
	Allocated *Quotas `protobuf:"bytes,2,opt,name=allocated,proto3" json:"allocated,omitempty"`
	// contains filtered or unexported fields
}

func (*SetTenantQuotaResponse) Descriptor deprecated

func (*SetTenantQuotaResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetTenantQuotaResponse.ProtoReflect.Descriptor instead.

func (*SetTenantQuotaResponse) GetAllocated

func (x *SetTenantQuotaResponse) GetAllocated() *Quotas

func (*SetTenantQuotaResponse) GetCap

func (x *SetTenantQuotaResponse) GetCap() *Quotas

func (*SetTenantQuotaResponse) ProtoMessage

func (*SetTenantQuotaResponse) ProtoMessage()

func (*SetTenantQuotaResponse) ProtoReflect

func (x *SetTenantQuotaResponse) ProtoReflect() protoreflect.Message

func (*SetTenantQuotaResponse) Reset

func (x *SetTenantQuotaResponse) Reset()

func (*SetTenantQuotaResponse) String

func (x *SetTenantQuotaResponse) String() string

type SetUEFIVarRequest

type SetUEFIVarRequest struct {
	VmName  string   `protobuf:"bytes,1,opt,name=vm_name,json=vmName,proto3" json:"vm_name,omitempty"`
	Project string   `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Var     *UEFIVar `protobuf:"bytes,3,opt,name=var,proto3" json:"var,omitempty"`
	// contains filtered or unexported fields
}

func (*SetUEFIVarRequest) Descriptor deprecated

func (*SetUEFIVarRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetUEFIVarRequest.ProtoReflect.Descriptor instead.

func (*SetUEFIVarRequest) GetProject

func (x *SetUEFIVarRequest) GetProject() string

func (*SetUEFIVarRequest) GetVar

func (x *SetUEFIVarRequest) GetVar() *UEFIVar

func (*SetUEFIVarRequest) GetVmName

func (x *SetUEFIVarRequest) GetVmName() string

func (*SetUEFIVarRequest) ProtoMessage

func (*SetUEFIVarRequest) ProtoMessage()

func (*SetUEFIVarRequest) ProtoReflect

func (x *SetUEFIVarRequest) ProtoReflect() protoreflect.Message

func (*SetUEFIVarRequest) Reset

func (x *SetUEFIVarRequest) Reset()

func (*SetUEFIVarRequest) String

func (x *SetUEFIVarRequest) String() string

type SetUEFIVarResponse

type SetUEFIVarResponse struct {
	Var *UEFIVar `protobuf:"bytes,1,opt,name=var,proto3" json:"var,omitempty"`
	// contains filtered or unexported fields
}

func (*SetUEFIVarResponse) Descriptor deprecated

func (*SetUEFIVarResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetUEFIVarResponse.ProtoReflect.Descriptor instead.

func (*SetUEFIVarResponse) GetVar

func (x *SetUEFIVarResponse) GetVar() *UEFIVar

func (*SetUEFIVarResponse) ProtoMessage

func (*SetUEFIVarResponse) ProtoMessage()

func (*SetUEFIVarResponse) ProtoReflect

func (x *SetUEFIVarResponse) ProtoReflect() protoreflect.Message

func (*SetUEFIVarResponse) Reset

func (x *SetUEFIVarResponse) Reset()

func (*SetUEFIVarResponse) String

func (x *SetUEFIVarResponse) String() string

type SetUserDisplayNameRequest

type SetUserDisplayNameRequest struct {
	Uuid        string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

SetUserDisplayName updates the operator-friendly name. The user can update their own; platform-admin can update anyone's.

func (*SetUserDisplayNameRequest) Descriptor deprecated

func (*SetUserDisplayNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetUserDisplayNameRequest.ProtoReflect.Descriptor instead.

func (*SetUserDisplayNameRequest) GetDisplayName

func (x *SetUserDisplayNameRequest) GetDisplayName() string

func (*SetUserDisplayNameRequest) GetUuid

func (x *SetUserDisplayNameRequest) GetUuid() string

func (*SetUserDisplayNameRequest) ProtoMessage

func (*SetUserDisplayNameRequest) ProtoMessage()

func (*SetUserDisplayNameRequest) ProtoReflect

func (*SetUserDisplayNameRequest) Reset

func (x *SetUserDisplayNameRequest) Reset()

func (*SetUserDisplayNameRequest) String

func (x *SetUserDisplayNameRequest) String() string

type SetUserDisplayNameResponse

type SetUserDisplayNameResponse struct {
	User *UserInfo `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*SetUserDisplayNameResponse) Descriptor deprecated

func (*SetUserDisplayNameResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetUserDisplayNameResponse.ProtoReflect.Descriptor instead.

func (*SetUserDisplayNameResponse) GetUser

func (x *SetUserDisplayNameResponse) GetUser() *UserInfo

func (*SetUserDisplayNameResponse) ProtoMessage

func (*SetUserDisplayNameResponse) ProtoMessage()

func (*SetUserDisplayNameResponse) ProtoReflect

func (*SetUserDisplayNameResponse) Reset

func (x *SetUserDisplayNameResponse) Reset()

func (*SetUserDisplayNameResponse) String

func (x *SetUserDisplayNameResponse) String() string

type SetVMPropertyRequest

type SetVMPropertyRequest struct {
	VmName   string      `protobuf:"bytes,1,opt,name=vm_name,json=vmName,proto3" json:"vm_name,omitempty"`
	Project  string      `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Property *VMProperty `protobuf:"bytes,3,opt,name=property,proto3" json:"property,omitempty"`
	// contains filtered or unexported fields
}

func (*SetVMPropertyRequest) Descriptor deprecated

func (*SetVMPropertyRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetVMPropertyRequest.ProtoReflect.Descriptor instead.

func (*SetVMPropertyRequest) GetProject

func (x *SetVMPropertyRequest) GetProject() string

func (*SetVMPropertyRequest) GetProperty

func (x *SetVMPropertyRequest) GetProperty() *VMProperty

func (*SetVMPropertyRequest) GetVmName

func (x *SetVMPropertyRequest) GetVmName() string

func (*SetVMPropertyRequest) ProtoMessage

func (*SetVMPropertyRequest) ProtoMessage()

func (*SetVMPropertyRequest) ProtoReflect

func (x *SetVMPropertyRequest) ProtoReflect() protoreflect.Message

func (*SetVMPropertyRequest) Reset

func (x *SetVMPropertyRequest) Reset()

func (*SetVMPropertyRequest) String

func (x *SetVMPropertyRequest) String() string

type SetVMPropertyResponse

type SetVMPropertyResponse struct {
	Property *VMProperty `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
	// contains filtered or unexported fields
}

func (*SetVMPropertyResponse) Descriptor deprecated

func (*SetVMPropertyResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetVMPropertyResponse.ProtoReflect.Descriptor instead.

func (*SetVMPropertyResponse) GetProperty

func (x *SetVMPropertyResponse) GetProperty() *VMProperty

func (*SetVMPropertyResponse) ProtoMessage

func (*SetVMPropertyResponse) ProtoMessage()

func (*SetVMPropertyResponse) ProtoReflect

func (x *SetVMPropertyResponse) ProtoReflect() protoreflect.Message

func (*SetVMPropertyResponse) Reset

func (x *SetVMPropertyResponse) Reset()

func (*SetVMPropertyResponse) String

func (x *SetVMPropertyResponse) String() string

type ShareInfo

type ShareInfo struct {
	Uuid            string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name            string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ProjectUuid     string `protobuf:"bytes,3,opt,name=project_uuid,json=projectUuid,proto3" json:"project_uuid,omitempty"`
	Backend         string `protobuf:"bytes,4,opt,name=backend,proto3" json:"backend,omitempty"` // "cubefs"
	SizeGb          int64  `protobuf:"varint,5,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
	Readonly        bool   `protobuf:"varint,6,opt,name=readonly,proto3" json:"readonly,omitempty"`
	Mounts          int32  `protobuf:"varint,7,opt,name=mounts,proto3" json:"mounts,omitempty"` // observed by the reconciler
	Status          string `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`  // "provisioning" | "active" | "failed"
	CreatedAtUnixNs int64  `protobuf:"varint,9,opt,name=created_at_unix_ns,json=createdAtUnixNs,proto3" json:"created_at_unix_ns,omitempty"`
	// contains filtered or unexported fields
}

func (*ShareInfo) Descriptor deprecated

func (*ShareInfo) Descriptor() ([]byte, []int)

Deprecated: Use ShareInfo.ProtoReflect.Descriptor instead.

func (*ShareInfo) GetBackend

func (x *ShareInfo) GetBackend() string

func (*ShareInfo) GetCreatedAtUnixNs

func (x *ShareInfo) GetCreatedAtUnixNs() int64

func (*ShareInfo) GetMounts

func (x *ShareInfo) GetMounts() int32

func (*ShareInfo) GetName

func (x *ShareInfo) GetName() string

func (*ShareInfo) GetProjectUuid

func (x *ShareInfo) GetProjectUuid() string

func (*ShareInfo) GetReadonly

func (x *ShareInfo) GetReadonly() bool

func (*ShareInfo) GetSizeGb

func (x *ShareInfo) GetSizeGb() int64

func (*ShareInfo) GetStatus

func (x *ShareInfo) GetStatus() string

func (*ShareInfo) GetUuid

func (x *ShareInfo) GetUuid() string

func (*ShareInfo) ProtoMessage

func (*ShareInfo) ProtoMessage()

func (*ShareInfo) ProtoReflect

func (x *ShareInfo) ProtoReflect() protoreflect.Message

func (*ShareInfo) Reset

func (x *ShareInfo) Reset()

func (*ShareInfo) String

func (x *ShareInfo) String() string

type ShareMount

type ShareMount struct {
	Id         string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Action     string       `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`   // "" / "mount" | "unmount"
	Backend    string       `protobuf:"bytes,3,opt,name=backend,proto3" json:"backend,omitempty"` // "cubefs" (default)
	MountPoint string       `protobuf:"bytes,4,opt,name=mount_point,json=mountPoint,proto3" json:"mount_point,omitempty"`
	Readonly   bool         `protobuf:"varint,5,opt,name=readonly,proto3" json:"readonly,omitempty"`
	Cubefs     *CubeFSMount `protobuf:"bytes,6,opt,name=cubefs,proto3" json:"cubefs,omitempty"`
	// contains filtered or unexported fields
}

func (*ShareMount) Descriptor deprecated

func (*ShareMount) Descriptor() ([]byte, []int)

Deprecated: Use ShareMount.ProtoReflect.Descriptor instead.

func (*ShareMount) GetAction

func (x *ShareMount) GetAction() string

func (*ShareMount) GetBackend

func (x *ShareMount) GetBackend() string

func (*ShareMount) GetCubefs

func (x *ShareMount) GetCubefs() *CubeFSMount

func (*ShareMount) GetId

func (x *ShareMount) GetId() string

func (*ShareMount) GetMountPoint

func (x *ShareMount) GetMountPoint() string

func (*ShareMount) GetReadonly

func (x *ShareMount) GetReadonly() bool

func (*ShareMount) ProtoMessage

func (*ShareMount) ProtoMessage()

func (*ShareMount) ProtoReflect

func (x *ShareMount) ProtoReflect() protoreflect.Message

func (*ShareMount) Reset

func (x *ShareMount) Reset()

func (*ShareMount) String

func (x *ShareMount) String() string

type StartVMOp

type StartVMOp struct {
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

StartVMOp dispatches a StartVM call to the agent's local Adapter. The VM must already be registered on the host (the CreateVMOp / RegisterMicroVMOp path put it there).

func (*StartVMOp) Descriptor deprecated

func (*StartVMOp) Descriptor() ([]byte, []int)

Deprecated: Use StartVMOp.ProtoReflect.Descriptor instead.

func (*StartVMOp) GetName

func (x *StartVMOp) GetName() string

func (*StartVMOp) GetProject

func (x *StartVMOp) GetProject() string

func (*StartVMOp) ProtoMessage

func (*StartVMOp) ProtoMessage()

func (*StartVMOp) ProtoReflect

func (x *StartVMOp) ProtoReflect() protoreflect.Message

func (*StartVMOp) Reset

func (x *StartVMOp) Reset()

func (*StartVMOp) String

func (x *StartVMOp) String() string

type StartVMRequest

type StartVMRequest struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Project  string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	HostUuid string `protobuf:"bytes,3,opt,name=host_uuid,json=hostUuid,proto3" json:"host_uuid,omitempty"`
	// requested_gpus / requested_pci add start-time passthrough
	// requests on top of the VM's persisted passthrough config.
	// Empty = no start-time additions. Matching semantics mirror
	// CreateVMRequest.requested_gpus / requested_pci ; the scheduler
	// validates the chosen host's inventory satisfies every entry,
	// then the driver attaches the resolved BDFs (vfio-pci on QEMU ;
	// VZ rejects with InvalidArgument). See
	// docs/operations/pci-passthrough.md.
	RequestedGpus []*GPURequest            `protobuf:"bytes,4,rep,name=requested_gpus,json=requestedGpus,proto3" json:"requested_gpus,omitempty"`
	RequestedPci  []*PCIPassthroughRequest `protobuf:"bytes,5,rep,name=requested_pci,json=requestedPci,proto3" json:"requested_pci,omitempty"`
	// contains filtered or unexported fields
}

func (*StartVMRequest) Descriptor deprecated

func (*StartVMRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartVMRequest.ProtoReflect.Descriptor instead.

func (*StartVMRequest) GetHostUuid

func (x *StartVMRequest) GetHostUuid() string

func (*StartVMRequest) GetName

func (x *StartVMRequest) GetName() string

func (*StartVMRequest) GetProject

func (x *StartVMRequest) GetProject() string

func (*StartVMRequest) GetRequestedGpus added in v0.4.0

func (x *StartVMRequest) GetRequestedGpus() []*GPURequest

func (*StartVMRequest) GetRequestedPci added in v0.4.0

func (x *StartVMRequest) GetRequestedPci() []*PCIPassthroughRequest

func (*StartVMRequest) ProtoMessage

func (*StartVMRequest) ProtoMessage()

func (*StartVMRequest) ProtoReflect

func (x *StartVMRequest) ProtoReflect() protoreflect.Message

func (*StartVMRequest) Reset

func (x *StartVMRequest) Reset()

func (*StartVMRequest) String

func (x *StartVMRequest) String() string

type StartVMResponse

type StartVMResponse struct {
	// contains filtered or unexported fields
}

func (*StartVMResponse) Descriptor deprecated

func (*StartVMResponse) Descriptor() ([]byte, []int)

Deprecated: Use StartVMResponse.ProtoReflect.Descriptor instead.

func (*StartVMResponse) ProtoMessage

func (*StartVMResponse) ProtoMessage()

func (*StartVMResponse) ProtoReflect

func (x *StartVMResponse) ProtoReflect() protoreflect.Message

func (*StartVMResponse) Reset

func (x *StartVMResponse) Reset()

func (*StartVMResponse) String

func (x *StartVMResponse) String() string

type StartVMResult

type StartVMResult struct {
	// contains filtered or unexported fields
}

StartVMResult is empty ; success/error is in DriverReply.error.

func (*StartVMResult) Descriptor deprecated

func (*StartVMResult) Descriptor() ([]byte, []int)

Deprecated: Use StartVMResult.ProtoReflect.Descriptor instead.

func (*StartVMResult) ProtoMessage

func (*StartVMResult) ProtoMessage()

func (*StartVMResult) ProtoReflect

func (x *StartVMResult) ProtoReflect() protoreflect.Message

func (*StartVMResult) Reset

func (x *StartVMResult) Reset()

func (*StartVMResult) String

func (x *StartVMResult) String() string

type StopVMOp

type StopVMOp struct {
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

StopVMOp dispatches a StopVM call to the agent.

func (*StopVMOp) Descriptor deprecated

func (*StopVMOp) Descriptor() ([]byte, []int)

Deprecated: Use StopVMOp.ProtoReflect.Descriptor instead.

func (*StopVMOp) GetName

func (x *StopVMOp) GetName() string

func (*StopVMOp) GetProject

func (x *StopVMOp) GetProject() string

func (*StopVMOp) ProtoMessage

func (*StopVMOp) ProtoMessage()

func (*StopVMOp) ProtoReflect

func (x *StopVMOp) ProtoReflect() protoreflect.Message

func (*StopVMOp) Reset

func (x *StopVMOp) Reset()

func (*StopVMOp) String

func (x *StopVMOp) String() string

type StopVMRequest

type StopVMRequest struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Project  string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	HostUuid string `protobuf:"bytes,3,opt,name=host_uuid,json=hostUuid,proto3" json:"host_uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*StopVMRequest) Descriptor deprecated

func (*StopVMRequest) Descriptor() ([]byte, []int)

Deprecated: Use StopVMRequest.ProtoReflect.Descriptor instead.

func (*StopVMRequest) GetHostUuid

func (x *StopVMRequest) GetHostUuid() string

func (*StopVMRequest) GetName

func (x *StopVMRequest) GetName() string

func (*StopVMRequest) GetProject

func (x *StopVMRequest) GetProject() string

func (*StopVMRequest) ProtoMessage

func (*StopVMRequest) ProtoMessage()

func (*StopVMRequest) ProtoReflect

func (x *StopVMRequest) ProtoReflect() protoreflect.Message

func (*StopVMRequest) Reset

func (x *StopVMRequest) Reset()

func (*StopVMRequest) String

func (x *StopVMRequest) String() string

type StopVMResponse

type StopVMResponse struct {
	// contains filtered or unexported fields
}

func (*StopVMResponse) Descriptor deprecated

func (*StopVMResponse) Descriptor() ([]byte, []int)

Deprecated: Use StopVMResponse.ProtoReflect.Descriptor instead.

func (*StopVMResponse) ProtoMessage

func (*StopVMResponse) ProtoMessage()

func (*StopVMResponse) ProtoReflect

func (x *StopVMResponse) ProtoReflect() protoreflect.Message

func (*StopVMResponse) Reset

func (x *StopVMResponse) Reset()

func (*StopVMResponse) String

func (x *StopVMResponse) String() string

type StopVMResult

type StopVMResult struct {
	// contains filtered or unexported fields
}

StopVMResult is empty ; success/error is in DriverReply.error.

func (*StopVMResult) Descriptor deprecated

func (*StopVMResult) Descriptor() ([]byte, []int)

Deprecated: Use StopVMResult.ProtoReflect.Descriptor instead.

func (*StopVMResult) ProtoMessage

func (*StopVMResult) ProtoMessage()

func (*StopVMResult) ProtoReflect

func (x *StopVMResult) ProtoReflect() protoreflect.Message

func (*StopVMResult) Reset

func (x *StopVMResult) Reset()

func (*StopVMResult) String

func (x *StopVMResult) String() string

type TenantInfo

type TenantInfo struct {
	Uuid            string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name            string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Domain          string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
	Status          string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` // "active" | "disabled"
	CreatedAtUnixNs int64  `protobuf:"varint,5,opt,name=created_at_unix_ns,json=createdAtUnixNs,proto3" json:"created_at_unix_ns,omitempty"`
	Projects        int32  `protobuf:"varint,6,opt,name=projects,proto3" json:"projects,omitempty"` // count of projects in this tenant
	Members         int32  `protobuf:"varint,7,opt,name=members,proto3" json:"members,omitempty"`
	Admins          int32  `protobuf:"varint,8,opt,name=admins,proto3" json:"admins,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantInfo) Descriptor deprecated

func (*TenantInfo) Descriptor() ([]byte, []int)

Deprecated: Use TenantInfo.ProtoReflect.Descriptor instead.

func (*TenantInfo) GetAdmins

func (x *TenantInfo) GetAdmins() int32

func (*TenantInfo) GetCreatedAtUnixNs

func (x *TenantInfo) GetCreatedAtUnixNs() int64

func (*TenantInfo) GetDomain

func (x *TenantInfo) GetDomain() string

func (*TenantInfo) GetMembers

func (x *TenantInfo) GetMembers() int32

func (*TenantInfo) GetName

func (x *TenantInfo) GetName() string

func (*TenantInfo) GetProjects

func (x *TenantInfo) GetProjects() int32

func (*TenantInfo) GetStatus

func (x *TenantInfo) GetStatus() string

func (*TenantInfo) GetUuid

func (x *TenantInfo) GetUuid() string

func (*TenantInfo) ProtoMessage

func (*TenantInfo) ProtoMessage()

func (*TenantInfo) ProtoReflect

func (x *TenantInfo) ProtoReflect() protoreflect.Message

func (*TenantInfo) Reset

func (x *TenantInfo) Reset()

func (*TenantInfo) String

func (x *TenantInfo) String() string

type TimingEvent

type TimingEvent struct {
	Name     string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                            // e.g. "registered", "vz.state.Running", "guest.exec_ready"
	TsUnixNs int64             `protobuf:"varint,2,opt,name=ts_unix_ns,json=tsUnixNs,proto3" json:"ts_unix_ns,omitempty"` // wall-clock instant the event was recorded
	Meta     map[string]string ``                                                                                         // optional per-event tags (mode, err, ns, …)
	/* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

TimingEvent mirrors weft's internal weft.TimingEvent — one entry from <vmDir>/timings.jsonl. Used by tools (weft + future integrators) to render the full server+guest lifecycle timeline of a single VM without parsing JSONL themselves.

func (*TimingEvent) Descriptor deprecated

func (*TimingEvent) Descriptor() ([]byte, []int)

Deprecated: Use TimingEvent.ProtoReflect.Descriptor instead.

func (*TimingEvent) GetMeta

func (x *TimingEvent) GetMeta() map[string]string

func (*TimingEvent) GetName

func (x *TimingEvent) GetName() string

func (*TimingEvent) GetTsUnixNs

func (x *TimingEvent) GetTsUnixNs() int64

func (*TimingEvent) ProtoMessage

func (*TimingEvent) ProtoMessage()

func (*TimingEvent) ProtoReflect

func (x *TimingEvent) ProtoReflect() protoreflect.Message

func (*TimingEvent) Reset

func (x *TimingEvent) Reset()

func (*TimingEvent) String

func (x *TimingEvent) String() string

type UEFIVar

type UEFIVar struct {
	Namespace  string   `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`               // GUID, e.g. "8be4df61-93ca-11d2-aa0d-00e098032b8c" (EFI Global)
	Name       string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                         // "BootOrder", "Boot0000", "SecureBoot", ...
	ValueHex   string   `protobuf:"bytes,3,opt,name=value_hex,json=valueHex,proto3" json:"value_hex,omitempty"` // hex of raw bytes ; empty = empty value (still valid)
	Attributes []string `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty"`             // NonVolatile, BootServiceAccess, RuntimeAccess, ...
	UpdatedAt  string   `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*UEFIVar) Descriptor deprecated

func (*UEFIVar) Descriptor() ([]byte, []int)

Deprecated: Use UEFIVar.ProtoReflect.Descriptor instead.

func (*UEFIVar) GetAttributes

func (x *UEFIVar) GetAttributes() []string

func (*UEFIVar) GetName

func (x *UEFIVar) GetName() string

func (*UEFIVar) GetNamespace

func (x *UEFIVar) GetNamespace() string

func (*UEFIVar) GetUpdatedAt

func (x *UEFIVar) GetUpdatedAt() string

func (*UEFIVar) GetValueHex

func (x *UEFIVar) GetValueHex() string

func (*UEFIVar) ProtoMessage

func (*UEFIVar) ProtoMessage()

func (*UEFIVar) ProtoReflect

func (x *UEFIVar) ProtoReflect() protoreflect.Message

func (*UEFIVar) Reset

func (x *UEFIVar) Reset()

func (*UEFIVar) String

func (x *UEFIVar) String() string

type UnimplementedAgentDispatchServer

type UnimplementedAgentDispatchServer struct{}

UnimplementedAgentDispatchServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedAgentDispatchServer) Connect

type UnimplementedWeftAgentServer

type UnimplementedWeftAgentServer struct{}

UnimplementedWeftAgentServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedWeftAgentServer) AddProjectMember

func (UnimplementedWeftAgentServer) AddTenantAdmin

func (UnimplementedWeftAgentServer) AddTenantMember

func (UnimplementedWeftAgentServer) AddVMSSHKey

func (UnimplementedWeftAgentServer) AttachVolume

func (UnimplementedWeftAgentServer) CleanImages

func (UnimplementedWeftAgentServer) CreateNetwork

func (UnimplementedWeftAgentServer) CreateProject

func (UnimplementedWeftAgentServer) CreateShare

func (UnimplementedWeftAgentServer) CreateTenant

func (UnimplementedWeftAgentServer) CreateVM

func (UnimplementedWeftAgentServer) CreateVolume

func (UnimplementedWeftAgentServer) DeleteFlavor

func (UnimplementedWeftAgentServer) DeleteHost

func (UnimplementedWeftAgentServer) DeleteNetwork

func (UnimplementedWeftAgentServer) DeleteProject

func (UnimplementedWeftAgentServer) DeleteScript

func (UnimplementedWeftAgentServer) DeleteShare

func (UnimplementedWeftAgentServer) DeleteTenant

func (UnimplementedWeftAgentServer) DeleteUEFIVar

func (UnimplementedWeftAgentServer) DeleteUser

func (UnimplementedWeftAgentServer) DeleteVM

func (UnimplementedWeftAgentServer) DeleteVMProperty

func (UnimplementedWeftAgentServer) DeleteVolume

func (UnimplementedWeftAgentServer) DeprovisionVM

func (UnimplementedWeftAgentServer) DetachVolume

func (UnimplementedWeftAgentServer) GetFlavor

func (UnimplementedWeftAgentServer) GetHost

func (UnimplementedWeftAgentServer) GetProjectQuota

func (UnimplementedWeftAgentServer) GetScript

func (UnimplementedWeftAgentServer) GetTenantQuota

func (UnimplementedWeftAgentServer) GetUser

func (UnimplementedWeftAgentServer) HeartbeatHost

func (UnimplementedWeftAgentServer) ListFlavors

func (UnimplementedWeftAgentServer) ListFloatingIPs

func (UnimplementedWeftAgentServer) ListHosts

func (UnimplementedWeftAgentServer) ListImages

func (UnimplementedWeftAgentServer) ListNetworks

func (UnimplementedWeftAgentServer) ListProjects

func (UnimplementedWeftAgentServer) ListScripts

func (UnimplementedWeftAgentServer) ListShares

func (UnimplementedWeftAgentServer) ListTenants

func (UnimplementedWeftAgentServer) ListUEFIVars

func (UnimplementedWeftAgentServer) ListUsers

func (UnimplementedWeftAgentServer) ListVMProperties

func (UnimplementedWeftAgentServer) ListVMSSHKeys

func (UnimplementedWeftAgentServer) ListVMs

func (UnimplementedWeftAgentServer) ListVolumes

func (UnimplementedWeftAgentServer) MapFloatingIP

func (UnimplementedWeftAgentServer) Me

func (UnimplementedWeftAgentServer) PatchImage

func (UnimplementedWeftAgentServer) ProvisionVM

func (UnimplementedWeftAgentServer) PullImage

func (UnimplementedWeftAgentServer) PullImages

func (UnimplementedWeftAgentServer) RegisterHost

func (UnimplementedWeftAgentServer) RegisterMicroVM

func (UnimplementedWeftAgentServer) ReleaseFloatingIP

func (UnimplementedWeftAgentServer) RemoveTenantAdmin

func (UnimplementedWeftAgentServer) RemoveVMSSHKey

func (UnimplementedWeftAgentServer) RenameNetwork

func (UnimplementedWeftAgentServer) RenameProject

func (UnimplementedWeftAgentServer) RenameVolume

func (UnimplementedWeftAgentServer) ResizeVolume

func (UnimplementedWeftAgentServer) SetFlavor

func (UnimplementedWeftAgentServer) SetHostCordoned added in v0.4.0

func (UnimplementedWeftAgentServer) SetHostLabels

func (UnimplementedWeftAgentServer) SetHostState

func (UnimplementedWeftAgentServer) SetNetworkDNS

func (UnimplementedWeftAgentServer) SetProjectQuota

func (UnimplementedWeftAgentServer) SetScript

func (UnimplementedWeftAgentServer) SetTenantQuota

func (UnimplementedWeftAgentServer) SetUEFIVar

func (UnimplementedWeftAgentServer) SetVMProperty

func (UnimplementedWeftAgentServer) StartVM

func (UnimplementedWeftAgentServer) StopVM

func (UnimplementedWeftAgentServer) UnmapFloatingIP

func (UnimplementedWeftAgentServer) VMLogs

func (UnimplementedWeftAgentServer) VMStatus

func (UnimplementedWeftAgentServer) VMTimings

func (UnimplementedWeftAgentServer) WaitVM

func (UnimplementedWeftAgentServer) WatchEvents

type UnmapFloatingIPRequest

type UnmapFloatingIPRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*UnmapFloatingIPRequest) Descriptor deprecated

func (*UnmapFloatingIPRequest) Descriptor() ([]byte, []int)

Deprecated: Use UnmapFloatingIPRequest.ProtoReflect.Descriptor instead.

func (*UnmapFloatingIPRequest) GetUuid

func (x *UnmapFloatingIPRequest) GetUuid() string

func (*UnmapFloatingIPRequest) ProtoMessage

func (*UnmapFloatingIPRequest) ProtoMessage()

func (*UnmapFloatingIPRequest) ProtoReflect

func (x *UnmapFloatingIPRequest) ProtoReflect() protoreflect.Message

func (*UnmapFloatingIPRequest) Reset

func (x *UnmapFloatingIPRequest) Reset()

func (*UnmapFloatingIPRequest) String

func (x *UnmapFloatingIPRequest) String() string

type UnmapFloatingIPResponse

type UnmapFloatingIPResponse struct {
	FloatingIp *FloatingIPInfo `protobuf:"bytes,1,opt,name=floating_ip,json=floatingIp,proto3" json:"floating_ip,omitempty"`
	// contains filtered or unexported fields
}

func (*UnmapFloatingIPResponse) Descriptor deprecated

func (*UnmapFloatingIPResponse) Descriptor() ([]byte, []int)

Deprecated: Use UnmapFloatingIPResponse.ProtoReflect.Descriptor instead.

func (*UnmapFloatingIPResponse) GetFloatingIp

func (x *UnmapFloatingIPResponse) GetFloatingIp() *FloatingIPInfo

func (*UnmapFloatingIPResponse) ProtoMessage

func (*UnmapFloatingIPResponse) ProtoMessage()

func (*UnmapFloatingIPResponse) ProtoReflect

func (x *UnmapFloatingIPResponse) ProtoReflect() protoreflect.Message

func (*UnmapFloatingIPResponse) Reset

func (x *UnmapFloatingIPResponse) Reset()

func (*UnmapFloatingIPResponse) String

func (x *UnmapFloatingIPResponse) String() string

type UnsafeAgentDispatchServer

type UnsafeAgentDispatchServer interface {
	// contains filtered or unexported methods
}

UnsafeAgentDispatchServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentDispatchServer will result in compilation errors.

type UnsafeWeftAgentServer

type UnsafeWeftAgentServer interface {
	// contains filtered or unexported methods
}

UnsafeWeftAgentServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WeftAgentServer will result in compilation errors.

type UserInfo

type UserInfo struct {
	Uuid             string   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	OidcSubject      string   `protobuf:"bytes,2,opt,name=oidc_subject,json=oidcSubject,proto3" json:"oidc_subject,omitempty"`
	OidcIssuer       string   `protobuf:"bytes,3,opt,name=oidc_issuer,json=oidcIssuer,proto3" json:"oidc_issuer,omitempty"`
	Email            string   `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	DisplayName      string   `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Groups           []string `protobuf:"bytes,6,rep,name=groups,proto3" json:"groups,omitempty"`
	CreatedAtUnixNs  int64    `protobuf:"varint,7,opt,name=created_at_unix_ns,json=createdAtUnixNs,proto3" json:"created_at_unix_ns,omitempty"`
	LastSeenAtUnixNs int64    `protobuf:"varint,8,opt,name=last_seen_at_unix_ns,json=lastSeenAtUnixNs,proto3" json:"last_seen_at_unix_ns,omitempty"`
	// contains filtered or unexported fields
}

UserInfo is one entry in the user registry. Identity is the (Issuer, Subject) pair the OIDC provider issued; UUID is weft's stable handle that survives display-name or email changes. Email + Groups + LastSeenAt are refreshed on every successful auth via RegisterUser.

func (*UserInfo) Descriptor deprecated

func (*UserInfo) Descriptor() ([]byte, []int)

Deprecated: Use UserInfo.ProtoReflect.Descriptor instead.

func (*UserInfo) GetCreatedAtUnixNs

func (x *UserInfo) GetCreatedAtUnixNs() int64

func (*UserInfo) GetDisplayName

func (x *UserInfo) GetDisplayName() string

func (*UserInfo) GetEmail

func (x *UserInfo) GetEmail() string

func (*UserInfo) GetGroups

func (x *UserInfo) GetGroups() []string

func (*UserInfo) GetLastSeenAtUnixNs

func (x *UserInfo) GetLastSeenAtUnixNs() int64

func (*UserInfo) GetOidcIssuer

func (x *UserInfo) GetOidcIssuer() string

func (*UserInfo) GetOidcSubject

func (x *UserInfo) GetOidcSubject() string

func (*UserInfo) GetUuid

func (x *UserInfo) GetUuid() string

func (*UserInfo) ProtoMessage

func (*UserInfo) ProtoMessage()

func (*UserInfo) ProtoReflect

func (x *UserInfo) ProtoReflect() protoreflect.Message

func (*UserInfo) Reset

func (x *UserInfo) Reset()

func (*UserInfo) String

func (x *UserInfo) String() string

type VMInfo

type VMInfo struct {
	Name   string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	State  VMState `protobuf:"varint,2,opt,name=state,proto3,enum=weft.v1.VMState" json:"state,omitempty"`
	Os     string  `protobuf:"bytes,3,opt,name=os,proto3" json:"os,omitempty"`
	Cpu    uint32  `protobuf:"varint,4,opt,name=cpu,proto3" json:"cpu,omitempty"`
	MemMb  uint64  `protobuf:"varint,5,opt,name=mem_mb,json=memMb,proto3" json:"mem_mb,omitempty"`
	DiskGb uint64  `protobuf:"varint,6,opt,name=disk_gb,json=diskGb,proto3" json:"disk_gb,omitempty"`
	Image  string  `protobuf:"bytes,7,opt,name=image,proto3" json:"image,omitempty"`
	Ip     string  `protobuf:"bytes,8,opt,name=ip,proto3" json:"ip,omitempty"`
	// Project that owns the VM. Two views of the same identity:
	//   - `project` — current display name (subject to rename)
	//   - `project_uuid` — stable identifier the on-disk vmDir is
	//     keyed on; survives `RenameProject`
	//
	// Clients that store attachments long-term should hold the UUID;
	// clients that just render a row can use the display name.
	Project     string `protobuf:"bytes,9,opt,name=project,proto3" json:"project,omitempty"`
	ProjectUuid string `protobuf:"bytes,10,opt,name=project_uuid,json=projectUuid,proto3" json:"project_uuid,omitempty"`
	// Stable VM identifier. The on-disk vmDir is keyed on this ;
	// `AttachVolumeRequest.vm_uuid` and similar UUID-keyed RPCs match
	// it. Survives a `RenameVM` if/when that lands.
	Uuid string `protobuf:"bytes,11,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

VMInfo describes a single VM.

func (*VMInfo) Descriptor deprecated

func (*VMInfo) Descriptor() ([]byte, []int)

Deprecated: Use VMInfo.ProtoReflect.Descriptor instead.

func (*VMInfo) GetCpu

func (x *VMInfo) GetCpu() uint32

func (*VMInfo) GetDiskGb

func (x *VMInfo) GetDiskGb() uint64

func (*VMInfo) GetImage

func (x *VMInfo) GetImage() string

func (*VMInfo) GetIp

func (x *VMInfo) GetIp() string

func (*VMInfo) GetMemMb

func (x *VMInfo) GetMemMb() uint64

func (*VMInfo) GetName

func (x *VMInfo) GetName() string

func (*VMInfo) GetOs

func (x *VMInfo) GetOs() string

func (*VMInfo) GetProject

func (x *VMInfo) GetProject() string

func (*VMInfo) GetProjectUuid

func (x *VMInfo) GetProjectUuid() string

func (*VMInfo) GetState

func (x *VMInfo) GetState() VMState

func (*VMInfo) GetUuid

func (x *VMInfo) GetUuid() string

func (*VMInfo) ProtoMessage

func (*VMInfo) ProtoMessage()

func (*VMInfo) ProtoReflect

func (x *VMInfo) ProtoReflect() protoreflect.Message

func (*VMInfo) Reset

func (x *VMInfo) Reset()

func (*VMInfo) String

func (x *VMInfo) String() string

type VMLogsRequest

type VMLogsRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Cap the response to the last `tail_bytes`. 0 = whole file.
	TailBytes int64  `protobuf:"varint,2,opt,name=tail_bytes,json=tailBytes,proto3" json:"tail_bytes,omitempty"`
	Project   string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*VMLogsRequest) Descriptor deprecated

func (*VMLogsRequest) Descriptor() ([]byte, []int)

Deprecated: Use VMLogsRequest.ProtoReflect.Descriptor instead.

func (*VMLogsRequest) GetName

func (x *VMLogsRequest) GetName() string

func (*VMLogsRequest) GetProject

func (x *VMLogsRequest) GetProject() string

func (*VMLogsRequest) GetTailBytes

func (x *VMLogsRequest) GetTailBytes() int64

func (*VMLogsRequest) ProtoMessage

func (*VMLogsRequest) ProtoMessage()

func (*VMLogsRequest) ProtoReflect

func (x *VMLogsRequest) ProtoReflect() protoreflect.Message

func (*VMLogsRequest) Reset

func (x *VMLogsRequest) Reset()

func (*VMLogsRequest) String

func (x *VMLogsRequest) String() string

type VMLogsResponse

type VMLogsResponse struct {
	Contents []byte `protobuf:"bytes,1,opt,name=contents,proto3" json:"contents,omitempty"`
	// Total size of console.log on disk (so the client can tell
	// when `tail_bytes` truncated the response).
	TotalBytes int64 `protobuf:"varint,2,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*VMLogsResponse) Descriptor deprecated

func (*VMLogsResponse) Descriptor() ([]byte, []int)

Deprecated: Use VMLogsResponse.ProtoReflect.Descriptor instead.

func (*VMLogsResponse) GetContents

func (x *VMLogsResponse) GetContents() []byte

func (*VMLogsResponse) GetTotalBytes

func (x *VMLogsResponse) GetTotalBytes() int64

func (*VMLogsResponse) ProtoMessage

func (*VMLogsResponse) ProtoMessage()

func (*VMLogsResponse) ProtoReflect

func (x *VMLogsResponse) ProtoReflect() protoreflect.Message

func (*VMLogsResponse) Reset

func (x *VMLogsResponse) Reset()

func (*VMLogsResponse) String

func (x *VMLogsResponse) String() string

type VMProperty

type VMProperty struct {
	Key           string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value         string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	GuestReadable bool   `protobuf:"varint,3,opt,name=guest_readable,json=guestReadable,proto3" json:"guest_readable,omitempty"`
	UpdatedAt     string `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // RFC3339
	// contains filtered or unexported fields
}

func (*VMProperty) Descriptor deprecated

func (*VMProperty) Descriptor() ([]byte, []int)

Deprecated: Use VMProperty.ProtoReflect.Descriptor instead.

func (*VMProperty) GetGuestReadable

func (x *VMProperty) GetGuestReadable() bool

func (*VMProperty) GetKey

func (x *VMProperty) GetKey() string

func (*VMProperty) GetUpdatedAt

func (x *VMProperty) GetUpdatedAt() string

func (*VMProperty) GetValue

func (x *VMProperty) GetValue() string

func (*VMProperty) ProtoMessage

func (*VMProperty) ProtoMessage()

func (*VMProperty) ProtoReflect

func (x *VMProperty) ProtoReflect() protoreflect.Message

func (*VMProperty) Reset

func (x *VMProperty) Reset()

func (*VMProperty) String

func (x *VMProperty) String() string

type VMSSHKey

type VMSSHKey struct {
	Fingerprint string `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`              // "SHA256:<b64>", server-computed
	Type        string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`                            // "ssh-ed25519" | "ssh-rsa" | ...
	PublicKey   string `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // full "<type> <b64> [comment]" line
	Comment     string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
	AddedAt     string `protobuf:"bytes,5,opt,name=added_at,json=addedAt,proto3" json:"added_at,omitempty"` // RFC3339
	// contains filtered or unexported fields
}

func (*VMSSHKey) Descriptor deprecated

func (*VMSSHKey) Descriptor() ([]byte, []int)

Deprecated: Use VMSSHKey.ProtoReflect.Descriptor instead.

func (*VMSSHKey) GetAddedAt

func (x *VMSSHKey) GetAddedAt() string

func (*VMSSHKey) GetComment

func (x *VMSSHKey) GetComment() string

func (*VMSSHKey) GetFingerprint

func (x *VMSSHKey) GetFingerprint() string

func (*VMSSHKey) GetPublicKey

func (x *VMSSHKey) GetPublicKey() string

func (*VMSSHKey) GetType

func (x *VMSSHKey) GetType() string

func (*VMSSHKey) ProtoMessage

func (*VMSSHKey) ProtoMessage()

func (*VMSSHKey) ProtoReflect

func (x *VMSSHKey) ProtoReflect() protoreflect.Message

func (*VMSSHKey) Reset

func (x *VMSSHKey) Reset()

func (*VMSSHKey) String

func (x *VMSSHKey) String() string

type VMState

type VMState int32

VMState describes the lifecycle state of a VM.

const (
	VMState_VM_STATE_UNSPECIFIED VMState = 0
	VMState_VM_STATE_NOT_CREATED VMState = 1
	VMState_VM_STATE_STOPPED     VMState = 2
	VMState_VM_STATE_RUNNING     VMState = 3
	VMState_VM_STATE_ERROR       VMState = 4
)

func (VMState) Descriptor

func (VMState) Descriptor() protoreflect.EnumDescriptor

func (VMState) Enum

func (x VMState) Enum() *VMState

func (VMState) EnumDescriptor deprecated

func (VMState) EnumDescriptor() ([]byte, []int)

Deprecated: Use VMState.Descriptor instead.

func (VMState) Number

func (x VMState) Number() protoreflect.EnumNumber

func (VMState) String

func (x VMState) String() string

func (VMState) Type

func (VMState) Type() protoreflect.EnumType

type VMStatusRequest

type VMStatusRequest struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*VMStatusRequest) Descriptor deprecated

func (*VMStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use VMStatusRequest.ProtoReflect.Descriptor instead.

func (*VMStatusRequest) GetName

func (x *VMStatusRequest) GetName() string

func (*VMStatusRequest) GetProject

func (x *VMStatusRequest) GetProject() string

func (*VMStatusRequest) ProtoMessage

func (*VMStatusRequest) ProtoMessage()

func (*VMStatusRequest) ProtoReflect

func (x *VMStatusRequest) ProtoReflect() protoreflect.Message

func (*VMStatusRequest) Reset

func (x *VMStatusRequest) Reset()

func (*VMStatusRequest) String

func (x *VMStatusRequest) String() string

type VMStatusResponse

type VMStatusResponse struct {
	Vm *VMInfo `protobuf:"bytes,1,opt,name=vm,proto3" json:"vm,omitempty"`
	// contains filtered or unexported fields
}

func (*VMStatusResponse) Descriptor deprecated

func (*VMStatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use VMStatusResponse.ProtoReflect.Descriptor instead.

func (*VMStatusResponse) GetVm

func (x *VMStatusResponse) GetVm() *VMInfo

func (*VMStatusResponse) ProtoMessage

func (*VMStatusResponse) ProtoMessage()

func (*VMStatusResponse) ProtoReflect

func (x *VMStatusResponse) ProtoReflect() protoreflect.Message

func (*VMStatusResponse) Reset

func (x *VMStatusResponse) Reset()

func (*VMStatusResponse) String

func (x *VMStatusResponse) String() string

type VMTimingsRequest

type VMTimingsRequest struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*VMTimingsRequest) Descriptor deprecated

func (*VMTimingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use VMTimingsRequest.ProtoReflect.Descriptor instead.

func (*VMTimingsRequest) GetName

func (x *VMTimingsRequest) GetName() string

func (*VMTimingsRequest) GetProject

func (x *VMTimingsRequest) GetProject() string

func (*VMTimingsRequest) ProtoMessage

func (*VMTimingsRequest) ProtoMessage()

func (*VMTimingsRequest) ProtoReflect

func (x *VMTimingsRequest) ProtoReflect() protoreflect.Message

func (*VMTimingsRequest) Reset

func (x *VMTimingsRequest) Reset()

func (*VMTimingsRequest) String

func (x *VMTimingsRequest) String() string

type VMTimingsResponse

type VMTimingsResponse struct {
	Events []*TimingEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*VMTimingsResponse) Descriptor deprecated

func (*VMTimingsResponse) Descriptor() ([]byte, []int)

Deprecated: Use VMTimingsResponse.ProtoReflect.Descriptor instead.

func (*VMTimingsResponse) GetEvents

func (x *VMTimingsResponse) GetEvents() []*TimingEvent

func (*VMTimingsResponse) ProtoMessage

func (*VMTimingsResponse) ProtoMessage()

func (*VMTimingsResponse) ProtoReflect

func (x *VMTimingsResponse) ProtoReflect() protoreflect.Message

func (*VMTimingsResponse) Reset

func (x *VMTimingsResponse) Reset()

func (*VMTimingsResponse) String

func (x *VMTimingsResponse) String() string

type VolumeInfo

type VolumeInfo struct {
	Uuid            string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	ProjectUuid     string `protobuf:"bytes,2,opt,name=project_uuid,json=projectUuid,proto3" json:"project_uuid,omitempty"`
	Name            string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	SizeGib         int64  `protobuf:"varint,4,opt,name=size_gib,json=sizeGib,proto3" json:"size_gib,omitempty"`
	Format          string `protobuf:"bytes,5,opt,name=format,proto3" json:"format,omitempty"`                                         // "raw" | "qcow2"
	AttachedToUuid  string `protobuf:"bytes,6,opt,name=attached_to_uuid,json=attachedToUuid,proto3" json:"attached_to_uuid,omitempty"` // empty = detached
	CreatedAtUnixNs int64  `protobuf:"varint,7,opt,name=created_at_unix_ns,json=createdAtUnixNs,proto3" json:"created_at_unix_ns,omitempty"`
	// contains filtered or unexported fields
}

VolumeInfo is one entry in the volume registry. UUID + Project stay stable for the resource's lifetime; Name / SizeGiB / AttachedTo move via the dedicated RPCs.

func (*VolumeInfo) Descriptor deprecated

func (*VolumeInfo) Descriptor() ([]byte, []int)

Deprecated: Use VolumeInfo.ProtoReflect.Descriptor instead.

func (*VolumeInfo) GetAttachedToUuid

func (x *VolumeInfo) GetAttachedToUuid() string

func (*VolumeInfo) GetCreatedAtUnixNs

func (x *VolumeInfo) GetCreatedAtUnixNs() int64

func (*VolumeInfo) GetFormat

func (x *VolumeInfo) GetFormat() string

func (*VolumeInfo) GetName

func (x *VolumeInfo) GetName() string

func (*VolumeInfo) GetProjectUuid

func (x *VolumeInfo) GetProjectUuid() string

func (*VolumeInfo) GetSizeGib

func (x *VolumeInfo) GetSizeGib() int64

func (*VolumeInfo) GetUuid

func (x *VolumeInfo) GetUuid() string

func (*VolumeInfo) ProtoMessage

func (*VolumeInfo) ProtoMessage()

func (*VolumeInfo) ProtoReflect

func (x *VolumeInfo) ProtoReflect() protoreflect.Message

func (*VolumeInfo) Reset

func (x *VolumeInfo) Reset()

func (*VolumeInfo) String

func (x *VolumeInfo) String() string

type VolumeSnapshotInfo

type VolumeSnapshotInfo struct {
	Uuid            string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	VolumeUuid      string `protobuf:"bytes,2,opt,name=volume_uuid,json=volumeUuid,proto3" json:"volume_uuid,omitempty"`
	Name            string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`                       // operator-chosen, unique per parent volume
	SizeGib         int64  `protobuf:"varint,4,opt,name=size_gib,json=sizeGib,proto3" json:"size_gib,omitempty"` // same as parent at snapshot time
	Project         string `protobuf:"bytes,5,opt,name=project,proto3" json:"project,omitempty"`
	CreatedAtUnixNs int64  `protobuf:"varint,6,opt,name=created_at_unix_ns,json=createdAtUnixNs,proto3" json:"created_at_unix_ns,omitempty"`
	// contains filtered or unexported fields
}

VolumeSnapshotInfo describes one snapshot. UUID is the snapshot's own identity ; volume_uuid pins the parent. created_at lets clients sort + age-out without re-querying.

func (*VolumeSnapshotInfo) Descriptor deprecated

func (*VolumeSnapshotInfo) Descriptor() ([]byte, []int)

Deprecated: Use VolumeSnapshotInfo.ProtoReflect.Descriptor instead.

func (*VolumeSnapshotInfo) GetCreatedAtUnixNs

func (x *VolumeSnapshotInfo) GetCreatedAtUnixNs() int64

func (*VolumeSnapshotInfo) GetName

func (x *VolumeSnapshotInfo) GetName() string

func (*VolumeSnapshotInfo) GetProject

func (x *VolumeSnapshotInfo) GetProject() string

func (*VolumeSnapshotInfo) GetSizeGib

func (x *VolumeSnapshotInfo) GetSizeGib() int64

func (*VolumeSnapshotInfo) GetUuid

func (x *VolumeSnapshotInfo) GetUuid() string

func (*VolumeSnapshotInfo) GetVolumeUuid

func (x *VolumeSnapshotInfo) GetVolumeUuid() string

func (*VolumeSnapshotInfo) ProtoMessage

func (*VolumeSnapshotInfo) ProtoMessage()

func (*VolumeSnapshotInfo) ProtoReflect

func (x *VolumeSnapshotInfo) ProtoReflect() protoreflect.Message

func (*VolumeSnapshotInfo) Reset

func (x *VolumeSnapshotInfo) Reset()

func (*VolumeSnapshotInfo) String

func (x *VolumeSnapshotInfo) String() string

type WaitVMRequest

type WaitVMRequest struct {
	Name           string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	TimeoutSeconds int32  `protobuf:"varint,2,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"`
	Project        string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*WaitVMRequest) Descriptor deprecated

func (*WaitVMRequest) Descriptor() ([]byte, []int)

Deprecated: Use WaitVMRequest.ProtoReflect.Descriptor instead.

func (*WaitVMRequest) GetName

func (x *WaitVMRequest) GetName() string

func (*WaitVMRequest) GetProject

func (x *WaitVMRequest) GetProject() string

func (*WaitVMRequest) GetTimeoutSeconds

func (x *WaitVMRequest) GetTimeoutSeconds() int32

func (*WaitVMRequest) ProtoMessage

func (*WaitVMRequest) ProtoMessage()

func (*WaitVMRequest) ProtoReflect

func (x *WaitVMRequest) ProtoReflect() protoreflect.Message

func (*WaitVMRequest) Reset

func (x *WaitVMRequest) Reset()

func (*WaitVMRequest) String

func (x *WaitVMRequest) String() string

type WaitVMResponse

type WaitVMResponse struct {
	Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

func (*WaitVMResponse) Descriptor deprecated

func (*WaitVMResponse) Descriptor() ([]byte, []int)

Deprecated: Use WaitVMResponse.ProtoReflect.Descriptor instead.

func (*WaitVMResponse) GetIp

func (x *WaitVMResponse) GetIp() string

func (*WaitVMResponse) ProtoMessage

func (*WaitVMResponse) ProtoMessage()

func (*WaitVMResponse) ProtoReflect

func (x *WaitVMResponse) ProtoReflect() protoreflect.Message

func (*WaitVMResponse) Reset

func (x *WaitVMResponse) Reset()

func (*WaitVMResponse) String

func (x *WaitVMResponse) String() string

type WatchEventsRequest

type WatchEventsRequest struct {
	KindPrefix []string `protobuf:"bytes,1,rep,name=kind_prefix,json=kindPrefix,proto3" json:"kind_prefix,omitempty"`
	Project    string   `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	Subject    string   `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	// contains filtered or unexported fields
}

WatchEventsRequest opens a server-stream of PlatformEvents.

`kind_prefix` (optional, repeated) — each event's `kind` must match at least one entry as a prefix. Empty slice = no kind filter. Examples: ["vm."] → every VM lifecycle event; ["project.renamed"] → only renames.

`project` (optional) — display name OR UUID. When set, events from other projects are dropped server-side (in addition to the ACL filter that always applies).

`subject` (optional) — narrow to events whose `subject` field matches exactly. The canonical use is `--vm <name>` in weft / weft-microvm: an operator wanting only the lifecycle + boot timeline of one VM without scanning the rest of the bus.

func (*WatchEventsRequest) Descriptor deprecated

func (*WatchEventsRequest) Descriptor() ([]byte, []int)

Deprecated: Use WatchEventsRequest.ProtoReflect.Descriptor instead.

func (*WatchEventsRequest) GetKindPrefix

func (x *WatchEventsRequest) GetKindPrefix() []string

func (*WatchEventsRequest) GetProject

func (x *WatchEventsRequest) GetProject() string

func (*WatchEventsRequest) GetSubject

func (x *WatchEventsRequest) GetSubject() string

func (*WatchEventsRequest) ProtoMessage

func (*WatchEventsRequest) ProtoMessage()

func (*WatchEventsRequest) ProtoReflect

func (x *WatchEventsRequest) ProtoReflect() protoreflect.Message

func (*WatchEventsRequest) Reset

func (x *WatchEventsRequest) Reset()

func (*WatchEventsRequest) String

func (x *WatchEventsRequest) String() string

type WeftAgentClient

type WeftAgentClient interface {
	ListVMs(ctx context.Context, in *ListVMsRequest, opts ...grpc.CallOption) (*ListVMsResponse, error)
	VMStatus(ctx context.Context, in *VMStatusRequest, opts ...grpc.CallOption) (*VMStatusResponse, error)
	StartVM(ctx context.Context, in *StartVMRequest, opts ...grpc.CallOption) (*StartVMResponse, error)
	StopVM(ctx context.Context, in *StopVMRequest, opts ...grpc.CallOption) (*StopVMResponse, error)
	CreateVM(ctx context.Context, in *CreateVMRequest, opts ...grpc.CallOption) (*CreateVMResponse, error)
	DeleteVM(ctx context.Context, in *DeleteVMRequest, opts ...grpc.CallOption) (*DeleteVMResponse, error)
	ProvisionVM(ctx context.Context, in *ProvisionVMRequest, opts ...grpc.CallOption) (*ProvisionVMResponse, error)
	DeprovisionVM(ctx context.Context, in *DeprovisionVMRequest, opts ...grpc.CallOption) (*DeprovisionVMResponse, error)
	PullImages(ctx context.Context, in *PullImagesRequest, opts ...grpc.CallOption) (*PullImagesResponse, error)
	PullImage(ctx context.Context, in *PullImageRequest, opts ...grpc.CallOption) (*PullImageResponse, error)
	PatchImage(ctx context.Context, in *PatchImageRequest, opts ...grpc.CallOption) (*PatchImageResponse, error)
	ListImages(ctx context.Context, in *ListImagesRequest, opts ...grpc.CallOption) (*ListImagesResponse, error)
	CleanImages(ctx context.Context, in *CleanImagesRequest, opts ...grpc.CallOption) (*CleanImagesResponse, error)
	WaitVM(ctx context.Context, in *WaitVMRequest, opts ...grpc.CallOption) (*WaitVMResponse, error)
	// Nano-Container-Linux integration: register a VM directory that
	// boots from a read-only weft-microvm-init UKI ISO and exposes the OCI
	// rootfs to the guest via virtio-fs. After this returns the VM
	// is in VM_STATE_STOPPED; call StartVM to boot it.
	RegisterMicroVM(ctx context.Context, in *RegisterMicroVMRequest, opts ...grpc.CallOption) (*RegisterMicroVMResponse, error)
	// Per-VM lifecycle event log: every transition the daemon
	// observed (server-side state + folded guest-side WEFT_MARK
	// lines from the console). Returned in wall-clock order.
	VMTimings(ctx context.Context, in *VMTimingsRequest, opts ...grpc.CallOption) (*VMTimingsResponse, error)
	// Read a VM's serial console log (the raw byte stream the guest
	// produced on hvc0 / serial port — boot messages, weft-microvm-init log
	// lines, WEFT_MARK markers, and the container's own stdout/
	// stderr, all interleaved). Single-shot read; `tail_bytes` caps
	// the response to the last N bytes when non-zero.
	VMLogs(ctx context.Context, in *VMLogsRequest, opts ...grpc.CallOption) (*VMLogsResponse, error)
	// Project registry RPCs. The UUID returned by ListProjects /
	// CreateProject is the stable identifier on-disk vmDirs are
	// keyed on; RenameProject mutates only the display name so every
	// attached VM follows the rename transparently.
	ListProjects(ctx context.Context, in *ListProjectsRequest, opts ...grpc.CallOption) (*ListProjectsResponse, error)
	CreateProject(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*CreateProjectResponse, error)
	RenameProject(ctx context.Context, in *RenameProjectRequest, opts ...grpc.CallOption) (*RenameProjectResponse, error)
	DeleteProject(ctx context.Context, in *DeleteProjectRequest, opts ...grpc.CallOption) (*DeleteProjectResponse, error)
	// Project-membership RPCs. Platform-managed alternative to
	// dex `project:<uuid>` group claims; either path grants access.
	AddProjectMember(ctx context.Context, in *AddProjectMemberRequest, opts ...grpc.CallOption) (*AddProjectMemberResponse, error)
	RemoveProjectMember(ctx context.Context, in *RemoveProjectMemberRequest, opts ...grpc.CallOption) (*RemoveProjectMemberResponse, error)
	ListProjectMembers(ctx context.Context, in *ListProjectMembersRequest, opts ...grpc.CallOption) (*ListProjectMembersResponse, error)
	// User registry RPCs. Authenticated principals; UUID-keyed so a
	// display-name or email change leaves every project ACL intact.
	ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
	GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error)
	Me(ctx context.Context, in *MeRequest, opts ...grpc.CallOption) (*MeResponse, error)
	SetUserDisplayName(ctx context.Context, in *SetUserDisplayNameRequest, opts ...grpc.CallOption) (*SetUserDisplayNameResponse, error)
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error)
	// Network registry RPCs. Same UUID-keyed, project-scoped shape
	// as Volumes; immutable CIDR/Type, mutable Name + DNS list.
	ListNetworks(ctx context.Context, in *ListNetworksRequest, opts ...grpc.CallOption) (*ListNetworksResponse, error)
	CreateNetwork(ctx context.Context, in *CreateNetworkRequest, opts ...grpc.CallOption) (*CreateNetworkResponse, error)
	RenameNetwork(ctx context.Context, in *RenameNetworkRequest, opts ...grpc.CallOption) (*RenameNetworkResponse, error)
	SetNetworkDNS(ctx context.Context, in *SetNetworkDNSRequest, opts ...grpc.CallOption) (*SetNetworkDNSResponse, error)
	DeleteNetwork(ctx context.Context, in *DeleteNetworkRequest, opts ...grpc.CallOption) (*DeleteNetworkResponse, error)
	SetNetworkDefaultSecurityGroups(ctx context.Context, in *SetNetworkDefaultSecurityGroupsRequest, opts ...grpc.CallOption) (*SetNetworkDefaultSecurityGroupsResponse, error)
	// SecurityGroup registry RPCs. SetSecurityGroupRules replaces
	// the rule list atomically — clients GET-modify-PUT.
	ListSecurityGroups(ctx context.Context, in *ListSecurityGroupsRequest, opts ...grpc.CallOption) (*ListSecurityGroupsResponse, error)
	CreateSecurityGroup(ctx context.Context, in *CreateSecurityGroupRequest, opts ...grpc.CallOption) (*CreateSecurityGroupResponse, error)
	RenameSecurityGroup(ctx context.Context, in *RenameSecurityGroupRequest, opts ...grpc.CallOption) (*RenameSecurityGroupResponse, error)
	SetSecurityGroupDescription(ctx context.Context, in *SetSecurityGroupDescriptionRequest, opts ...grpc.CallOption) (*SetSecurityGroupDescriptionResponse, error)
	SetSecurityGroupRules(ctx context.Context, in *SetSecurityGroupRulesRequest, opts ...grpc.CallOption) (*SetSecurityGroupRulesResponse, error)
	DeleteSecurityGroup(ctx context.Context, in *DeleteSecurityGroupRequest, opts ...grpc.CallOption) (*DeleteSecurityGroupResponse, error)
	// Volume registry RPCs. Same shape as projects (UUID-keyed,
	// rename-friendly) but two-dimensional: a volume's name is
	// unique inside its project, not globally. AttachVolume +
	// DetachVolume manipulate the VM binding without recreating the
	// volume — same `volume.*` events stream out to bus subscribers.
	ListVolumes(ctx context.Context, in *ListVolumesRequest, opts ...grpc.CallOption) (*ListVolumesResponse, error)
	CreateVolume(ctx context.Context, in *CreateVolumeRequest, opts ...grpc.CallOption) (*CreateVolumeResponse, error)
	RenameVolume(ctx context.Context, in *RenameVolumeRequest, opts ...grpc.CallOption) (*RenameVolumeResponse, error)
	ResizeVolume(ctx context.Context, in *ResizeVolumeRequest, opts ...grpc.CallOption) (*ResizeVolumeResponse, error)
	AttachVolume(ctx context.Context, in *AttachVolumeRequest, opts ...grpc.CallOption) (*AttachVolumeResponse, error)
	DetachVolume(ctx context.Context, in *DetachVolumeRequest, opts ...grpc.CallOption) (*DetachVolumeResponse, error)
	DeleteVolume(ctx context.Context, in *DeleteVolumeRequest, opts ...grpc.CallOption) (*DeleteVolumeResponse, error)
	// Volume snapshot RPCs. A snapshot is a point-in-time CoW copy of a
	// volume's contents — same backing primitive as the VM CoW clone
	// (FICLONE / reflink). Listed under the parent volume's UUID,
	// referenceable by their own UUID for restore. The restore path
	// re-clones the snapshot into a fresh volume (does NOT mutate the
	// parent in place — that would invalidate every other snapshot
	// taken since).
	CreateVolumeSnapshot(ctx context.Context, in *CreateVolumeSnapshotRequest, opts ...grpc.CallOption) (*CreateVolumeSnapshotResponse, error)
	ListVolumeSnapshots(ctx context.Context, in *ListVolumeSnapshotsRequest, opts ...grpc.CallOption) (*ListVolumeSnapshotsResponse, error)
	RestoreVolumeSnapshot(ctx context.Context, in *RestoreVolumeSnapshotRequest, opts ...grpc.CallOption) (*RestoreVolumeSnapshotResponse, error)
	DeleteVolumeSnapshot(ctx context.Context, in *DeleteVolumeSnapshotRequest, opts ...grpc.CallOption) (*DeleteVolumeSnapshotResponse, error)
	// WatchEvents opens a server-stream of platform events. Lets
	// clients react to VM lifecycle / project mutation / guest-side
	// marker changes without polling. ACL-filtered server-side by
	// the caller's visible projects.
	WatchEvents(ctx context.Context, in *WatchEventsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PlatformEvent], error)
	// RenderNATSAuthorization returns the NATS-conf `authorization`
	// block (per-project NKey allow-list, default-deny) for the
	// operator to splice into nats.conf. Admin-gated.
	// Per [[weft-tenant-event-access]] Phase 3.
	RenderNATSAuthorization(ctx context.Context, in *RenderNATSAuthorizationRequest, opts ...grpc.CallOption) (*RenderNATSAuthorizationResponse, error)
	// Host registry RPCs. The Host inventory drives multi-host
	// placement: every hypervisor instance registers itself (or is
	// registered by the operator) and the scheduler picks among
	// them honouring [[weft-placement-rules]].
	RegisterHost(ctx context.Context, in *RegisterHostRequest, opts ...grpc.CallOption) (*RegisterHostResponse, error)
	ListHosts(ctx context.Context, in *ListHostsRequest, opts ...grpc.CallOption) (*ListHostsResponse, error)
	GetHost(ctx context.Context, in *GetHostRequest, opts ...grpc.CallOption) (*GetHostResponse, error)
	HeartbeatHost(ctx context.Context, in *HeartbeatHostRequest, opts ...grpc.CallOption) (*HeartbeatHostResponse, error)
	SetHostState(ctx context.Context, in *SetHostStateRequest, opts ...grpc.CallOption) (*SetHostStateResponse, error)
	SetHostLabels(ctx context.Context, in *SetHostLabelsRequest, opts ...grpc.CallOption) (*SetHostLabelsResponse, error)
	SetHostCordoned(ctx context.Context, in *SetHostCordonedRequest, opts ...grpc.CallOption) (*SetHostCordonedResponse, error)
	DeleteHost(ctx context.Context, in *DeleteHostRequest, opts ...grpc.CallOption) (*DeleteHostResponse, error)
	// PublishShareToProject fans a CubeFS share mount (or, with
	// mount.action="unmount", an unmount) out to every VM in a project over
	// the event bus — the daemon side of `weft share attach/detach`.
	PublishShareToProject(ctx context.Context, in *PublishShareToProjectRequest, opts ...grpc.CallOption) (*PublishShareToProjectResponse, error)
	// --- Tenants (multi-tenancy boundary) ---
	ListTenants(ctx context.Context, in *ListTenantsRequest, opts ...grpc.CallOption) (*ListTenantsResponse, error)
	CreateTenant(ctx context.Context, in *CreateTenantRequest, opts ...grpc.CallOption) (*CreateTenantResponse, error)
	DeleteTenant(ctx context.Context, in *DeleteTenantRequest, opts ...grpc.CallOption) (*DeleteTenantResponse, error)
	AddTenantAdmin(ctx context.Context, in *AddTenantAdminRequest, opts ...grpc.CallOption) (*AddTenantAdminResponse, error)
	RemoveTenantAdmin(ctx context.Context, in *RemoveTenantAdminRequest, opts ...grpc.CallOption) (*RemoveTenantAdminResponse, error)
	AddTenantMember(ctx context.Context, in *AddTenantMemberRequest, opts ...grpc.CallOption) (*AddTenantMemberResponse, error)
	RemoveTenantMember(ctx context.Context, in *RemoveTenantMemberRequest, opts ...grpc.CallOption) (*RemoveTenantMemberResponse, error)
	// --- Quotas (hierarchical : tenant cap → project distribution) ---
	GetTenantQuota(ctx context.Context, in *GetTenantQuotaRequest, opts ...grpc.CallOption) (*GetTenantQuotaResponse, error)
	SetTenantQuota(ctx context.Context, in *SetTenantQuotaRequest, opts ...grpc.CallOption) (*SetTenantQuotaResponse, error)
	GetProjectQuota(ctx context.Context, in *GetProjectQuotaRequest, opts ...grpc.CallOption) (*GetProjectQuotaResponse, error)
	SetProjectQuota(ctx context.Context, in *SetProjectQuotaRequest, opts ...grpc.CallOption) (*SetProjectQuotaResponse, error)
	// --- Shares (CubeFS share registry ; volume provisioning stays
	//
	//	out-of-band on the CubeFS cluster) ---
	ListShares(ctx context.Context, in *ListSharesRequest, opts ...grpc.CallOption) (*ListSharesResponse, error)
	CreateShare(ctx context.Context, in *CreateShareRequest, opts ...grpc.CallOption) (*CreateShareResponse, error)
	DeleteShare(ctx context.Context, in *DeleteShareRequest, opts ...grpc.CallOption) (*DeleteShareResponse, error)
	// --- Floating IPs (public ingress addresses) ---
	ListFloatingIPs(ctx context.Context, in *ListFloatingIPsRequest, opts ...grpc.CallOption) (*ListFloatingIPsResponse, error)
	AllocateFloatingIP(ctx context.Context, in *AllocateFloatingIPRequest, opts ...grpc.CallOption) (*AllocateFloatingIPResponse, error)
	ReleaseFloatingIP(ctx context.Context, in *ReleaseFloatingIPRequest, opts ...grpc.CallOption) (*ReleaseFloatingIPResponse, error)
	MapFloatingIP(ctx context.Context, in *MapFloatingIPRequest, opts ...grpc.CallOption) (*MapFloatingIPResponse, error)
	UnmapFloatingIP(ctx context.Context, in *UnmapFloatingIPRequest, opts ...grpc.CallOption) (*UnmapFloatingIPResponse, error)
	// --- Flavors (cluster-wide compute envelope catalogue, etcd-backed) ---
	ListFlavors(ctx context.Context, in *ListFlavorsRequest, opts ...grpc.CallOption) (*ListFlavorsResponse, error)
	GetFlavor(ctx context.Context, in *GetFlavorRequest, opts ...grpc.CallOption) (*GetFlavorResponse, error)
	SetFlavor(ctx context.Context, in *SetFlavorRequest, opts ...grpc.CallOption) (*SetFlavorResponse, error)
	DeleteFlavor(ctx context.Context, in *DeleteFlavorRequest, opts ...grpc.CallOption) (*DeleteFlavorResponse, error)
	// --- Provisioning scripts (named sh bodies, etcd-backed) ---
	ListScripts(ctx context.Context, in *ListScriptsRequest, opts ...grpc.CallOption) (*ListScriptsResponse, error)
	GetScript(ctx context.Context, in *GetScriptRequest, opts ...grpc.CallOption) (*GetScriptResponse, error)
	SetScript(ctx context.Context, in *SetScriptRequest, opts ...grpc.CallOption) (*SetScriptResponse, error)
	DeleteScript(ctx context.Context, in *DeleteScriptRequest, opts ...grpc.CallOption) (*DeleteScriptResponse, error)
	// --- Per-VM properties (host-set annotations w/ guest_readable flag) ---
	ListVMProperties(ctx context.Context, in *ListVMPropertiesRequest, opts ...grpc.CallOption) (*ListVMPropertiesResponse, error)
	SetVMProperty(ctx context.Context, in *SetVMPropertyRequest, opts ...grpc.CallOption) (*SetVMPropertyResponse, error)
	DeleteVMProperty(ctx context.Context, in *DeleteVMPropertyRequest, opts ...grpc.CallOption) (*DeleteVMPropertyResponse, error)
	// --- UEFI NVRAM editor (per-VM firmware variables) ---
	ListUEFIVars(ctx context.Context, in *ListUEFIVarsRequest, opts ...grpc.CallOption) (*ListUEFIVarsResponse, error)
	SetUEFIVar(ctx context.Context, in *SetUEFIVarRequest, opts ...grpc.CallOption) (*SetUEFIVarResponse, error)
	DeleteUEFIVar(ctx context.Context, in *DeleteUEFIVarRequest, opts ...grpc.CallOption) (*DeleteUEFIVarResponse, error)
	// --- Per-VM SSH keys (runtime-pushed, not create-time) ---
	ListVMSSHKeys(ctx context.Context, in *ListVMSSHKeysRequest, opts ...grpc.CallOption) (*ListVMSSHKeysResponse, error)
	AddVMSSHKey(ctx context.Context, in *AddVMSSHKeyRequest, opts ...grpc.CallOption) (*AddVMSSHKeyResponse, error)
	RemoveVMSSHKey(ctx context.Context, in *RemoveVMSSHKeyRequest, opts ...grpc.CallOption) (*RemoveVMSSHKeyResponse, error)
}

WeftAgentClient is the client API for WeftAgent service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

WeftService is the gRPC API exposed by weft.

func NewWeftAgentClient

func NewWeftAgentClient(cc grpc.ClientConnInterface) WeftAgentClient

type WeftAgentServer

type WeftAgentServer interface {
	ListVMs(context.Context, *ListVMsRequest) (*ListVMsResponse, error)
	VMStatus(context.Context, *VMStatusRequest) (*VMStatusResponse, error)
	StartVM(context.Context, *StartVMRequest) (*StartVMResponse, error)
	StopVM(context.Context, *StopVMRequest) (*StopVMResponse, error)
	CreateVM(context.Context, *CreateVMRequest) (*CreateVMResponse, error)
	DeleteVM(context.Context, *DeleteVMRequest) (*DeleteVMResponse, error)
	ProvisionVM(context.Context, *ProvisionVMRequest) (*ProvisionVMResponse, error)
	DeprovisionVM(context.Context, *DeprovisionVMRequest) (*DeprovisionVMResponse, error)
	PullImages(context.Context, *PullImagesRequest) (*PullImagesResponse, error)
	PullImage(context.Context, *PullImageRequest) (*PullImageResponse, error)
	PatchImage(context.Context, *PatchImageRequest) (*PatchImageResponse, error)
	ListImages(context.Context, *ListImagesRequest) (*ListImagesResponse, error)
	CleanImages(context.Context, *CleanImagesRequest) (*CleanImagesResponse, error)
	WaitVM(context.Context, *WaitVMRequest) (*WaitVMResponse, error)
	// Nano-Container-Linux integration: register a VM directory that
	// boots from a read-only weft-microvm-init UKI ISO and exposes the OCI
	// rootfs to the guest via virtio-fs. After this returns the VM
	// is in VM_STATE_STOPPED; call StartVM to boot it.
	RegisterMicroVM(context.Context, *RegisterMicroVMRequest) (*RegisterMicroVMResponse, error)
	// Per-VM lifecycle event log: every transition the daemon
	// observed (server-side state + folded guest-side WEFT_MARK
	// lines from the console). Returned in wall-clock order.
	VMTimings(context.Context, *VMTimingsRequest) (*VMTimingsResponse, error)
	// Read a VM's serial console log (the raw byte stream the guest
	// produced on hvc0 / serial port — boot messages, weft-microvm-init log
	// lines, WEFT_MARK markers, and the container's own stdout/
	// stderr, all interleaved). Single-shot read; `tail_bytes` caps
	// the response to the last N bytes when non-zero.
	VMLogs(context.Context, *VMLogsRequest) (*VMLogsResponse, error)
	// Project registry RPCs. The UUID returned by ListProjects /
	// CreateProject is the stable identifier on-disk vmDirs are
	// keyed on; RenameProject mutates only the display name so every
	// attached VM follows the rename transparently.
	ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error)
	CreateProject(context.Context, *CreateProjectRequest) (*CreateProjectResponse, error)
	RenameProject(context.Context, *RenameProjectRequest) (*RenameProjectResponse, error)
	DeleteProject(context.Context, *DeleteProjectRequest) (*DeleteProjectResponse, error)
	// Project-membership RPCs. Platform-managed alternative to
	// dex `project:<uuid>` group claims; either path grants access.
	AddProjectMember(context.Context, *AddProjectMemberRequest) (*AddProjectMemberResponse, error)
	RemoveProjectMember(context.Context, *RemoveProjectMemberRequest) (*RemoveProjectMemberResponse, error)
	ListProjectMembers(context.Context, *ListProjectMembersRequest) (*ListProjectMembersResponse, error)
	// User registry RPCs. Authenticated principals; UUID-keyed so a
	// display-name or email change leaves every project ACL intact.
	ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
	GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
	Me(context.Context, *MeRequest) (*MeResponse, error)
	SetUserDisplayName(context.Context, *SetUserDisplayNameRequest) (*SetUserDisplayNameResponse, error)
	DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
	// Network registry RPCs. Same UUID-keyed, project-scoped shape
	// as Volumes; immutable CIDR/Type, mutable Name + DNS list.
	ListNetworks(context.Context, *ListNetworksRequest) (*ListNetworksResponse, error)
	CreateNetwork(context.Context, *CreateNetworkRequest) (*CreateNetworkResponse, error)
	RenameNetwork(context.Context, *RenameNetworkRequest) (*RenameNetworkResponse, error)
	SetNetworkDNS(context.Context, *SetNetworkDNSRequest) (*SetNetworkDNSResponse, error)
	DeleteNetwork(context.Context, *DeleteNetworkRequest) (*DeleteNetworkResponse, error)
	SetNetworkDefaultSecurityGroups(context.Context, *SetNetworkDefaultSecurityGroupsRequest) (*SetNetworkDefaultSecurityGroupsResponse, error)
	// SecurityGroup registry RPCs. SetSecurityGroupRules replaces
	// the rule list atomically — clients GET-modify-PUT.
	ListSecurityGroups(context.Context, *ListSecurityGroupsRequest) (*ListSecurityGroupsResponse, error)
	CreateSecurityGroup(context.Context, *CreateSecurityGroupRequest) (*CreateSecurityGroupResponse, error)
	RenameSecurityGroup(context.Context, *RenameSecurityGroupRequest) (*RenameSecurityGroupResponse, error)
	SetSecurityGroupDescription(context.Context, *SetSecurityGroupDescriptionRequest) (*SetSecurityGroupDescriptionResponse, error)
	SetSecurityGroupRules(context.Context, *SetSecurityGroupRulesRequest) (*SetSecurityGroupRulesResponse, error)
	DeleteSecurityGroup(context.Context, *DeleteSecurityGroupRequest) (*DeleteSecurityGroupResponse, error)
	// Volume registry RPCs. Same shape as projects (UUID-keyed,
	// rename-friendly) but two-dimensional: a volume's name is
	// unique inside its project, not globally. AttachVolume +
	// DetachVolume manipulate the VM binding without recreating the
	// volume — same `volume.*` events stream out to bus subscribers.
	ListVolumes(context.Context, *ListVolumesRequest) (*ListVolumesResponse, error)
	CreateVolume(context.Context, *CreateVolumeRequest) (*CreateVolumeResponse, error)
	RenameVolume(context.Context, *RenameVolumeRequest) (*RenameVolumeResponse, error)
	ResizeVolume(context.Context, *ResizeVolumeRequest) (*ResizeVolumeResponse, error)
	AttachVolume(context.Context, *AttachVolumeRequest) (*AttachVolumeResponse, error)
	DetachVolume(context.Context, *DetachVolumeRequest) (*DetachVolumeResponse, error)
	DeleteVolume(context.Context, *DeleteVolumeRequest) (*DeleteVolumeResponse, error)
	// Volume snapshot RPCs. A snapshot is a point-in-time CoW copy of a
	// volume's contents — same backing primitive as the VM CoW clone
	// (FICLONE / reflink). Listed under the parent volume's UUID,
	// referenceable by their own UUID for restore. The restore path
	// re-clones the snapshot into a fresh volume (does NOT mutate the
	// parent in place — that would invalidate every other snapshot
	// taken since).
	CreateVolumeSnapshot(context.Context, *CreateVolumeSnapshotRequest) (*CreateVolumeSnapshotResponse, error)
	ListVolumeSnapshots(context.Context, *ListVolumeSnapshotsRequest) (*ListVolumeSnapshotsResponse, error)
	RestoreVolumeSnapshot(context.Context, *RestoreVolumeSnapshotRequest) (*RestoreVolumeSnapshotResponse, error)
	DeleteVolumeSnapshot(context.Context, *DeleteVolumeSnapshotRequest) (*DeleteVolumeSnapshotResponse, error)
	// WatchEvents opens a server-stream of platform events. Lets
	// clients react to VM lifecycle / project mutation / guest-side
	// marker changes without polling. ACL-filtered server-side by
	// the caller's visible projects.
	WatchEvents(*WatchEventsRequest, grpc.ServerStreamingServer[PlatformEvent]) error
	// RenderNATSAuthorization returns the NATS-conf `authorization`
	// block (per-project NKey allow-list, default-deny) for the
	// operator to splice into nats.conf. Admin-gated.
	// Per [[weft-tenant-event-access]] Phase 3.
	RenderNATSAuthorization(context.Context, *RenderNATSAuthorizationRequest) (*RenderNATSAuthorizationResponse, error)
	// Host registry RPCs. The Host inventory drives multi-host
	// placement: every hypervisor instance registers itself (or is
	// registered by the operator) and the scheduler picks among
	// them honouring [[weft-placement-rules]].
	RegisterHost(context.Context, *RegisterHostRequest) (*RegisterHostResponse, error)
	ListHosts(context.Context, *ListHostsRequest) (*ListHostsResponse, error)
	GetHost(context.Context, *GetHostRequest) (*GetHostResponse, error)
	HeartbeatHost(context.Context, *HeartbeatHostRequest) (*HeartbeatHostResponse, error)
	SetHostState(context.Context, *SetHostStateRequest) (*SetHostStateResponse, error)
	SetHostLabels(context.Context, *SetHostLabelsRequest) (*SetHostLabelsResponse, error)
	SetHostCordoned(context.Context, *SetHostCordonedRequest) (*SetHostCordonedResponse, error)
	DeleteHost(context.Context, *DeleteHostRequest) (*DeleteHostResponse, error)
	// PublishShareToProject fans a CubeFS share mount (or, with
	// mount.action="unmount", an unmount) out to every VM in a project over
	// the event bus — the daemon side of `weft share attach/detach`.
	PublishShareToProject(context.Context, *PublishShareToProjectRequest) (*PublishShareToProjectResponse, error)
	// --- Tenants (multi-tenancy boundary) ---
	ListTenants(context.Context, *ListTenantsRequest) (*ListTenantsResponse, error)
	CreateTenant(context.Context, *CreateTenantRequest) (*CreateTenantResponse, error)
	DeleteTenant(context.Context, *DeleteTenantRequest) (*DeleteTenantResponse, error)
	AddTenantAdmin(context.Context, *AddTenantAdminRequest) (*AddTenantAdminResponse, error)
	RemoveTenantAdmin(context.Context, *RemoveTenantAdminRequest) (*RemoveTenantAdminResponse, error)
	AddTenantMember(context.Context, *AddTenantMemberRequest) (*AddTenantMemberResponse, error)
	RemoveTenantMember(context.Context, *RemoveTenantMemberRequest) (*RemoveTenantMemberResponse, error)
	// --- Quotas (hierarchical : tenant cap → project distribution) ---
	GetTenantQuota(context.Context, *GetTenantQuotaRequest) (*GetTenantQuotaResponse, error)
	SetTenantQuota(context.Context, *SetTenantQuotaRequest) (*SetTenantQuotaResponse, error)
	GetProjectQuota(context.Context, *GetProjectQuotaRequest) (*GetProjectQuotaResponse, error)
	SetProjectQuota(context.Context, *SetProjectQuotaRequest) (*SetProjectQuotaResponse, error)
	// --- Shares (CubeFS share registry ; volume provisioning stays
	//
	//	out-of-band on the CubeFS cluster) ---
	ListShares(context.Context, *ListSharesRequest) (*ListSharesResponse, error)
	CreateShare(context.Context, *CreateShareRequest) (*CreateShareResponse, error)
	DeleteShare(context.Context, *DeleteShareRequest) (*DeleteShareResponse, error)
	// --- Floating IPs (public ingress addresses) ---
	ListFloatingIPs(context.Context, *ListFloatingIPsRequest) (*ListFloatingIPsResponse, error)
	AllocateFloatingIP(context.Context, *AllocateFloatingIPRequest) (*AllocateFloatingIPResponse, error)
	ReleaseFloatingIP(context.Context, *ReleaseFloatingIPRequest) (*ReleaseFloatingIPResponse, error)
	MapFloatingIP(context.Context, *MapFloatingIPRequest) (*MapFloatingIPResponse, error)
	UnmapFloatingIP(context.Context, *UnmapFloatingIPRequest) (*UnmapFloatingIPResponse, error)
	// --- Flavors (cluster-wide compute envelope catalogue, etcd-backed) ---
	ListFlavors(context.Context, *ListFlavorsRequest) (*ListFlavorsResponse, error)
	GetFlavor(context.Context, *GetFlavorRequest) (*GetFlavorResponse, error)
	SetFlavor(context.Context, *SetFlavorRequest) (*SetFlavorResponse, error)
	DeleteFlavor(context.Context, *DeleteFlavorRequest) (*DeleteFlavorResponse, error)
	// --- Provisioning scripts (named sh bodies, etcd-backed) ---
	ListScripts(context.Context, *ListScriptsRequest) (*ListScriptsResponse, error)
	GetScript(context.Context, *GetScriptRequest) (*GetScriptResponse, error)
	SetScript(context.Context, *SetScriptRequest) (*SetScriptResponse, error)
	DeleteScript(context.Context, *DeleteScriptRequest) (*DeleteScriptResponse, error)
	// --- Per-VM properties (host-set annotations w/ guest_readable flag) ---
	ListVMProperties(context.Context, *ListVMPropertiesRequest) (*ListVMPropertiesResponse, error)
	SetVMProperty(context.Context, *SetVMPropertyRequest) (*SetVMPropertyResponse, error)
	DeleteVMProperty(context.Context, *DeleteVMPropertyRequest) (*DeleteVMPropertyResponse, error)
	// --- UEFI NVRAM editor (per-VM firmware variables) ---
	ListUEFIVars(context.Context, *ListUEFIVarsRequest) (*ListUEFIVarsResponse, error)
	SetUEFIVar(context.Context, *SetUEFIVarRequest) (*SetUEFIVarResponse, error)
	DeleteUEFIVar(context.Context, *DeleteUEFIVarRequest) (*DeleteUEFIVarResponse, error)
	// --- Per-VM SSH keys (runtime-pushed, not create-time) ---
	ListVMSSHKeys(context.Context, *ListVMSSHKeysRequest) (*ListVMSSHKeysResponse, error)
	AddVMSSHKey(context.Context, *AddVMSSHKeyRequest) (*AddVMSSHKeyResponse, error)
	RemoveVMSSHKey(context.Context, *RemoveVMSSHKeyRequest) (*RemoveVMSSHKeyResponse, error)
	// contains filtered or unexported methods
}

WeftAgentServer is the server API for WeftAgent service. All implementations must embed UnimplementedWeftAgentServer for forward compatibility.

WeftService is the gRPC API exposed by weft.

type WeftAgent_WatchEventsClient

type WeftAgent_WatchEventsClient = grpc.ServerStreamingClient[PlatformEvent]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type WeftAgent_WatchEventsServer

type WeftAgent_WatchEventsServer = grpc.ServerStreamingServer[PlatformEvent]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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