cmdserver

package
v0.40.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2021 License: Apache-2.0 Imports: 14 Imported by: 4

Documentation

Overview

* This file is part of the KubeVirt project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Copyright 2019 Red Hat, Inc. *

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunServer

func RunServer(socketPath string,
	domainManager virtwrap.DomainManager,
	stopChan chan struct{},
	options *ServerOptions) (chan struct{}, error)

Types

type InfoServer added in v0.17.0

type InfoServer struct{}

func (InfoServer) Info added in v0.17.0

type Launcher

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

func (*Launcher) CancelVirtualMachineMigration added in v0.17.0

func (l *Launcher) CancelVirtualMachineMigration(ctx context.Context, request *cmdv1.VMIRequest) (*cmdv1.Response, error)

func (*Launcher) DeleteVirtualMachine added in v0.17.0

func (l *Launcher) DeleteVirtualMachine(ctx context.Context, request *cmdv1.VMIRequest) (*cmdv1.Response, error)

func (*Launcher) FinalizeVirtualMachineMigration added in v0.40.0

func (l *Launcher) FinalizeVirtualMachineMigration(ctx context.Context, request *cmdv1.VMIRequest) (*cmdv1.Response, error)

func (*Launcher) GetDomain

func (l *Launcher) GetDomain(ctx context.Context, request *cmdv1.EmptyRequest) (*cmdv1.DomainResponse, error)

func (*Launcher) GetDomainStats added in v0.15.0

func (l *Launcher) GetDomainStats(ctx context.Context, request *cmdv1.EmptyRequest) (*cmdv1.DomainStatsResponse, error)

func (*Launcher) GetFilesystems added in v0.28.0

func (l *Launcher) GetFilesystems(ctx context.Context, request *cmdv1.EmptyRequest) (*cmdv1.GuestFilesystemsResponse, error)

GetFilesystems returns a full list of active filesystems on the guest machine

func (*Launcher) GetGuestInfo added in v0.27.0

func (l *Launcher) GetGuestInfo(ctx context.Context, request *cmdv1.EmptyRequest) (*cmdv1.GuestInfoResponse, error)

GetGuestInfo collect guest info from the domain

func (*Launcher) GetUsers added in v0.28.0

func (l *Launcher) GetUsers(ctx context.Context, request *cmdv1.EmptyRequest) (*cmdv1.GuestUserListResponse, error)

GetUsers returns the list of active users on the guest machine

func (*Launcher) KillVirtualMachine added in v0.17.0

func (l *Launcher) KillVirtualMachine(ctx context.Context, request *cmdv1.VMIRequest) (*cmdv1.Response, error)

func (*Launcher) MigrateVirtualMachine added in v0.17.0

func (l *Launcher) MigrateVirtualMachine(ctx context.Context, request *cmdv1.MigrationRequest) (*cmdv1.Response, error)

func (*Launcher) PauseVirtualMachine added in v0.24.0

func (l *Launcher) PauseVirtualMachine(ctx context.Context, request *cmdv1.VMIRequest) (*cmdv1.Response, error)

func (*Launcher) Ping

func (l *Launcher) Ping(ctx context.Context, request *cmdv1.EmptyRequest) (*cmdv1.Response, error)

func (*Launcher) ShutdownVirtualMachine added in v0.17.0

func (l *Launcher) ShutdownVirtualMachine(ctx context.Context, request *cmdv1.VMIRequest) (*cmdv1.Response, error)

func (*Launcher) SyncMigrationTarget added in v0.9.2

func (l *Launcher) SyncMigrationTarget(ctx context.Context, request *cmdv1.VMIRequest) (*cmdv1.Response, error)

func (*Launcher) SyncVirtualMachine added in v0.17.0

func (l *Launcher) SyncVirtualMachine(ctx context.Context, request *cmdv1.VMIRequest) (*cmdv1.Response, error)

func (*Launcher) UnpauseVirtualMachine added in v0.24.0

func (l *Launcher) UnpauseVirtualMachine(ctx context.Context, request *cmdv1.VMIRequest) (*cmdv1.Response, error)

type ServerOptions added in v0.6.0

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

func NewServerOptions added in v0.6.0

func NewServerOptions(useEmulation bool) *ServerOptions

Jump to

Keyboard shortcuts

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