Documentation ¶
Index ¶
- Variables
- func ConvertRoutes(routes string) []types.SRoute
- func GuestNicsToServerNics(nics []*desc.SGuestNetwork) []*types.SServerNic
- func RegisterDeployAgentServer(s grpc.ServiceRegistrar, srv DeployAgentServer)
- type ConnectEsxiDisksParams
- func (*ConnectEsxiDisksParams) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectEsxiDisksParams) GetAccessInfo() []*EsxiDiskInfo
- func (x *ConnectEsxiDisksParams) GetVddkInfo() *VDDKConInfo
- func (*ConnectEsxiDisksParams) ProtoMessage()
- func (x *ConnectEsxiDisksParams) ProtoReflect() protoreflect.Message
- func (x *ConnectEsxiDisksParams) Reset()
- func (x *ConnectEsxiDisksParams) String() string
- type DeployAgentClient
- type DeployAgentServer
- type DeployContent
- func (*DeployContent) Descriptor() ([]byte, []int)deprecated
- func (x *DeployContent) GetAction() string
- func (x *DeployContent) GetContent() string
- func (x *DeployContent) GetPath() string
- func (*DeployContent) ProtoMessage()
- func (x *DeployContent) ProtoReflect() protoreflect.Message
- func (x *DeployContent) Reset()
- func (x *DeployContent) String() string
- type DeployGuestFsResponse
- func (*DeployGuestFsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeployGuestFsResponse) GetAccount() string
- func (x *DeployGuestFsResponse) GetArch() string
- func (x *DeployGuestFsResponse) GetDistro() string
- func (x *DeployGuestFsResponse) GetKey() string
- func (x *DeployGuestFsResponse) GetLanguage() string
- func (x *DeployGuestFsResponse) GetOs() string
- func (x *DeployGuestFsResponse) GetTelegrafDeployed() bool
- func (x *DeployGuestFsResponse) GetVersion() string
- func (*DeployGuestFsResponse) ProtoMessage()
- func (x *DeployGuestFsResponse) ProtoReflect() protoreflect.Message
- func (x *DeployGuestFsResponse) Reset()
- func (x *DeployGuestFsResponse) String() string
- type DeployInfo
- func (*DeployInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DeployInfo) GetDefaultRootUser() bool
- func (x *DeployInfo) GetDeploys() []*DeployContent
- func (x *DeployInfo) GetEnableCloudInit() bool
- func (x *DeployInfo) GetEnableTty() bool
- func (x *DeployInfo) GetIsInit() bool
- func (x *DeployInfo) GetLoginAccount() string
- func (x *DeployInfo) GetPassword() string
- func (x *DeployInfo) GetPublicKey() *SSHKeys
- func (x *DeployInfo) GetTelegraf() *Telegraf
- func (x *DeployInfo) GetUserData() string
- func (x *DeployInfo) GetWindowsDefaultAdminUser() bool
- func (*DeployInfo) ProtoMessage()
- func (x *DeployInfo) ProtoReflect() protoreflect.Message
- func (x *DeployInfo) Reset()
- func (x *DeployInfo) String() string
- type DeployParams
- func (*DeployParams) Descriptor() ([]byte, []int)deprecated
- func (x *DeployParams) GetDeployInfo() *DeployInfo
- func (x *DeployParams) GetDiskInfo() *DiskInfo
- func (x *DeployParams) GetGuestDesc() *GuestDesc
- func (x *DeployParams) GetVddkInfo() *VDDKConInfo
- func (*DeployParams) ProtoMessage()
- func (x *DeployParams) ProtoReflect() protoreflect.Message
- func (x *DeployParams) Reset()
- func (x *DeployParams) String() string
- type Disk
- func (*Disk) Descriptor() ([]byte, []int)deprecated
- func (x *Disk) GetAioMode() string
- func (x *Disk) GetCacheMode() string
- func (x *Disk) GetDev() string
- func (x *Disk) GetDiskId() string
- func (x *Disk) GetDriver() string
- func (x *Disk) GetFormat() string
- func (x *Disk) GetFs() string
- func (x *Disk) GetImagePath() string
- func (x *Disk) GetIndex() int32
- func (x *Disk) GetMergeSnapshot() bool
- func (x *Disk) GetMigrating() bool
- func (x *Disk) GetMountpoint() string
- func (x *Disk) GetPath() string
- func (x *Disk) GetSize() int64
- func (x *Disk) GetStorageId() string
- func (x *Disk) GetTargetStorageId() string
- func (x *Disk) GetTemplateId() string
- func (*Disk) ProtoMessage()
- func (x *Disk) ProtoReflect() protoreflect.Message
- func (x *Disk) Reset()
- func (x *Disk) String() string
- type DiskInfo
- func (*DiskInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DiskInfo) GetEncryptAlg() string
- func (x *DiskInfo) GetEncryptFormat() string
- func (x *DiskInfo) GetEncryptPassword() string
- func (x *DiskInfo) GetPath() string
- func (*DiskInfo) ProtoMessage()
- func (x *DiskInfo) ProtoReflect() protoreflect.Message
- func (x *DiskInfo) Reset()
- func (x *DiskInfo) String() string
- type Empty
- type EsxiDiskInfo
- type EsxiDisksConnectionInfo
- func (*EsxiDisksConnectionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *EsxiDisksConnectionInfo) GetDisks() []*EsxiDiskInfo
- func (*EsxiDisksConnectionInfo) ProtoMessage()
- func (x *EsxiDisksConnectionInfo) ProtoReflect() protoreflect.Message
- func (x *EsxiDisksConnectionInfo) Reset()
- func (x *EsxiDisksConnectionInfo) String() string
- type FormatFsParams
- func (*FormatFsParams) Descriptor() ([]byte, []int)deprecated
- func (x *FormatFsParams) GetDiskInfo() *DiskInfo
- func (x *FormatFsParams) GetFsFormat() string
- func (x *FormatFsParams) GetUuid() string
- func (*FormatFsParams) ProtoMessage()
- func (x *FormatFsParams) ProtoReflect() protoreflect.Message
- func (x *FormatFsParams) Reset()
- func (x *FormatFsParams) String() string
- type GuestDesc
- func (*GuestDesc) Descriptor() ([]byte, []int)deprecated
- func (x *GuestDesc) GetDisks() []*Disk
- func (x *GuestDesc) GetDomain() string
- func (x *GuestDesc) GetHostname() string
- func (x *GuestDesc) GetHypervisor() string
- func (x *GuestDesc) GetName() string
- func (x *GuestDesc) GetNics() []*Nic
- func (x *GuestDesc) GetNicsStandby() []*Nic
- func (x *GuestDesc) GetUuid() string
- func (*GuestDesc) ProtoMessage()
- func (x *GuestDesc) ProtoReflect() protoreflect.Message
- func (x *GuestDesc) Reset()
- func (x *GuestDesc) String() string
- type ImageInfo
- func (*ImageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ImageInfo) GetIsInstalledCloudInit() bool
- func (x *ImageInfo) GetIsLvmPartition() bool
- func (x *ImageInfo) GetIsReadonly() bool
- func (x *ImageInfo) GetIsUefiSupport() bool
- func (x *ImageInfo) GetOsInfo() *ReleaseInfo
- func (x *ImageInfo) GetOsType() string
- func (x *ImageInfo) GetPhysicalPartitionType() string
- func (*ImageInfo) ProtoMessage()
- func (x *ImageInfo) ProtoReflect() protoreflect.Message
- func (x *ImageInfo) Reset()
- func (x *ImageInfo) String() string
- type Nic
- func (*Nic) Descriptor() ([]byte, []int)deprecated
- func (x *Nic) GetBridge() string
- func (x *Nic) GetBw() int32
- func (x *Nic) GetDns() string
- func (x *Nic) GetDomain() string
- func (x *Nic) GetDriver() string
- func (x *Nic) GetExternelId() string
- func (x *Nic) GetGateway() string
- func (x *Nic) GetGateway6() string
- func (x *Nic) GetIfname() string
- func (x *Nic) GetIndex() int32
- func (x *Nic) GetInterface() string
- func (x *Nic) GetIp() string
- func (x *Nic) GetIp6() string
- func (x *Nic) GetIsDefault() bool
- func (x *Nic) GetLinkUp() bool
- func (x *Nic) GetMac() string
- func (x *Nic) GetManual() bool
- func (x *Nic) GetMasklen() int32
- func (x *Nic) GetMasklen6() int32
- func (x *Nic) GetMtu() int64
- func (x *Nic) GetName() string
- func (x *Nic) GetNet() string
- func (x *Nic) GetNetId() string
- func (x *Nic) GetNicType() string
- func (x *Nic) GetRoutes() string
- func (x *Nic) GetTeamWith() string
- func (x *Nic) GetVirtual() bool
- func (x *Nic) GetVirtualIps() []string
- func (x *Nic) GetVlan() int32
- func (x *Nic) GetWireId() string
- func (*Nic) ProtoMessage()
- func (x *Nic) ProtoReflect() protoreflect.Message
- func (x *Nic) Reset()
- func (x *Nic) String() string
- type ProbeImageInfoPramas
- func (*ProbeImageInfoPramas) Descriptor() ([]byte, []int)deprecated
- func (x *ProbeImageInfoPramas) GetDiskInfo() *DiskInfo
- func (*ProbeImageInfoPramas) ProtoMessage()
- func (x *ProbeImageInfoPramas) ProtoReflect() protoreflect.Message
- func (x *ProbeImageInfoPramas) Reset()
- func (x *ProbeImageInfoPramas) String() string
- type ReleaseInfo
- func (*ReleaseInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseInfo) GetArch() string
- func (x *ReleaseInfo) GetDistro() string
- func (x *ReleaseInfo) GetLanguage() string
- func (x *ReleaseInfo) GetVersion() string
- func (*ReleaseInfo) ProtoMessage()
- func (x *ReleaseInfo) ProtoReflect() protoreflect.Message
- func (x *ReleaseInfo) Reset()
- func (x *ReleaseInfo) String() string
- type ResizeFsParams
- func (*ResizeFsParams) Descriptor() ([]byte, []int)deprecated
- func (x *ResizeFsParams) GetDiskInfo() *DiskInfo
- func (x *ResizeFsParams) GetHypervisor() string
- func (x *ResizeFsParams) GetVddkInfo() *VDDKConInfo
- func (*ResizeFsParams) ProtoMessage()
- func (x *ResizeFsParams) ProtoReflect() protoreflect.Message
- func (x *ResizeFsParams) Reset()
- func (x *ResizeFsParams) String() string
- type SSHKeys
- func (*SSHKeys) Descriptor() ([]byte, []int)deprecated
- func (x *SSHKeys) GetAdminPublicKey() string
- func (x *SSHKeys) GetDeletePublicKey() string
- func (x *SSHKeys) GetProjectPublicKey() string
- func (x *SSHKeys) GetPublicKey() string
- func (*SSHKeys) ProtoMessage()
- func (x *SSHKeys) ProtoReflect() protoreflect.Message
- func (x *SSHKeys) Reset()
- func (x *SSHKeys) String() string
- type SaveToGlanceParams
- func (*SaveToGlanceParams) Descriptor() ([]byte, []int)deprecated
- func (x *SaveToGlanceParams) GetCompress() bool
- func (x *SaveToGlanceParams) GetDiskInfo() *DiskInfo
- func (*SaveToGlanceParams) ProtoMessage()
- func (x *SaveToGlanceParams) ProtoReflect() protoreflect.Message
- func (x *SaveToGlanceParams) Reset()
- func (x *SaveToGlanceParams) String() string
- type SaveToGlanceResponse
- func (*SaveToGlanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SaveToGlanceResponse) GetOsInfo() string
- func (x *SaveToGlanceResponse) GetReleaseInfo() *ReleaseInfo
- func (*SaveToGlanceResponse) ProtoMessage()
- func (x *SaveToGlanceResponse) ProtoReflect() protoreflect.Message
- func (x *SaveToGlanceResponse) Reset()
- func (x *SaveToGlanceResponse) String() string
- type Telegraf
- type UnimplementedDeployAgentServer
- func (UnimplementedDeployAgentServer) ConnectEsxiDisks(context.Context, *ConnectEsxiDisksParams) (*EsxiDisksConnectionInfo, error)
- func (UnimplementedDeployAgentServer) DeployGuestFs(context.Context, *DeployParams) (*DeployGuestFsResponse, error)
- func (UnimplementedDeployAgentServer) DisconnectEsxiDisks(context.Context, *EsxiDisksConnectionInfo) (*Empty, error)
- func (UnimplementedDeployAgentServer) FormatFs(context.Context, *FormatFsParams) (*Empty, error)
- func (UnimplementedDeployAgentServer) ProbeImageInfo(context.Context, *ProbeImageInfoPramas) (*ImageInfo, error)
- func (UnimplementedDeployAgentServer) ResizeFs(context.Context, *ResizeFsParams) (*Empty, error)
- func (UnimplementedDeployAgentServer) SaveToGlance(context.Context, *SaveToGlanceParams) (*SaveToGlanceResponse, error)
- type UnsafeDeployAgentServer
- type VDDKConInfo
- func (*VDDKConInfo) Descriptor() ([]byte, []int)deprecated
- func (x *VDDKConInfo) GetHost() string
- func (x *VDDKConInfo) GetPasswd() string
- func (x *VDDKConInfo) GetPort() int32
- func (x *VDDKConInfo) GetUser() string
- func (x *VDDKConInfo) GetVmref() string
- func (*VDDKConInfo) ProtoMessage()
- func (x *VDDKConInfo) ProtoReflect() protoreflect.Message
- func (x *VDDKConInfo) Reset()
- func (x *VDDKConInfo) String() string
Constants ¶
This section is empty.
Variables ¶
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", }
DeployAgent_ServiceDesc is the grpc.ServiceDesc for DeployAgent service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_deploy_proto protoreflect.FileDescriptor
Functions ¶
func ConvertRoutes ¶
func GuestNicsToServerNics ¶
func GuestNicsToServerNics(nics []*desc.SGuestNetwork) []*types.SServerNic
func RegisterDeployAgentServer ¶
func RegisterDeployAgentServer(s grpc.ServiceRegistrar, srv DeployAgentServer)
Types ¶
type ConnectEsxiDisksParams ¶
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"` // contains filtered or unexported fields }
func (*ConnectEsxiDisksParams) Descriptor
deprecated
func (*ConnectEsxiDisksParams) Descriptor() ([]byte, []int)
Deprecated: Use ConnectEsxiDisksParams.ProtoReflect.Descriptor instead.
func (*ConnectEsxiDisksParams) GetAccessInfo ¶
func (x *ConnectEsxiDisksParams) GetAccessInfo() []*EsxiDiskInfo
func (*ConnectEsxiDisksParams) GetVddkInfo ¶
func (x *ConnectEsxiDisksParams) GetVddkInfo() *VDDKConInfo
func (*ConnectEsxiDisksParams) ProtoMessage ¶
func (*ConnectEsxiDisksParams) ProtoMessage()
func (*ConnectEsxiDisksParams) ProtoReflect ¶
func (x *ConnectEsxiDisksParams) ProtoReflect() protoreflect.Message
func (*ConnectEsxiDisksParams) Reset ¶
func (x *ConnectEsxiDisksParams) Reset()
func (*ConnectEsxiDisksParams) String ¶
func (x *ConnectEsxiDisksParams) String() string
type DeployAgentClient ¶
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) }
DeployAgentClient is the client API for DeployAgent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDeployAgentClient ¶
func NewDeployAgentClient(cc grpc.ClientConnInterface) DeployAgentClient
type DeployAgentServer ¶
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) // contains filtered or unexported methods }
DeployAgentServer is the server API for DeployAgent service. All implementations must embed UnimplementedDeployAgentServer for forward compatibility
type DeployContent ¶
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"` // contains filtered or unexported fields }
func (*DeployContent) Descriptor
deprecated
func (*DeployContent) Descriptor() ([]byte, []int)
Deprecated: Use DeployContent.ProtoReflect.Descriptor instead.
func (*DeployContent) GetAction ¶
func (x *DeployContent) GetAction() string
func (*DeployContent) GetContent ¶
func (x *DeployContent) GetContent() string
func (*DeployContent) GetPath ¶
func (x *DeployContent) GetPath() string
func (*DeployContent) ProtoMessage ¶
func (*DeployContent) ProtoMessage()
func (*DeployContent) ProtoReflect ¶
func (x *DeployContent) ProtoReflect() protoreflect.Message
func (*DeployContent) Reset ¶
func (x *DeployContent) Reset()
func (*DeployContent) String ¶
func (x *DeployContent) String() string
type DeployGuestFsResponse ¶
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"` TelegrafDeployed bool `protobuf:"varint,8,opt,name=telegraf_deployed,json=telegrafDeployed,proto3" json:"telegraf_deployed,omitempty"` // contains filtered or unexported fields }
func (*DeployGuestFsResponse) Descriptor
deprecated
func (*DeployGuestFsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeployGuestFsResponse.ProtoReflect.Descriptor instead.
func (*DeployGuestFsResponse) GetAccount ¶
func (x *DeployGuestFsResponse) GetAccount() string
func (*DeployGuestFsResponse) GetArch ¶
func (x *DeployGuestFsResponse) GetArch() string
func (*DeployGuestFsResponse) GetDistro ¶
func (x *DeployGuestFsResponse) GetDistro() string
func (*DeployGuestFsResponse) GetKey ¶
func (x *DeployGuestFsResponse) GetKey() string
func (*DeployGuestFsResponse) GetLanguage ¶
func (x *DeployGuestFsResponse) GetLanguage() string
func (*DeployGuestFsResponse) GetOs ¶
func (x *DeployGuestFsResponse) GetOs() string
func (*DeployGuestFsResponse) GetTelegrafDeployed ¶
func (x *DeployGuestFsResponse) GetTelegrafDeployed() bool
func (*DeployGuestFsResponse) GetVersion ¶
func (x *DeployGuestFsResponse) GetVersion() string
func (*DeployGuestFsResponse) ProtoMessage ¶
func (*DeployGuestFsResponse) ProtoMessage()
func (*DeployGuestFsResponse) ProtoReflect ¶
func (x *DeployGuestFsResponse) ProtoReflect() protoreflect.Message
func (*DeployGuestFsResponse) Reset ¶
func (x *DeployGuestFsResponse) Reset()
func (*DeployGuestFsResponse) String ¶
func (x *DeployGuestFsResponse) String() string
type DeployInfo ¶
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 `` /* 135-byte string literal not displayed */ EnableCloudInit bool `protobuf:"varint,8,opt,name=enable_cloud_init,json=enableCloudInit,proto3" json:"enable_cloud_init,omitempty"` LoginAccount string `protobuf:"bytes,9,opt,name=login_account,json=loginAccount,proto3" json:"login_account,omitempty"` Telegraf *Telegraf `protobuf:"bytes,10,opt,name=telegraf,proto3" json:"telegraf,omitempty"` UserData string `protobuf:"bytes,11,opt,name=user_data,json=userData,proto3" json:"user_data,omitempty"` // contains filtered or unexported fields }
func NewDeployInfo ¶
func (*DeployInfo) Descriptor
deprecated
func (*DeployInfo) Descriptor() ([]byte, []int)
Deprecated: Use DeployInfo.ProtoReflect.Descriptor instead.
func (*DeployInfo) GetDefaultRootUser ¶
func (x *DeployInfo) GetDefaultRootUser() bool
func (*DeployInfo) GetDeploys ¶
func (x *DeployInfo) GetDeploys() []*DeployContent
func (*DeployInfo) GetEnableCloudInit ¶
func (x *DeployInfo) GetEnableCloudInit() bool
func (*DeployInfo) GetEnableTty ¶
func (x *DeployInfo) GetEnableTty() bool
func (*DeployInfo) GetIsInit ¶
func (x *DeployInfo) GetIsInit() bool
func (*DeployInfo) GetLoginAccount ¶
func (x *DeployInfo) GetLoginAccount() string
func (*DeployInfo) GetPassword ¶
func (x *DeployInfo) GetPassword() string
func (*DeployInfo) GetPublicKey ¶
func (x *DeployInfo) GetPublicKey() *SSHKeys
func (*DeployInfo) GetTelegraf ¶
func (x *DeployInfo) GetTelegraf() *Telegraf
func (*DeployInfo) GetUserData ¶
func (x *DeployInfo) GetUserData() string
func (*DeployInfo) GetWindowsDefaultAdminUser ¶
func (x *DeployInfo) GetWindowsDefaultAdminUser() bool
func (*DeployInfo) ProtoMessage ¶
func (*DeployInfo) ProtoMessage()
func (*DeployInfo) ProtoReflect ¶
func (x *DeployInfo) ProtoReflect() protoreflect.Message
func (*DeployInfo) Reset ¶
func (x *DeployInfo) Reset()
func (*DeployInfo) String ¶
func (x *DeployInfo) String() string
type DeployParams ¶
type DeployParams struct { DiskInfo *DiskInfo `protobuf:"bytes,1,opt,name=disk_info,json=diskInfo,proto3" json:"disk_info,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"` // contains filtered or unexported fields }
func (*DeployParams) Descriptor
deprecated
func (*DeployParams) Descriptor() ([]byte, []int)
Deprecated: Use DeployParams.ProtoReflect.Descriptor instead.
func (*DeployParams) GetDeployInfo ¶
func (x *DeployParams) GetDeployInfo() *DeployInfo
func (*DeployParams) GetDiskInfo ¶
func (x *DeployParams) GetDiskInfo() *DiskInfo
func (*DeployParams) GetGuestDesc ¶
func (x *DeployParams) GetGuestDesc() *GuestDesc
func (*DeployParams) GetVddkInfo ¶
func (x *DeployParams) GetVddkInfo() *VDDKConInfo
func (*DeployParams) ProtoMessage ¶
func (*DeployParams) ProtoMessage()
func (*DeployParams) ProtoReflect ¶
func (x *DeployParams) ProtoReflect() protoreflect.Message
func (*DeployParams) Reset ¶
func (x *DeployParams) Reset()
func (*DeployParams) String ¶
func (x *DeployParams) String() string
type Disk ¶
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"` // contains filtered or unexported fields }
func GuestdisksDescToDeployDesc ¶
func GuestdisksDescToDeployDesc(guestDisks []*desc.SGuestDisk) []*Disk
func (*Disk) Descriptor
deprecated
func (*Disk) GetAioMode ¶
func (*Disk) GetCacheMode ¶
func (*Disk) GetImagePath ¶
func (*Disk) GetMergeSnapshot ¶
func (*Disk) GetMigrating ¶
func (*Disk) GetMountpoint ¶
func (*Disk) GetStorageId ¶
func (*Disk) GetTargetStorageId ¶
func (*Disk) GetTemplateId ¶
func (*Disk) ProtoMessage ¶
func (*Disk) ProtoMessage()
func (*Disk) ProtoReflect ¶
func (x *Disk) ProtoReflect() protoreflect.Message
type DiskInfo ¶
type DiskInfo struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` EncryptPassword string `protobuf:"bytes,2,opt,name=encrypt_password,json=encryptPassword,proto3" json:"encrypt_password,omitempty"` EncryptFormat string `protobuf:"bytes,3,opt,name=encrypt_format,json=encryptFormat,proto3" json:"encrypt_format,omitempty"` EncryptAlg string `protobuf:"bytes,4,opt,name=encrypt_alg,json=encryptAlg,proto3" json:"encrypt_alg,omitempty"` // contains filtered or unexported fields }
func (*DiskInfo) Descriptor
deprecated
func (*DiskInfo) GetEncryptAlg ¶
func (*DiskInfo) GetEncryptFormat ¶
func (*DiskInfo) GetEncryptPassword ¶
func (*DiskInfo) ProtoMessage ¶
func (*DiskInfo) ProtoMessage()
func (*DiskInfo) ProtoReflect ¶
func (x *DiskInfo) ProtoReflect() protoreflect.Message
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type EsxiDiskInfo ¶
type EsxiDiskInfo struct { DiskPath string `protobuf:"bytes,1,opt,name=disk_path,json=diskPath,proto3" json:"disk_path,omitempty"` // contains filtered or unexported fields }
func (*EsxiDiskInfo) Descriptor
deprecated
func (*EsxiDiskInfo) Descriptor() ([]byte, []int)
Deprecated: Use EsxiDiskInfo.ProtoReflect.Descriptor instead.
func (*EsxiDiskInfo) GetDiskPath ¶
func (x *EsxiDiskInfo) GetDiskPath() string
func (*EsxiDiskInfo) ProtoMessage ¶
func (*EsxiDiskInfo) ProtoMessage()
func (*EsxiDiskInfo) ProtoReflect ¶
func (x *EsxiDiskInfo) ProtoReflect() protoreflect.Message
func (*EsxiDiskInfo) Reset ¶
func (x *EsxiDiskInfo) Reset()
func (*EsxiDiskInfo) String ¶
func (x *EsxiDiskInfo) String() string
type EsxiDisksConnectionInfo ¶
type EsxiDisksConnectionInfo struct { Disks []*EsxiDiskInfo `protobuf:"bytes,1,rep,name=disks,proto3" json:"disks,omitempty"` // contains filtered or unexported fields }
func (*EsxiDisksConnectionInfo) Descriptor
deprecated
func (*EsxiDisksConnectionInfo) Descriptor() ([]byte, []int)
Deprecated: Use EsxiDisksConnectionInfo.ProtoReflect.Descriptor instead.
func (*EsxiDisksConnectionInfo) GetDisks ¶
func (x *EsxiDisksConnectionInfo) GetDisks() []*EsxiDiskInfo
func (*EsxiDisksConnectionInfo) ProtoMessage ¶
func (*EsxiDisksConnectionInfo) ProtoMessage()
func (*EsxiDisksConnectionInfo) ProtoReflect ¶
func (x *EsxiDisksConnectionInfo) ProtoReflect() protoreflect.Message
func (*EsxiDisksConnectionInfo) Reset ¶
func (x *EsxiDisksConnectionInfo) Reset()
func (*EsxiDisksConnectionInfo) String ¶
func (x *EsxiDisksConnectionInfo) String() string
type FormatFsParams ¶
type FormatFsParams struct { DiskInfo *DiskInfo `protobuf:"bytes,1,opt,name=disk_info,json=diskInfo,proto3" json:"disk_info,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"` // contains filtered or unexported fields }
func (*FormatFsParams) Descriptor
deprecated
func (*FormatFsParams) Descriptor() ([]byte, []int)
Deprecated: Use FormatFsParams.ProtoReflect.Descriptor instead.
func (*FormatFsParams) GetDiskInfo ¶
func (x *FormatFsParams) GetDiskInfo() *DiskInfo
func (*FormatFsParams) GetFsFormat ¶
func (x *FormatFsParams) GetFsFormat() string
func (*FormatFsParams) GetUuid ¶
func (x *FormatFsParams) GetUuid() string
func (*FormatFsParams) ProtoMessage ¶
func (*FormatFsParams) ProtoMessage()
func (*FormatFsParams) ProtoReflect ¶
func (x *FormatFsParams) ProtoReflect() protoreflect.Message
func (*FormatFsParams) Reset ¶
func (x *FormatFsParams) Reset()
func (*FormatFsParams) String ¶
func (x *FormatFsParams) String() string
type GuestDesc ¶
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"` Hostname string `protobuf:"bytes,8,opt,name=hostname,proto3" json:"hostname,omitempty"` // contains filtered or unexported fields }
func GuestStructDescToDeployDesc ¶
func GuestStructDescToDeployDesc(guestDesc *desc.SGuestDesc) *GuestDesc
func (*GuestDesc) Descriptor
deprecated
func (*GuestDesc) GetHostname ¶
func (*GuestDesc) GetHypervisor ¶
func (*GuestDesc) GetNicsStandby ¶
func (*GuestDesc) ProtoMessage ¶
func (*GuestDesc) ProtoMessage()
func (*GuestDesc) ProtoReflect ¶
func (x *GuestDesc) ProtoReflect() protoreflect.Message
type ImageInfo ¶
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 `` /* 126-byte string literal not displayed */ IsInstalledCloudInit bool `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ImageInfo) Descriptor
deprecated
func (*ImageInfo) GetIsInstalledCloudInit ¶
func (*ImageInfo) GetIsLvmPartition ¶
func (*ImageInfo) GetIsReadonly ¶
func (*ImageInfo) GetIsUefiSupport ¶
func (*ImageInfo) GetOsInfo ¶
func (x *ImageInfo) GetOsInfo() *ReleaseInfo
func (*ImageInfo) GetPhysicalPartitionType ¶
func (*ImageInfo) ProtoMessage ¶
func (*ImageInfo) ProtoMessage()
func (*ImageInfo) ProtoReflect ¶
func (x *ImageInfo) ProtoReflect() protoreflect.Message
type Nic ¶
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"` IsDefault bool `protobuf:"varint,27,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` Ip6 string `protobuf:"bytes,28,opt,name=ip6,proto3" json:"ip6,omitempty"` Masklen6 int32 `protobuf:"varint,29,opt,name=masklen6,proto3" json:"masklen6,omitempty"` Gateway6 string `protobuf:"bytes,30,opt,name=gateway6,proto3" json:"gateway6,omitempty"` // contains filtered or unexported fields }
func GuestnetworksDescToDeployDesc ¶
func GuestnetworksDescToDeployDesc(guestnetworks []*desc.SGuestNetwork) []*Nic
func (*Nic) Descriptor
deprecated
func (*Nic) GetExternelId ¶
func (*Nic) GetGateway ¶
func (*Nic) GetGateway6 ¶
func (*Nic) GetInterface ¶
func (*Nic) GetIsDefault ¶
func (*Nic) GetMasklen ¶
func (*Nic) GetMasklen6 ¶
func (*Nic) GetNicType ¶
func (*Nic) GetTeamWith ¶
func (*Nic) GetVirtual ¶
func (*Nic) GetVirtualIps ¶
func (*Nic) ProtoMessage ¶
func (*Nic) ProtoMessage()
func (*Nic) ProtoReflect ¶
func (x *Nic) ProtoReflect() protoreflect.Message
type ProbeImageInfoPramas ¶
type ProbeImageInfoPramas struct { DiskInfo *DiskInfo `protobuf:"bytes,1,opt,name=disk_info,json=diskInfo,proto3" json:"disk_info,omitempty"` // contains filtered or unexported fields }
func (*ProbeImageInfoPramas) Descriptor
deprecated
func (*ProbeImageInfoPramas) Descriptor() ([]byte, []int)
Deprecated: Use ProbeImageInfoPramas.ProtoReflect.Descriptor instead.
func (*ProbeImageInfoPramas) GetDiskInfo ¶
func (x *ProbeImageInfoPramas) GetDiskInfo() *DiskInfo
func (*ProbeImageInfoPramas) ProtoMessage ¶
func (*ProbeImageInfoPramas) ProtoMessage()
func (*ProbeImageInfoPramas) ProtoReflect ¶
func (x *ProbeImageInfoPramas) ProtoReflect() protoreflect.Message
func (*ProbeImageInfoPramas) Reset ¶
func (x *ProbeImageInfoPramas) Reset()
func (*ProbeImageInfoPramas) String ¶
func (x *ProbeImageInfoPramas) String() string
type ReleaseInfo ¶
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"` // contains filtered or unexported fields }
func NewReleaseInfo ¶
func NewReleaseInfo(distro, version, arch string) *ReleaseInfo
func (*ReleaseInfo) Descriptor
deprecated
func (*ReleaseInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseInfo.ProtoReflect.Descriptor instead.
func (*ReleaseInfo) GetArch ¶
func (x *ReleaseInfo) GetArch() string
func (*ReleaseInfo) GetDistro ¶
func (x *ReleaseInfo) GetDistro() string
func (*ReleaseInfo) GetLanguage ¶
func (x *ReleaseInfo) GetLanguage() string
func (*ReleaseInfo) GetVersion ¶
func (x *ReleaseInfo) GetVersion() string
func (*ReleaseInfo) ProtoMessage ¶
func (*ReleaseInfo) ProtoMessage()
func (*ReleaseInfo) ProtoReflect ¶
func (x *ReleaseInfo) ProtoReflect() protoreflect.Message
func (*ReleaseInfo) Reset ¶
func (x *ReleaseInfo) Reset()
func (*ReleaseInfo) String ¶
func (x *ReleaseInfo) String() string
type ResizeFsParams ¶
type ResizeFsParams struct { DiskInfo *DiskInfo `protobuf:"bytes,1,opt,name=disk_info,json=diskInfo,proto3" json:"disk_info,omitempty"` Hypervisor string `protobuf:"bytes,2,opt,name=hypervisor,proto3" json:"hypervisor,omitempty"` VddkInfo *VDDKConInfo `protobuf:"bytes,3,opt,name=vddk_info,json=vddkInfo,proto3" json:"vddk_info,omitempty"` // contains filtered or unexported fields }
func (*ResizeFsParams) Descriptor
deprecated
func (*ResizeFsParams) Descriptor() ([]byte, []int)
Deprecated: Use ResizeFsParams.ProtoReflect.Descriptor instead.
func (*ResizeFsParams) GetDiskInfo ¶
func (x *ResizeFsParams) GetDiskInfo() *DiskInfo
func (*ResizeFsParams) GetHypervisor ¶
func (x *ResizeFsParams) GetHypervisor() string
func (*ResizeFsParams) GetVddkInfo ¶
func (x *ResizeFsParams) GetVddkInfo() *VDDKConInfo
func (*ResizeFsParams) ProtoMessage ¶
func (*ResizeFsParams) ProtoMessage()
func (*ResizeFsParams) ProtoReflect ¶
func (x *ResizeFsParams) ProtoReflect() protoreflect.Message
func (*ResizeFsParams) Reset ¶
func (x *ResizeFsParams) Reset()
func (*ResizeFsParams) String ¶
func (x *ResizeFsParams) String() string
type SSHKeys ¶
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"` // contains filtered or unexported fields }
func GetKeys ¶
func GetKeys(data jsonutils.JSONObject) *SSHKeys
func (*SSHKeys) Descriptor
deprecated
func (*SSHKeys) GetAdminPublicKey ¶
func (*SSHKeys) GetDeletePublicKey ¶
func (*SSHKeys) GetProjectPublicKey ¶
func (*SSHKeys) GetPublicKey ¶
func (*SSHKeys) ProtoMessage ¶
func (*SSHKeys) ProtoMessage()
func (*SSHKeys) ProtoReflect ¶
func (x *SSHKeys) ProtoReflect() protoreflect.Message
type SaveToGlanceParams ¶
type SaveToGlanceParams struct { DiskInfo *DiskInfo `protobuf:"bytes,1,opt,name=disk_info,json=diskInfo,proto3" json:"disk_info,omitempty"` Compress bool `protobuf:"varint,2,opt,name=compress,proto3" json:"compress,omitempty"` // contains filtered or unexported fields }
func (*SaveToGlanceParams) Descriptor
deprecated
func (*SaveToGlanceParams) Descriptor() ([]byte, []int)
Deprecated: Use SaveToGlanceParams.ProtoReflect.Descriptor instead.
func (*SaveToGlanceParams) GetCompress ¶
func (x *SaveToGlanceParams) GetCompress() bool
func (*SaveToGlanceParams) GetDiskInfo ¶
func (x *SaveToGlanceParams) GetDiskInfo() *DiskInfo
func (*SaveToGlanceParams) ProtoMessage ¶
func (*SaveToGlanceParams) ProtoMessage()
func (*SaveToGlanceParams) ProtoReflect ¶
func (x *SaveToGlanceParams) ProtoReflect() protoreflect.Message
func (*SaveToGlanceParams) Reset ¶
func (x *SaveToGlanceParams) Reset()
func (*SaveToGlanceParams) String ¶
func (x *SaveToGlanceParams) String() string
type SaveToGlanceResponse ¶
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"` // contains filtered or unexported fields }
func (*SaveToGlanceResponse) Descriptor
deprecated
func (*SaveToGlanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use SaveToGlanceResponse.ProtoReflect.Descriptor instead.
func (*SaveToGlanceResponse) GetOsInfo ¶
func (x *SaveToGlanceResponse) GetOsInfo() string
func (*SaveToGlanceResponse) GetReleaseInfo ¶
func (x *SaveToGlanceResponse) GetReleaseInfo() *ReleaseInfo
func (*SaveToGlanceResponse) ProtoMessage ¶
func (*SaveToGlanceResponse) ProtoMessage()
func (*SaveToGlanceResponse) ProtoReflect ¶
func (x *SaveToGlanceResponse) ProtoReflect() protoreflect.Message
func (*SaveToGlanceResponse) Reset ¶
func (x *SaveToGlanceResponse) Reset()
func (*SaveToGlanceResponse) String ¶
func (x *SaveToGlanceResponse) String() string
type Telegraf ¶
type Telegraf struct { TelegrafConf string `protobuf:"bytes,1,opt,name=telegraf_conf,json=telegrafConf,proto3" json:"telegraf_conf,omitempty"` // contains filtered or unexported fields }
func (*Telegraf) Descriptor
deprecated
func (*Telegraf) GetTelegrafConf ¶
func (*Telegraf) ProtoMessage ¶
func (*Telegraf) ProtoMessage()
func (*Telegraf) ProtoReflect ¶
func (x *Telegraf) ProtoReflect() protoreflect.Message
type UnimplementedDeployAgentServer ¶
type UnimplementedDeployAgentServer struct { }
UnimplementedDeployAgentServer must be embedded to have forward compatible implementations.
func (UnimplementedDeployAgentServer) ConnectEsxiDisks ¶
func (UnimplementedDeployAgentServer) ConnectEsxiDisks(context.Context, *ConnectEsxiDisksParams) (*EsxiDisksConnectionInfo, error)
func (UnimplementedDeployAgentServer) DeployGuestFs ¶
func (UnimplementedDeployAgentServer) DeployGuestFs(context.Context, *DeployParams) (*DeployGuestFsResponse, error)
func (UnimplementedDeployAgentServer) DisconnectEsxiDisks ¶
func (UnimplementedDeployAgentServer) DisconnectEsxiDisks(context.Context, *EsxiDisksConnectionInfo) (*Empty, error)
func (UnimplementedDeployAgentServer) FormatFs ¶
func (UnimplementedDeployAgentServer) FormatFs(context.Context, *FormatFsParams) (*Empty, error)
func (UnimplementedDeployAgentServer) ProbeImageInfo ¶
func (UnimplementedDeployAgentServer) ProbeImageInfo(context.Context, *ProbeImageInfoPramas) (*ImageInfo, error)
func (UnimplementedDeployAgentServer) ResizeFs ¶
func (UnimplementedDeployAgentServer) ResizeFs(context.Context, *ResizeFsParams) (*Empty, error)
func (UnimplementedDeployAgentServer) SaveToGlance ¶
func (UnimplementedDeployAgentServer) SaveToGlance(context.Context, *SaveToGlanceParams) (*SaveToGlanceResponse, error)
type UnsafeDeployAgentServer ¶
type UnsafeDeployAgentServer interface {
// contains filtered or unexported methods
}
UnsafeDeployAgentServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeployAgentServer will result in compilation errors.
type VDDKConInfo ¶
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"` // contains filtered or unexported fields }
func (*VDDKConInfo) Descriptor
deprecated
func (*VDDKConInfo) Descriptor() ([]byte, []int)
Deprecated: Use VDDKConInfo.ProtoReflect.Descriptor instead.
func (*VDDKConInfo) GetHost ¶
func (x *VDDKConInfo) GetHost() string
func (*VDDKConInfo) GetPasswd ¶
func (x *VDDKConInfo) GetPasswd() string
func (*VDDKConInfo) GetPort ¶
func (x *VDDKConInfo) GetPort() int32
func (*VDDKConInfo) GetUser ¶
func (x *VDDKConInfo) GetUser() string
func (*VDDKConInfo) GetVmref ¶
func (x *VDDKConInfo) GetVmref() string
func (*VDDKConInfo) ProtoMessage ¶
func (*VDDKConInfo) ProtoMessage()
func (*VDDKConInfo) ProtoReflect ¶
func (x *VDDKConInfo) ProtoReflect() protoreflect.Message
func (*VDDKConInfo) Reset ¶
func (x *VDDKConInfo) Reset()
func (*VDDKConInfo) String ¶
func (x *VDDKConInfo) String() string