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/auth_method_service.proto
package services
@@ -14,6 +21,16 @@ import (
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7
const (
AuthMethodService_GetAuthMethod_FullMethodName = "/controller.api.services.v1.AuthMethodService/GetAuthMethod"
AuthMethodService_ListAuthMethods_FullMethodName = "/controller.api.services.v1.AuthMethodService/ListAuthMethods"
AuthMethodService_CreateAuthMethod_FullMethodName = "/controller.api.services.v1.AuthMethodService/CreateAuthMethod"
AuthMethodService_UpdateAuthMethod_FullMethodName = "/controller.api.services.v1.AuthMethodService/UpdateAuthMethod"
AuthMethodService_DeleteAuthMethod_FullMethodName = "/controller.api.services.v1.AuthMethodService/DeleteAuthMethod"
AuthMethodService_ChangeState_FullMethodName = "/controller.api.services.v1.AuthMethodService/ChangeState"
AuthMethodService_Authenticate_FullMethodName = "/controller.api.services.v1.AuthMethodService/Authenticate"
)
// AuthMethodServiceClient is the client API for AuthMethodService 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.
@@ -60,7 +77,7 @@ func NewAuthMethodServiceClient(cc grpc.ClientConnInterface) AuthMethodServiceCl
func (c *authMethodServiceClient) GetAuthMethod(ctx context.Context, in *GetAuthMethodRequest, opts ...grpc.CallOption) (*GetAuthMethodResponse, error) {
out := new(GetAuthMethodResponse)
err := c.cc.Invoke(ctx, "/controller.api.services.v1.AuthMethodService/GetAuthMethod", in, out, opts...)
err := c.cc.Invoke(ctx, AuthMethodService_GetAuthMethod_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -69,7 +86,7 @@ func (c *authMethodServiceClient) GetAuthMethod(ctx context.Context, in *GetAuth
func (c *authMethodServiceClient) ListAuthMethods(ctx context.Context, in *ListAuthMethodsRequest, opts ...grpc.CallOption) (*ListAuthMethodsResponse, error) {
out := new(ListAuthMethodsResponse)
err := c.cc.Invoke(ctx, "/controller.api.services.v1.AuthMethodService/ListAuthMethods", in, out, opts...)
err := c.cc.Invoke(ctx, AuthMethodService_ListAuthMethods_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -78,7 +95,7 @@ func (c *authMethodServiceClient) ListAuthMethods(ctx context.Context, in *ListA
func (c *authMethodServiceClient) CreateAuthMethod(ctx context.Context, in *CreateAuthMethodRequest, opts ...grpc.CallOption) (*CreateAuthMethodResponse, error) {
out := new(CreateAuthMethodResponse)
err := c.cc.Invoke(ctx, "/controller.api.services.v1.AuthMethodService/CreateAuthMethod", in, out, opts...)
err := c.cc.Invoke(ctx, AuthMethodService_CreateAuthMethod_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -87,7 +104,7 @@ func (c *authMethodServiceClient) CreateAuthMethod(ctx context.Context, in *Crea
func (c *authMethodServiceClient) UpdateAuthMethod(ctx context.Context, in *UpdateAuthMethodRequest, opts ...grpc.CallOption) (*UpdateAuthMethodResponse, error) {
out := new(UpdateAuthMethodResponse)
err := c.cc.Invoke(ctx, "/controller.api.services.v1.AuthMethodService/UpdateAuthMethod", in, out, opts...)
err := c.cc.Invoke(ctx, AuthMethodService_UpdateAuthMethod_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -96,7 +113,7 @@ func (c *authMethodServiceClient) UpdateAuthMethod(ctx context.Context, in *Upda
func (c *authMethodServiceClient) DeleteAuthMethod(ctx context.Context, in *DeleteAuthMethodRequest, opts ...grpc.CallOption) (*DeleteAuthMethodResponse, error) {
out := new(DeleteAuthMethodResponse)
err := c.cc.Invoke(ctx, "/controller.api.services.v1.AuthMethodService/DeleteAuthMethod", in, out, opts...)
err := c.cc.Invoke(ctx, AuthMethodService_DeleteAuthMethod_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -105,7 +122,7 @@ func (c *authMethodServiceClient) DeleteAuthMethod(ctx context.Context, in *Dele
func (c *authMethodServiceClient) ChangeState(ctx context.Context, in *ChangeStateRequest, opts ...grpc.CallOption) (*ChangeStateResponse, error) {
out := new(ChangeStateResponse)
err := c.cc.Invoke(ctx, "/controller.api.services.v1.AuthMethodService/ChangeState", in, out, opts...)
err := c.cc.Invoke(ctx, AuthMethodService_ChangeState_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -114,7 +131,7 @@ func (c *authMethodServiceClient) ChangeState(ctx context.Context, in *ChangeSta
func (c *authMethodServiceClient) Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error) {
out := new(AuthenticateResponse)
err := c.cc.Invoke(ctx, "/controller.api.services.v1.AuthMethodService/Authenticate", in, out, opts...)
err := c.cc.Invoke(ctx, AuthMethodService_Authenticate_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -206,7 +223,7 @@ func _AuthMethodService_GetAuthMethod_Handler(srv interface{}, ctx context.Conte
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/controller.api.services.v1.AuthMethodService/GetAuthMethod",
FullMethod: AuthMethodService_GetAuthMethod_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AuthMethodServiceServer).GetAuthMethod(ctx, req.(*GetAuthMethodRequest))
@@ -224,7 +241,7 @@ func _AuthMethodService_ListAuthMethods_Handler(srv interface{}, ctx context.Con
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/controller.api.services.v1.AuthMethodService/ListAuthMethods",
FullMethod: AuthMethodService_ListAuthMethods_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AuthMethodServiceServer).ListAuthMethods(ctx, req.(*ListAuthMethodsRequest))
@@ -242,7 +259,7 @@ func _AuthMethodService_CreateAuthMethod_Handler(srv interface{}, ctx context.Co
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/controller.api.services.v1.AuthMethodService/CreateAuthMethod",
FullMethod: AuthMethodService_CreateAuthMethod_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AuthMethodServiceServer).CreateAuthMethod(ctx, req.(*CreateAuthMethodRequest))
@@ -260,7 +277,7 @@ func _AuthMethodService_UpdateAuthMethod_Handler(srv interface{}, ctx context.Co
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/controller.api.services.v1.AuthMethodService/UpdateAuthMethod",
FullMethod: AuthMethodService_UpdateAuthMethod_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AuthMethodServiceServer).UpdateAuthMethod(ctx, req.(*UpdateAuthMethodRequest))
@@ -278,7 +295,7 @@ func _AuthMethodService_DeleteAuthMethod_Handler(srv interface{}, ctx context.Co
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/controller.api.services.v1.AuthMethodService/DeleteAuthMethod",
FullMethod: AuthMethodService_DeleteAuthMethod_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AuthMethodServiceServer).DeleteAuthMethod(ctx, req.(*DeleteAuthMethodRequest))
@@ -296,7 +313,7 @@ func _AuthMethodService_ChangeState_Handler(srv interface{}, ctx context.Context
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/controller.api.services.v1.AuthMethodService/ChangeState",
FullMethod: AuthMethodService_ChangeState_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AuthMethodServiceServer).ChangeState(ctx, req.(*ChangeStateRequest))
@@ -314,7 +331,7 @@ func _AuthMethodService_Authenticate_Handler(srv interface{}, ctx context.Contex
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/controller.api.services.v1.AuthMethodService/Authenticate",
FullMethod: AuthMethodService_Authenticate_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AuthMethodServiceServer).Authenticate(ctx, req.(*AuthenticateRequest))