pachyderm: Index | Files

package versionpb

import ""


Package Files



var (
    ErrInvalidLengthVersion        = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowVersion          = fmt.Errorf("proto: integer overflow")
    ErrUnexpectedEndOfGroupVersion = fmt.Errorf("proto: unexpected end of group")

func RegisterAPIServer Uses

func RegisterAPIServer(s *grpc.Server, srv APIServer)

type APIClient Uses

type APIClient interface {
    GetVersion(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*Version, error)

APIClient is the client API for API service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to

func NewAPIClient Uses

func NewAPIClient(cc *grpc.ClientConn) APIClient

type APIServer Uses

type APIServer interface {
    GetVersion(context.Context, *types.Empty) (*Version, error)

APIServer is the server API for API service.

type UnimplementedAPIServer Uses

type UnimplementedAPIServer struct {

UnimplementedAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedAPIServer) GetVersion Uses

func (*UnimplementedAPIServer) GetVersion(ctx context.Context, req *types.Empty) (*Version, error)

type Version Uses

type Version struct {
    Major                uint32   `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"`
    Minor                uint32   `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"`
    Micro                uint32   `protobuf:"varint,3,opt,name=micro,proto3" json:"micro,omitempty"`
    Additional           string   `protobuf:"bytes,4,opt,name=additional,proto3" json:"additional,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`

func (*Version) Descriptor Uses

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

func (*Version) GetAdditional Uses

func (m *Version) GetAdditional() string

func (*Version) GetMajor Uses

func (m *Version) GetMajor() uint32

func (*Version) GetMicro Uses

func (m *Version) GetMicro() uint32

func (*Version) GetMinor Uses

func (m *Version) GetMinor() uint32

func (*Version) Marshal Uses

func (m *Version) Marshal() (dAtA []byte, err error)

func (*Version) MarshalTo Uses

func (m *Version) MarshalTo(dAtA []byte) (int, error)

func (*Version) MarshalToSizedBuffer Uses

func (m *Version) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Version) ProtoMessage Uses

func (*Version) ProtoMessage()

func (*Version) Reset Uses

func (m *Version) Reset()

func (*Version) Size Uses

func (m *Version) Size() (n int)

func (*Version) String Uses

func (m *Version) String() string

func (*Version) Unmarshal Uses

func (m *Version) Unmarshal(dAtA []byte) error

func (*Version) XXX_DiscardUnknown Uses

func (m *Version) XXX_DiscardUnknown()

func (*Version) XXX_Marshal Uses

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

func (*Version) XXX_Merge Uses

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

func (*Version) XXX_Size Uses

func (m *Version) XXX_Size() int

func (*Version) XXX_Unmarshal Uses

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

Package versionpb imports 10 packages (graph) and is imported by 13 packages. Updated 2019-11-01. Refresh now. Tools for package owners.