Files
cloudpods/pkg/hostman/hostdeployer/apis/deploy.pb.go
zhaoxiangchun a42e9c9462 优化建议功能-未使用的eip
1.通过cronman 调用eipUnused相关的driver,查询未使用的eip
2.依据对步骤1中的中的数据,对资源列表就行create、update、delete进行三种类型的操作

deal with comments

gencopyright

climc for SuggestSysRule and SuggestSysAlert

monitor: fix sysrule related models not generated

eip未使用的监控参数结构调整
2020-04-14 15:37:01 +08:00

1933 lines
66 KiB
Go

// Copyright 2019 Yunion
//
// 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.
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: deploy.proto
package apis
import (
context "context"
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type GuestDesc struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
Nics []*Nic `protobuf:"bytes,4,rep,name=nics,proto3" json:"nics,omitempty"`
NicsStandby []*Nic `protobuf:"bytes,5,rep,name=nics_standby,json=nicsStandby,proto3" json:"nics_standby,omitempty"`
Disks []*Disk `protobuf:"bytes,6,rep,name=disks,proto3" json:"disks,omitempty"`
Hypervisor string `protobuf:"bytes,7,opt,name=Hypervisor,proto3" json:"Hypervisor,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GuestDesc) Reset() { *m = GuestDesc{} }
func (m *GuestDesc) String() string { return proto.CompactTextString(m) }
func (*GuestDesc) ProtoMessage() {}
func (*GuestDesc) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{0}
}
func (m *GuestDesc) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GuestDesc.Unmarshal(m, b)
}
func (m *GuestDesc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GuestDesc.Marshal(b, m, deterministic)
}
func (m *GuestDesc) XXX_Merge(src proto.Message) {
xxx_messageInfo_GuestDesc.Merge(m, src)
}
func (m *GuestDesc) XXX_Size() int {
return xxx_messageInfo_GuestDesc.Size(m)
}
func (m *GuestDesc) XXX_DiscardUnknown() {
xxx_messageInfo_GuestDesc.DiscardUnknown(m)
}
var xxx_messageInfo_GuestDesc proto.InternalMessageInfo
func (m *GuestDesc) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *GuestDesc) GetUuid() string {
if m != nil {
return m.Uuid
}
return ""
}
func (m *GuestDesc) GetDomain() string {
if m != nil {
return m.Domain
}
return ""
}
func (m *GuestDesc) GetNics() []*Nic {
if m != nil {
return m.Nics
}
return nil
}
func (m *GuestDesc) GetNicsStandby() []*Nic {
if m != nil {
return m.NicsStandby
}
return nil
}
func (m *GuestDesc) GetDisks() []*Disk {
if m != nil {
return m.Disks
}
return nil
}
func (m *GuestDesc) GetHypervisor() string {
if m != nil {
return m.Hypervisor
}
return ""
}
type Disk struct {
DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"`
Driver string `protobuf:"bytes,2,opt,name=driver,proto3" json:"driver,omitempty"`
CacheMode string `protobuf:"bytes,3,opt,name=cache_mode,json=cacheMode,proto3" json:"cache_mode,omitempty"`
AioMode string `protobuf:"bytes,4,opt,name=aio_mode,json=aioMode,proto3" json:"aio_mode,omitempty"`
Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
TemplateId string `protobuf:"bytes,6,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"`
ImagePath string `protobuf:"bytes,7,opt,name=image_path,json=imagePath,proto3" json:"image_path,omitempty"`
StorageId string `protobuf:"bytes,8,opt,name=storage_id,json=storageId,proto3" json:"storage_id,omitempty"`
Migrating bool `protobuf:"varint,9,opt,name=migrating,proto3" json:"migrating,omitempty"`
TargetStorageId string `protobuf:"bytes,10,opt,name=target_storage_id,json=targetStorageId,proto3" json:"target_storage_id,omitempty"`
Path string `protobuf:"bytes,11,opt,name=path,proto3" json:"path,omitempty"`
Format string `protobuf:"bytes,12,opt,name=format,proto3" json:"format,omitempty"`
Index int32 `protobuf:"varint,13,opt,name=index,proto3" json:"index,omitempty"`
MergeSnapshot bool `protobuf:"varint,14,opt,name=merge_snapshot,json=mergeSnapshot,proto3" json:"merge_snapshot,omitempty"`
Fs string `protobuf:"bytes,15,opt,name=fs,proto3" json:"fs,omitempty"`
Mountpoint string `protobuf:"bytes,16,opt,name=mountpoint,proto3" json:"mountpoint,omitempty"`
Dev string `protobuf:"bytes,17,opt,name=dev,proto3" json:"dev,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Disk) Reset() { *m = Disk{} }
func (m *Disk) String() string { return proto.CompactTextString(m) }
func (*Disk) ProtoMessage() {}
func (*Disk) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{1}
}
func (m *Disk) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Disk.Unmarshal(m, b)
}
func (m *Disk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Disk.Marshal(b, m, deterministic)
}
func (m *Disk) XXX_Merge(src proto.Message) {
xxx_messageInfo_Disk.Merge(m, src)
}
func (m *Disk) XXX_Size() int {
return xxx_messageInfo_Disk.Size(m)
}
func (m *Disk) XXX_DiscardUnknown() {
xxx_messageInfo_Disk.DiscardUnknown(m)
}
var xxx_messageInfo_Disk proto.InternalMessageInfo
func (m *Disk) GetDiskId() string {
if m != nil {
return m.DiskId
}
return ""
}
func (m *Disk) GetDriver() string {
if m != nil {
return m.Driver
}
return ""
}
func (m *Disk) GetCacheMode() string {
if m != nil {
return m.CacheMode
}
return ""
}
func (m *Disk) GetAioMode() string {
if m != nil {
return m.AioMode
}
return ""
}
func (m *Disk) GetSize() int64 {
if m != nil {
return m.Size
}
return 0
}
func (m *Disk) GetTemplateId() string {
if m != nil {
return m.TemplateId
}
return ""
}
func (m *Disk) GetImagePath() string {
if m != nil {
return m.ImagePath
}
return ""
}
func (m *Disk) GetStorageId() string {
if m != nil {
return m.StorageId
}
return ""
}
func (m *Disk) GetMigrating() bool {
if m != nil {
return m.Migrating
}
return false
}
func (m *Disk) GetTargetStorageId() string {
if m != nil {
return m.TargetStorageId
}
return ""
}
func (m *Disk) GetPath() string {
if m != nil {
return m.Path
}
return ""
}
func (m *Disk) GetFormat() string {
if m != nil {
return m.Format
}
return ""
}
func (m *Disk) GetIndex() int32 {
if m != nil {
return m.Index
}
return 0
}
func (m *Disk) GetMergeSnapshot() bool {
if m != nil {
return m.MergeSnapshot
}
return false
}
func (m *Disk) GetFs() string {
if m != nil {
return m.Fs
}
return ""
}
func (m *Disk) GetMountpoint() string {
if m != nil {
return m.Mountpoint
}
return ""
}
func (m *Disk) GetDev() string {
if m != nil {
return m.Dev
}
return ""
}
type Nic struct {
Mac string `protobuf:"bytes,1,opt,name=mac,proto3" json:"mac,omitempty"`
Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
Net string `protobuf:"bytes,3,opt,name=net,proto3" json:"net,omitempty"`
NetId string `protobuf:"bytes,4,opt,name=net_id,json=netId,proto3" json:"net_id,omitempty"`
Virtual bool `protobuf:"varint,5,opt,name=virtual,proto3" json:"virtual,omitempty"`
Gateway string `protobuf:"bytes,6,opt,name=gateway,proto3" json:"gateway,omitempty"`
Dns string `protobuf:"bytes,7,opt,name=dns,proto3" json:"dns,omitempty"`
Domain string `protobuf:"bytes,8,opt,name=domain,proto3" json:"domain,omitempty"`
Routes string `protobuf:"bytes,9,opt,name=routes,proto3" json:"routes,omitempty"`
Ifname string `protobuf:"bytes,10,opt,name=ifname,proto3" json:"ifname,omitempty"`
Masklen int32 `protobuf:"varint,11,opt,name=masklen,proto3" json:"masklen,omitempty"`
Driver string `protobuf:"bytes,12,opt,name=driver,proto3" json:"driver,omitempty"`
Bridge string `protobuf:"bytes,13,opt,name=bridge,proto3" json:"bridge,omitempty"`
WireId string `protobuf:"bytes,14,opt,name=wire_id,json=wireId,proto3" json:"wire_id,omitempty"`
Vlan int32 `protobuf:"varint,15,opt,name=vlan,proto3" json:"vlan,omitempty"`
Interface string `protobuf:"bytes,16,opt,name=interface,proto3" json:"interface,omitempty"`
Bw int32 `protobuf:"varint,17,opt,name=bw,proto3" json:"bw,omitempty"`
Index int32 `protobuf:"varint,18,opt,name=index,proto3" json:"index,omitempty"`
VirtualIps []string `protobuf:"bytes,19,rep,name=virtual_ips,json=virtualIps,proto3" json:"virtual_ips,omitempty"`
ExternelId string `protobuf:"bytes,20,opt,name=externel_id,json=externelId,proto3" json:"externel_id,omitempty"`
TeamWith string `protobuf:"bytes,21,opt,name=team_with,json=teamWith,proto3" json:"team_with,omitempty"`
Manual bool `protobuf:"varint,22,opt,name=manual,proto3" json:"manual,omitempty"`
NicType string `protobuf:"bytes,23,opt,name=nic_type,json=nicType,proto3" json:"nic_type,omitempty"`
LinkUp bool `protobuf:"varint,24,opt,name=link_up,json=linkUp,proto3" json:"link_up,omitempty"`
Mtu int64 `protobuf:"varint,25,opt,name=mtu,proto3" json:"mtu,omitempty"`
Name string `protobuf:"bytes,26,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Nic) Reset() { *m = Nic{} }
func (m *Nic) String() string { return proto.CompactTextString(m) }
func (*Nic) ProtoMessage() {}
func (*Nic) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{2}
}
func (m *Nic) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Nic.Unmarshal(m, b)
}
func (m *Nic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Nic.Marshal(b, m, deterministic)
}
func (m *Nic) XXX_Merge(src proto.Message) {
xxx_messageInfo_Nic.Merge(m, src)
}
func (m *Nic) XXX_Size() int {
return xxx_messageInfo_Nic.Size(m)
}
func (m *Nic) XXX_DiscardUnknown() {
xxx_messageInfo_Nic.DiscardUnknown(m)
}
var xxx_messageInfo_Nic proto.InternalMessageInfo
func (m *Nic) GetMac() string {
if m != nil {
return m.Mac
}
return ""
}
func (m *Nic) GetIp() string {
if m != nil {
return m.Ip
}
return ""
}
func (m *Nic) GetNet() string {
if m != nil {
return m.Net
}
return ""
}
func (m *Nic) GetNetId() string {
if m != nil {
return m.NetId
}
return ""
}
func (m *Nic) GetVirtual() bool {
if m != nil {
return m.Virtual
}
return false
}
func (m *Nic) GetGateway() string {
if m != nil {
return m.Gateway
}
return ""
}
func (m *Nic) GetDns() string {
if m != nil {
return m.Dns
}
return ""
}
func (m *Nic) GetDomain() string {
if m != nil {
return m.Domain
}
return ""
}
func (m *Nic) GetRoutes() string {
if m != nil {
return m.Routes
}
return ""
}
func (m *Nic) GetIfname() string {
if m != nil {
return m.Ifname
}
return ""
}
func (m *Nic) GetMasklen() int32 {
if m != nil {
return m.Masklen
}
return 0
}
func (m *Nic) GetDriver() string {
if m != nil {
return m.Driver
}
return ""
}
func (m *Nic) GetBridge() string {
if m != nil {
return m.Bridge
}
return ""
}
func (m *Nic) GetWireId() string {
if m != nil {
return m.WireId
}
return ""
}
func (m *Nic) GetVlan() int32 {
if m != nil {
return m.Vlan
}
return 0
}
func (m *Nic) GetInterface() string {
if m != nil {
return m.Interface
}
return ""
}
func (m *Nic) GetBw() int32 {
if m != nil {
return m.Bw
}
return 0
}
func (m *Nic) GetIndex() int32 {
if m != nil {
return m.Index
}
return 0
}
func (m *Nic) GetVirtualIps() []string {
if m != nil {
return m.VirtualIps
}
return nil
}
func (m *Nic) GetExternelId() string {
if m != nil {
return m.ExternelId
}
return ""
}
func (m *Nic) GetTeamWith() string {
if m != nil {
return m.TeamWith
}
return ""
}
func (m *Nic) GetManual() bool {
if m != nil {
return m.Manual
}
return false
}
func (m *Nic) GetNicType() string {
if m != nil {
return m.NicType
}
return ""
}
func (m *Nic) GetLinkUp() bool {
if m != nil {
return m.LinkUp
}
return false
}
func (m *Nic) GetMtu() int64 {
if m != nil {
return m.Mtu
}
return 0
}
func (m *Nic) GetName() string {
if m != nil {
return m.Name
}
return ""
}
type VDDKConInfo struct {
Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
Passwd string `protobuf:"bytes,4,opt,name=passwd,proto3" json:"passwd,omitempty"`
Vmref string `protobuf:"bytes,5,opt,name=vmref,proto3" json:"vmref,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *VDDKConInfo) Reset() { *m = VDDKConInfo{} }
func (m *VDDKConInfo) String() string { return proto.CompactTextString(m) }
func (*VDDKConInfo) ProtoMessage() {}
func (*VDDKConInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{3}
}
func (m *VDDKConInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_VDDKConInfo.Unmarshal(m, b)
}
func (m *VDDKConInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VDDKConInfo.Marshal(b, m, deterministic)
}
func (m *VDDKConInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_VDDKConInfo.Merge(m, src)
}
func (m *VDDKConInfo) XXX_Size() int {
return xxx_messageInfo_VDDKConInfo.Size(m)
}
func (m *VDDKConInfo) XXX_DiscardUnknown() {
xxx_messageInfo_VDDKConInfo.DiscardUnknown(m)
}
var xxx_messageInfo_VDDKConInfo proto.InternalMessageInfo
func (m *VDDKConInfo) GetHost() string {
if m != nil {
return m.Host
}
return ""
}
func (m *VDDKConInfo) GetPort() int32 {
if m != nil {
return m.Port
}
return 0
}
func (m *VDDKConInfo) GetUser() string {
if m != nil {
return m.User
}
return ""
}
func (m *VDDKConInfo) GetPasswd() string {
if m != nil {
return m.Passwd
}
return ""
}
func (m *VDDKConInfo) GetVmref() string {
if m != nil {
return m.Vmref
}
return ""
}
type DeployInfo struct {
PublicKey *SSHKeys `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
Deploys []*DeployContent `protobuf:"bytes,2,rep,name=deploys,proto3" json:"deploys,omitempty"`
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
IsInit bool `protobuf:"varint,4,opt,name=is_init,json=isInit,proto3" json:"is_init,omitempty"`
EnableTty bool `protobuf:"varint,5,opt,name=enable_tty,json=enableTty,proto3" json:"enable_tty,omitempty"`
DefaultRootUser bool `protobuf:"varint,6,opt,name=default_root_user,json=defaultRootUser,proto3" json:"default_root_user,omitempty"`
WindowsDefaultAdminUser bool `protobuf:"varint,7,opt,name=windows_default_admin_user,json=windowsDefaultAdminUser,proto3" json:"windows_default_admin_user,omitempty"`
EnableCloudInit bool `protobuf:"varint,8,opt,name=enable_cloud_init,json=enableCloudInit,proto3" json:"enable_cloud_init,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeployInfo) Reset() { *m = DeployInfo{} }
func (m *DeployInfo) String() string { return proto.CompactTextString(m) }
func (*DeployInfo) ProtoMessage() {}
func (*DeployInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{4}
}
func (m *DeployInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeployInfo.Unmarshal(m, b)
}
func (m *DeployInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeployInfo.Marshal(b, m, deterministic)
}
func (m *DeployInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeployInfo.Merge(m, src)
}
func (m *DeployInfo) XXX_Size() int {
return xxx_messageInfo_DeployInfo.Size(m)
}
func (m *DeployInfo) XXX_DiscardUnknown() {
xxx_messageInfo_DeployInfo.DiscardUnknown(m)
}
var xxx_messageInfo_DeployInfo proto.InternalMessageInfo
func (m *DeployInfo) GetPublicKey() *SSHKeys {
if m != nil {
return m.PublicKey
}
return nil
}
func (m *DeployInfo) GetDeploys() []*DeployContent {
if m != nil {
return m.Deploys
}
return nil
}
func (m *DeployInfo) GetPassword() string {
if m != nil {
return m.Password
}
return ""
}
func (m *DeployInfo) GetIsInit() bool {
if m != nil {
return m.IsInit
}
return false
}
func (m *DeployInfo) GetEnableTty() bool {
if m != nil {
return m.EnableTty
}
return false
}
func (m *DeployInfo) GetDefaultRootUser() bool {
if m != nil {
return m.DefaultRootUser
}
return false
}
func (m *DeployInfo) GetWindowsDefaultAdminUser() bool {
if m != nil {
return m.WindowsDefaultAdminUser
}
return false
}
func (m *DeployInfo) GetEnableCloudInit() bool {
if m != nil {
return m.EnableCloudInit
}
return false
}
type SSHKeys struct {
PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
DeletePublicKey string `protobuf:"bytes,2,opt,name=delete_public_key,json=deletePublicKey,proto3" json:"delete_public_key,omitempty"`
AdminPublicKey string `protobuf:"bytes,3,opt,name=admin_public_key,json=adminPublicKey,proto3" json:"admin_public_key,omitempty"`
ProjectPublicKey string `protobuf:"bytes,4,opt,name=project_public_key,json=projectPublicKey,proto3" json:"project_public_key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SSHKeys) Reset() { *m = SSHKeys{} }
func (m *SSHKeys) String() string { return proto.CompactTextString(m) }
func (*SSHKeys) ProtoMessage() {}
func (*SSHKeys) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{5}
}
func (m *SSHKeys) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SSHKeys.Unmarshal(m, b)
}
func (m *SSHKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SSHKeys.Marshal(b, m, deterministic)
}
func (m *SSHKeys) XXX_Merge(src proto.Message) {
xxx_messageInfo_SSHKeys.Merge(m, src)
}
func (m *SSHKeys) XXX_Size() int {
return xxx_messageInfo_SSHKeys.Size(m)
}
func (m *SSHKeys) XXX_DiscardUnknown() {
xxx_messageInfo_SSHKeys.DiscardUnknown(m)
}
var xxx_messageInfo_SSHKeys proto.InternalMessageInfo
func (m *SSHKeys) GetPublicKey() string {
if m != nil {
return m.PublicKey
}
return ""
}
func (m *SSHKeys) GetDeletePublicKey() string {
if m != nil {
return m.DeletePublicKey
}
return ""
}
func (m *SSHKeys) GetAdminPublicKey() string {
if m != nil {
return m.AdminPublicKey
}
return ""
}
func (m *SSHKeys) GetProjectPublicKey() string {
if m != nil {
return m.ProjectPublicKey
}
return ""
}
type DeployContent struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeployContent) Reset() { *m = DeployContent{} }
func (m *DeployContent) String() string { return proto.CompactTextString(m) }
func (*DeployContent) ProtoMessage() {}
func (*DeployContent) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{6}
}
func (m *DeployContent) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeployContent.Unmarshal(m, b)
}
func (m *DeployContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeployContent.Marshal(b, m, deterministic)
}
func (m *DeployContent) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeployContent.Merge(m, src)
}
func (m *DeployContent) XXX_Size() int {
return xxx_messageInfo_DeployContent.Size(m)
}
func (m *DeployContent) XXX_DiscardUnknown() {
xxx_messageInfo_DeployContent.DiscardUnknown(m)
}
var xxx_messageInfo_DeployContent proto.InternalMessageInfo
func (m *DeployContent) GetPath() string {
if m != nil {
return m.Path
}
return ""
}
func (m *DeployContent) GetContent() string {
if m != nil {
return m.Content
}
return ""
}
func (m *DeployContent) GetAction() string {
if m != nil {
return m.Action
}
return ""
}
type Empty struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Empty) Reset() { *m = Empty{} }
func (m *Empty) String() string { return proto.CompactTextString(m) }
func (*Empty) ProtoMessage() {}
func (*Empty) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{7}
}
func (m *Empty) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Empty.Unmarshal(m, b)
}
func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
}
func (m *Empty) XXX_Merge(src proto.Message) {
xxx_messageInfo_Empty.Merge(m, src)
}
func (m *Empty) XXX_Size() int {
return xxx_messageInfo_Empty.Size(m)
}
func (m *Empty) XXX_DiscardUnknown() {
xxx_messageInfo_Empty.DiscardUnknown(m)
}
var xxx_messageInfo_Empty proto.InternalMessageInfo
type DeployGuestFsResponse struct {
Distro string `protobuf:"bytes,1,opt,name=distro,proto3" json:"distro,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
Arch string `protobuf:"bytes,3,opt,name=arch,proto3" json:"arch,omitempty"`
Language string `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"`
Os string `protobuf:"bytes,5,opt,name=os,proto3" json:"os,omitempty"`
Account string `protobuf:"bytes,6,opt,name=account,proto3" json:"account,omitempty"`
Key string `protobuf:"bytes,7,opt,name=key,proto3" json:"key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeployGuestFsResponse) Reset() { *m = DeployGuestFsResponse{} }
func (m *DeployGuestFsResponse) String() string { return proto.CompactTextString(m) }
func (*DeployGuestFsResponse) ProtoMessage() {}
func (*DeployGuestFsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{8}
}
func (m *DeployGuestFsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeployGuestFsResponse.Unmarshal(m, b)
}
func (m *DeployGuestFsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeployGuestFsResponse.Marshal(b, m, deterministic)
}
func (m *DeployGuestFsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeployGuestFsResponse.Merge(m, src)
}
func (m *DeployGuestFsResponse) XXX_Size() int {
return xxx_messageInfo_DeployGuestFsResponse.Size(m)
}
func (m *DeployGuestFsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_DeployGuestFsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_DeployGuestFsResponse proto.InternalMessageInfo
func (m *DeployGuestFsResponse) GetDistro() string {
if m != nil {
return m.Distro
}
return ""
}
func (m *DeployGuestFsResponse) GetVersion() string {
if m != nil {
return m.Version
}
return ""
}
func (m *DeployGuestFsResponse) GetArch() string {
if m != nil {
return m.Arch
}
return ""
}
func (m *DeployGuestFsResponse) GetLanguage() string {
if m != nil {
return m.Language
}
return ""
}
func (m *DeployGuestFsResponse) GetOs() string {
if m != nil {
return m.Os
}
return ""
}
func (m *DeployGuestFsResponse) GetAccount() string {
if m != nil {
return m.Account
}
return ""
}
func (m *DeployGuestFsResponse) GetKey() string {
if m != nil {
return m.Key
}
return ""
}
type DeployParams struct {
DiskPath string `protobuf:"bytes,1,opt,name=disk_path,json=diskPath,proto3" json:"disk_path,omitempty"`
GuestDesc *GuestDesc `protobuf:"bytes,2,opt,name=guest_desc,json=guestDesc,proto3" json:"guest_desc,omitempty"`
DeployInfo *DeployInfo `protobuf:"bytes,3,opt,name=deploy_info,json=deployInfo,proto3" json:"deploy_info,omitempty"`
VddkInfo *VDDKConInfo `protobuf:"bytes,4,opt,name=vddk_info,json=vddkInfo,proto3" json:"vddk_info,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeployParams) Reset() { *m = DeployParams{} }
func (m *DeployParams) String() string { return proto.CompactTextString(m) }
func (*DeployParams) ProtoMessage() {}
func (*DeployParams) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{9}
}
func (m *DeployParams) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeployParams.Unmarshal(m, b)
}
func (m *DeployParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeployParams.Marshal(b, m, deterministic)
}
func (m *DeployParams) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeployParams.Merge(m, src)
}
func (m *DeployParams) XXX_Size() int {
return xxx_messageInfo_DeployParams.Size(m)
}
func (m *DeployParams) XXX_DiscardUnknown() {
xxx_messageInfo_DeployParams.DiscardUnknown(m)
}
var xxx_messageInfo_DeployParams proto.InternalMessageInfo
func (m *DeployParams) GetDiskPath() string {
if m != nil {
return m.DiskPath
}
return ""
}
func (m *DeployParams) GetGuestDesc() *GuestDesc {
if m != nil {
return m.GuestDesc
}
return nil
}
func (m *DeployParams) GetDeployInfo() *DeployInfo {
if m != nil {
return m.DeployInfo
}
return nil
}
func (m *DeployParams) GetVddkInfo() *VDDKConInfo {
if m != nil {
return m.VddkInfo
}
return nil
}
type ResizeFsParams struct {
DiskPath string `protobuf:"bytes,1,opt,name=disk_path,json=diskPath,proto3" json:"disk_path,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ResizeFsParams) Reset() { *m = ResizeFsParams{} }
func (m *ResizeFsParams) String() string { return proto.CompactTextString(m) }
func (*ResizeFsParams) ProtoMessage() {}
func (*ResizeFsParams) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{10}
}
func (m *ResizeFsParams) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ResizeFsParams.Unmarshal(m, b)
}
func (m *ResizeFsParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ResizeFsParams.Marshal(b, m, deterministic)
}
func (m *ResizeFsParams) XXX_Merge(src proto.Message) {
xxx_messageInfo_ResizeFsParams.Merge(m, src)
}
func (m *ResizeFsParams) XXX_Size() int {
return xxx_messageInfo_ResizeFsParams.Size(m)
}
func (m *ResizeFsParams) XXX_DiscardUnknown() {
xxx_messageInfo_ResizeFsParams.DiscardUnknown(m)
}
var xxx_messageInfo_ResizeFsParams proto.InternalMessageInfo
func (m *ResizeFsParams) GetDiskPath() string {
if m != nil {
return m.DiskPath
}
return ""
}
type FormatFsParams struct {
DiskPath string `protobuf:"bytes,1,opt,name=disk_path,json=diskPath,proto3" json:"disk_path,omitempty"`
FsFormat string `protobuf:"bytes,2,opt,name=fs_format,json=fsFormat,proto3" json:"fs_format,omitempty"`
Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FormatFsParams) Reset() { *m = FormatFsParams{} }
func (m *FormatFsParams) String() string { return proto.CompactTextString(m) }
func (*FormatFsParams) ProtoMessage() {}
func (*FormatFsParams) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{11}
}
func (m *FormatFsParams) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FormatFsParams.Unmarshal(m, b)
}
func (m *FormatFsParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FormatFsParams.Marshal(b, m, deterministic)
}
func (m *FormatFsParams) XXX_Merge(src proto.Message) {
xxx_messageInfo_FormatFsParams.Merge(m, src)
}
func (m *FormatFsParams) XXX_Size() int {
return xxx_messageInfo_FormatFsParams.Size(m)
}
func (m *FormatFsParams) XXX_DiscardUnknown() {
xxx_messageInfo_FormatFsParams.DiscardUnknown(m)
}
var xxx_messageInfo_FormatFsParams proto.InternalMessageInfo
func (m *FormatFsParams) GetDiskPath() string {
if m != nil {
return m.DiskPath
}
return ""
}
func (m *FormatFsParams) GetFsFormat() string {
if m != nil {
return m.FsFormat
}
return ""
}
func (m *FormatFsParams) GetUuid() string {
if m != nil {
return m.Uuid
}
return ""
}
type ReleaseInfo struct {
Distro string `protobuf:"bytes,1,opt,name=distro,proto3" json:"distro,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
Arch string `protobuf:"bytes,3,opt,name=arch,proto3" json:"arch,omitempty"`
Language string `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReleaseInfo) Reset() { *m = ReleaseInfo{} }
func (m *ReleaseInfo) String() string { return proto.CompactTextString(m) }
func (*ReleaseInfo) ProtoMessage() {}
func (*ReleaseInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{12}
}
func (m *ReleaseInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReleaseInfo.Unmarshal(m, b)
}
func (m *ReleaseInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReleaseInfo.Marshal(b, m, deterministic)
}
func (m *ReleaseInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReleaseInfo.Merge(m, src)
}
func (m *ReleaseInfo) XXX_Size() int {
return xxx_messageInfo_ReleaseInfo.Size(m)
}
func (m *ReleaseInfo) XXX_DiscardUnknown() {
xxx_messageInfo_ReleaseInfo.DiscardUnknown(m)
}
var xxx_messageInfo_ReleaseInfo proto.InternalMessageInfo
func (m *ReleaseInfo) GetDistro() string {
if m != nil {
return m.Distro
}
return ""
}
func (m *ReleaseInfo) GetVersion() string {
if m != nil {
return m.Version
}
return ""
}
func (m *ReleaseInfo) GetArch() string {
if m != nil {
return m.Arch
}
return ""
}
func (m *ReleaseInfo) GetLanguage() string {
if m != nil {
return m.Language
}
return ""
}
type SaveToGlanceParams struct {
DiskPath string `protobuf:"bytes,1,opt,name=disk_path,json=diskPath,proto3" json:"disk_path,omitempty"`
Compress bool `protobuf:"varint,2,opt,name=compress,proto3" json:"compress,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SaveToGlanceParams) Reset() { *m = SaveToGlanceParams{} }
func (m *SaveToGlanceParams) String() string { return proto.CompactTextString(m) }
func (*SaveToGlanceParams) ProtoMessage() {}
func (*SaveToGlanceParams) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{13}
}
func (m *SaveToGlanceParams) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SaveToGlanceParams.Unmarshal(m, b)
}
func (m *SaveToGlanceParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SaveToGlanceParams.Marshal(b, m, deterministic)
}
func (m *SaveToGlanceParams) XXX_Merge(src proto.Message) {
xxx_messageInfo_SaveToGlanceParams.Merge(m, src)
}
func (m *SaveToGlanceParams) XXX_Size() int {
return xxx_messageInfo_SaveToGlanceParams.Size(m)
}
func (m *SaveToGlanceParams) XXX_DiscardUnknown() {
xxx_messageInfo_SaveToGlanceParams.DiscardUnknown(m)
}
var xxx_messageInfo_SaveToGlanceParams proto.InternalMessageInfo
func (m *SaveToGlanceParams) GetDiskPath() string {
if m != nil {
return m.DiskPath
}
return ""
}
func (m *SaveToGlanceParams) GetCompress() bool {
if m != nil {
return m.Compress
}
return false
}
type SaveToGlanceResponse struct {
OsInfo string `protobuf:"bytes,1,opt,name=os_info,json=osInfo,proto3" json:"os_info,omitempty"`
ReleaseInfo *ReleaseInfo `protobuf:"bytes,2,opt,name=release_info,json=releaseInfo,proto3" json:"release_info,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SaveToGlanceResponse) Reset() { *m = SaveToGlanceResponse{} }
func (m *SaveToGlanceResponse) String() string { return proto.CompactTextString(m) }
func (*SaveToGlanceResponse) ProtoMessage() {}
func (*SaveToGlanceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{14}
}
func (m *SaveToGlanceResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SaveToGlanceResponse.Unmarshal(m, b)
}
func (m *SaveToGlanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SaveToGlanceResponse.Marshal(b, m, deterministic)
}
func (m *SaveToGlanceResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SaveToGlanceResponse.Merge(m, src)
}
func (m *SaveToGlanceResponse) XXX_Size() int {
return xxx_messageInfo_SaveToGlanceResponse.Size(m)
}
func (m *SaveToGlanceResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SaveToGlanceResponse.DiscardUnknown(m)
}
var xxx_messageInfo_SaveToGlanceResponse proto.InternalMessageInfo
func (m *SaveToGlanceResponse) GetOsInfo() string {
if m != nil {
return m.OsInfo
}
return ""
}
func (m *SaveToGlanceResponse) GetReleaseInfo() *ReleaseInfo {
if m != nil {
return m.ReleaseInfo
}
return nil
}
type ProbeImageInfoPramas struct {
DiskPath string `protobuf:"bytes,1,opt,name=disk_path,json=diskPath,proto3" json:"disk_path,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ProbeImageInfoPramas) Reset() { *m = ProbeImageInfoPramas{} }
func (m *ProbeImageInfoPramas) String() string { return proto.CompactTextString(m) }
func (*ProbeImageInfoPramas) ProtoMessage() {}
func (*ProbeImageInfoPramas) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{15}
}
func (m *ProbeImageInfoPramas) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ProbeImageInfoPramas.Unmarshal(m, b)
}
func (m *ProbeImageInfoPramas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ProbeImageInfoPramas.Marshal(b, m, deterministic)
}
func (m *ProbeImageInfoPramas) XXX_Merge(src proto.Message) {
xxx_messageInfo_ProbeImageInfoPramas.Merge(m, src)
}
func (m *ProbeImageInfoPramas) XXX_Size() int {
return xxx_messageInfo_ProbeImageInfoPramas.Size(m)
}
func (m *ProbeImageInfoPramas) XXX_DiscardUnknown() {
xxx_messageInfo_ProbeImageInfoPramas.DiscardUnknown(m)
}
var xxx_messageInfo_ProbeImageInfoPramas proto.InternalMessageInfo
func (m *ProbeImageInfoPramas) GetDiskPath() string {
if m != nil {
return m.DiskPath
}
return ""
}
type ImageInfo struct {
OsInfo *ReleaseInfo `protobuf:"bytes,1,opt,name=os_info,json=osInfo,proto3" json:"os_info,omitempty"`
OsType string `protobuf:"bytes,2,opt,name=os_type,json=osType,proto3" json:"os_type,omitempty"`
IsUefiSupport bool `protobuf:"varint,3,opt,name=is_uefi_support,json=isUefiSupport,proto3" json:"is_uefi_support,omitempty"`
IsLvmPartition bool `protobuf:"varint,4,opt,name=is_lvm_partition,json=isLvmPartition,proto3" json:"is_lvm_partition,omitempty"`
IsReadonly bool `protobuf:"varint,5,opt,name=is_readonly,json=isReadonly,proto3" json:"is_readonly,omitempty"`
PhysicalPartitionType string `protobuf:"bytes,6,opt,name=physical_partition_type,json=physicalPartitionType,proto3" json:"physical_partition_type,omitempty"`
IsInstalledCloudInit bool `protobuf:"varint,7,opt,name=is_installed_cloud_init,json=isInstalledCloudInit,proto3" json:"is_installed_cloud_init,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ImageInfo) Reset() { *m = ImageInfo{} }
func (m *ImageInfo) String() string { return proto.CompactTextString(m) }
func (*ImageInfo) ProtoMessage() {}
func (*ImageInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{16}
}
func (m *ImageInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ImageInfo.Unmarshal(m, b)
}
func (m *ImageInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ImageInfo.Marshal(b, m, deterministic)
}
func (m *ImageInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_ImageInfo.Merge(m, src)
}
func (m *ImageInfo) XXX_Size() int {
return xxx_messageInfo_ImageInfo.Size(m)
}
func (m *ImageInfo) XXX_DiscardUnknown() {
xxx_messageInfo_ImageInfo.DiscardUnknown(m)
}
var xxx_messageInfo_ImageInfo proto.InternalMessageInfo
func (m *ImageInfo) GetOsInfo() *ReleaseInfo {
if m != nil {
return m.OsInfo
}
return nil
}
func (m *ImageInfo) GetOsType() string {
if m != nil {
return m.OsType
}
return ""
}
func (m *ImageInfo) GetIsUefiSupport() bool {
if m != nil {
return m.IsUefiSupport
}
return false
}
func (m *ImageInfo) GetIsLvmPartition() bool {
if m != nil {
return m.IsLvmPartition
}
return false
}
func (m *ImageInfo) GetIsReadonly() bool {
if m != nil {
return m.IsReadonly
}
return false
}
func (m *ImageInfo) GetPhysicalPartitionType() string {
if m != nil {
return m.PhysicalPartitionType
}
return ""
}
func (m *ImageInfo) GetIsInstalledCloudInit() bool {
if m != nil {
return m.IsInstalledCloudInit
}
return false
}
type EsxiDiskInfo struct {
DiskPath string `protobuf:"bytes,1,opt,name=disk_path,json=diskPath,proto3" json:"disk_path,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *EsxiDiskInfo) Reset() { *m = EsxiDiskInfo{} }
func (m *EsxiDiskInfo) String() string { return proto.CompactTextString(m) }
func (*EsxiDiskInfo) ProtoMessage() {}
func (*EsxiDiskInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{17}
}
func (m *EsxiDiskInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EsxiDiskInfo.Unmarshal(m, b)
}
func (m *EsxiDiskInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EsxiDiskInfo.Marshal(b, m, deterministic)
}
func (m *EsxiDiskInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_EsxiDiskInfo.Merge(m, src)
}
func (m *EsxiDiskInfo) XXX_Size() int {
return xxx_messageInfo_EsxiDiskInfo.Size(m)
}
func (m *EsxiDiskInfo) XXX_DiscardUnknown() {
xxx_messageInfo_EsxiDiskInfo.DiscardUnknown(m)
}
var xxx_messageInfo_EsxiDiskInfo proto.InternalMessageInfo
func (m *EsxiDiskInfo) GetDiskPath() string {
if m != nil {
return m.DiskPath
}
return ""
}
type ConnectEsxiDisksParams struct {
VddkInfo *VDDKConInfo `protobuf:"bytes,1,opt,name=vddk_info,json=vddkInfo,proto3" json:"vddk_info,omitempty"`
AccessInfo []*EsxiDiskInfo `protobuf:"bytes,2,rep,name=access_info,json=accessInfo,proto3" json:"access_info,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ConnectEsxiDisksParams) Reset() { *m = ConnectEsxiDisksParams{} }
func (m *ConnectEsxiDisksParams) String() string { return proto.CompactTextString(m) }
func (*ConnectEsxiDisksParams) ProtoMessage() {}
func (*ConnectEsxiDisksParams) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{18}
}
func (m *ConnectEsxiDisksParams) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ConnectEsxiDisksParams.Unmarshal(m, b)
}
func (m *ConnectEsxiDisksParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ConnectEsxiDisksParams.Marshal(b, m, deterministic)
}
func (m *ConnectEsxiDisksParams) XXX_Merge(src proto.Message) {
xxx_messageInfo_ConnectEsxiDisksParams.Merge(m, src)
}
func (m *ConnectEsxiDisksParams) XXX_Size() int {
return xxx_messageInfo_ConnectEsxiDisksParams.Size(m)
}
func (m *ConnectEsxiDisksParams) XXX_DiscardUnknown() {
xxx_messageInfo_ConnectEsxiDisksParams.DiscardUnknown(m)
}
var xxx_messageInfo_ConnectEsxiDisksParams proto.InternalMessageInfo
func (m *ConnectEsxiDisksParams) GetVddkInfo() *VDDKConInfo {
if m != nil {
return m.VddkInfo
}
return nil
}
func (m *ConnectEsxiDisksParams) GetAccessInfo() []*EsxiDiskInfo {
if m != nil {
return m.AccessInfo
}
return nil
}
type EsxiDisksConnectionInfo struct {
Disks []*EsxiDiskInfo `protobuf:"bytes,1,rep,name=disks,proto3" json:"disks,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *EsxiDisksConnectionInfo) Reset() { *m = EsxiDisksConnectionInfo{} }
func (m *EsxiDisksConnectionInfo) String() string { return proto.CompactTextString(m) }
func (*EsxiDisksConnectionInfo) ProtoMessage() {}
func (*EsxiDisksConnectionInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_05f09e103004e384, []int{19}
}
func (m *EsxiDisksConnectionInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EsxiDisksConnectionInfo.Unmarshal(m, b)
}
func (m *EsxiDisksConnectionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EsxiDisksConnectionInfo.Marshal(b, m, deterministic)
}
func (m *EsxiDisksConnectionInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_EsxiDisksConnectionInfo.Merge(m, src)
}
func (m *EsxiDisksConnectionInfo) XXX_Size() int {
return xxx_messageInfo_EsxiDisksConnectionInfo.Size(m)
}
func (m *EsxiDisksConnectionInfo) XXX_DiscardUnknown() {
xxx_messageInfo_EsxiDisksConnectionInfo.DiscardUnknown(m)
}
var xxx_messageInfo_EsxiDisksConnectionInfo proto.InternalMessageInfo
func (m *EsxiDisksConnectionInfo) GetDisks() []*EsxiDiskInfo {
if m != nil {
return m.Disks
}
return nil
}
func init() {
proto.RegisterType((*GuestDesc)(nil), "apis.GuestDesc")
proto.RegisterType((*Disk)(nil), "apis.Disk")
proto.RegisterType((*Nic)(nil), "apis.Nic")
proto.RegisterType((*VDDKConInfo)(nil), "apis.VDDKConInfo")
proto.RegisterType((*DeployInfo)(nil), "apis.DeployInfo")
proto.RegisterType((*SSHKeys)(nil), "apis.SSHKeys")
proto.RegisterType((*DeployContent)(nil), "apis.DeployContent")
proto.RegisterType((*Empty)(nil), "apis.Empty")
proto.RegisterType((*DeployGuestFsResponse)(nil), "apis.DeployGuestFsResponse")
proto.RegisterType((*DeployParams)(nil), "apis.DeployParams")
proto.RegisterType((*ResizeFsParams)(nil), "apis.ResizeFsParams")
proto.RegisterType((*FormatFsParams)(nil), "apis.FormatFsParams")
proto.RegisterType((*ReleaseInfo)(nil), "apis.ReleaseInfo")
proto.RegisterType((*SaveToGlanceParams)(nil), "apis.SaveToGlanceParams")
proto.RegisterType((*SaveToGlanceResponse)(nil), "apis.SaveToGlanceResponse")
proto.RegisterType((*ProbeImageInfoPramas)(nil), "apis.ProbeImageInfoPramas")
proto.RegisterType((*ImageInfo)(nil), "apis.ImageInfo")
proto.RegisterType((*EsxiDiskInfo)(nil), "apis.EsxiDiskInfo")
proto.RegisterType((*ConnectEsxiDisksParams)(nil), "apis.ConnectEsxiDisksParams")
proto.RegisterType((*EsxiDisksConnectionInfo)(nil), "apis.EsxiDisksConnectionInfo")
}
func init() { proto.RegisterFile("deploy.proto", fileDescriptor_05f09e103004e384) }
var fileDescriptor_05f09e103004e384 = []byte{
// 1700 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x5f, 0x6f, 0x1b, 0xb9,
0x11, 0x87, 0xfe, 0x4b, 0x23, 0x47, 0x76, 0x18, 0xc7, 0xde, 0xd3, 0x5d, 0x7a, 0x86, 0x80, 0x16,
0x46, 0x9a, 0x18, 0xa8, 0xd3, 0xf6, 0xa5, 0x28, 0xd0, 0xc0, 0xbe, 0xdc, 0x09, 0xe9, 0x5d, 0x8d,
0x75, 0xdc, 0xbe, 0x75, 0x41, 0xef, 0x52, 0x32, 0xeb, 0x5d, 0x72, 0x41, 0x52, 0x52, 0x54, 0xa0,
0xdf, 0xa8, 0x4f, 0x05, 0xfa, 0xda, 0xc7, 0x7e, 0x80, 0xbe, 0xb5, 0x1f, 0xa1, 0x9f, 0xa2, 0x98,
0x21, 0x57, 0x5a, 0xf9, 0xd2, 0xbb, 0xbc, 0xdc, 0x93, 0x38, 0x7f, 0xc8, 0x1d, 0xce, 0x6f, 0xe6,
0x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 0xf7, 0x6f, 0x2a, 0xe6, 0x0f, 0xc4, 0xcc, 0x58, 0x9d, 0x7f, 0xfc, 0xf5, 0xc6, 0x9f,
0xd6, 0x75, 0x0f, 0x19, 0xfc, 0x25, 0xf4, 0x2b, 0x8a, 0x61, 0x87, 0x55, 0x91, 0xd5, 0x29, 0x67,
0x3c, 0x0c, 0xe1, 0xe0, 0x28, 0x40, 0xf7, 0x8a, 0x62, 0x2a, 0xf7, 0x5d, 0xca, 0xd9, 0x75, 0xbf,
0x84, 0xbd, 0x7a, 0xc7, 0xb1, 0x28, 0x3c, 0x45, 0xbe, 0xd5, 0xd4, 0xe3, 0xf1, 0xb7, 0x2d, 0x9b,
0x18, 0x7f, 0x0d, 0xa3, 0xdd, 0x86, 0x62, 0xc1, 0xfb, 0x43, 0x6d, 0x36, 0x0e, 0x9c, 0xbd, 0x75,
0xfe, 0x1d, 0x1c, 0x3c, 0x04, 0x9e, 0x7d, 0xe6, 0x9d, 0x3e, 0x5c, 0x10, 0xe3, 0x67, 0xbb, 0x08,
0x3c, 0xc4, 0xeb, 0x35, 0x3c, 0xb9, 0x94, 0x36, 0x7d, 0x78, 0xe6, 0x77, 0xef, 0xda, 0x49, 0xcc,
0x6d, 0x97, 0xfe, 0x62, 0xbf, 0xfa, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x50, 0xab, 0x75, 0x51,
0x72, 0x0f, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// DeployAgentClient is the client API for DeployAgent service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type DeployAgentClient interface {
DeployGuestFs(ctx context.Context, in *DeployParams, opts ...grpc.CallOption) (*DeployGuestFsResponse, error)
ResizeFs(ctx context.Context, in *ResizeFsParams, opts ...grpc.CallOption) (*Empty, error)
FormatFs(ctx context.Context, in *FormatFsParams, opts ...grpc.CallOption) (*Empty, error)
SaveToGlance(ctx context.Context, in *SaveToGlanceParams, opts ...grpc.CallOption) (*SaveToGlanceResponse, error)
ProbeImageInfo(ctx context.Context, in *ProbeImageInfoPramas, opts ...grpc.CallOption) (*ImageInfo, error)
ConnectEsxiDisks(ctx context.Context, in *ConnectEsxiDisksParams, opts ...grpc.CallOption) (*EsxiDisksConnectionInfo, error)
DisconnectEsxiDisks(ctx context.Context, in *EsxiDisksConnectionInfo, opts ...grpc.CallOption) (*Empty, error)
}
type deployAgentClient struct {
cc *grpc.ClientConn
}
func NewDeployAgentClient(cc *grpc.ClientConn) DeployAgentClient {
return &deployAgentClient{cc}
}
func (c *deployAgentClient) DeployGuestFs(ctx context.Context, in *DeployParams, opts ...grpc.CallOption) (*DeployGuestFsResponse, error) {
out := new(DeployGuestFsResponse)
err := c.cc.Invoke(ctx, "/apis.DeployAgent/DeployGuestFs", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deployAgentClient) ResizeFs(ctx context.Context, in *ResizeFsParams, opts ...grpc.CallOption) (*Empty, error) {
out := new(Empty)
err := c.cc.Invoke(ctx, "/apis.DeployAgent/ResizeFs", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deployAgentClient) FormatFs(ctx context.Context, in *FormatFsParams, opts ...grpc.CallOption) (*Empty, error) {
out := new(Empty)
err := c.cc.Invoke(ctx, "/apis.DeployAgent/FormatFs", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deployAgentClient) SaveToGlance(ctx context.Context, in *SaveToGlanceParams, opts ...grpc.CallOption) (*SaveToGlanceResponse, error) {
out := new(SaveToGlanceResponse)
err := c.cc.Invoke(ctx, "/apis.DeployAgent/SaveToGlance", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deployAgentClient) ProbeImageInfo(ctx context.Context, in *ProbeImageInfoPramas, opts ...grpc.CallOption) (*ImageInfo, error) {
out := new(ImageInfo)
err := c.cc.Invoke(ctx, "/apis.DeployAgent/ProbeImageInfo", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deployAgentClient) ConnectEsxiDisks(ctx context.Context, in *ConnectEsxiDisksParams, opts ...grpc.CallOption) (*EsxiDisksConnectionInfo, error) {
out := new(EsxiDisksConnectionInfo)
err := c.cc.Invoke(ctx, "/apis.DeployAgent/ConnectEsxiDisks", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deployAgentClient) DisconnectEsxiDisks(ctx context.Context, in *EsxiDisksConnectionInfo, opts ...grpc.CallOption) (*Empty, error) {
out := new(Empty)
err := c.cc.Invoke(ctx, "/apis.DeployAgent/DisconnectEsxiDisks", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// DeployAgentServer is the server API for DeployAgent service.
type DeployAgentServer interface {
DeployGuestFs(context.Context, *DeployParams) (*DeployGuestFsResponse, error)
ResizeFs(context.Context, *ResizeFsParams) (*Empty, error)
FormatFs(context.Context, *FormatFsParams) (*Empty, error)
SaveToGlance(context.Context, *SaveToGlanceParams) (*SaveToGlanceResponse, error)
ProbeImageInfo(context.Context, *ProbeImageInfoPramas) (*ImageInfo, error)
ConnectEsxiDisks(context.Context, *ConnectEsxiDisksParams) (*EsxiDisksConnectionInfo, error)
DisconnectEsxiDisks(context.Context, *EsxiDisksConnectionInfo) (*Empty, error)
}
// UnimplementedDeployAgentServer can be embedded to have forward compatible implementations.
type UnimplementedDeployAgentServer struct {
}
func (*UnimplementedDeployAgentServer) DeployGuestFs(ctx context.Context, req *DeployParams) (*DeployGuestFsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method DeployGuestFs not implemented")
}
func (*UnimplementedDeployAgentServer) ResizeFs(ctx context.Context, req *ResizeFsParams) (*Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method ResizeFs not implemented")
}
func (*UnimplementedDeployAgentServer) FormatFs(ctx context.Context, req *FormatFsParams) (*Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method FormatFs not implemented")
}
func (*UnimplementedDeployAgentServer) SaveToGlance(ctx context.Context, req *SaveToGlanceParams) (*SaveToGlanceResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SaveToGlance not implemented")
}
func (*UnimplementedDeployAgentServer) ProbeImageInfo(ctx context.Context, req *ProbeImageInfoPramas) (*ImageInfo, error) {
return nil, status.Errorf(codes.Unimplemented, "method ProbeImageInfo not implemented")
}
func (*UnimplementedDeployAgentServer) ConnectEsxiDisks(ctx context.Context, req *ConnectEsxiDisksParams) (*EsxiDisksConnectionInfo, error) {
return nil, status.Errorf(codes.Unimplemented, "method ConnectEsxiDisks not implemented")
}
func (*UnimplementedDeployAgentServer) DisconnectEsxiDisks(ctx context.Context, req *EsxiDisksConnectionInfo) (*Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method DisconnectEsxiDisks not implemented")
}
func RegisterDeployAgentServer(s *grpc.Server, srv DeployAgentServer) {
s.RegisterService(&_DeployAgent_serviceDesc, srv)
}
func _DeployAgent_DeployGuestFs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeployParams)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeployAgentServer).DeployGuestFs(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/apis.DeployAgent/DeployGuestFs",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeployAgentServer).DeployGuestFs(ctx, req.(*DeployParams))
}
return interceptor(ctx, in, info, handler)
}
func _DeployAgent_ResizeFs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ResizeFsParams)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeployAgentServer).ResizeFs(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/apis.DeployAgent/ResizeFs",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeployAgentServer).ResizeFs(ctx, req.(*ResizeFsParams))
}
return interceptor(ctx, in, info, handler)
}
func _DeployAgent_FormatFs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FormatFsParams)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeployAgentServer).FormatFs(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/apis.DeployAgent/FormatFs",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeployAgentServer).FormatFs(ctx, req.(*FormatFsParams))
}
return interceptor(ctx, in, info, handler)
}
func _DeployAgent_SaveToGlance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SaveToGlanceParams)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeployAgentServer).SaveToGlance(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/apis.DeployAgent/SaveToGlance",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeployAgentServer).SaveToGlance(ctx, req.(*SaveToGlanceParams))
}
return interceptor(ctx, in, info, handler)
}
func _DeployAgent_ProbeImageInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ProbeImageInfoPramas)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeployAgentServer).ProbeImageInfo(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/apis.DeployAgent/ProbeImageInfo",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeployAgentServer).ProbeImageInfo(ctx, req.(*ProbeImageInfoPramas))
}
return interceptor(ctx, in, info, handler)
}
func _DeployAgent_ConnectEsxiDisks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ConnectEsxiDisksParams)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeployAgentServer).ConnectEsxiDisks(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/apis.DeployAgent/ConnectEsxiDisks",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeployAgentServer).ConnectEsxiDisks(ctx, req.(*ConnectEsxiDisksParams))
}
return interceptor(ctx, in, info, handler)
}
func _DeployAgent_DisconnectEsxiDisks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(EsxiDisksConnectionInfo)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeployAgentServer).DisconnectEsxiDisks(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/apis.DeployAgent/DisconnectEsxiDisks",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeployAgentServer).DisconnectEsxiDisks(ctx, req.(*EsxiDisksConnectionInfo))
}
return interceptor(ctx, in, info, handler)
}
var _DeployAgent_serviceDesc = grpc.ServiceDesc{
ServiceName: "apis.DeployAgent",
HandlerType: (*DeployAgentServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "DeployGuestFs",
Handler: _DeployAgent_DeployGuestFs_Handler,
},
{
MethodName: "ResizeFs",
Handler: _DeployAgent_ResizeFs_Handler,
},
{
MethodName: "FormatFs",
Handler: _DeployAgent_FormatFs_Handler,
},
{
MethodName: "SaveToGlance",
Handler: _DeployAgent_SaveToGlance_Handler,
},
{
MethodName: "ProbeImageInfo",
Handler: _DeployAgent_ProbeImageInfo_Handler,
},
{
MethodName: "ConnectEsxiDisks",
Handler: _DeployAgent_ConnectEsxiDisks_Handler,
},
{
MethodName: "DisconnectEsxiDisks",
Handler: _DeployAgent_DisconnectEsxiDisks_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "deploy.proto",
}