grpc

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 10 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 {
	HealthServer *health.Server
	// contains filtered or unexported fields
}

func (*GrpcAdapter) Init

func (g *GrpcAdapter) Init(usecases *usecases.Usecases, opts ...grpc.ServerOption)

Init sets up the GrpcAdapter by creating the underlying tcpListener, gRPC server and gRPC health check server.

func (*GrpcAdapter) Serve added in v0.4.2

func (g *GrpcAdapter) Serve() error

Serve makes the gRPC server start listening for incoming gRPC requests.

func (*GrpcAdapter) Stop

func (g *GrpcAdapter) Stop()

Stop gracefully shuts down the underlying gRPC server and gRCP health-check server.

type TerraformerGrpcService

type TerraformerGrpcService struct {
	pb.UnimplementedTerraformerServiceServer
	// contains filtered or unexported fields
}

func (*TerraformerGrpcService) BuildInfrastructure

func (*TerraformerGrpcService) DestroyInfrastructure

Jump to

Keyboard shortcuts

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