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/target_service.proto
package services
@@ -14,6 +21,21 @@ import (
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7
const (
TargetService_GetTarget_FullMethodName = "/controller.api.services.v1.TargetService/GetTarget"
TargetService_ListTargets_FullMethodName = "/controller.api.services.v1.TargetService/ListTargets"
TargetService_CreateTarget_FullMethodName = "/controller.api.services.v1.TargetService/CreateTarget"
TargetService_UpdateTarget_FullMethodName = "/controller.api.services.v1.TargetService/UpdateTarget"
TargetService_DeleteTarget_FullMethodName = "/controller.api.services.v1.TargetService/DeleteTarget"
TargetService_AuthorizeSession_FullMethodName = "/controller.api.services.v1.TargetService/AuthorizeSession"
TargetService_AddTargetHostSources_FullMethodName = "/controller.api.services.v1.TargetService/AddTargetHostSources"
TargetService_SetTargetHostSources_FullMethodName = "/controller.api.services.v1.TargetService/SetTargetHostSources"
TargetService_RemoveTargetHostSources_FullMethodName = "/controller.api.services.v1.TargetService/RemoveTargetHostSources"
TargetService_AddTargetCredentialSources_FullMethodName = "/controller.api.services.v1.TargetService/AddTargetCredentialSources"
TargetService_SetTargetCredentialSources_FullMethodName = "/controller.api.services.v1.TargetService/SetTargetCredentialSources"
TargetService_RemoveTargetCredentialSources_FullMethodName = "/controller.api.services.v1.TargetService/RemoveTargetCredentialSources"
)
// TargetServiceClient is the client API for TargetService 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.
@@ -113,7 +135,7 @@ func NewTargetServiceClient(cc grpc.ClientConnInterface) TargetServiceClient {
func (c *targetServiceClient) GetTarget(ctx context.Context, in *GetTargetRequest, opts ...grpc.CallOption) (*GetTargetResponse, error) {
out := new(GetTargetResponse)
err := c.cc.Invoke(ctx, "/controller.api.services.v1.TargetService/GetTarget", in, out, opts...)
err := c.cc.Invoke(ctx, TargetService_GetTarget_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -122,7 +144,7 @@ func (c *targetServiceClient) GetTarget(ctx context.Context, in *GetTargetReques
func (c *targetServiceClient) ListTargets(ctx context.Context, in *ListTargetsRequest, opts ...grpc.CallOption) (*ListTargetsResponse, error) {
out := new(ListTargetsResponse)
err := c.cc.Invoke(ctx, "/controller.api.services.v1.TargetService/ListTargets", in, out, opts...)
err := c.cc.Invoke(ctx, TargetService_ListTargets_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -131,7 +153,7 @@ func (c *targetServiceClient) ListTargets(ctx context.Context, in *ListTargetsRe
func (c *targetServiceClient) CreateTarget(ctx context.Context, in *CreateTargetRequest, opts ...grpc.CallOption) (*CreateTargetResponse, error) {
out := new(CreateTargetResponse)
err := c.cc.Invoke(ctx, "/controller.api.services.v1.TargetService/CreateTarget", in, out, opts...)
err := c.cc.Invoke(ctx, TargetService_CreateTarget_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -140,7 +162,7 @@ func (c *targetServiceClient) CreateTarget(ctx context.Context, in *CreateTarget
func (c *targetServiceClient) UpdateTarget(ctx context.Context, in *UpdateTargetRequest, opts ...grpc.CallOption) (*UpdateTargetResponse, error) {
out := new(UpdateTargetResponse)
err := c.cc.Invoke(ctx, "/controller.api.services.v1.TargetService/UpdateTarget", in, out, opts...)
err := c.cc.Invoke(ctx, TargetService_UpdateTarget_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -149,7 +171,7 @@ func (c *targetServiceClient) UpdateTarget(ctx context.Context, in *UpdateTarget
func (c *targetServiceClient) DeleteTarget(ctx context.Context, in *DeleteTargetRequest, opts ...grpc.CallOption) (*DeleteTargetResponse, error) {
out := new(DeleteTargetResponse)
err := c.cc.Invoke(ctx, "/controller.api.services.v1.TargetService/DeleteTarget", in, out, opts...)
err := c.cc.Invoke(ctx, TargetService_DeleteTarget_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -158,7 +180,7 @@ func (c *targetServiceClient) DeleteTarget(ctx context.Context, in *DeleteTarget
func (c *targetServiceClient) AuthorizeSession(ctx context.Context, in *AuthorizeSessionRequest, opts ...grpc.CallOption) (*AuthorizeSessionResponse, error) {
out := new(AuthorizeSessionResponse)
err := c.cc.Invoke(ctx, "/controller.api.services.v1.TargetService/AuthorizeSession", in, out, opts...)
err := c.cc.Invoke(ctx, TargetService_AuthorizeSession_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -167,7 +189,7 @@ func (c *targetServiceClient) AuthorizeSession(ctx context.Context, in *Authoriz
func (c *targetServiceClient) AddTargetHostSources(ctx context.Context, in *AddTargetHostSourcesRequest, opts ...grpc.CallOption) (*AddTargetHostSourcesResponse, error) {
out := new(AddTargetHostSourcesResponse)
err := c.cc.Invoke(ctx, "/controller.api.services.v1.TargetService/AddTargetHostSources", in, out, opts...)
err := c.cc.Invoke(ctx, TargetService_AddTargetHostSources_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -176,7 +198,7 @@ func (c *targetServiceClient) AddTargetHostSources(ctx context.Context, in *AddT
func (c *targetServiceClient) SetTargetHostSources(ctx context.Context, in *SetTargetHostSourcesRequest, opts ...grpc.CallOption) (*SetTargetHostSourcesResponse, error) {
out := new(SetTargetHostSourcesResponse)
err := c.cc.Invoke(ctx, "/controller.api.services.v1.TargetService/SetTargetHostSources", in, out, opts...)
err := c.cc.Invoke(ctx, TargetService_SetTargetHostSources_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -185,7 +207,7 @@ func (c *targetServiceClient) SetTargetHostSources(ctx context.Context, in *SetT
func (c *targetServiceClient) RemoveTargetHostSources(ctx context.Context, in *RemoveTargetHostSourcesRequest, opts ...grpc.CallOption) (*RemoveTargetHostSourcesResponse, error) {
out := new(RemoveTargetHostSourcesResponse)
err := c.cc.Invoke(ctx, "/controller.api.services.v1.TargetService/RemoveTargetHostSources", in, out, opts...)
err := c.cc.Invoke(ctx, TargetService_RemoveTargetHostSources_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -194,7 +216,7 @@ func (c *targetServiceClient) RemoveTargetHostSources(ctx context.Context, in *R
func (c *targetServiceClient) AddTargetCredentialSources(ctx context.Context, in *AddTargetCredentialSourcesRequest, opts ...grpc.CallOption) (*AddTargetCredentialSourcesResponse, error) {
out := new(AddTargetCredentialSourcesResponse)
err := c.cc.Invoke(ctx, "/controller.api.services.v1.TargetService/AddTargetCredentialSources", in, out, opts...)
err := c.cc.Invoke(ctx, TargetService_AddTargetCredentialSources_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -203,7 +225,7 @@ func (c *targetServiceClient) AddTargetCredentialSources(ctx context.Context, in
func (c *targetServiceClient) SetTargetCredentialSources(ctx context.Context, in *SetTargetCredentialSourcesRequest, opts ...grpc.CallOption) (*SetTargetCredentialSourcesResponse, error) {
out := new(SetTargetCredentialSourcesResponse)
err := c.cc.Invoke(ctx, "/controller.api.services.v1.TargetService/SetTargetCredentialSources", in, out, opts...)
err := c.cc.Invoke(ctx, TargetService_SetTargetCredentialSources_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -212,7 +234,7 @@ func (c *targetServiceClient) SetTargetCredentialSources(ctx context.Context, in
func (c *targetServiceClient) RemoveTargetCredentialSources(ctx context.Context, in *RemoveTargetCredentialSourcesRequest, opts ...grpc.CallOption) (*RemoveTargetCredentialSourcesResponse, error) {
out := new(RemoveTargetCredentialSourcesResponse)
err := c.cc.Invoke(ctx, "/controller.api.services.v1.TargetService/RemoveTargetCredentialSources", in, out, opts...)
err := c.cc.Invoke(ctx, TargetService_RemoveTargetCredentialSources_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
@@ -372,7 +394,7 @@ func _TargetService_GetTarget_Handler(srv interface{}, ctx context.Context, dec
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/controller.api.services.v1.TargetService/GetTarget",
FullMethod: TargetService_GetTarget_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(TargetServiceServer).GetTarget(ctx, req.(*GetTargetRequest))
@@ -390,7 +412,7 @@ func _TargetService_ListTargets_Handler(srv interface{}, ctx context.Context, de
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/controller.api.services.v1.TargetService/ListTargets",
FullMethod: TargetService_ListTargets_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(TargetServiceServer).ListTargets(ctx, req.(*ListTargetsRequest))
@@ -408,7 +430,7 @@ func _TargetService_CreateTarget_Handler(srv interface{}, ctx context.Context, d
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/controller.api.services.v1.TargetService/CreateTarget",
FullMethod: TargetService_CreateTarget_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(TargetServiceServer).CreateTarget(ctx, req.(*CreateTargetRequest))
@@ -426,7 +448,7 @@ func _TargetService_UpdateTarget_Handler(srv interface{}, ctx context.Context, d
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/controller.api.services.v1.TargetService/UpdateTarget",
FullMethod: TargetService_UpdateTarget_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(TargetServiceServer).UpdateTarget(ctx, req.(*UpdateTargetRequest))
@@ -444,7 +466,7 @@ func _TargetService_DeleteTarget_Handler(srv interface{}, ctx context.Context, d
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/controller.api.services.v1.TargetService/DeleteTarget",
FullMethod: TargetService_DeleteTarget_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(TargetServiceServer).DeleteTarget(ctx, req.(*DeleteTargetRequest))
@@ -462,7 +484,7 @@ func _TargetService_AuthorizeSession_Handler(srv interface{}, ctx context.Contex
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/controller.api.services.v1.TargetService/AuthorizeSession",
FullMethod: TargetService_AuthorizeSession_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(TargetServiceServer).AuthorizeSession(ctx, req.(*AuthorizeSessionRequest))
@@ -480,7 +502,7 @@ func _TargetService_AddTargetHostSources_Handler(srv interface{}, ctx context.Co
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/controller.api.services.v1.TargetService/AddTargetHostSources",
FullMethod: TargetService_AddTargetHostSources_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(TargetServiceServer).AddTargetHostSources(ctx, req.(*AddTargetHostSourcesRequest))
@@ -498,7 +520,7 @@ func _TargetService_SetTargetHostSources_Handler(srv interface{}, ctx context.Co
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/controller.api.services.v1.TargetService/SetTargetHostSources",
FullMethod: TargetService_SetTargetHostSources_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(TargetServiceServer).SetTargetHostSources(ctx, req.(*SetTargetHostSourcesRequest))
@@ -516,7 +538,7 @@ func _TargetService_RemoveTargetHostSources_Handler(srv interface{}, ctx context
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/controller.api.services.v1.TargetService/RemoveTargetHostSources",
FullMethod: TargetService_RemoveTargetHostSources_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(TargetServiceServer).RemoveTargetHostSources(ctx, req.(*RemoveTargetHostSourcesRequest))
@@ -534,7 +556,7 @@ func _TargetService_AddTargetCredentialSources_Handler(srv interface{}, ctx cont
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/controller.api.services.v1.TargetService/AddTargetCredentialSources",
FullMethod: TargetService_AddTargetCredentialSources_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(TargetServiceServer).AddTargetCredentialSources(ctx, req.(*AddTargetCredentialSourcesRequest))
@@ -552,7 +574,7 @@ func _TargetService_SetTargetCredentialSources_Handler(srv interface{}, ctx cont
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/controller.api.services.v1.TargetService/SetTargetCredentialSources",
FullMethod: TargetService_SetTargetCredentialSources_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(TargetServiceServer).SetTargetCredentialSources(ctx, req.(*SetTargetCredentialSourcesRequest))
@@ -570,7 +592,7 @@ func _TargetService_RemoveTargetCredentialSources_Handler(srv interface{}, ctx c
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/controller.api.services.v1.TargetService/RemoveTargetCredentialSources",
FullMethod: TargetService_RemoveTargetCredentialSources_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(TargetServiceServer).RemoveTargetCredentialSources(ctx, req.(*RemoveTargetCredentialSourcesRequest))