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 ContextBoxGrpcService

type ContextBoxGrpcService struct {
	pb.UnimplementedContextBoxServiceServer
	// contains filtered or unexported fields
}

func (*ContextBoxGrpcService) DeleteConfig

func (*ContextBoxGrpcService) DeleteConfigFromDB

func (c *ContextBoxGrpcService) DeleteConfigFromDB(ctx context.Context, request *pb.DeleteConfigRequest) (*pb.DeleteConfigResponse, error)

func (*ContextBoxGrpcService) GetAllConfigs

func (*ContextBoxGrpcService) GetConfigBuilder

func (c *ContextBoxGrpcService) GetConfigBuilder(ctx context.Context, request *pb.GetConfigRequest) (*pb.GetConfigResponse, error)

func (*ContextBoxGrpcService) GetConfigFromDB

func (*ContextBoxGrpcService) GetConfigScheduler

func (c *ContextBoxGrpcService) GetConfigScheduler(ctx context.Context, request *pb.GetConfigRequest) (*pb.GetConfigResponse, error)

func (*ContextBoxGrpcService) SaveConfigBuilder

func (c *ContextBoxGrpcService) SaveConfigBuilder(ctx context.Context, request *pb.SaveConfigRequest) (*pb.SaveConfigResponse, error)

func (*ContextBoxGrpcService) SaveConfigOperator added in v0.4.1

func (c *ContextBoxGrpcService) SaveConfigOperator(ctx context.Context, request *pb.SaveConfigRequest) (*pb.SaveConfigResponse, error)

func (*ContextBoxGrpcService) SaveConfigScheduler

func (c *ContextBoxGrpcService) SaveConfigScheduler(ctx context.Context, request *pb.SaveConfigRequest) (*pb.SaveConfigResponse, error)

func (*ContextBoxGrpcService) SaveWorkflowState

func (*ContextBoxGrpcService) UpdateNodepool

type GrpcAdapter

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

func (*GrpcAdapter) Init

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

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 and the healthcheck server

Jump to

Keyboard shortcuts

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