grpc

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 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 AnsiblerGrpcService

type AnsiblerGrpcService struct {
	pb.UnimplementedAnsiblerServiceServer
	// contains filtered or unexported fields
}

func (*AnsiblerGrpcService) InstallNodeRequirements

func (a *AnsiblerGrpcService) InstallNodeRequirements(_ context.Context, request *pb.InstallRequest) (*pb.InstallResponse, error)

func (*AnsiblerGrpcService) InstallVPN

func (*AnsiblerGrpcService) RemoveClaudieUtilities added in v0.6.2

func (*AnsiblerGrpcService) SetUpLoadbalancers

func (a *AnsiblerGrpcService) SetUpLoadbalancers(_ context.Context, request *pb.SetUpLBRequest) (*pb.SetUpLBResponse, error)

func (*AnsiblerGrpcService) TeardownLoadBalancers

func (a *AnsiblerGrpcService) TeardownLoadBalancers(ctx context.Context, request *pb.TeardownLBRequest) (*pb.TeardownLBResponse, error)

func (*AnsiblerGrpcService) UpdateAPIEndpoint

type GrpcAdapter

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

func CreateGrpcAdapter

func CreateGrpcAdapter(usecases *usecases.Usecases) *GrpcAdapter

CreateGrpcAdapter return new gRPC adapter for Ansibler.

func (*GrpcAdapter) Serve

func (g *GrpcAdapter) Serve() error

Serve starts a gRPC server and blocks until the server stops serving.

func (*GrpcAdapter) Stop

func (g *GrpcAdapter) Stop()

Stop terminates the gRPC server.

Jump to

Keyboard shortcuts

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