proto

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2020 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRunSnapCommandServer

func RegisterRunSnapCommandServer(s *grpc.Server, srv RunSnapCommandServer)

Types

type RunSnapCommandClient

type RunSnapCommandClient interface {
	RunVolumeSnapCreateCommand(ctx context.Context, in *VolumeSnapCreateRequest, opts ...grpc.CallOption) (*VolumeSnapCreateResponse, error)
	RunVolumeSnapDeleteCommand(ctx context.Context, in *VolumeSnapDeleteRequest, opts ...grpc.CallOption) (*VolumeSnapDeleteResponse, error)
}

RunSnapCommandClient is the client API for RunSnapCommand service.

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

func NewRunSnapCommandClient

func NewRunSnapCommandClient(cc *grpc.ClientConn) RunSnapCommandClient

type RunSnapCommandServer

type RunSnapCommandServer interface {
	RunVolumeSnapCreateCommand(context.Context, *VolumeSnapCreateRequest) (*VolumeSnapCreateResponse, error)
	RunVolumeSnapDeleteCommand(context.Context, *VolumeSnapDeleteRequest) (*VolumeSnapDeleteResponse, error)
}

RunSnapCommandServer is the server API for RunSnapCommand service.

type VolumeSnapCreateRequest

type VolumeSnapCreateRequest struct {
	Version              int32    `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Volume               string   `protobuf:"bytes,2,opt,name=volume,proto3" json:"volume,omitempty"`
	Snapname             string   `protobuf:"bytes,3,opt,name=snapname,proto3" json:"snapname,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VolumeSnapCreateRequest) Descriptor

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

func (*VolumeSnapCreateRequest) GetSnapname

func (m *VolumeSnapCreateRequest) GetSnapname() string

func (*VolumeSnapCreateRequest) GetVersion

func (m *VolumeSnapCreateRequest) GetVersion() int32

func (*VolumeSnapCreateRequest) GetVolume

func (m *VolumeSnapCreateRequest) GetVolume() string

func (*VolumeSnapCreateRequest) ProtoMessage

func (*VolumeSnapCreateRequest) ProtoMessage()

func (*VolumeSnapCreateRequest) Reset

func (m *VolumeSnapCreateRequest) Reset()

func (*VolumeSnapCreateRequest) String

func (m *VolumeSnapCreateRequest) String() string

func (*VolumeSnapCreateRequest) XXX_DiscardUnknown

func (m *VolumeSnapCreateRequest) XXX_DiscardUnknown()

func (*VolumeSnapCreateRequest) XXX_Marshal

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

func (*VolumeSnapCreateRequest) XXX_Merge

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

func (*VolumeSnapCreateRequest) XXX_Size

func (m *VolumeSnapCreateRequest) XXX_Size() int

func (*VolumeSnapCreateRequest) XXX_Unmarshal

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

type VolumeSnapCreateResponse

type VolumeSnapCreateResponse struct {
	Version              int32    `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Status               []byte   `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VolumeSnapCreateResponse) Descriptor

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

func (*VolumeSnapCreateResponse) GetStatus

func (m *VolumeSnapCreateResponse) GetStatus() []byte

func (*VolumeSnapCreateResponse) GetVersion

func (m *VolumeSnapCreateResponse) GetVersion() int32

func (*VolumeSnapCreateResponse) ProtoMessage

func (*VolumeSnapCreateResponse) ProtoMessage()

func (*VolumeSnapCreateResponse) Reset

func (m *VolumeSnapCreateResponse) Reset()

func (*VolumeSnapCreateResponse) String

func (m *VolumeSnapCreateResponse) String() string

func (*VolumeSnapCreateResponse) XXX_DiscardUnknown

func (m *VolumeSnapCreateResponse) XXX_DiscardUnknown()

func (*VolumeSnapCreateResponse) XXX_Marshal

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

func (*VolumeSnapCreateResponse) XXX_Merge

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

func (*VolumeSnapCreateResponse) XXX_Size

func (m *VolumeSnapCreateResponse) XXX_Size() int

func (*VolumeSnapCreateResponse) XXX_Unmarshal

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

type VolumeSnapDeleteRequest

type VolumeSnapDeleteRequest struct {
	Version              int32    `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Volume               string   `protobuf:"bytes,2,opt,name=volume,proto3" json:"volume,omitempty"`
	Snapname             string   `protobuf:"bytes,3,opt,name=snapname,proto3" json:"snapname,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VolumeSnapDeleteRequest) Descriptor

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

func (*VolumeSnapDeleteRequest) GetSnapname

func (m *VolumeSnapDeleteRequest) GetSnapname() string

func (*VolumeSnapDeleteRequest) GetVersion

func (m *VolumeSnapDeleteRequest) GetVersion() int32

func (*VolumeSnapDeleteRequest) GetVolume

func (m *VolumeSnapDeleteRequest) GetVolume() string

func (*VolumeSnapDeleteRequest) ProtoMessage

func (*VolumeSnapDeleteRequest) ProtoMessage()

func (*VolumeSnapDeleteRequest) Reset

func (m *VolumeSnapDeleteRequest) Reset()

func (*VolumeSnapDeleteRequest) String

func (m *VolumeSnapDeleteRequest) String() string

func (*VolumeSnapDeleteRequest) XXX_DiscardUnknown

func (m *VolumeSnapDeleteRequest) XXX_DiscardUnknown()

func (*VolumeSnapDeleteRequest) XXX_Marshal

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

func (*VolumeSnapDeleteRequest) XXX_Merge

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

func (*VolumeSnapDeleteRequest) XXX_Size

func (m *VolumeSnapDeleteRequest) XXX_Size() int

func (*VolumeSnapDeleteRequest) XXX_Unmarshal

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

type VolumeSnapDeleteResponse

type VolumeSnapDeleteResponse struct {
	Version              int32    `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Status               []byte   `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VolumeSnapDeleteResponse) Descriptor

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

func (*VolumeSnapDeleteResponse) GetStatus

func (m *VolumeSnapDeleteResponse) GetStatus() []byte

func (*VolumeSnapDeleteResponse) GetVersion

func (m *VolumeSnapDeleteResponse) GetVersion() int32

func (*VolumeSnapDeleteResponse) ProtoMessage

func (*VolumeSnapDeleteResponse) ProtoMessage()

func (*VolumeSnapDeleteResponse) Reset

func (m *VolumeSnapDeleteResponse) Reset()

func (*VolumeSnapDeleteResponse) String

func (m *VolumeSnapDeleteResponse) String() string

func (*VolumeSnapDeleteResponse) XXX_DiscardUnknown

func (m *VolumeSnapDeleteResponse) XXX_DiscardUnknown()

func (*VolumeSnapDeleteResponse) XXX_Marshal

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

func (*VolumeSnapDeleteResponse) XXX_Merge

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

func (*VolumeSnapDeleteResponse) XXX_Size

func (m *VolumeSnapDeleteResponse) XXX_Size() int

func (*VolumeSnapDeleteResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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