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

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 KuberGrpcService

type KuberGrpcService struct {
	pb.UnimplementedKuberServiceServer
	// contains filtered or unexported fields
}

func (*KuberGrpcService) CiliumRolloutRestart added in v0.5.0

func (*KuberGrpcService) DeleteClusterMetadata

func (*KuberGrpcService) DeleteKubeconfig

func (*KuberGrpcService) DeleteNodes

func (*KuberGrpcService) DestroyClusterAutoscaler

func (*KuberGrpcService) PatchClusterInfoConfigMap

func (*KuberGrpcService) PatchNodes

func (*KuberGrpcService) RemoveLBScrapeConfig

func (*KuberGrpcService) SetUpClusterAutoscaler

func (*KuberGrpcService) SetUpStorage

func (*KuberGrpcService) StoreClusterMetadata

func (*KuberGrpcService) StoreKubeconfig

func (*KuberGrpcService) StoreLBScrapeConfig

Jump to

Keyboard shortcuts

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