Update main module deps (#3971)
This commit is contained in:
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/scope_service.proto
|
||||
|
||||
package services
|
||||
|
||||
@@ -14,6 +21,18 @@ import (
|
||||
// Requires gRPC-Go v1.32.0 or later.
|
||||
const _ = grpc.SupportPackageIsVersion7
|
||||
|
||||
const (
|
||||
ScopeService_GetScope_FullMethodName = "/controller.api.services.v1.ScopeService/GetScope"
|
||||
ScopeService_ListScopes_FullMethodName = "/controller.api.services.v1.ScopeService/ListScopes"
|
||||
ScopeService_CreateScope_FullMethodName = "/controller.api.services.v1.ScopeService/CreateScope"
|
||||
ScopeService_UpdateScope_FullMethodName = "/controller.api.services.v1.ScopeService/UpdateScope"
|
||||
ScopeService_DeleteScope_FullMethodName = "/controller.api.services.v1.ScopeService/DeleteScope"
|
||||
ScopeService_ListKeys_FullMethodName = "/controller.api.services.v1.ScopeService/ListKeys"
|
||||
ScopeService_RotateKeys_FullMethodName = "/controller.api.services.v1.ScopeService/RotateKeys"
|
||||
ScopeService_ListKeyVersionDestructionJobs_FullMethodName = "/controller.api.services.v1.ScopeService/ListKeyVersionDestructionJobs"
|
||||
ScopeService_DestroyKeyVersion_FullMethodName = "/controller.api.services.v1.ScopeService/DestroyKeyVersion"
|
||||
)
|
||||
|
||||
// ScopeServiceClient is the client API for ScopeService 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.
|
||||
@@ -69,7 +88,7 @@ func NewScopeServiceClient(cc grpc.ClientConnInterface) ScopeServiceClient {
|
||||
|
||||
func (c *scopeServiceClient) GetScope(ctx context.Context, in *GetScopeRequest, opts ...grpc.CallOption) (*GetScopeResponse, error) {
|
||||
out := new(GetScopeResponse)
|
||||
err := c.cc.Invoke(ctx, "/controller.api.services.v1.ScopeService/GetScope", in, out, opts...)
|
||||
err := c.cc.Invoke(ctx, ScopeService_GetScope_FullMethodName, in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -78,7 +97,7 @@ func (c *scopeServiceClient) GetScope(ctx context.Context, in *GetScopeRequest,
|
||||
|
||||
func (c *scopeServiceClient) ListScopes(ctx context.Context, in *ListScopesRequest, opts ...grpc.CallOption) (*ListScopesResponse, error) {
|
||||
out := new(ListScopesResponse)
|
||||
err := c.cc.Invoke(ctx, "/controller.api.services.v1.ScopeService/ListScopes", in, out, opts...)
|
||||
err := c.cc.Invoke(ctx, ScopeService_ListScopes_FullMethodName, in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -87,7 +106,7 @@ func (c *scopeServiceClient) ListScopes(ctx context.Context, in *ListScopesReque
|
||||
|
||||
func (c *scopeServiceClient) CreateScope(ctx context.Context, in *CreateScopeRequest, opts ...grpc.CallOption) (*CreateScopeResponse, error) {
|
||||
out := new(CreateScopeResponse)
|
||||
err := c.cc.Invoke(ctx, "/controller.api.services.v1.ScopeService/CreateScope", in, out, opts...)
|
||||
err := c.cc.Invoke(ctx, ScopeService_CreateScope_FullMethodName, in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -96,7 +115,7 @@ func (c *scopeServiceClient) CreateScope(ctx context.Context, in *CreateScopeReq
|
||||
|
||||
func (c *scopeServiceClient) UpdateScope(ctx context.Context, in *UpdateScopeRequest, opts ...grpc.CallOption) (*UpdateScopeResponse, error) {
|
||||
out := new(UpdateScopeResponse)
|
||||
err := c.cc.Invoke(ctx, "/controller.api.services.v1.ScopeService/UpdateScope", in, out, opts...)
|
||||
err := c.cc.Invoke(ctx, ScopeService_UpdateScope_FullMethodName, in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -105,7 +124,7 @@ func (c *scopeServiceClient) UpdateScope(ctx context.Context, in *UpdateScopeReq
|
||||
|
||||
func (c *scopeServiceClient) DeleteScope(ctx context.Context, in *DeleteScopeRequest, opts ...grpc.CallOption) (*DeleteScopeResponse, error) {
|
||||
out := new(DeleteScopeResponse)
|
||||
err := c.cc.Invoke(ctx, "/controller.api.services.v1.ScopeService/DeleteScope", in, out, opts...)
|
||||
err := c.cc.Invoke(ctx, ScopeService_DeleteScope_FullMethodName, in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -114,7 +133,7 @@ func (c *scopeServiceClient) DeleteScope(ctx context.Context, in *DeleteScopeReq
|
||||
|
||||
func (c *scopeServiceClient) ListKeys(ctx context.Context, in *ListKeysRequest, opts ...grpc.CallOption) (*ListKeysResponse, error) {
|
||||
out := new(ListKeysResponse)
|
||||
err := c.cc.Invoke(ctx, "/controller.api.services.v1.ScopeService/ListKeys", in, out, opts...)
|
||||
err := c.cc.Invoke(ctx, ScopeService_ListKeys_FullMethodName, in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -123,7 +142,7 @@ func (c *scopeServiceClient) ListKeys(ctx context.Context, in *ListKeysRequest,
|
||||
|
||||
func (c *scopeServiceClient) RotateKeys(ctx context.Context, in *RotateKeysRequest, opts ...grpc.CallOption) (*RotateKeysResponse, error) {
|
||||
out := new(RotateKeysResponse)
|
||||
err := c.cc.Invoke(ctx, "/controller.api.services.v1.ScopeService/RotateKeys", in, out, opts...)
|
||||
err := c.cc.Invoke(ctx, ScopeService_RotateKeys_FullMethodName, in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -132,7 +151,7 @@ func (c *scopeServiceClient) RotateKeys(ctx context.Context, in *RotateKeysReque
|
||||
|
||||
func (c *scopeServiceClient) ListKeyVersionDestructionJobs(ctx context.Context, in *ListKeyVersionDestructionJobsRequest, opts ...grpc.CallOption) (*ListKeyVersionDestructionJobsResponse, error) {
|
||||
out := new(ListKeyVersionDestructionJobsResponse)
|
||||
err := c.cc.Invoke(ctx, "/controller.api.services.v1.ScopeService/ListKeyVersionDestructionJobs", in, out, opts...)
|
||||
err := c.cc.Invoke(ctx, ScopeService_ListKeyVersionDestructionJobs_FullMethodName, in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -141,7 +160,7 @@ func (c *scopeServiceClient) ListKeyVersionDestructionJobs(ctx context.Context,
|
||||
|
||||
func (c *scopeServiceClient) DestroyKeyVersion(ctx context.Context, in *DestroyKeyVersionRequest, opts ...grpc.CallOption) (*DestroyKeyVersionResponse, error) {
|
||||
out := new(DestroyKeyVersionResponse)
|
||||
err := c.cc.Invoke(ctx, "/controller.api.services.v1.ScopeService/DestroyKeyVersion", in, out, opts...)
|
||||
err := c.cc.Invoke(ctx, ScopeService_DestroyKeyVersion_FullMethodName, in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -248,7 +267,7 @@ func _ScopeService_GetScope_Handler(srv interface{}, ctx context.Context, dec fu
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/controller.api.services.v1.ScopeService/GetScope",
|
||||
FullMethod: ScopeService_GetScope_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ScopeServiceServer).GetScope(ctx, req.(*GetScopeRequest))
|
||||
@@ -266,7 +285,7 @@ func _ScopeService_ListScopes_Handler(srv interface{}, ctx context.Context, dec
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/controller.api.services.v1.ScopeService/ListScopes",
|
||||
FullMethod: ScopeService_ListScopes_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ScopeServiceServer).ListScopes(ctx, req.(*ListScopesRequest))
|
||||
@@ -284,7 +303,7 @@ func _ScopeService_CreateScope_Handler(srv interface{}, ctx context.Context, dec
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/controller.api.services.v1.ScopeService/CreateScope",
|
||||
FullMethod: ScopeService_CreateScope_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ScopeServiceServer).CreateScope(ctx, req.(*CreateScopeRequest))
|
||||
@@ -302,7 +321,7 @@ func _ScopeService_UpdateScope_Handler(srv interface{}, ctx context.Context, dec
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/controller.api.services.v1.ScopeService/UpdateScope",
|
||||
FullMethod: ScopeService_UpdateScope_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ScopeServiceServer).UpdateScope(ctx, req.(*UpdateScopeRequest))
|
||||
@@ -320,7 +339,7 @@ func _ScopeService_DeleteScope_Handler(srv interface{}, ctx context.Context, dec
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/controller.api.services.v1.ScopeService/DeleteScope",
|
||||
FullMethod: ScopeService_DeleteScope_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ScopeServiceServer).DeleteScope(ctx, req.(*DeleteScopeRequest))
|
||||
@@ -338,7 +357,7 @@ func _ScopeService_ListKeys_Handler(srv interface{}, ctx context.Context, dec fu
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/controller.api.services.v1.ScopeService/ListKeys",
|
||||
FullMethod: ScopeService_ListKeys_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ScopeServiceServer).ListKeys(ctx, req.(*ListKeysRequest))
|
||||
@@ -356,7 +375,7 @@ func _ScopeService_RotateKeys_Handler(srv interface{}, ctx context.Context, dec
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/controller.api.services.v1.ScopeService/RotateKeys",
|
||||
FullMethod: ScopeService_RotateKeys_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ScopeServiceServer).RotateKeys(ctx, req.(*RotateKeysRequest))
|
||||
@@ -374,7 +393,7 @@ func _ScopeService_ListKeyVersionDestructionJobs_Handler(srv interface{}, ctx co
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/controller.api.services.v1.ScopeService/ListKeyVersionDestructionJobs",
|
||||
FullMethod: ScopeService_ListKeyVersionDestructionJobs_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ScopeServiceServer).ListKeyVersionDestructionJobs(ctx, req.(*ListKeyVersionDestructionJobsRequest))
|
||||
@@ -392,7 +411,7 @@ func _ScopeService_DestroyKeyVersion_Handler(srv interface{}, ctx context.Contex
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/controller.api.services.v1.ScopeService/DestroyKeyVersion",
|
||||
FullMethod: ScopeService_DestroyKeyVersion_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ScopeServiceServer).DestroyKeyVersion(ctx, req.(*DestroyKeyVersionRequest))
|
||||
|
||||
Reference in new issue
Block a user