Documentation ¶
Index ¶
- Constants
- type SatelitDatastore
- func (s *SatelitDatastore) GetCPUCoreByPinningGroup(ctx context.Context, req *pb.GetCPUCoreByPinningGroupRequest) (*pb.GetCPUCoreByPinningGroupResponse, error)
- func (s *SatelitDatastore) GetDHCPLease(ctx context.Context, req *pb.GetDHCPLeaseRequest) (*pb.GetDHCPLeaseResponse, error)
- func (s *SatelitDatastore) GetHostnameByAddress(ctx context.Context, req *pb.GetHostnameByAddressRequest) (*pb.GetHostnameByAddressResponse, error)
- func (s *SatelitDatastore) ListBridge(ctx context.Context, req *pb.ListBridgeRequest) (*pb.ListBridgeResponse, error)
- func (s *SatelitDatastore) RegisterTeleskopAgent(ctx context.Context, req *pb.RegisterTeleskopAgentRequest) (*pb.RegisterTeleskopAgentResponse, error)
- func (s *SatelitDatastore) Run() error
- type SatelitServer
- func (s *SatelitServer) AddCPUPinningGroup(ctx context.Context, req *pb.AddCPUPinningGroupRequest) (*pb.AddCPUPinningGroupResponse, error)
- func (s *SatelitServer) AddVirtualMachine(ctx context.Context, req *pb.AddVirtualMachineRequest) (*pb.AddVirtualMachineResponse, error)
- func (s *SatelitServer) AddVolume(ctx context.Context, req *pb.AddVolumeRequest) (*pb.AddVolumeResponse, error)
- func (s *SatelitServer) AddVolumeImage(ctx context.Context, req *pb.AddVolumeImageRequest) (*pb.AddVolumeImageResponse, error)
- func (s *SatelitServer) AttachInterface(ctx context.Context, req *pb.AttachInterfaceRequest) (*pb.AttachInterfaceResponse, error)
- func (s *SatelitServer) AttachVolume(ctx context.Context, req *pb.AttachVolumeRequest) (*pb.AttachVolumeResponse, error)
- func (s *SatelitServer) CreateAddress(ctx context.Context, req *pb.CreateAddressRequest) (*pb.CreateAddressResponse, error)
- func (s *SatelitServer) CreateBridge(ctx context.Context, req *pb.CreateBridgeRequest) (*pb.CreateBridgeResponse, error)
- func (s *SatelitServer) CreateInternalBridge(ctx context.Context, req *pb.CreateInternalBridgeRequest) (*pb.CreateInternalBridgeResponse, error)
- func (s *SatelitServer) CreateLease(ctx context.Context, req *pb.CreateLeaseRequest) (*pb.CreateLeaseResponse, error)
- func (s *SatelitServer) CreateSubnet(ctx context.Context, req *pb.CreateSubnetRequest) (*pb.CreateSubnetResponse, error)
- func (s *SatelitServer) DeleteAddress(ctx context.Context, req *pb.DeleteAddressRequest) (*pb.DeleteAddressResponse, error)
- func (s *SatelitServer) DeleteBridge(ctx context.Context, req *pb.DeleteBridgeRequest) (*pb.DeleteBridgeResponse, error)
- func (s *SatelitServer) DeleteCPUPinningGroup(ctx context.Context, req *pb.DeleteCPUPinningGroupRequest) (*pb.DeleteCPUPinningGroupResponse, error)
- func (s *SatelitServer) DeleteImage(ctx context.Context, req *pb.DeleteImageRequest) (*pb.DeleteImageResponse, error)
- func (s *SatelitServer) DeleteLease(ctx context.Context, req *pb.DeleteLeaseRequest) (*pb.DeleteLeaseResponse, error)
- func (s *SatelitServer) DeleteSubnet(ctx context.Context, req *pb.DeleteSubnetRequest) (*pb.DeleteSubnetResponse, error)
- func (s *SatelitServer) DeleteVirtualMachine(ctx context.Context, req *pb.DeleteVirtualMachineRequest) (*pb.DeleteVirtualMachineResponse, error)
- func (s *SatelitServer) DeleteVolume(ctx context.Context, req *pb.DeleteVolumeRequest) (*pb.DeleteVolumeResponse, error)
- func (s *SatelitServer) DetachInterface(ctx context.Context, req *pb.DetachInterfaceRequest) (*pb.DetachInterfaceResponse, error)
- func (s *SatelitServer) DetachVolume(ctx context.Context, req *pb.DetachVolumeRequest) (*pb.DetachVolumeResponse, error)
- func (s *SatelitServer) GetAddress(ctx context.Context, req *pb.GetAddressRequest) (*pb.GetAddressResponse, error)
- func (s *SatelitServer) GetAttachment(ctx context.Context, req *pb.GetAttachmentRequest) (*pb.GetAttachmentResponse, error)
- func (s *SatelitServer) GetBridge(ctx context.Context, req *pb.GetBridgeRequest) (*pb.GetBridgeResponse, error)
- func (s *SatelitServer) GetLease(ctx context.Context, req *pb.GetLeaseRequest) (*pb.GetLeaseResponse, error)
- func (s *SatelitServer) GetSubnet(ctx context.Context, req *pb.GetSubnetRequest) (*pb.GetSubnetResponse, error)
- func (s *SatelitServer) ListAddress(ctx context.Context, req *pb.ListAddressRequest) (*pb.ListAddressResponse, error)
- func (s *SatelitServer) ListAttachment(ctx context.Context, req *pb.ListAttachmentRequest) (*pb.ListAttachmentResponse, error)
- func (s *SatelitServer) ListBridge(ctx context.Context, req *pb.ListBridgeRequest) (*pb.ListBridgeResponse, error)
- func (s *SatelitServer) ListImage(ctx context.Context, req *pb.ListImageRequest) (*pb.ListImageResponse, error)
- func (s *SatelitServer) ListLease(ctx context.Context, req *pb.ListLeaseRequest) (*pb.ListLeaseResponse, error)
- func (s *SatelitServer) ListSubnet(ctx context.Context, req *pb.ListSubnetRequest) (*pb.ListSubnetResponse, error)
- func (s *SatelitServer) ListVirtualMachine(ctx context.Context, req *pb.ListVirtualMachineRequest) (*pb.ListVirtualMachineResponse, error)
- func (s *SatelitServer) ListVolume(ctx context.Context, req *pb.ListVolumeRequest) (*pb.ListVolumeResponse, error)
- func (s *SatelitServer) Run() error
- func (s *SatelitServer) ShowCPUPinningGroup(ctx context.Context, req *pb.ShowCPUPinningGroupRequest) (*pb.ShowCPUPinningGroupResponse, error)
- func (s *SatelitServer) ShowVirtualMachine(ctx context.Context, req *pb.ShowVirtualMachineRequest) (*pb.ShowVirtualMachineResponse, error)
- func (s *SatelitServer) ShowVolume(ctx context.Context, req *pb.ShowVolumeRequest) (*pb.ShowVolumeResponse, error)
- func (s *SatelitServer) StartVirtualMachine(ctx context.Context, req *pb.StartVirtualMachineRequest) (*pb.StartVirtualMachineResponse, error)
- func (s *SatelitServer) UploadImage(stream pb.Satelit_UploadImageServer) error
Constants ¶
const AdminKeys = `` /* 19031-byte string literal not displayed */
AdminKeys is ssh public keys for admin
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SatelitDatastore ¶
A SatelitDatastore is definition of Satelit Datastore API Server
func (*SatelitDatastore) GetCPUCoreByPinningGroup ¶
func (s *SatelitDatastore) GetCPUCoreByPinningGroup(ctx context.Context, req *pb.GetCPUCoreByPinningGroupRequest) (*pb.GetCPUCoreByPinningGroupResponse, error)
GetCPUCoreByPinningGroup retrieve pinned cpu pair.
func (*SatelitDatastore) GetDHCPLease ¶
func (s *SatelitDatastore) GetDHCPLease(ctx context.Context, req *pb.GetDHCPLeaseRequest) (*pb.GetDHCPLeaseResponse, error)
GetDHCPLease return DHCP lease information.
func (*SatelitDatastore) GetHostnameByAddress ¶
func (s *SatelitDatastore) GetHostnameByAddress(ctx context.Context, req *pb.GetHostnameByAddressRequest) (*pb.GetHostnameByAddressResponse, error)
GetHostnameByAddress is
func (*SatelitDatastore) ListBridge ¶
func (s *SatelitDatastore) ListBridge(ctx context.Context, req *pb.ListBridgeRequest) (*pb.ListBridgeResponse, error)
ListBridge is
func (*SatelitDatastore) RegisterTeleskopAgent ¶
func (s *SatelitDatastore) RegisterTeleskopAgent(ctx context.Context, req *pb.RegisterTeleskopAgentRequest) (*pb.RegisterTeleskopAgentResponse, error)
RegisterTeleskopAgent register new teleskop agent
type SatelitServer ¶
type SatelitServer struct { Datastore datastore.Datastore Europa map[string]europa.Europa // backend_name: europa.Europa IPAM ipam.IPAM Ganymede ganymede.Ganymede Scheduler scheduler.Scheduler }
A SatelitServer is definition of Satlite API Server
func (*SatelitServer) AddCPUPinningGroup ¶
func (s *SatelitServer) AddCPUPinningGroup(ctx context.Context, req *pb.AddCPUPinningGroupRequest) (*pb.AddCPUPinningGroupResponse, error)
AddCPUPinningGroup add cpu pinning group use same group's cpu cores if virtual machine joined a same cpu pinning group
func (*SatelitServer) AddVirtualMachine ¶
func (s *SatelitServer) AddVirtualMachine(ctx context.Context, req *pb.AddVirtualMachineRequest) (*pb.AddVirtualMachineResponse, error)
AddVirtualMachine create virtual machine.
func (*SatelitServer) AddVolume ¶
func (s *SatelitServer) AddVolume(ctx context.Context, req *pb.AddVolumeRequest) (*pb.AddVolumeResponse, error)
AddVolume call CreateVolume to Europa backend
func (*SatelitServer) AddVolumeImage ¶
func (s *SatelitServer) AddVolumeImage(ctx context.Context, req *pb.AddVolumeImageRequest) (*pb.AddVolumeImageResponse, error)
AddVolumeImage call CreateVolumeImage to Europa backend
func (*SatelitServer) AttachInterface ¶
func (s *SatelitServer) AttachInterface(ctx context.Context, req *pb.AttachInterfaceRequest) (*pb.AttachInterfaceResponse, error)
AttachInterface is
func (*SatelitServer) AttachVolume ¶
func (s *SatelitServer) AttachVolume(ctx context.Context, req *pb.AttachVolumeRequest) (*pb.AttachVolumeResponse, error)
AttachVolume call AttachVolume to Europa backend
func (*SatelitServer) CreateAddress ¶
func (s *SatelitServer) CreateAddress(ctx context.Context, req *pb.CreateAddressRequest) (*pb.CreateAddressResponse, error)
CreateAddress create a address
func (*SatelitServer) CreateBridge ¶
func (s *SatelitServer) CreateBridge(ctx context.Context, req *pb.CreateBridgeRequest) (*pb.CreateBridgeResponse, error)
CreateBridge is
func (*SatelitServer) CreateInternalBridge ¶
func (s *SatelitServer) CreateInternalBridge(ctx context.Context, req *pb.CreateInternalBridgeRequest) (*pb.CreateInternalBridgeResponse, error)
CreateInternalBridge is
func (*SatelitServer) CreateLease ¶
func (s *SatelitServer) CreateLease(ctx context.Context, req *pb.CreateLeaseRequest) (*pb.CreateLeaseResponse, error)
CreateLease create a lease.
func (*SatelitServer) CreateSubnet ¶
func (s *SatelitServer) CreateSubnet(ctx context.Context, req *pb.CreateSubnetRequest) (*pb.CreateSubnetResponse, error)
CreateSubnet create a subnet
func (*SatelitServer) DeleteAddress ¶
func (s *SatelitServer) DeleteAddress(ctx context.Context, req *pb.DeleteAddressRequest) (*pb.DeleteAddressResponse, error)
DeleteAddress deletes address
func (*SatelitServer) DeleteBridge ¶
func (s *SatelitServer) DeleteBridge(ctx context.Context, req *pb.DeleteBridgeRequest) (*pb.DeleteBridgeResponse, error)
DeleteBridge is
func (*SatelitServer) DeleteCPUPinningGroup ¶
func (s *SatelitServer) DeleteCPUPinningGroup(ctx context.Context, req *pb.DeleteCPUPinningGroupRequest) (*pb.DeleteCPUPinningGroupResponse, error)
DeleteCPUPinningGroup delete cpu pinning group
func (*SatelitServer) DeleteImage ¶
func (s *SatelitServer) DeleteImage(ctx context.Context, req *pb.DeleteImageRequest) (*pb.DeleteImageResponse, error)
DeleteImage delete image
func (*SatelitServer) DeleteLease ¶
func (s *SatelitServer) DeleteLease(ctx context.Context, req *pb.DeleteLeaseRequest) (*pb.DeleteLeaseResponse, error)
DeleteLease deletes lease
func (*SatelitServer) DeleteSubnet ¶
func (s *SatelitServer) DeleteSubnet(ctx context.Context, req *pb.DeleteSubnetRequest) (*pb.DeleteSubnetResponse, error)
DeleteSubnet deletes a subnet
func (*SatelitServer) DeleteVirtualMachine ¶
func (s *SatelitServer) DeleteVirtualMachine(ctx context.Context, req *pb.DeleteVirtualMachineRequest) (*pb.DeleteVirtualMachineResponse, error)
DeleteVirtualMachine delete virtual machine
func (*SatelitServer) DeleteVolume ¶
func (s *SatelitServer) DeleteVolume(ctx context.Context, req *pb.DeleteVolumeRequest) (*pb.DeleteVolumeResponse, error)
DeleteVolume call DeleteVolume to Europa backend
func (*SatelitServer) DetachInterface ¶
func (s *SatelitServer) DetachInterface(ctx context.Context, req *pb.DetachInterfaceRequest) (*pb.DetachInterfaceResponse, error)
DetachInterface is
func (*SatelitServer) DetachVolume ¶
func (s *SatelitServer) DetachVolume(ctx context.Context, req *pb.DetachVolumeRequest) (*pb.DetachVolumeResponse, error)
DetachVolume call DetachVolume to Europa backend
func (*SatelitServer) GetAddress ¶
func (s *SatelitServer) GetAddress(ctx context.Context, req *pb.GetAddressRequest) (*pb.GetAddressResponse, error)
GetAddress retrieves address according to the parameters given
func (*SatelitServer) GetAttachment ¶
func (s *SatelitServer) GetAttachment(ctx context.Context, req *pb.GetAttachmentRequest) (*pb.GetAttachmentResponse, error)
GetAttachment is
func (*SatelitServer) GetBridge ¶
func (s *SatelitServer) GetBridge(ctx context.Context, req *pb.GetBridgeRequest) (*pb.GetBridgeResponse, error)
GetBridge is
func (*SatelitServer) GetLease ¶
func (s *SatelitServer) GetLease(ctx context.Context, req *pb.GetLeaseRequest) (*pb.GetLeaseResponse, error)
GetLease retrieves address according to the parameters given.
func (*SatelitServer) GetSubnet ¶
func (s *SatelitServer) GetSubnet(ctx context.Context, req *pb.GetSubnetRequest) (*pb.GetSubnetResponse, error)
GetSubnet retrieves address according to the parameters given
func (*SatelitServer) ListAddress ¶
func (s *SatelitServer) ListAddress(ctx context.Context, req *pb.ListAddressRequest) (*pb.ListAddressResponse, error)
ListAddress retrieves all address according to the parameters given.
func (*SatelitServer) ListAttachment ¶
func (s *SatelitServer) ListAttachment(ctx context.Context, req *pb.ListAttachmentRequest) (*pb.ListAttachmentResponse, error)
ListAttachment is
func (*SatelitServer) ListBridge ¶
func (s *SatelitServer) ListBridge(ctx context.Context, req *pb.ListBridgeRequest) (*pb.ListBridgeResponse, error)
ListBridge is
func (*SatelitServer) ListImage ¶
func (s *SatelitServer) ListImage(ctx context.Context, req *pb.ListImageRequest) (*pb.ListImageResponse, error)
ListImage retrieves all images
func (*SatelitServer) ListLease ¶
func (s *SatelitServer) ListLease(ctx context.Context, req *pb.ListLeaseRequest) (*pb.ListLeaseResponse, error)
ListLease retrieves all leases according to the parameters given.
func (*SatelitServer) ListSubnet ¶
func (s *SatelitServer) ListSubnet(ctx context.Context, req *pb.ListSubnetRequest) (*pb.ListSubnetResponse, error)
ListSubnet retrieves all subnets
func (*SatelitServer) ListVirtualMachine ¶
func (s *SatelitServer) ListVirtualMachine(ctx context.Context, req *pb.ListVirtualMachineRequest) (*pb.ListVirtualMachineResponse, error)
ListVirtualMachine retrieve all virtual machine
func (*SatelitServer) ListVolume ¶
func (s *SatelitServer) ListVolume(ctx context.Context, req *pb.ListVolumeRequest) (*pb.ListVolumeResponse, error)
ListVolume call ListVolume to Europa Backend
func (*SatelitServer) ShowCPUPinningGroup ¶
func (s *SatelitServer) ShowCPUPinningGroup(ctx context.Context, req *pb.ShowCPUPinningGroupRequest) (*pb.ShowCPUPinningGroupResponse, error)
ShowCPUPinningGroup retrieve cpu pinning group
func (*SatelitServer) ShowVirtualMachine ¶
func (s *SatelitServer) ShowVirtualMachine(ctx context.Context, req *pb.ShowVirtualMachineRequest) (*pb.ShowVirtualMachineResponse, error)
ShowVirtualMachine retrieves virtual machine
func (*SatelitServer) ShowVolume ¶
func (s *SatelitServer) ShowVolume(ctx context.Context, req *pb.ShowVolumeRequest) (*pb.ShowVolumeResponse, error)
ShowVolume call GetVolume to Europa Backend
func (*SatelitServer) StartVirtualMachine ¶
func (s *SatelitServer) StartVirtualMachine(ctx context.Context, req *pb.StartVirtualMachineRequest) (*pb.StartVirtualMachineResponse, error)
StartVirtualMachine start virtual machine
func (*SatelitServer) UploadImage ¶
func (s *SatelitServer) UploadImage(stream pb.Satelit_UploadImageServer) error
UploadImage upload to europa backend