storage

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContainerType_name = map[int32]string{
	0: "UNKNOWN",
	1: "SAN",
	2: "CSV",
	3: "SMB",
	4: "DAS",
}
View Source
var ContainerType_value = map[string]int32{
	"UNKNOWN": 0,
	"SAN":     1,
	"CSV":     2,
	"SMB":     3,
	"DAS":     4,
}
View Source
var VirtualHardDiskType_name = map[int32]string{
	0: "OS_VIRTUALHARDDISK",
	1: "DATADISK_VIRTUALHARDDISK",
}
View Source
var VirtualHardDiskType_value = map[string]int32{
	"OS_VIRTUALHARDDISK":       0,
	"DATADISK_VIRTUALHARDDISK": 1,
}

Functions

func RegisterContainerAgentServer

func RegisterContainerAgentServer(s *grpc.Server, srv ContainerAgentServer)

func RegisterSharedFolderAgentServer added in v0.10.25

func RegisterSharedFolderAgentServer(s *grpc.Server, srv SharedFolderAgentServer)

func RegisterVirtualHardDiskAgentServer

func RegisterVirtualHardDiskAgentServer(s *grpc.Server, srv VirtualHardDiskAgentServer)

Types

type AzureGalleryImageProperties added in v0.10.20

type AzureGalleryImageProperties struct {
	SasURI               string   `protobuf:"bytes,1,opt,name=sasURI,proto3" json:"sasURI,omitempty"`
	Version              string   `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AzureGalleryImageProperties) Descriptor added in v0.10.20

func (*AzureGalleryImageProperties) Descriptor() ([]byte, []int)

func (*AzureGalleryImageProperties) GetSasURI added in v0.10.20

func (m *AzureGalleryImageProperties) GetSasURI() string

func (*AzureGalleryImageProperties) GetVersion added in v0.10.20

func (m *AzureGalleryImageProperties) GetVersion() string

func (*AzureGalleryImageProperties) ProtoMessage added in v0.10.20

func (*AzureGalleryImageProperties) ProtoMessage()

func (*AzureGalleryImageProperties) Reset added in v0.10.20

func (m *AzureGalleryImageProperties) Reset()

func (*AzureGalleryImageProperties) String added in v0.10.20

func (m *AzureGalleryImageProperties) String() string

func (*AzureGalleryImageProperties) XXX_DiscardUnknown added in v0.10.20

func (m *AzureGalleryImageProperties) XXX_DiscardUnknown()

func (*AzureGalleryImageProperties) XXX_Marshal added in v0.10.20

func (m *AzureGalleryImageProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AzureGalleryImageProperties) XXX_Merge added in v0.10.20

func (m *AzureGalleryImageProperties) XXX_Merge(src proto.Message)

func (*AzureGalleryImageProperties) XXX_Size added in v0.10.20

func (m *AzureGalleryImageProperties) XXX_Size() int

func (*AzureGalleryImageProperties) XXX_Unmarshal added in v0.10.20

func (m *AzureGalleryImageProperties) XXX_Unmarshal(b []byte) error

type CloneImageProperties added in v0.10.12

type CloneImageProperties struct {
	CloneSource          string   `protobuf:"bytes,1,opt,name=cloneSource,proto3" json:"cloneSource,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CloneImageProperties) Descriptor added in v0.10.12

func (*CloneImageProperties) Descriptor() ([]byte, []int)

func (*CloneImageProperties) GetCloneSource added in v0.10.12

func (m *CloneImageProperties) GetCloneSource() string

func (*CloneImageProperties) ProtoMessage added in v0.10.12

func (*CloneImageProperties) ProtoMessage()

func (*CloneImageProperties) Reset added in v0.10.12

func (m *CloneImageProperties) Reset()

func (*CloneImageProperties) String added in v0.10.12

func (m *CloneImageProperties) String() string

func (*CloneImageProperties) XXX_DiscardUnknown added in v0.10.12

func (m *CloneImageProperties) XXX_DiscardUnknown()

func (*CloneImageProperties) XXX_Marshal added in v0.10.12

func (m *CloneImageProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloneImageProperties) XXX_Merge added in v0.10.12

func (m *CloneImageProperties) XXX_Merge(src proto.Message)

func (*CloneImageProperties) XXX_Size added in v0.10.12

func (m *CloneImageProperties) XXX_Size() int

func (*CloneImageProperties) XXX_Unmarshal added in v0.10.12

func (m *CloneImageProperties) XXX_Unmarshal(b []byte) error

type Container

type Container struct {
	Name                 string                       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Id                   string                       `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Path                 string                       `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	Status               *common.Status               `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	Entity               *common.Entity               `protobuf:"bytes,6,opt,name=entity,proto3" json:"entity,omitempty"`
	Tags                 *common.Tags                 `protobuf:"bytes,7,opt,name=tags,proto3" json:"tags,omitempty"`
	Info                 *common.StorageContainerInfo `protobuf:"bytes,8,opt,name=info,proto3" json:"info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (*Container) Descriptor

func (*Container) Descriptor() ([]byte, []int)

func (*Container) GetEntity

func (m *Container) GetEntity() *common.Entity

func (*Container) GetId

func (m *Container) GetId() string

func (*Container) GetInfo added in v0.10.9

func (m *Container) GetInfo() *common.StorageContainerInfo

func (*Container) GetName

func (m *Container) GetName() string

func (*Container) GetPath

func (m *Container) GetPath() string

func (*Container) GetStatus

func (m *Container) GetStatus() *common.Status

func (*Container) GetTags added in v0.10.5

func (m *Container) GetTags() *common.Tags

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) Reset

func (m *Container) Reset()

func (*Container) String

func (m *Container) String() string

func (*Container) XXX_DiscardUnknown

func (m *Container) XXX_DiscardUnknown()

func (*Container) XXX_Marshal

func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Container) XXX_Merge

