Documentation ¶
Index ¶
- type AnsiblerGrpcService
- func (a *AnsiblerGrpcService) InstallNodeRequirements(_ context.Context, request *pb.InstallRequest) (*pb.InstallResponse, error)
- func (a *AnsiblerGrpcService) InstallVPN(_ context.Context, request *pb.InstallRequest) (*pb.InstallResponse, error)
- func (a *AnsiblerGrpcService) SetUpLoadbalancers(_ context.Context, request *pb.SetUpLBRequest) (*pb.SetUpLBResponse, error)
- func (a *AnsiblerGrpcService) TeardownLoadBalancers(ctx context.Context, request *pb.TeardownLBRequest) (*pb.TeardownLBResponse, error)
- func (a *AnsiblerGrpcService) UpdateAPIEndpoint(_ context.Context, request *pb.UpdateAPIEndpointRequest) (*pb.UpdateAPIEndpointResponse, error)
- type GrpcAdapter
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 (a *AnsiblerGrpcService) InstallVPN(_ context.Context, request *pb.InstallRequest) (*pb.InstallResponse, error)
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 ¶
func (a *AnsiblerGrpcService) UpdateAPIEndpoint(_ context.Context, request *pb.UpdateAPIEndpointRequest) (*pb.UpdateAPIEndpointResponse, error)
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.
Click to show internal directories.
Click to hide internal directories.