controller

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterReplicationControllerServer

func RegisterReplicationControllerServer(s *grpc.Server, srv ReplicationControllerServer)

Types

type ReplicationControllerClient

type ReplicationControllerClient interface {
	ReplicationInfo(ctx context.Context, in *payload.Empty, opts ...grpc.CallOption) (*payload.Replication_Agents, error)
}

ReplicationControllerClient is the client API for ReplicationController service.

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

func NewReplicationControllerClient

func NewReplicationControllerClient(cc *grpc.ClientConn) ReplicationControllerClient

type ReplicationControllerServer

type ReplicationControllerServer interface {
	ReplicationInfo(context.Context, *payload.Empty) (*payload.Replication_Agents, error)
}

ReplicationControllerServer is the server API for ReplicationController service.

type UnimplementedReplicationControllerServer

type UnimplementedReplicationControllerServer struct {
}

UnimplementedReplicationControllerServer can be embedded to have forward compatible implementations.

func (*UnimplementedReplicationControllerServer) ReplicationInfo

Jump to

Keyboard shortcuts

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