func (m *Container) XXX_Merge(src proto.Message)

func (*Container) XXX_Size

func (m *Container) XXX_Size() int

func (*Container) XXX_Unmarshal

func (m *Container) XXX_Unmarshal(b []byte) error

type ContainerAgentClient

type ContainerAgentClient interface {
	Invoke(ctx context.Context, in *ContainerRequest, opts ...grpc.CallOption) (*ContainerResponse, error)
	CheckNotification(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.NotificationResponse, error)
}

ContainerAgentClient is the client API for ContainerAgent service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewContainerAgentClient

func NewContainerAgentClient(cc *grpc.ClientConn) ContainerAgentClient

type ContainerAgentServer

type ContainerAgentServer interface {
	Invoke(context.Context, *ContainerRequest) (*ContainerResponse, error)
	CheckNotification(context.Context, *empty.Empty) (*common.NotificationResponse, error)
}

ContainerAgentServer is the server API for ContainerAgent service.

type ContainerRequest

type ContainerRequest struct {
	Containers           []*Container     `protobuf:"bytes,1,rep,name=Containers,proto3" json:"Containers,omitempty"`
	OperationType        common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ContainerRequest) Descriptor

func (*ContainerRequest) Descriptor() ([]byte, []int)

func (*ContainerRequest) GetContainers

func (m *ContainerRequest) GetContainers() []*Container

func (*ContainerRequest) GetOperationType

func (m *ContainerRequest) GetOperationType() common.Operation

func (*ContainerRequest) ProtoMessage

func (*ContainerRequest) ProtoMessage()

func (*ContainerRequest) Reset

func (m *ContainerRequest) Reset()

func (*ContainerRequest) String

func (m *ContainerRequest) String() string

func (*ContainerRequest) XXX_DiscardUnknown

func (m *ContainerRequest) XXX_DiscardUnknown()

func (*ContainerRequest) XXX_Marshal

func (m *ContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerRequest) XXX_Merge

func (m *ContainerRequest) XXX_Merge(src proto.Message)

func (*ContainerRequest) XXX_Size

func (m *ContainerRequest) XXX_Size() int

func (*ContainerRequest) XXX_Unmarshal

func (m *ContainerRequest) XXX_Unmarshal(b []byte) error

type ContainerResponse

