protocol

package
v0.0.0-...-7445724 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2019 License: MIT Imports: 5 Imported by: 0

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

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) Descriptor() ([]byte, []int)

func (*Files) GetPath

func (m *Files) GetPath() string

func (*Files) ProtoMessage

func (*Files) ProtoMessage()

func (*Files) Reset

func (m *Files) Reset()

func (*Files) String

func (m *Files) String() string

type Status

type Status struct {
	Status string `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
}

func (*Status) Descriptor

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

func (*Status) GetStatus

func (m *Status) GetStatus() string

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) String

func (m *Status) String() string

type Volume

type Volume struct {
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}

func (*Volume) Descriptor

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

func (*Volume) GetName

func (m *Volume) GetName() string

func (*Volume) ProtoMessage

func (*Volume) ProtoMessage()

func (*Volume) Reset

func (m *Volume) Reset()

func (*Volume) String

func (m *Volume) String() string

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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