Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterVersionServer

func RegisterVersionServer(s *grpc.Server, srv VersionServer)

Types

type VersionClient

type VersionClient interface {
	Version(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*VersionResponse, error)
}

    VersionClient is the client API for Version service.

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

    func NewVersionClient

    func NewVersionClient(cc *grpc.ClientConn) VersionClient

    type VersionResponse

    type VersionResponse struct {
    	Version              string   `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
    	Revision             string   `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
    	ContainerdVersion    string   `protobuf:"bytes,3,opt,name=containerd_version,json=containerdVersion,proto3" json:"containerd_version,omitempty"`
    	ContainerdRevision   string   `protobuf:"bytes,4,opt,name=containerd_revision,json=containerdRevision,proto3" json:"containerd_revision,omitempty"`
    	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    	XXX_unrecognized     []byte   `json:"-"`
    	XXX_sizecache        int32    `json:"-"`
    }

    func (*VersionResponse) Descriptor

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

    func (*VersionResponse) GetContainerdRevision

    func (m *VersionResponse) GetContainerdRevision() string

    func (*VersionResponse) GetContainerdVersion

    func (m *VersionResponse) GetContainerdVersion() string

    func (*VersionResponse) GetRevision

    func (m *VersionResponse) GetRevision() string

    func (*VersionResponse) GetVersion

    func (m *VersionResponse) GetVersion() string

    func (*VersionResponse) ProtoMessage

    func (*VersionResponse) ProtoMessage()

    func (*VersionResponse) Reset

    func (m *VersionResponse) Reset()

    func (*VersionResponse) String

    func (m *VersionResponse) String() string

    func (*VersionResponse) XXX_DiscardUnknown

    func (m *VersionResponse) XXX_DiscardUnknown()

    func (*VersionResponse) XXX_Marshal

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

    func (*VersionResponse) XXX_Merge

    func (dst *VersionResponse) XXX_Merge(src proto.Message)

    func (*VersionResponse) XXX_Size

    func (m *VersionResponse) XXX_Size() int

    func (*VersionResponse) XXX_Unmarshal

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

    type VersionServer

    type VersionServer interface {
    	Version(context.Context, *types.Empty) (*VersionResponse, error)
    }

      VersionServer is the server API for Version service.