distributorpb

package
v1.13.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDistributorServer

func RegisterDistributorServer(s *grpc.Server, srv DistributorServer)

Types

type DistributorClient

type DistributorClient interface {
	Push(ctx context.Context, in *cortexpb.WriteRequest, opts ...grpc.CallOption) (*cortexpb.WriteResponse, error)
}

DistributorClient is the client API for Distributor service.

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

func NewDistributorClient

func NewDistributorClient(cc *grpc.ClientConn) DistributorClient

type DistributorServer

type DistributorServer interface {
	Push(context.Context, *cortexpb.WriteRequest) (*cortexpb.WriteResponse, error)
}

DistributorServer is the server API for Distributor service.

type UnimplementedDistributorServer

type UnimplementedDistributorServer struct {
}

UnimplementedDistributorServer can be embedded to have forward compatible implementations.

func (*UnimplementedDistributorServer) Push

Jump to

Keyboard shortcuts

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