Documentation ¶
Overview ¶
Package protocol is a generated protocol buffer package.
It is generated from these files:
comms.proto
It has these top-level messages:
Volume Status DockerVolume VolumeAndHost Files
Index ¶
- func RegisterCommsProtoServer(s *grpc.Server, srv CommsProtoServer)
- type CommsProtoClient
- type CommsProtoServer
- type CommsProto_LSVolumeClient
- type CommsProto_LSVolumeServer
- type CommsProto_VolumeFilesClient
- type CommsProto_VolumeFilesServer
- type DockerVolume
- type Files
- type Status
- type Volume
- type VolumeAndHost
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCommsProtoServer ¶
func RegisterCommsProtoServer(s *grpc.Server, srv CommsProtoServer)
Types ¶
type CommsProtoClient ¶
type CommsProtoClient interface { RMVolume(ctx context.Context, in *Volume, opts ...grpc.CallOption) (*Status, error) LSVolume(ctx context.Context, in *Volume, opts ...grpc.CallOption) (CommsProto_LSVolumeClient, error) AddVolume(ctx context.Context, in *Volume, opts ...grpc.CallOption) (*Status, error) GetVolume(ctx context.Context, in *VolumeAndHost, opts ...grpc.CallOption) (*Status, error) VolumeFiles(ctx context.Context, in *Volume, opts ...grpc.CallOption) (CommsProto_VolumeFilesClient, error) }
func NewCommsProtoClient ¶
func NewCommsProtoClient(cc *grpc.ClientConn) CommsProtoClient
type CommsProtoServer ¶
type CommsProtoServer interface { RMVolume(context.Context, *Volume) (*Status, error) LSVolume(*Volume, CommsProto_LSVolumeServer) error AddVolume(context.Context, *Volume) (*Status, error) GetVolume(context.Context, *VolumeAndHost) (*Status, error) VolumeFiles(*Volume, CommsProto_VolumeFilesServer) error }
type CommsProto_LSVolumeClient ¶
type CommsProto_LSVolumeClient interface { Recv() (*DockerVolume, error) grpc.ClientStream }
type CommsProto_LSVolumeServer ¶
type CommsProto_LSVolumeServer interface { Send(*DockerVolume) error grpc.ServerStream }
type CommsProto_VolumeFilesClient ¶
type CommsProto_VolumeFilesClient interface { Recv() (*Files, error) grpc.ClientStream }
type CommsProto_VolumeFilesServer ¶
type CommsProto_VolumeFilesServer interface { Send(*Files) error grpc.ServerStream }
type DockerVolume ¶
type DockerVolume struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Size string `protobuf:"bytes,2,opt,name=size" json:"size,omitempty"` Updated string `protobuf:"bytes,3,opt,name=updated" json:"updated,omitempty"` }
func (*DockerVolume) Descriptor ¶
func (*DockerVolume) Descriptor() ([]byte, []int)
func (*DockerVolume) GetName ¶
func (m *DockerVolume) GetName() string
func (*DockerVolume) GetSize ¶
func (m *DockerVolume) GetSize() string
func (*DockerVolume) GetUpdated ¶
func (m *DockerVolume) GetUpdated() string
func (*DockerVolume) ProtoMessage ¶
func (*DockerVolume) ProtoMessage()
func (*DockerVolume) Reset ¶
func (m *DockerVolume) Reset()
func (*DockerVolume) String ¶
func (m *DockerVolume) String() string
type Files ¶
type Files struct {
Path string `protobuf:"bytes,64,opt,name=path" json:"path,omitempty"`
}
func (*Files) Descriptor ¶
func (*Files) ProtoMessage ¶
func (*Files) ProtoMessage()
type Status ¶
type Status struct {
Status string `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
}
func (*Status) Descriptor ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
type Volume ¶
type Volume struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
func (*Volume) Descriptor ¶
func (*Volume) ProtoMessage ¶
func (*Volume) ProtoMessage()
type VolumeAndHost ¶
type VolumeAndHost struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` HostFQDM string `protobuf:"bytes,2,opt,name=hostFQDM" json:"hostFQDM,omitempty"` }
func (*VolumeAndHost) Descriptor ¶
func (*VolumeAndHost) Descriptor() ([]byte, []int)
func (*VolumeAndHost) GetHostFQDM ¶
func (m *VolumeAndHost) GetHostFQDM() string
func (*VolumeAndHost) GetName ¶
func (m *VolumeAndHost) GetName() string
func (*VolumeAndHost) ProtoMessage ¶
func (*VolumeAndHost) ProtoMessage()
func (*VolumeAndHost) Reset ¶
func (m *VolumeAndHost) Reset()
func (*VolumeAndHost) String ¶
func (m *VolumeAndHost) String() string
Click to show internal directories.
Click to hide internal directories.