system

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IncomingMachineTask

type IncomingMachineTask struct {
	*task.GenericTask
	*services.ServiceServer
	// contains filtered or unexported fields
}

func (*IncomingMachineTask) BeforeStart

func (t *IncomingMachineTask) BeforeStart(resp interface{}) error

func (*IncomingMachineTask) GetKey

func (t *IncomingMachineTask) GetKey() string

func (*IncomingMachineTask) GetNS

func (t *IncomingMachineTask) GetNS() string

func (*IncomingMachineTask) Main

func (t *IncomingMachineTask) Main() error

func (*IncomingMachineTask) OnFailure

func (t *IncomingMachineTask) OnFailure() error

func (*IncomingMachineTask) OnSuccess

func (t *IncomingMachineTask) OnSuccess() error

type QemuInstanceRegistrationTask

type QemuInstanceRegistrationTask struct {
	*task.GenericTask
	*services.ServiceServer
	// contains filtered or unexported fields
}

func (*QemuInstanceRegistrationTask) GetKey

func (*QemuInstanceRegistrationTask) GetNS

func (*QemuInstanceRegistrationTask) Main

type QemuInstanceShutdownTask

type QemuInstanceShutdownTask struct {
	*task.GenericTask
	*services.ServiceServer
	// contains filtered or unexported fields
}

func (*QemuInstanceShutdownTask) GetKey

func (t *QemuInstanceShutdownTask) GetKey() string

func (*QemuInstanceShutdownTask) GetNS

func (t *QemuInstanceShutdownTask) GetNS() string

func (*QemuInstanceShutdownTask) Main

func (t *QemuInstanceShutdownTask) Main() error

type ServiceServer

type ServiceServer struct {
	*services.ServiceServer
}

func (*ServiceServer) GracefulShutdown added in v1.4.1

func (s *ServiceServer) GracefulShutdown(ctx context.Context, _ *empty.Empty) (*empty.Empty, error)

func (*ServiceServer) Init

func (s *ServiceServer) Init(inner *services.ServiceServer)

func (*ServiceServer) Name

func (s *ServiceServer) Name() string

func (*ServiceServer) Register

func (s *ServiceServer) Register(server *grpc.Server)

func (*ServiceServer) RegisterQemuInstance

func (*ServiceServer) StartDiskBackendProxy

func (s *ServiceServer) StartDiskBackendProxy(ctx context.Context, req *pb.DiskBackendProxyRequest) (*empty.Empty, error)

func (*ServiceServer) StartIncomingMachine

func (*ServiceServer) StopDiskBackendProxy

func (s *ServiceServer) StopDiskBackendProxy(ctx context.Context, req *pb.DiskBackendProxyRequest) (*empty.Empty, error)

func (*ServiceServer) StopQemuInstance

func (s *ServiceServer) StopQemuInstance(ctx context.Context, req *pb.StopQemuInstanceRequest) (*empty.Empty, error)

func (*ServiceServer) UnregisterQemuInstance

func (s *ServiceServer) UnregisterQemuInstance(ctx context.Context, req *pb.UnregisterQemuInstanceRequest) (*empty.Empty, error)

Jump to

Keyboard shortcuts

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