client

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCClient

type GRPCClient struct {
	// contains filtered or unexported fields
}

func NewGRPCClient

func NewGRPCClient(grpc_address string) (*GRPCClient, error)

func NewGRPCClientWithContext

func NewGRPCClientWithContext(grpc_address string, baseCtx context.Context) (*GRPCClient, error)

func NewGRPCClientWithContextTLS

func NewGRPCClientWithContextTLS(grpcAddress string, baseCtx context.Context, certificateFile string, commonName string) (*GRPCClient, error)

func (*GRPCClient) BulkDelete

func (*GRPCClient) BulkIndex

func (*GRPCClient) Close

func (c *GRPCClient) Close() error

func (*GRPCClient) Cluster

func (c *GRPCClient) Cluster(opts ...grpc.CallOption) (*protobuf.ClusterResponse, error)

func (*GRPCClient) Delete

func (c *GRPCClient) Delete(req *protobuf.DeleteRequest, opts ...grpc.CallOption) error

func (*GRPCClient) Get

func (*GRPCClient) Join

func (c *GRPCClient) Join(req *protobuf.JoinRequest, opts ...grpc.CallOption) error

func (*GRPCClient) Leave

func (c *GRPCClient) Leave(req *protobuf.LeaveRequest, opts ...grpc.CallOption) error

func (*GRPCClient) LivenessCheck

func (c *GRPCClient) LivenessCheck(opts ...grpc.CallOption) (*protobuf.LivenessCheckResponse, error)

func (*GRPCClient) Mapping

func (c *GRPCClient) Mapping(opts ...grpc.CallOption) (*protobuf.MappingResponse, error)

func (*GRPCClient) Metrics

func (c *GRPCClient) Metrics(opts ...grpc.CallOption) (*protobuf.MetricsResponse, error)

func (*GRPCClient) Node

func (c *GRPCClient) Node(opts ...grpc.CallOption) (*protobuf.NodeResponse, error)

func (*GRPCClient) ReadinessCheck

func (c *GRPCClient) ReadinessCheck(opts ...grpc.CallOption) (*protobuf.ReadinessCheckResponse, error)

func (*GRPCClient) Search

func (*GRPCClient) Set

func (c *GRPCClient) Set(req *protobuf.SetRequest, opts ...grpc.CallOption) error

func (*GRPCClient) Snapshot

func (c *GRPCClient) Snapshot(opts ...grpc.CallOption) error

func (*GRPCClient) Target

func (c *GRPCClient) Target() string

func (*GRPCClient) Watch

func (c *GRPCClient) Watch(req *empty.Empty, opts ...grpc.CallOption) (protobuf.Index_WatchClient, error)

Jump to

Keyboard shortcuts

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