api

package
v0.0.0-...-f1b23c0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2021 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
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

type SatelitDatastore struct {
	Datastore datastore.Datastore
}

A SatelitDatastore is definition of Satelit Datastore API Server

func (*SatelitDatastore) GetCPUCoreByPinningGroup

GetCPUCoreByPinningGroup retrieve pinned cpu pair.

func (*SatelitDatastore) GetDHCPLease

GetDHCPLease return DHCP lease information.

func (*SatelitDatastore) GetHostnameByAddress

GetHostnameByAddress is

func (*SatelitDatastore) ListBridge

ListBridge is

func (*SatelitDatastore) RegisterTeleskopAgent

RegisterTeleskopAgent register new teleskop agent

func (*SatelitDatastore) Run

func (s *SatelitDatastore) Run() error

Run start gRPC Server

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

AddCPUPinningGroup add cpu pinning group use same group's cpu cores if virtual machine joined a same cpu pinning group

func (*SatelitServer) AddVirtualMachine

AddVirtualMachine create virtual machine.

func (*SatelitServer) AddVolume

AddVolume call CreateVolume to Europa backend

func (*SatelitServer) AddVolumeImage

AddVolumeImage call CreateVolumeImage to Europa backend

func (*SatelitServer) AttachInterface

AttachInterface is

func (*SatelitServer) AttachVolume

AttachVolume call AttachVolume to Europa backend

func (*SatelitServer) CreateAddress

CreateAddress create a address

func (*SatelitServer) CreateBridge

CreateBridge is

func (*SatelitServer) CreateInternalBridge

CreateInternalBridge is

func (*SatelitServer) CreateLease

CreateLease create a lease.

func (*SatelitServer) CreateSubnet

CreateSubnet create a subnet

func (*SatelitServer) DeleteAddress

DeleteAddress deletes address

func (*SatelitServer) DeleteBridge

DeleteBridge is

func (*SatelitServer) DeleteCPUPinningGroup

DeleteCPUPinningGroup delete cpu pinning group

func (*SatelitServer) DeleteImage

DeleteImage delete image

func (*SatelitServer) DeleteLease

DeleteLease deletes lease

func (*SatelitServer) DeleteSubnet

DeleteSubnet deletes a subnet

func (*SatelitServer) DeleteVirtualMachine

DeleteVirtualMachine delete virtual machine

func (*SatelitServer) DeleteVolume

DeleteVolume call DeleteVolume to Europa backend

func (*SatelitServer) DetachInterface

DetachInterface is

func (*SatelitServer) DetachVolume

DetachVolume call DetachVolume to Europa backend

func (*SatelitServer) GetAddress

GetAddress retrieves address according to the parameters given

func (*SatelitServer) GetAttachment

GetAttachment is

func (*SatelitServer) GetBridge

GetBridge is

func (*SatelitServer) GetLease

GetLease retrieves address according to the parameters given.

func (*SatelitServer) GetSubnet

GetSubnet retrieves address according to the parameters given

func (*SatelitServer) ListAddress

ListAddress retrieves all address according to the parameters given.

func (*SatelitServer) ListAttachment

ListAttachment is

func (*SatelitServer) ListBridge

ListBridge is

func (*SatelitServer) ListImage

ListImage retrieves all images

func (*SatelitServer) ListLease

ListLease retrieves all leases according to the parameters given.

func (*SatelitServer) ListSubnet

ListSubnet retrieves all subnets

func (*SatelitServer) ListVirtualMachine

ListVirtualMachine retrieve all virtual machine

func (*SatelitServer) ListVolume

ListVolume call ListVolume to Europa Backend

func (*SatelitServer) Run

func (s *SatelitServer) Run() error

Run start gRPC Server

func (*SatelitServer) ShowCPUPinningGroup

ShowCPUPinningGroup retrieve cpu pinning group

func (*SatelitServer) ShowVirtualMachine

ShowVirtualMachine retrieves virtual machine

func (*SatelitServer) ShowVolume

ShowVolume call GetVolume to Europa Backend

func (*SatelitServer) StartVirtualMachine

StartVirtualMachine start virtual machine

func (*SatelitServer) UploadImage

func (s *SatelitServer) UploadImage(stream pb.Satelit_UploadImageServer) error

UploadImage upload to europa backend

Jump to

Keyboard shortcuts

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