packageimporterpb

package
Version: v0.0.0-...-c88c75b Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPackageImporterServer

func RegisterPackageImporterServer(s *grpc.Server, srv PackageImporterServer)

Types

type GarbageCollectReply

type GarbageCollectReply struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GarbageCollectReply) Descriptor

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

func (*GarbageCollectReply) ProtoMessage

func (*GarbageCollectReply) ProtoMessage()

func (*GarbageCollectReply) Reset

func (m *GarbageCollectReply) Reset()

func (*GarbageCollectReply) String

func (m *GarbageCollectReply) String() string

func (*GarbageCollectReply) XXX_DiscardUnknown

func (m *GarbageCollectReply) XXX_DiscardUnknown()

func (*GarbageCollectReply) XXX_Marshal

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

func (*GarbageCollectReply) XXX_Merge

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

func (*GarbageCollectReply) XXX_Size

func (m *GarbageCollectReply) XXX_Size() int

func (*GarbageCollectReply) XXX_Unmarshal

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

type GarbageCollectRequest

type GarbageCollectRequest struct {
	SourcePackage        string   `protobuf:"bytes,1,opt,name=source_package,json=sourcePackage,proto3" json:"source_package,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GarbageCollectRequest) Descriptor

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

func (*GarbageCollectRequest) GetSourcePackage

func (m *GarbageCollectRequest) GetSourcePackage() string

func (*GarbageCollectRequest) ProtoMessage

func (*GarbageCollectRequest) ProtoMessage()

func (*GarbageCollectRequest) Reset

func (m *GarbageCollectRequest) Reset()

func (*GarbageCollectRequest) String

func (m *GarbageCollectRequest) String() string

func (*GarbageCollectRequest) XXX_DiscardUnknown

func (m *GarbageCollectRequest) XXX_DiscardUnknown()

func (*GarbageCollectRequest) XXX_Marshal

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

func (*GarbageCollectRequest) XXX_Merge

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

func (*GarbageCollectRequest) XXX_Size

func (m *GarbageCollectRequest) XXX_Size() int

func (*GarbageCollectRequest) XXX_Unmarshal

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

type ImportReply

type ImportReply struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ImportReply) Descriptor

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

func (*ImportReply) ProtoMessage

func (*ImportReply) ProtoMessage()

func (*ImportReply) Reset

func (m *ImportReply) Reset()

func (*ImportReply) String

func (m *ImportReply) String() string

func (*ImportReply) XXX_DiscardUnknown

func (m *ImportReply) XXX_DiscardUnknown()

func (*ImportReply) XXX_Marshal

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

func (*ImportReply) XXX_Merge

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

func (*ImportReply) XXX_Size

func (m *ImportReply) XXX_Size() int

func (*ImportReply) XXX_Unmarshal

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

type ImportRequest

type ImportRequest struct {
	SourcePackage        string   `protobuf:"bytes,1,opt,name=source_package,json=sourcePackage,proto3" json:"source_package,omitempty"`
	Filename             string   `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"`
	Content              []byte   `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ImportRequest) Descriptor

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

func (*ImportRequest) GetContent

func (m *ImportRequest) GetContent() []byte

func (*ImportRequest) GetFilename

func (m *ImportRequest) GetFilename() string

func (*ImportRequest) GetSourcePackage

func (m *ImportRequest) GetSourcePackage() string

func (*ImportRequest) ProtoMessage

func (*ImportRequest) ProtoMessage()

func (*ImportRequest) Reset

func (m *ImportRequest) Reset()

func (*ImportRequest) String

func (m *ImportRequest) String() string

func (*ImportRequest) XXX_DiscardUnknown

func (m *ImportRequest) XXX_DiscardUnknown()

func (*ImportRequest) XXX_Marshal

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

func (*ImportRequest) XXX_Merge

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

func (*ImportRequest) XXX_Size

func (m *ImportRequest) XXX_Size() int

func (*ImportRequest) XXX_Unmarshal

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

type MergeReply

type MergeReply struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MergeReply) Descriptor

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

func (*MergeReply) ProtoMessage

func (*MergeReply) ProtoMessage()

func (*MergeReply) Reset

func (m *MergeReply) Reset()

func (*MergeReply) String

func (m *MergeReply) String() string

func (*MergeReply) XXX_DiscardUnknown

func (m *MergeReply) XXX_DiscardUnknown()

func (*MergeReply) XXX_Marshal

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

func (*MergeReply) XXX_Merge

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

func (*MergeReply) XXX_Size

func (m *MergeReply) XXX_Size() int

func (*MergeReply) XXX_Unmarshal

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

type MergeRequest

type MergeRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MergeRequest) Descriptor

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

func (*MergeRequest) ProtoMessage

func (*MergeRequest) ProtoMessage()

func (*MergeRequest) Reset

func (m *MergeRequest) Reset()

func (*MergeRequest) String

func (m *MergeRequest) String() string

func (*MergeRequest) XXX_DiscardUnknown

func (m *MergeRequest) XXX_DiscardUnknown()

func (*MergeRequest) XXX_Marshal

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

func (*MergeRequest) XXX_Merge

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

func (*MergeRequest) XXX_Size

func (m *MergeRequest) XXX_Size() int

func (*MergeRequest) XXX_Unmarshal

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

type PackageImporterClient

type PackageImporterClient interface {
	// Packages returns a list of Debian source package names which are present on
	// this package importer instance.
	Packages(ctx context.Context, in *PackagesRequest, opts ...grpc.CallOption) (*PackagesReply, error)
	Import(ctx context.Context, opts ...grpc.CallOption) (PackageImporter_ImportClient, error)
	Merge(ctx context.Context, in *MergeRequest, opts ...grpc.CallOption) (*MergeReply, error)
	GarbageCollect(ctx context.Context, in *GarbageCollectRequest, opts ...grpc.CallOption) (*GarbageCollectReply, error)
}

PackageImporterClient is the client API for PackageImporter service.

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

func NewPackageImporterClient

func NewPackageImporterClient(cc *grpc.ClientConn) PackageImporterClient

type PackageImporterServer

type PackageImporterServer interface {
	// Packages returns a list of Debian source package names which are present on
	// this package importer instance.
	Packages(context.Context, *PackagesRequest) (*PackagesReply, error)
	Import(PackageImporter_ImportServer) error
	Merge(context.Context, *MergeRequest) (*MergeReply, error)
	GarbageCollect(context.Context, *GarbageCollectRequest) (*GarbageCollectReply, error)
}

PackageImporterServer is the server API for PackageImporter service.

type PackageImporter_ImportClient

type PackageImporter_ImportClient interface {
	Send(*ImportRequest) error
	CloseAndRecv() (*ImportReply, error)
	grpc.ClientStream
}

type PackageImporter_ImportServer

type PackageImporter_ImportServer interface {
	SendAndClose(*ImportReply) error
	Recv() (*ImportRequest, error)
	grpc.ServerStream
}

type PackagesReply

type PackagesReply struct {
	SourcePackage        []string `protobuf:"bytes,1,rep,name=source_package,json=sourcePackage,proto3" json:"source_package,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PackagesReply) Descriptor

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

func (*PackagesReply) GetSourcePackage

func (m *PackagesReply) GetSourcePackage() []string

func (*PackagesReply) ProtoMessage

func (*PackagesReply) ProtoMessage()

func (*PackagesReply) Reset

func (m *PackagesReply) Reset()

func (*PackagesReply) String

func (m *PackagesReply) String() string

func (*PackagesReply) XXX_DiscardUnknown

func (m *PackagesReply) XXX_DiscardUnknown()

func (*PackagesReply) XXX_Marshal

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

func (*PackagesReply) XXX_Merge

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

func (*PackagesReply) XXX_Size

func (m *PackagesReply) XXX_Size() int

func (*PackagesReply) XXX_Unmarshal

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

type PackagesRequest

type PackagesRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PackagesRequest) Descriptor

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

func (*PackagesRequest) ProtoMessage

func (*PackagesRequest) ProtoMessage()

func (*PackagesRequest) Reset

func (m *PackagesRequest) Reset()

func (*PackagesRequest) String

func (m *PackagesRequest) String() string

func (*PackagesRequest) XXX_DiscardUnknown

func (m *PackagesRequest) XXX_DiscardUnknown()

func (*PackagesRequest) XXX_Marshal

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

func (*PackagesRequest) XXX_Merge

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

func (*PackagesRequest) XXX_Size

func (m *PackagesRequest) XXX_Size() int

func (*PackagesRequest) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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