grpc

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrpcAdapter

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

func (*GrpcAdapter) Init

func (g *GrpcAdapter) Init(usecases *usecases.Usecases)

Init will create the underlying gRPC server and the gRPC healthcheck server

func (*GrpcAdapter) Serve

func (g *GrpcAdapter) Serve() error

Serve will create a service goroutine for each connection

func (*GrpcAdapter) Stop

func (g *GrpcAdapter) Stop()

Stop will gracefully shutdown the gRPC server

type OperatorGrpcService

type OperatorGrpcService struct {
	pb.UnimplementedOperatorServiceServer
	// contains filtered or unexported fields
}

func (*OperatorGrpcService) SendAutoscalerEvent

Jump to

Keyboard shortcuts

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