type ContainerResponse struct {
	Containers           []*Container        `protobuf:"bytes,1,rep,name=Containers,proto3" json:"Containers,omitempty"`
	Result               *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"`
	Error                string              `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*ContainerResponse) Descriptor

func (*ContainerResponse) Descriptor() ([]byte, []int)

func (*ContainerResponse) GetContainers

func (m *ContainerResponse) GetContainers() []*Container

func (*ContainerResponse) GetError

func (m *ContainerResponse) GetError() string

func (*ContainerResponse) GetResult

func (m *ContainerResponse) GetResult() *wrappers.BoolValue

func (*ContainerResponse) ProtoMessage

func (*ContainerResponse) ProtoMessage()

func (*ContainerResponse) Reset

func (m *ContainerResponse) Reset()

func (*ContainerResponse) String

func (m *ContainerResponse) String() string

func (*ContainerResponse) XXX_DiscardUnknown

func (m *ContainerResponse) XXX_DiscardUnknown()

func (*ContainerResponse) XXX_Marshal

func (m *ContainerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerResponse) XXX_Merge

func (m *ContainerResponse) XXX_Merge(src proto.Message)

func (*ContainerResponse) XXX_Size

func (m *ContainerResponse) XXX_Size() int

func (*ContainerResponse) XXX_Unmarshal

func (m *ContainerResponse) XXX_Unmarshal(b []byte) error

type ContainerType

type ContainerType int32
const (
	ContainerType_UNKNOWN ContainerType = 0
	ContainerType_SAN     ContainerType = 1
	ContainerType_CSV     ContainerType = 2
	ContainerType_SMB     ContainerType = 3
	ContainerType_DAS     ContainerType = 4
)

func (ContainerType) EnumDescriptor

func (ContainerType) EnumDescriptor() ([]byte, []int)

func (ContainerType) String

func (x ContainerType) String() string

type HttpImageProperties added in v0.10.12

type HttpImageProperties struct {
	HttpURL              string   `protobuf:"bytes,1,opt,name=httpURL,proto3" json:"httpURL,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HttpImageProperties) Descriptor added in v0.10.12

func (*HttpImageProperties) Descriptor() ([]byte, []int)

func (*HttpImageProperties) GetHttpURL added in v0.10.12

func (m *HttpImageProperties) GetHttpURL() string

func (*HttpImageProperties) ProtoMessage added in v0.10.12

func (*HttpImageProperties) ProtoMessage()

func (*HttpImageProperties) Reset added in v0.10.12

func (m *HttpImageProperties) Reset()

func (*HttpImageProperties) String added in v0.10.12

func (m *HttpImageProperties) String() string

func (*HttpImageProperties) XXX_DiscardUnknown added in v0.10.12

func (m *HttpImageProperties) XXX_DiscardUnknown()

func (*HttpImageProperties) XXX_Marshal added in v0.10.12

func (m *HttpImageProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HttpImageProperties) XXX_Merge added in v0.10.12

func (m *HttpImageProperties) XXX_Merge(src proto.Message)

func (*HttpImageProperties) XXX_Size added in v0.10.12

func (m *HttpImageProperties) XXX_Size() int

func (*HttpImageProperties) XXX_Unmarshal added in v0.10.12

func (m *HttpImageProperties) XXX_Unmarshal(b []byte) error

type LocalImageProperties added in v0.10.12

type LocalImageProperties struct {
	Path                 string   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LocalImageProperties) Descriptor added in v0.10.12

func (*LocalImageProperties) Descriptor() ([]byte, []int)

func (*LocalImageProperties) GetPath added in v0.10.12

func (m *LocalImageProperties) GetPath() string

func (*LocalImageProperties) ProtoMessage added in v0.10.12

func (*LocalImageProperties) ProtoMessage()

func (*LocalImageProperties) Reset added in v0.10.12

func (m *LocalImageProperties) Reset()

func (*LocalImageProperties) String added in v0.10.12

func (m *LocalImageProperties) String() string

func (*LocalImageProperties) XXX_DiscardUnknown added in v0.10.12

func (m *LocalImageProperties) XXX_DiscardUnknown()

func (*LocalImageProperties) XXX_Marshal added in v0.10.12

func (m *LocalImageProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LocalImageProperties) XXX_Merge added in v0.10.12

func (m *LocalImageProperties) XXX_Merge(src proto.Message)

func (*LocalImageProperties) XXX_Size added in v0.10.12

func (m *LocalImageProperties) XXX_Size() int

func (*LocalImageProperties) XXX_Unmarshal added in v0.10.12

func (m *LocalImageProperties) XXX_Unmarshal(b []byte) error

type SFSImageProperties added in v0.10.12

type SFSImageProperties struct {
	CatalogName          string   `protobuf:"bytes,1,opt,name=catalogName,proto3" json:"catalogName,omitempty"`
	Audience             string   `protobuf:"bytes,2,opt,name=audience,proto3" json:"audience,omitempty"`
	Version              string   `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	ReleaseName          string   `protobuf:"bytes,4,opt,name=releaseName,proto3" json:"releaseName,omitempty"`
	Parts                uint32   `protobuf:"varint,5,opt,name=parts,proto3" json:"parts,omitempty"`
	DestinationDir       string   `protobuf:"bytes,6,opt,name=destinationDir,proto3" json:"destinationDir,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SFSImageProperties) Descriptor added in v0.10.12

func (*SFSImageProperties) Descriptor() ([]byte, []int)

func (*SFSImageProperties) GetAudience added in v0.10.12

func (m *SFSImageProperties) GetAudience() string

func (*SFSImageProperties) GetCatalogName added in v0.10.12

func (m *SFSImageProperties) GetCatalogName() string

func (*SFSImageProperties) GetDestinationDir added in v0.10.12

func (m *SFSImageProperties) GetDestinationDir() string

func (*SFSImageProperties) GetParts added in v0.10.12

func (m *SFSImageProperties) GetParts() uint32

func (*SFSImageProperties) GetReleaseName added in v0.10.12

func (m *SFSImageProperties) GetReleaseName() string

func (*SFSImageProperties) GetVersion added in v0.10.12

func (m *SFSImageProperties) GetVersion() string

func (*SFSImageProperties) ProtoMessage added in v0.10.12

func (*SFSImageProperties) ProtoMessage()

func (*SFSImageProperties) Reset added in v0.10.12

func (m *SFSImageProperties) Reset()

func (*SFSImageProperties) String added in v0.10.12

func (m *SFSImageProperties) String() string

func (*SFSImageProperties) XXX_DiscardUnknown added in v0.10.12

func (m *SFSImageProperties) XXX_DiscardUnknown()

func (*SFSImageProperties) XXX_Marshal added in v0.10.12

func (m *SFSImageProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SFSImageProperties) XXX_Merge added in v0.10.12

func (m *SFSImageProperties) XXX_Merge(src proto.Message)

func (*SFSImageProperties) XXX_Size added in v0.10.12

func (m *SFSImageProperties) XXX_Size() int

func (*SFSImageProperties) XXX_Unmarshal added in v0.10.12

func (m *SFSImageProperties) XXX_Unmarshal(b []byte) error

type SharedFolder added in v0.10.25

type SharedFolder struct {
	Name                 string         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Id                   string         `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	ContainerName        string         `protobuf:"bytes,3,opt,name=containerName,proto3" json:"containerName,omitempty"`
	FolderName           string         `protobuf:"bytes,4,opt,name=folderName,proto3" json:"folderName,omitempty"`
	ReadOnly             bool           `protobuf:"varint,5,opt,name=readOnly,proto3" json:"readOnly,omitempty"`
	Path                 string         `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"`
	VirtualmachineName   string         `protobuf:"bytes,7,opt,name=virtualmachineName,proto3" json:"virtualmachineName,omitempty"`
	GuestMountPath       string         `protobuf:"bytes,8,opt,name=guestMountPath,proto3" json:"guestMountPath,omitempty"`
	MountTag             string         `protobuf:"bytes,9,opt,name=mountTag,proto3" json:"mountTag,omitempty"`
	Status               *common.Status `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"`
	Entity               *common.Entity `protobuf:"bytes,11,opt,name=entity,proto3" json:"entity,omitempty"`
	Tags                 *common.Tags   `protobuf:"bytes,12,opt,name=tags,proto3" json:"tags,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*SharedFolder) Descriptor added in v0.10.25

func (*SharedFolder) Descriptor() ([]byte, []int)

func (*SharedFolder) GetContainerName added in v0.10.25

func (m *SharedFolder) GetContainerName() string

func (*SharedFolder) GetEntity added in v0.10.25

func (m *SharedFolder) GetEntity() *common.Entity

func (*SharedFolder) GetFolderName added in v0.10.25

func (m *SharedFolder) GetFolderName() string

func (*SharedFolder) GetGuestMountPath added in v0.10.25

func (m *SharedFolder) GetGuestMountPath() string

func (*SharedFolder) GetId added in v0.10.25

func (m *SharedFolder) GetId() string

func (*SharedFolder) GetMountTag added in v0.10.25

func (m *SharedFolder) GetMountTag() string

func (*SharedFolder) GetName added in v0.10.25

func (m *SharedFolder) GetName() string

func (*SharedFolder) GetPath added in v0.10.25

func (m *SharedFolder) GetPath() string

func (*SharedFolder) GetReadOnly added in v0.10.25

func (m *SharedFolder) GetReadOnly() bool

func (*SharedFolder) GetStatus added in v0.10.25

func (m *SharedFolder) GetStatus() *common.Status

func (*SharedFolder) GetTags added in v0.10.25

func (m *SharedFolder) GetTags() *common.Tags

func (*SharedFolder) GetVirtualmachineName added in v0.10.25

func (m *SharedFolder) GetVirtualmachineName() string

func (*SharedFolder) ProtoMessage added in v0.10.25

func (*SharedFolder) ProtoMessage()

func (*SharedFolder) Reset added in v0.10.25

func (m *SharedFolder) Reset()

func (*SharedFolder) String added in v0.10.25

func (m *SharedFolder) String() string

func (*SharedFolder) XXX_DiscardUnknown added in v0.10.25

func (m *SharedFolder) XXX_DiscardUnknown()

func (*SharedFolder) XXX_Marshal added in v0.10.25

func (m *SharedFolder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SharedFolder) XXX_Merge added in v0.10.25

func (m *SharedFolder) XXX_Merge(src proto.Message)

func (*SharedFolder) XXX_Size added in v0.10.25

func (m *SharedFolder) XXX_Size() int

func (*SharedFolder) XXX_Unmarshal added in v0.10.25

func (m *SharedFolder) XXX_Unmarshal(b []byte) error

type SharedFolderAgentClient added in v0.10.25

type SharedFolderAgentClient interface {
	Invoke(ctx context.Context, in *SharedFolderRequest, opts ...grpc.CallOption) (*SharedFolderResponse, error)
	CheckNotification(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.NotificationResponse, error)
}

SharedFolderAgentClient is the client API for SharedFolderAgent service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewSharedFolderAgentClient added in v0.10.25

func NewSharedFolderAgentClient(cc *grpc.ClientConn) SharedFolderAgentClient

type SharedFolderAgentServer added in v0.10.25

type SharedFolderAgentServer interface {
	Invoke(context.Context, *SharedFolderRequest) (*SharedFolderResponse, error)
	CheckNotification(context.Context, *empty.Empty) (*common.NotificationResponse, error)
}

SharedFolderAgentServer is the server API for SharedFolderAgent service.

type SharedFolderRequest added in v0.10.25

type SharedFolderRequest struct {
	SharedFolderSystems  []*SharedFolder  `protobuf:"bytes,1,rep,name=SharedFolderSystems,proto3" json:"SharedFolderSystems,omitempty"`
	OperationType        common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*SharedFolderRequest) Descriptor added in v0.10.25

func (*SharedFolderRequest) Descriptor() ([]byte, []int)

func (*SharedFolderRequest) GetOperationType added in v0.10.25

func (m *SharedFolderRequest) GetOperationType() common.Operation

func (*SharedFolderRequest) GetSharedFolderSystems added in v0.10.25

func (m *SharedFolderRequest) GetSharedFolderSystems() []*SharedFolder

func (*SharedFolderRequest) ProtoMessage added in v0.10.25

func (*SharedFolderRequest) ProtoMessage()

func (*SharedFolderRequest) Reset added in v0.10.25

func (m *SharedFolderRequest) Reset()

func (*SharedFolderRequest) String added in v0.10.25

func (m *SharedFolderRequest) String() string

func (*SharedFolderRequest) XXX_DiscardUnknown added in v0.10.25

func (m *SharedFolderRequest) XXX_DiscardUnknown()

func (*SharedFolderRequest) XXX_Marshal added in v0.10.25

func (m *SharedFolderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SharedFolderRequest) XXX_Merge added in v0.10.25

func (m *SharedFolderRequest) XXX_Merge(src proto.Message)

func (*SharedFolderRequest) XXX_Size added in v0.10.25

func (m *SharedFolderRequest) XXX_Size() int

func (*SharedFolderRequest) XXX_Unmarshal added in v0.10.25

func (m *SharedFolderRequest) XXX_Unmarshal(b []byte) error

type SharedFolderResponse added in v0.10.25

type SharedFolderResponse struct {
	SharedFolderSystems  []*SharedFolder     `protobuf:"bytes,1,rep,name=SharedFolderSystems,proto3" json:"SharedFolderSystems,omitempty"`
	Result               *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"`
	Error                string              `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*SharedFolderResponse) Descriptor added in v0.10.25

func (*SharedFolderResponse) Descriptor() ([]byte, []int)

func (*SharedFolderResponse) GetError added in v0.10.25

func (m *SharedFolderResponse) GetError() string

func (*SharedFolderResponse) GetResult added in v0.10.25

func (m *SharedFolderResponse) GetResult() *wrappers.BoolValue

func (*SharedFolderResponse) GetSharedFolderSystems added in v0.10.25

func (m *SharedFolderResponse) GetSharedFolderSystems() []*SharedFolder

func (*SharedFolderResponse) ProtoMessage added in v0.10.25

func (*SharedFolderResponse) ProtoMessage()

func (*SharedFolderResponse) Reset added in v0.10.25

func (m *SharedFolderResponse) Reset()

func (*SharedFolderResponse) String added in v0.10.25

func (m *SharedFolderResponse) String() string

func (*SharedFolderResponse) XXX_DiscardUnknown added in v0.10.25

func (m *SharedFolderResponse) XXX_DiscardUnknown()

func (*SharedFolderResponse) XXX_Marshal added in v0.10.25

func (m *SharedFolderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SharedFolderResponse) XXX_Merge added in v0.10.25

func (m *SharedFolderResponse) XXX_Merge(src proto.Message)

func (*SharedFolderResponse) XXX_Size added in v0.10.25

func (m *SharedFolderResponse) XXX_Size() int

func (*SharedFolderResponse) XXX_Unmarshal added in v0.10.25

func (m *SharedFolderResponse) XXX_Unmarshal(b []byte) error

type UnimplementedContainerAgentServer

type UnimplementedContainerAgentServer struct {
}

UnimplementedContainerAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedContainerAgentServer) CheckNotification

func (*UnimplementedContainerAgentServer) Invoke

type UnimplementedSharedFolderAgentServer added in v0.10.25

type UnimplementedSharedFolderAgentServer struct {
}

UnimplementedSharedFolderAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedSharedFolderAgentServer) CheckNotification added in v0.10.25

func (*UnimplementedSharedFolderAgentServer) Invoke added in v0.10.25

type UnimplementedVirtualHardDiskAgentServer

type UnimplementedVirtualHardDiskAgentServer struct {
}

UnimplementedVirtualHardDiskAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedVirtualHardDiskAgentServer) CheckNotification

func (*UnimplementedVirtualHardDiskAgentServer) Invoke

type VirtualHardDisk

type VirtualHardDisk struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Id     string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	Path   string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	// Storage container name to hold this vhd
	ContainerName        string                     `protobuf:"bytes,5,opt,name=containerName,proto3" json:"containerName,omitempty"`
	Status               *common.Status             `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	Size                 int64                      `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"`
	Dynamic              bool                       `protobuf:"varint,8,opt,name=dynamic,proto3" json:"dynamic,omitempty"`
	Blocksizebytes       int32                      `protobuf:"varint,9,opt,name=blocksizebytes,proto3" json:"blocksizebytes,omitempty"`
	Logicalsectorbytes   int32                      `protobuf:"varint,10,opt,name=logicalsectorbytes,proto3" json:"logicalsectorbytes,omitempty"`
	Physicalsectorbytes  int32                      `protobuf:"varint,11,opt,name=physicalsectorbytes,proto3" json:"physicalsectorbytes,omitempty"`
	Controllernumber     int64                      `protobuf:"varint,12,opt,name=controllernumber,proto3" json:"controllernumber,omitempty"`
	Controllerlocation   int64                      `protobuf:"varint,13,opt,name=controllerlocation,proto3" json:"controllerlocation,omitempty"`
	Disknumber           int64                      `protobuf:"varint,14,opt,name=disknumber,proto3" json:"disknumber,omitempty"`
	VirtualmachineName   string                     `protobuf:"bytes,15,opt,name=virtualmachineName,proto3" json:"virtualmachineName,omitempty"`
	Scsipath             string                     `protobuf:"bytes,16,opt,name=scsipath,proto3" json:"scsipath,omitempty"`
	Virtualharddisktype  VirtualHardDiskType        `` /* 140-byte string literal not displayed */
	Entity               *common.Entity             `protobuf:"bytes,18,opt,name=entity,proto3" json:"entity,omitempty"`
	Tags                 *common.Tags               `protobuf:"bytes,19,opt,name=tags,proto3" json:"tags,omitempty"`
	SourceType           common.ImageSource         `protobuf:"varint,20,opt,name=sourceType,proto3,enum=moc.ImageSource" json:"sourceType,omitempty"`
	HyperVGeneration     common.HyperVGeneration    `protobuf:"varint,21,opt,name=hyperVGeneration,proto3,enum=moc.HyperVGeneration" json:"hyperVGeneration,omitempty"`
	CloudInitDataSource  common.CloudInitDataSource `protobuf:"varint,22,opt,name=cloudInitDataSource,proto3,enum=moc.CloudInitDataSource" json:"cloudInitDataSource,omitempty"`
	DiskFileFormat       common.DiskFileFormat      `protobuf:"varint,23,opt,name=diskFileFormat,proto3,enum=moc.DiskFileFormat" json:"diskFileFormat,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*VirtualHardDisk) Descriptor

func (*VirtualHardDisk) Descriptor() ([]byte, []int)

func (*VirtualHardDisk) GetBlocksizebytes

func (m *VirtualHardDisk) GetBlocksizebytes() int32

func (*VirtualHardDisk) GetCloudInitDataSource added in v0.10.20

func (m *VirtualHardDisk) GetCloudInitDataSource() common.CloudInitDataSource

func (*VirtualHardDisk) GetContainerName

func (m *VirtualHardDisk) GetContainerName() string

func (*VirtualHardDisk) GetControllerlocation

func (m *VirtualHardDisk) GetControllerlocation() int64

func (*VirtualHardDisk) GetControllernumber

func (m *VirtualHardDisk) GetControllernumber() int64

func (*VirtualHardDisk) GetDiskFileFormat added in v0.10.20

func (m *VirtualHardDisk) GetDiskFileFormat() common.DiskFileFormat

func (*VirtualHardDisk) GetDisknumber

func (m *VirtualHardDisk) GetDisknumber() int64

func (*VirtualHardDisk) GetDynamic

func (m *VirtualHardDisk) GetDynamic() bool

func (*VirtualHardDisk) GetEntity

func (m *VirtualHardDisk) GetEntity() *common.Entity

func (*VirtualHardDisk) GetHyperVGeneration added in v0.10.20

func (m *VirtualHardDisk) GetHyperVGeneration() common.HyperVGeneration

func (*VirtualHardDisk) GetId

func (m *VirtualHardDisk) GetId() string

func (*VirtualHardDisk) GetLogicalsectorbytes

func (m *VirtualHardDisk) GetLogicalsectorbytes() int32

func (*VirtualHardDisk) GetName

func (m *VirtualHardDisk) GetName() string

func (*VirtualHardDisk) GetPath

func (m *VirtualHardDisk) GetPath() string

func (*VirtualHardDisk) GetPhysicalsectorbytes

func (m *VirtualHardDisk) GetPhysicalsectorbytes() int32

func (*VirtualHardDisk) GetScsipath

func (m *VirtualHardDisk) GetScsipath() string

func (*VirtualHardDisk) GetSize

func (m *VirtualHardDisk) GetSize() int64

func (*VirtualHardDisk) GetSource

func (m *VirtualHardDisk) GetSource() string

func (*VirtualHardDisk) GetSourceType added in v0.10.12

func (m *VirtualHardDisk) GetSourceType() common.ImageSource

func (*VirtualHardDisk) GetStatus

func (m *VirtualHardDisk) GetStatus() *common.Status

func (*VirtualHardDisk) GetTags added in v0.10.5

func (m *VirtualHardDisk) GetTags() *common.Tags

func (*VirtualHardDisk) GetVirtualharddisktype

func (m *VirtualHardDisk) GetVirtualharddisktype() VirtualHardDiskType

func (*VirtualHardDisk) GetVirtualmachineName

func (m *VirtualHardDisk) GetVirtualmachineName() string

func (*VirtualHardDisk) ProtoMessage

func (*VirtualHardDisk) ProtoMessage()

func (*VirtualHardDisk) Reset

func (m *VirtualHardDisk) Reset()

func (*VirtualHardDisk) String

func (m *VirtualHardDisk) String() string

func (*VirtualHardDisk) XXX_DiscardUnknown

func (m *VirtualHardDisk) XXX_DiscardUnknown()

func (*VirtualHardDisk) XXX_Marshal

func (m *VirtualHardDisk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VirtualHardDisk) XXX_Merge

func (m *VirtualHardDisk) XXX_Merge(src proto.Message)

func (*VirtualHardDisk) XXX_Size

func (m *VirtualHardDisk) XXX_Size() int

func (*VirtualHardDisk) XXX_Unmarshal

func (m *VirtualHardDisk) XXX_Unmarshal(b []byte) error

type VirtualHardDiskAgentClient

type VirtualHardDiskAgentClient interface {
	Invoke(ctx context.Context, in *VirtualHardDiskRequest, opts ...grpc.CallOption) (*VirtualHardDiskResponse, error)
	CheckNotification(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.NotificationResponse, error)
}

VirtualHardDiskAgentClient is the client API for VirtualHardDiskAgent service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewVirtualHardDiskAgentClient

func NewVirtualHardDiskAgentClient(cc *grpc.ClientConn) VirtualHardDiskAgentClient

type VirtualHardDiskAgentServer

type VirtualHardDiskAgentServer interface {
	Invoke(context.Context, *VirtualHardDiskRequest) (*VirtualHardDiskResponse, error)
	CheckNotification(context.Context, *empty.Empty) (*common.NotificationResponse, error)
}

VirtualHardDiskAgentServer is the server API for VirtualHardDiskAgent service.

type VirtualHardDiskRequest

type VirtualHardDiskRequest struct {
	VirtualHardDiskSystems []*VirtualHardDisk `protobuf:"bytes,1,rep,name=VirtualHardDiskSystems,proto3" json:"VirtualHardDiskSystems,omitempty"`
	OperationType          common.Operation   `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"`
	XXX_NoUnkeyedLiteral   struct{}           `json:"-"`
	XXX_unrecognized       []byte             `json:"-"`
	XXX_sizecache          int32              `json:"-"`
}

func (*VirtualHardDiskRequest) Descriptor

func (*VirtualHardDiskRequest) Descriptor() ([]byte, []int)

func (*VirtualHardDiskRequest) GetOperationType

func (m *VirtualHardDiskRequest) GetOperationType() common.Operation

func (*VirtualHardDiskRequest) GetVirtualHardDiskSystems

func (m *VirtualHardDiskRequest) GetVirtualHardDiskSystems() []*VirtualHardDisk

func (*VirtualHardDiskRequest) ProtoMessage

func (*VirtualHardDiskRequest) ProtoMessage()

func (*VirtualHardDiskRequest) Reset

func (m *VirtualHardDiskRequest) Reset()

func (*VirtualHardDiskRequest) String

func (m *VirtualHardDiskRequest) String() string

func (*VirtualHardDiskRequest) XXX_DiscardUnknown

func (m *VirtualHardDiskRequest) XXX_DiscardUnknown()

func (*VirtualHardDiskRequest) XXX_Marshal

func (m *VirtualHardDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VirtualHardDiskRequest) XXX_Merge

func (m *VirtualHardDiskRequest) XXX_Merge(src proto.Message)

func (*VirtualHardDiskRequest) XXX_Size

func (m *VirtualHardDiskRequest) XXX_Size() int

func (*VirtualHardDiskRequest) XXX_Unmarshal

func (m *VirtualHardDiskRequest) XXX_Unmarshal(b []byte) error

type VirtualHardDiskResponse

type VirtualHardDiskResponse struct {
	VirtualHardDiskSystems []*VirtualHardDisk  `protobuf:"bytes,1,rep,name=VirtualHardDiskSystems,proto3" json:"VirtualHardDiskSystems,omitempty"`
	Result                 *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"`
	Error                  string              `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"`
	XXX_NoUnkeyedLiteral   struct{}            `json:"-"`
	XXX_unrecognized       []byte              `json:"-"`
	XXX_sizecache          int32               `json:"-"`
}

func (*VirtualHardDiskResponse) Descriptor

func (*VirtualHardDiskResponse) Descriptor() ([]byte, []int)

func (*VirtualHardDiskResponse) GetError

func (m *VirtualHardDiskResponse) GetError() string

func (*VirtualHardDiskResponse) GetResult

func (m *VirtualHardDiskResponse) GetResult() *wrappers.BoolValue

func (*VirtualHardDiskResponse) GetVirtualHardDiskSystems

func (m *VirtualHardDiskResponse) GetVirtualHardDiskSystems() []*VirtualHardDisk

func (*VirtualHardDiskResponse) ProtoMessage

func (*VirtualHardDiskResponse) ProtoMessage()

func (*VirtualHardDiskResponse) Reset

func (m *VirtualHardDiskResponse) Reset()

func (*VirtualHardDiskResponse) String

func (m *VirtualHardDiskResponse) String() string

func (*VirtualHardDiskResponse) XXX_DiscardUnknown

func (m *VirtualHardDiskResponse) XXX_DiscardUnknown()

func (*VirtualHardDiskResponse) XXX_Marshal

func (m *VirtualHardDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VirtualHardDiskResponse) XXX_Merge

func (m *VirtualHardDiskResponse) XXX_Merge(src proto.Message)

func (*VirtualHardDiskResponse) XXX_Size

func (m *VirtualHardDiskResponse) XXX_Size() int

func (*VirtualHardDiskResponse) XXX_Unmarshal

func (m *VirtualHardDiskResponse) XXX_Unmarshal(b []byte) error

type VirtualHardDiskType

type VirtualHardDiskType int32
const (
	VirtualHardDiskType_OS_VIRTUALHARDDISK       VirtualHardDiskType = 0
	VirtualHardDiskType_DATADISK_VIRTUALHARDDISK VirtualHardDiskType = 1
)

func (VirtualHardDiskType) EnumDescriptor

func (VirtualHardDiskType) EnumDescriptor() ([]byte, []int)

func (VirtualHardDiskType) String

func (x VirtualHardDiskType) String() string

Jump to

Keyboard shortcuts

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