Update main module deps (#3971)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2023-11-01 16:21:17 -04:00
1 parent 34b558fdc0
commit de4ce93931
32 files changed
+933 -732

No files matched your search

@@ -1,4 +1,11 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.3.0
// - protoc (unknown)
// source: controller/api/services/v1/session_service.proto
package services
@@ -14,6 +21,12 @@ import (
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7
const (
SessionService_GetSession_FullMethodName = "/controller.api.services.v1.SessionService/GetSession"
SessionService_ListSessions_FullMethodName = "/controller.api.services.v1.SessionService/ListSessions"
SessionService_CancelSession_FullMethodName = "/controller.api.services.v1.SessionService/CancelSession"
)
// SessionServiceClient is the client API for SessionService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
@@ -44,7 +57,7 @@ func NewSessionServiceClient(cc grpc.ClientConnInterface) SessionServiceClient {
func (c *sessionServiceClient) GetSession(ctx context.Context, in *GetSessionRequest, opts ...grpc.CallOption) (*GetSessionResponse, error) {
out := new(GetSessionResponse)
err := c.cc.Invoke(ctx, "/controller.api.services.v1.SessionService/GetSession", in, out, opts...)
err := c.cc.Invoke(ctx, SessionService_GetSession_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -53,7 +66,7 @@ func (c *sessionServiceClient) GetSession(ctx context.Context, in *GetSessionReq
func (c *sessionServiceClient) ListSessions(ctx context.Context, in *ListSessionsRequest, opts ...grpc.CallOption) (*ListSessionsResponse, error) {
out := new(ListSessionsResponse)
err := c.cc.Invoke(ctx, "/controller.api.services.v1.SessionService/ListSessions", in, out, opts...)
err := c.cc.Invoke(ctx, SessionService_ListSessions_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -62,7 +75,7 @@ func (c *sessionServiceClient) ListSessions(ctx context.Context, in *ListSession
func (c *sessionServiceClient) CancelSession(ctx context.Context, in *CancelSessionRequest, opts ...grpc.CallOption) (*CancelSessionResponse, error) {
out := new(CancelSessionResponse)
err := c.cc.Invoke(ctx, "/controller.api.services.v1.SessionService/CancelSession", in, out, opts...)
err := c.cc.Invoke(ctx, SessionService_CancelSession_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -126,7 +139,7 @@ func _SessionService_GetSession_Handler(srv interface{}, ctx context.Context, de
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/controller.api.services.v1.SessionService/GetSession",
FullMethod: SessionService_GetSession_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SessionServiceServer).GetSession(ctx, req.(*GetSessionRequest))
@@ -144,7 +157,7 @@ func _SessionService_ListSessions_Handler(srv interface{}, ctx context.Context,
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/controller.api.services.v1.SessionService/ListSessions",
FullMethod: SessionService_ListSessions_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SessionServiceServer).ListSessions(ctx, req.(*ListSessionsRequest))
@@ -162,7 +175,7 @@ func _SessionService_CancelSession_Handler(srv interface{}, ctx context.Context,
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/controller.api.services.v1.SessionService/CancelSession",
FullMethod: SessionService_CancelSession_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(SessionServiceServer).CancelSession(ctx, req.(*CancelSessionRequest))