mirror of https://github.com/hashicorp/boundary
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1613 lines
66 KiB
1613 lines
66 KiB
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.10
|
|
// protoc (unknown)
|
|
// source: controller/api/services/v1/target_service.proto
|
|
|
|
package services
|
|
|
|
import (
|
|
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
|
|
targets "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/targets"
|
|
_ "github.com/hashicorp/boundary/sdk/pbs/controller/protooptions"
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type GetTargetRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTargetRequest) Reset() {
|
|
*x = GetTargetRequest{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTargetRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTargetRequest) ProtoMessage() {}
|
|
|
|
func (x *GetTargetRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTargetRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetTargetRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *GetTargetRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetTargetResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *targets.Target `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTargetResponse) Reset() {
|
|
*x = GetTargetResponse{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTargetResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTargetResponse) ProtoMessage() {}
|
|
|
|
func (x *GetTargetResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTargetResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetTargetResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *GetTargetResponse) GetItem() *targets.Target {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListTargetsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
|
Recursive bool `protobuf:"varint,20,opt,name=recursive,proto3" json:"recursive,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
|
// You can specify that the filter should only return items that match.
|
|
// Refer to [filter expressions](https://developer.hashicorp.com/boundary/docs/concepts/filtering) for more information.
|
|
Filter string `protobuf:"bytes,30,opt,name=filter,proto3" json:"filter,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// An opaque token that Boundary uses to continue an existing iteration or
|
|
// request updated items. If you do not specify a token, pagination
|
|
// starts from the beginning. To learn more about list pagination
|
|
// in Boundary, refer to [list pagination](https://developer.hashicorp.com/boundary/docs/api-clients/api/pagination).
|
|
ListToken string `protobuf:"bytes,40,opt,name=list_token,proto3" json:"list_token,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// The maximum size of a page in this iteration.
|
|
// If unset, the default page size configured will be used.
|
|
// If the page_size is greater than the default page configured,
|
|
// the page size will be truncated to this number..
|
|
PageSize uint32 `protobuf:"varint,50,opt,name=page_size,proto3" json:"page_size,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListTargetsRequest) Reset() {
|
|
*x = ListTargetsRequest{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListTargetsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListTargetsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListTargetsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListTargetsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListTargetsRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ListTargetsRequest) GetScopeId() string {
|
|
if x != nil {
|
|
return x.ScopeId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListTargetsRequest) GetRecursive() bool {
|
|
if x != nil {
|
|
return x.Recursive
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListTargetsRequest) GetFilter() string {
|
|
if x != nil {
|
|
return x.Filter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListTargetsRequest) GetListToken() string {
|
|
if x != nil {
|
|
return x.ListToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListTargetsRequest) GetPageSize() uint32 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListTargetsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Items []*targets.Target `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
|
|
// The type of response, either "delta" or "complete".
|
|
// Delta signifies that this is part of a paginated result
|
|
// or an update to a previously completed pagination.
|
|
// Complete signifies that it is the last page.
|
|
ResponseType string `protobuf:"bytes,2,opt,name=response_type,proto3" json:"response_type,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// An opaque token used to continue an existing pagination or
|
|
// request updated items. Use this token in the next list request
|
|
// to request the next page.
|
|
ListToken string `protobuf:"bytes,3,opt,name=list_token,proto3" json:"list_token,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// The name of the field which the items are sorted by.
|
|
SortBy string `protobuf:"bytes,4,opt,name=sort_by,proto3" json:"sort_by,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// The direction of the sort, either "asc" or "desc".
|
|
SortDir string `protobuf:"bytes,5,opt,name=sort_dir,proto3" json:"sort_dir,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// A list of item IDs that have been removed since they were returned
|
|
// as part of a pagination. They should be dropped from any client cache.
|
|
// This may contain items that are not known to the cache, if they were
|
|
// created and deleted between listings.
|
|
RemovedIds []string `protobuf:"bytes,6,rep,name=removed_ids,proto3" json:"removed_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// An estimate at the total items available. This may change during pagination.
|
|
EstItemCount uint32 `protobuf:"varint,7,opt,name=est_item_count,proto3" json:"est_item_count,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListTargetsResponse) Reset() {
|
|
*x = ListTargetsResponse{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListTargetsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListTargetsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListTargetsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListTargetsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListTargetsResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ListTargetsResponse) GetItems() []*targets.Target {
|
|
if x != nil {
|
|
return x.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListTargetsResponse) GetResponseType() string {
|
|
if x != nil {
|
|
return x.ResponseType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListTargetsResponse) GetListToken() string {
|
|
if x != nil {
|
|
return x.ListToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListTargetsResponse) GetSortBy() string {
|
|
if x != nil {
|
|
return x.SortBy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListTargetsResponse) GetSortDir() string {
|
|
if x != nil {
|
|
return x.SortDir
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListTargetsResponse) GetRemovedIds() []string {
|
|
if x != nil {
|
|
return x.RemovedIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListTargetsResponse) GetEstItemCount() uint32 {
|
|
if x != nil {
|
|
return x.EstItemCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CreateTargetRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *targets.Target `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateTargetRequest) Reset() {
|
|
*x = CreateTargetRequest{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateTargetRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateTargetRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateTargetRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateTargetRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateTargetRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *CreateTargetRequest) GetItem() *targets.Target {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateTargetResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
|
Item *targets.Target `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateTargetResponse) Reset() {
|
|
*x = CreateTargetResponse{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateTargetResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateTargetResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateTargetResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateTargetResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateTargetResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *CreateTargetResponse) GetUri() string {
|
|
if x != nil {
|
|
return x.Uri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateTargetResponse) GetItem() *targets.Target {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateTargetRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
|
Item *targets.Target `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
|
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateTargetRequest) Reset() {
|
|
*x = UpdateTargetRequest{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateTargetRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateTargetRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateTargetRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateTargetRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateTargetRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *UpdateTargetRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateTargetRequest) GetItem() *targets.Target {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdateTargetRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
|
|
if x != nil {
|
|
return x.UpdateMask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateTargetResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *targets.Target `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateTargetResponse) Reset() {
|
|
*x = UpdateTargetResponse{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateTargetResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateTargetResponse) ProtoMessage() {}
|
|
|
|
func (x *UpdateTargetResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateTargetResponse.ProtoReflect.Descriptor instead.
|
|
func (*UpdateTargetResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *UpdateTargetResponse) GetItem() *targets.Target {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteTargetRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteTargetRequest) Reset() {
|
|
*x = DeleteTargetRequest{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteTargetRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteTargetRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteTargetRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteTargetRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteTargetRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *DeleteTargetRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteTargetResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteTargetResponse) Reset() {
|
|
*x = DeleteTargetResponse{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteTargetResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteTargetResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteTargetResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteTargetResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteTargetResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
type AddTargetHostSourcesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
|
// Version is used to ensure this resource has not changed.
|
|
// The mutation will fail if the version does not match the latest known good version.
|
|
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
HostSourceIds []string `protobuf:"bytes,3,rep,name=host_source_ids,proto3" json:"host_source_ids,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddTargetHostSourcesRequest) Reset() {
|
|
*x = AddTargetHostSourcesRequest{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddTargetHostSourcesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddTargetHostSourcesRequest) ProtoMessage() {}
|
|
|
|
func (x *AddTargetHostSourcesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddTargetHostSourcesRequest.ProtoReflect.Descriptor instead.
|
|
func (*AddTargetHostSourcesRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *AddTargetHostSourcesRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddTargetHostSourcesRequest) GetVersion() uint32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddTargetHostSourcesRequest) GetHostSourceIds() []string {
|
|
if x != nil {
|
|
return x.HostSourceIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AddTargetHostSourcesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *targets.Target `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddTargetHostSourcesResponse) Reset() {
|
|
*x = AddTargetHostSourcesResponse{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddTargetHostSourcesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddTargetHostSourcesResponse) ProtoMessage() {}
|
|
|
|
func (x *AddTargetHostSourcesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddTargetHostSourcesResponse.ProtoReflect.Descriptor instead.
|
|
func (*AddTargetHostSourcesResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *AddTargetHostSourcesResponse) GetItem() *targets.Target {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetTargetHostSourcesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
|
// Version is used to ensure this resource has not changed.
|
|
// The mutation will fail if the version does not match the latest known good version.
|
|
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
HostSourceIds []string `protobuf:"bytes,3,rep,name=host_source_ids,proto3" json:"host_source_ids,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetTargetHostSourcesRequest) Reset() {
|
|
*x = SetTargetHostSourcesRequest{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetTargetHostSourcesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetTargetHostSourcesRequest) ProtoMessage() {}
|
|
|
|
func (x *SetTargetHostSourcesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetTargetHostSourcesRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetTargetHostSourcesRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *SetTargetHostSourcesRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetTargetHostSourcesRequest) GetVersion() uint32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetTargetHostSourcesRequest) GetHostSourceIds() []string {
|
|
if x != nil {
|
|
return x.HostSourceIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetTargetHostSourcesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *targets.Target `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetTargetHostSourcesResponse) Reset() {
|
|
*x = SetTargetHostSourcesResponse{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetTargetHostSourcesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetTargetHostSourcesResponse) ProtoMessage() {}
|
|
|
|
func (x *SetTargetHostSourcesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetTargetHostSourcesResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetTargetHostSourcesResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *SetTargetHostSourcesResponse) GetItem() *targets.Target {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RemoveTargetHostSourcesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
|
// Version is used to ensure this resource has not changed.
|
|
// The mutation will fail if the version does not match the latest known good version.
|
|
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
HostSourceIds []string `protobuf:"bytes,3,rep,name=host_source_ids,proto3" json:"host_source_ids,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveTargetHostSourcesRequest) Reset() {
|
|
*x = RemoveTargetHostSourcesRequest{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveTargetHostSourcesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveTargetHostSourcesRequest) ProtoMessage() {}
|
|
|
|
func (x *RemoveTargetHostSourcesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RemoveTargetHostSourcesRequest.ProtoReflect.Descriptor instead.
|
|
func (*RemoveTargetHostSourcesRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *RemoveTargetHostSourcesRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RemoveTargetHostSourcesRequest) GetVersion() uint32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RemoveTargetHostSourcesRequest) GetHostSourceIds() []string {
|
|
if x != nil {
|
|
return x.HostSourceIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RemoveTargetHostSourcesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *targets.Target `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveTargetHostSourcesResponse) Reset() {
|
|
*x = RemoveTargetHostSourcesResponse{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveTargetHostSourcesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveTargetHostSourcesResponse) ProtoMessage() {}
|
|
|
|
func (x *RemoveTargetHostSourcesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RemoveTargetHostSourcesResponse.ProtoReflect.Descriptor instead.
|
|
func (*RemoveTargetHostSourcesResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *RemoveTargetHostSourcesResponse) GetItem() *targets.Target {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AddTargetCredentialSourcesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// Version is used to ensure this resource has not changed.
|
|
// The mutation will fail if the version does not match the latest known good version.
|
|
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// Brokered credentials are returned to the user during session authorization.
|
|
BrokeredCredentialSourceIds []string `protobuf:"bytes,10,rep,name=brokered_credential_source_ids,proto3" json:"brokered_credential_source_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// Injected application credentials are used by a Boundary worker to secure the
|
|
// connection between the worker and the endpoint. Injected application credentials are
|
|
// never returned to the user.
|
|
InjectedApplicationCredentialSourceIds []string `protobuf:"bytes,20,rep,name=injected_application_credential_source_ids,proto3" json:"injected_application_credential_source_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddTargetCredentialSourcesRequest) Reset() {
|
|
*x = AddTargetCredentialSourcesRequest{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddTargetCredentialSourcesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddTargetCredentialSourcesRequest) ProtoMessage() {}
|
|
|
|
func (x *AddTargetCredentialSourcesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddTargetCredentialSourcesRequest.ProtoReflect.Descriptor instead.
|
|
func (*AddTargetCredentialSourcesRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *AddTargetCredentialSourcesRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddTargetCredentialSourcesRequest) GetVersion() uint32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddTargetCredentialSourcesRequest) GetBrokeredCredentialSourceIds() []string {
|
|
if x != nil {
|
|
return x.BrokeredCredentialSourceIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AddTargetCredentialSourcesRequest) GetInjectedApplicationCredentialSourceIds() []string {
|
|
if x != nil {
|
|
return x.InjectedApplicationCredentialSourceIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AddTargetCredentialSourcesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *targets.Target `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddTargetCredentialSourcesResponse) Reset() {
|
|
*x = AddTargetCredentialSourcesResponse{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddTargetCredentialSourcesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddTargetCredentialSourcesResponse) ProtoMessage() {}
|
|
|
|
func (x *AddTargetCredentialSourcesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddTargetCredentialSourcesResponse.ProtoReflect.Descriptor instead.
|
|
func (*AddTargetCredentialSourcesResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *AddTargetCredentialSourcesResponse) GetItem() *targets.Target {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Sets the values for credential sources. Any credential_source_id field that
|
|
// is not set in the request will result in those fields being cleared.
|
|
type SetTargetCredentialSourcesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// Version is used to ensure this resource has not changed.
|
|
// The mutation will fail if the version does not match the latest known good version.
|
|
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// Brokered credentials are returned to the user during session authorization.
|
|
BrokeredCredentialSourceIds []string `protobuf:"bytes,10,rep,name=brokered_credential_source_ids,proto3" json:"brokered_credential_source_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// Injected application credentials are used by a Boundary worker to secure the
|
|
// connection between the worker and the endpoint. Injected application credentials are
|
|
// never returned to the user.
|
|
InjectedApplicationCredentialSourceIds []string `protobuf:"bytes,20,rep,name=injected_application_credential_source_ids,proto3" json:"injected_application_credential_source_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetTargetCredentialSourcesRequest) Reset() {
|
|
*x = SetTargetCredentialSourcesRequest{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetTargetCredentialSourcesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetTargetCredentialSourcesRequest) ProtoMessage() {}
|
|
|
|
func (x *SetTargetCredentialSourcesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetTargetCredentialSourcesRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetTargetCredentialSourcesRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *SetTargetCredentialSourcesRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetTargetCredentialSourcesRequest) GetVersion() uint32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetTargetCredentialSourcesRequest) GetBrokeredCredentialSourceIds() []string {
|
|
if x != nil {
|
|
return x.BrokeredCredentialSourceIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SetTargetCredentialSourcesRequest) GetInjectedApplicationCredentialSourceIds() []string {
|
|
if x != nil {
|
|
return x.InjectedApplicationCredentialSourceIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetTargetCredentialSourcesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *targets.Target `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetTargetCredentialSourcesResponse) Reset() {
|
|
*x = SetTargetCredentialSourcesResponse{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetTargetCredentialSourcesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetTargetCredentialSourcesResponse) ProtoMessage() {}
|
|
|
|
func (x *SetTargetCredentialSourcesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetTargetCredentialSourcesResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetTargetCredentialSourcesResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *SetTargetCredentialSourcesResponse) GetItem() *targets.Target {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RemoveTargetCredentialSourcesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// Version is used to ensure this resource has not changed.
|
|
// The mutation will fail if the version does not match the latest known good version.
|
|
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// Brokered credentials are returned to the user during session authorization.
|
|
BrokeredCredentialSourceIds []string `protobuf:"bytes,10,rep,name=brokered_credential_source_ids,proto3" json:"brokered_credential_source_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// Injected application credentials are used by a Boundary worker to secure the
|
|
// connection between the worker and the endpoint. Injected application credentials are
|
|
// never returned to the user.
|
|
InjectedApplicationCredentialSourceIds []string `protobuf:"bytes,20,rep,name=injected_application_credential_source_ids,proto3" json:"injected_application_credential_source_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveTargetCredentialSourcesRequest) Reset() {
|
|
*x = RemoveTargetCredentialSourcesRequest{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveTargetCredentialSourcesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveTargetCredentialSourcesRequest) ProtoMessage() {}
|
|
|
|
func (x *RemoveTargetCredentialSourcesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RemoveTargetCredentialSourcesRequest.ProtoReflect.Descriptor instead.
|
|
func (*RemoveTargetCredentialSourcesRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *RemoveTargetCredentialSourcesRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RemoveTargetCredentialSourcesRequest) GetVersion() uint32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RemoveTargetCredentialSourcesRequest) GetBrokeredCredentialSourceIds() []string {
|
|
if x != nil {
|
|
return x.BrokeredCredentialSourceIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RemoveTargetCredentialSourcesRequest) GetInjectedApplicationCredentialSourceIds() []string {
|
|
if x != nil {
|
|
return x.InjectedApplicationCredentialSourceIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RemoveTargetCredentialSourcesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *targets.Target `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveTargetCredentialSourcesResponse) Reset() {
|
|
*x = RemoveTargetCredentialSourcesResponse{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveTargetCredentialSourcesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveTargetCredentialSourcesResponse) ProtoMessage() {}
|
|
|
|
func (x *RemoveTargetCredentialSourcesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RemoveTargetCredentialSourcesResponse.ProtoReflect.Descriptor instead.
|
|
func (*RemoveTargetCredentialSourcesResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *RemoveTargetCredentialSourcesResponse) GetItem() *targets.Target {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AuthorizeSessionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The ID of the target. Required unless some combination of scope_id/scope_name and name are set.
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
|
// The name of the target. When using this, scope_id or scope_name must be set.
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// The scope ID containing the target, if specifying the target by name.
|
|
ScopeId string `protobuf:"bytes,4,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
|
// The scope name containing the target, if specifying the target by name.
|
|
ScopeName string `protobuf:"bytes,5,opt,name=scope_name,json=scopeName,proto3" json:"scope_name,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// An optional parameter allowing specification of the particular Host within the Target's configured Host Sets to connect to during this Session.
|
|
HostId string `protobuf:"bytes,2,opt,name=host_id,proto3" json:"host_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AuthorizeSessionRequest) Reset() {
|
|
*x = AuthorizeSessionRequest{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AuthorizeSessionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AuthorizeSessionRequest) ProtoMessage() {}
|
|
|
|
func (x *AuthorizeSessionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AuthorizeSessionRequest.ProtoReflect.Descriptor instead.
|
|
func (*AuthorizeSessionRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *AuthorizeSessionRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorizeSessionRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorizeSessionRequest) GetScopeId() string {
|
|
if x != nil {
|
|
return x.ScopeId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorizeSessionRequest) GetScopeName() string {
|
|
if x != nil {
|
|
return x.ScopeName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorizeSessionRequest) GetHostId() string {
|
|
if x != nil {
|
|
return x.HostId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AuthorizeSessionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *targets.SessionAuthorization `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AuthorizeSessionResponse) Reset() {
|
|
*x = AuthorizeSessionResponse{}
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AuthorizeSessionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AuthorizeSessionResponse) ProtoMessage() {}
|
|
|
|
func (x *AuthorizeSessionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_target_service_proto_msgTypes[23]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AuthorizeSessionResponse.ProtoReflect.Descriptor instead.
|
|
func (*AuthorizeSessionResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_target_service_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *AuthorizeSessionResponse) GetItem() *targets.SessionAuthorization {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_controller_api_services_v1_target_service_proto protoreflect.FileDescriptor
|
|
|
|
const file_controller_api_services_v1_target_service_proto_rawDesc = "" +
|
|
"\n" +
|
|
"/controller/api/services/v1/target_service.proto\x12\x1acontroller.api.services.v1\x1a0controller/api/resources/targets/v1/target.proto\x1a*controller/custom_options/v1/options.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"*\n" +
|
|
"\x10GetTargetRequest\x12\x16\n" +
|
|
"\x02id\x18\x01 \x01(\tB\x06\xaa\xe3)\x02\b\x01R\x02id\"T\n" +
|
|
"\x11GetTargetResponse\x12?\n" +
|
|
"\x04item\x18\x01 \x01(\v2+.controller.api.resources.targets.v1.TargetR\x04item\"\xa3\x01\n" +
|
|
"\x12ListTargetsRequest\x12\x19\n" +
|
|
"\bscope_id\x18\x01 \x01(\tR\ascopeId\x12\x1c\n" +
|
|
"\trecursive\x18\x14 \x01(\bR\trecursive\x12\x16\n" +
|
|
"\x06filter\x18\x1e \x01(\tR\x06filter\x12\x1e\n" +
|
|
"\n" +
|
|
"list_token\x18( \x01(\tR\n" +
|
|
"list_token\x12\x1c\n" +
|
|
"\tpage_size\x182 \x01(\rR\tpage_size\"\x9e\x02\n" +
|
|
"\x13ListTargetsResponse\x12A\n" +
|
|
"\x05items\x18\x01 \x03(\v2+.controller.api.resources.targets.v1.TargetR\x05items\x12$\n" +
|
|
"\rresponse_type\x18\x02 \x01(\tR\rresponse_type\x12\x1e\n" +
|
|
"\n" +
|
|
"list_token\x18\x03 \x01(\tR\n" +
|
|
"list_token\x12\x18\n" +
|
|
"\asort_by\x18\x04 \x01(\tR\asort_by\x12\x1a\n" +
|
|
"\bsort_dir\x18\x05 \x01(\tR\bsort_dir\x12 \n" +
|
|
"\vremoved_ids\x18\x06 \x03(\tR\vremoved_ids\x12&\n" +
|
|
"\x0eest_item_count\x18\a \x01(\rR\x0eest_item_count\"V\n" +
|
|
"\x13CreateTargetRequest\x12?\n" +
|
|
"\x04item\x18\x01 \x01(\v2+.controller.api.resources.targets.v1.TargetR\x04item\"i\n" +
|
|
"\x14CreateTargetResponse\x12\x10\n" +
|
|
"\x03uri\x18\x01 \x01(\tR\x03uri\x12?\n" +
|
|
"\x04item\x18\x02 \x01(\v2+.controller.api.resources.targets.v1.TargetR\x04item\"\xac\x01\n" +
|
|
"\x13UpdateTargetRequest\x12\x16\n" +
|
|
"\x02id\x18\x01 \x01(\tB\x06\xaa\xe3)\x02\b\x01R\x02id\x12?\n" +
|
|
"\x04item\x18\x02 \x01(\v2+.controller.api.resources.targets.v1.TargetR\x04item\x12<\n" +
|
|
"\vupdate_mask\x18\x03 \x01(\v2\x1a.google.protobuf.FieldMaskR\vupdate_mask\"W\n" +
|
|
"\x14UpdateTargetResponse\x12?\n" +
|
|
"\x04item\x18\x01 \x01(\v2+.controller.api.resources.targets.v1.TargetR\x04item\"-\n" +
|
|
"\x13DeleteTargetRequest\x12\x16\n" +
|
|
"\x02id\x18\x01 \x01(\tB\x06\xaa\xe3)\x02\b\x01R\x02id\"\x16\n" +
|
|
"\x14DeleteTargetResponse\"y\n" +
|
|
"\x1bAddTargetHostSourcesRequest\x12\x16\n" +
|
|
"\x02id\x18\x01 \x01(\tB\x06\xaa\xe3)\x02\b\x01R\x02id\x12\x18\n" +
|
|
"\aversion\x18\x02 \x01(\rR\aversion\x12(\n" +
|
|
"\x0fhost_source_ids\x18\x03 \x03(\tR\x0fhost_source_ids\"_\n" +
|
|
"\x1cAddTargetHostSourcesResponse\x12?\n" +
|
|
"\x04item\x18\x01 \x01(\v2+.controller.api.resources.targets.v1.TargetR\x04item\"y\n" +
|
|
"\x1bSetTargetHostSourcesRequest\x12\x16\n" +
|
|
"\x02id\x18\x01 \x01(\tB\x06\xaa\xe3)\x02\b\x01R\x02id\x12\x18\n" +
|
|
"\aversion\x18\x02 \x01(\rR\aversion\x12(\n" +
|
|
"\x0fhost_source_ids\x18\x03 \x03(\tR\x0fhost_source_ids\"_\n" +
|
|
"\x1cSetTargetHostSourcesResponse\x12?\n" +
|
|
"\x04item\x18\x01 \x01(\v2+.controller.api.resources.targets.v1.TargetR\x04item\"|\n" +
|
|
"\x1eRemoveTargetHostSourcesRequest\x12\x16\n" +
|
|
"\x02id\x18\x01 \x01(\tB\x06\xaa\xe3)\x02\b\x01R\x02id\x12\x18\n" +
|
|
"\aversion\x18\x02 \x01(\rR\aversion\x12(\n" +
|
|
"\x0fhost_source_ids\x18\x03 \x03(\tR\x0fhost_source_ids\"b\n" +
|
|
"\x1fRemoveTargetHostSourcesResponse\x12?\n" +
|
|
"\x04item\x18\x01 \x01(\v2+.controller.api.resources.targets.v1.TargetR\x04item\"\xca\x02\n" +
|
|
"!AddTargetCredentialSourcesRequest\x12\x16\n" +
|
|
"\x02id\x18\x01 \x01(\tB\x06\xaa\xe3)\x02\b\x01R\x02id\x12\x18\n" +
|
|
"\aversion\x18\x02 \x01(\rR\aversion\x12F\n" +
|
|
"\x1ebrokered_credential_source_ids\x18\n" +
|
|
" \x03(\tR\x1ebrokered_credential_source_ids\x12^\n" +
|
|
"*injected_application_credential_source_ids\x18\x14 \x03(\tR*injected_application_credential_source_idsJ\x04\b\x04\x10\x05J\x04\b\x03\x10\x04R\x1cegress_credential_source_idsR!application_credential_source_ids\"e\n" +
|
|
"\"AddTargetCredentialSourcesResponse\x12?\n" +
|
|
"\x04item\x18\x01 \x01(\v2+.controller.api.resources.targets.v1.TargetR\x04item\"\xca\x02\n" +
|
|
"!SetTargetCredentialSourcesRequest\x12\x16\n" +
|
|
"\x02id\x18\x01 \x01(\tB\x06\xaa\xe3)\x02\b\x01R\x02id\x12\x18\n" +
|
|
"\aversion\x18\x02 \x01(\rR\aversion\x12F\n" +
|
|
"\x1ebrokered_credential_source_ids\x18\n" +
|
|
" \x03(\tR\x1ebrokered_credential_source_ids\x12^\n" +
|
|
"*injected_application_credential_source_ids\x18\x14 \x03(\tR*injected_application_credential_source_idsJ\x04\b\x04\x10\x05J\x04\b\x03\x10\x04R\x1cegress_credential_source_idsR!application_credential_source_ids\"e\n" +
|
|
"\"SetTargetCredentialSourcesResponse\x12?\n" +
|
|
"\x04item\x18\x01 \x01(\v2+.controller.api.resources.targets.v1.TargetR\x04item\"\xcd\x02\n" +
|
|
"$RemoveTargetCredentialSourcesRequest\x12\x16\n" +
|
|
"\x02id\x18\x01 \x01(\tB\x06\xaa\xe3)\x02\b\x01R\x02id\x12\x18\n" +
|
|
"\aversion\x18\x02 \x01(\rR\aversion\x12F\n" +
|
|
"\x1ebrokered_credential_source_ids\x18\n" +
|
|
" \x03(\tR\x1ebrokered_credential_source_ids\x12^\n" +
|
|
"*injected_application_credential_source_ids\x18\x14 \x03(\tR*injected_application_credential_source_idsJ\x04\b\x04\x10\x05J\x04\b\x03\x10\x04R\x1cegress_credential_source_idsR!application_credential_source_ids\"h\n" +
|
|
"%RemoveTargetCredentialSourcesResponse\x12?\n" +
|
|
"\x04item\x18\x01 \x01(\v2+.controller.api.resources.targets.v1.TargetR\x04item\"\xaf\x01\n" +
|
|
"\x17AuthorizeSessionRequest\x12,\n" +
|
|
"\x02id\x18\x01 \x01(\tB\x1c\xaa\xe3)\x18\x12\x16\n" +
|
|
"\bscope_id\n" +
|
|
"\n" +
|
|
"scope_nameR\x02id\x12\x12\n" +
|
|
"\x04name\x18\x03 \x01(\tR\x04name\x12\x19\n" +
|
|
"\bscope_id\x18\x04 \x01(\tR\ascopeId\x12\x1d\n" +
|
|
"\n" +
|
|
"scope_name\x18\x05 \x01(\tR\tscopeName\x12\x18\n" +
|
|
"\ahost_id\x18\x02 \x01(\tR\ahost_id\"i\n" +
|
|
"\x18AuthorizeSessionResponse\x12M\n" +
|
|
"\x04item\x18\x01 \x01(\v29.controller.api.resources.targets.v1.SessionAuthorizationR\x04item2\xdd\x17\n" +
|
|
"\rTargetService\x12\xa2\x01\n" +
|
|
"\tGetTarget\x12,.controller.api.services.v1.GetTargetRequest\x1a-.controller.api.services.v1.GetTargetResponse\"8\x92A\x17\x12\x15Gets a single Target.\x82\xd3\xe4\x93\x02\x18b\x04item\x12\x10/v1/targets/{id}\x12\x9a\x01\n" +
|
|
"\vListTargets\x12..controller.api.services.v1.ListTargetsRequest\x1a/.controller.api.services.v1.ListTargetsResponse\"*\x92A\x14\x12\x12Lists all Targets.\x82\xd3\xe4\x93\x02\r\x12\v/v1/targets\x12\xaf\x01\n" +
|
|
"\fCreateTarget\x12/.controller.api.services.v1.CreateTargetRequest\x1a0.controller.api.services.v1.CreateTargetResponse\"<\x92A\x1a\x12\x18Creates a single Target.\x82\xd3\xe4\x93\x02\x19:\x04itemb\x04item\"\v/v1/targets\x12\xad\x01\n" +
|
|
"\fUpdateTarget\x12/.controller.api.services.v1.UpdateTargetRequest\x1a0.controller.api.services.v1.UpdateTargetResponse\":\x92A\x13\x12\x11Updates a Target.\x82\xd3\xe4\x93\x02\x1e:\x04itemb\x04item2\x10/v1/targets/{id}\x12\xa1\x01\n" +
|
|
"\fDeleteTarget\x12/.controller.api.services.v1.DeleteTargetRequest\x1a0.controller.api.services.v1.DeleteTargetResponse\".\x92A\x13\x12\x11Deletes a Target.\x82\xd3\xe4\x93\x02\x12*\x10/v1/targets/{id}\x12\xcf\x01\n" +
|
|
"\x10AuthorizeSession\x123.controller.api.services.v1.AuthorizeSessionRequest\x1a4.controller.api.services.v1.AuthorizeSessionResponse\"P\x92A\x17\x12\x15Authorizes a Session.\x82\xd3\xe4\x93\x020:\x01*b\x04item\"%/v1/targets/{id=**}:authorize-session\x12\xa7\x02\n" +
|
|
"\x14AddTargetHostSources\x127.controller.api.services.v1.AddTargetHostSourcesRequest\x1a8.controller.api.services.v1.AddTargetHostSourcesResponse\"\x9b\x01\x92Af\x12dAdds existing Host Sources to a Target. Cannot be used on targets that have their address field set.\x82\xd3\xe4\x93\x02,:\x01*b\x04item\"!/v1/targets/{id}:add-host-sources\x12\xa7\x02\n" +
|
|
"\x14SetTargetHostSources\x127.controller.api.services.v1.SetTargetHostSourcesRequest\x1a8.controller.api.services.v1.SetTargetHostSourcesResponse\"\x9b\x01\x92Af\x12dSources the Host Sources on the Target. Cannot be used on targets that have their address field set.\x82\xd3\xe4\x93\x02,:\x01*b\x04item\"!/v1/targets/{id}:set-host-sources\x12\xf3\x01\n" +
|
|
"\x17RemoveTargetHostSources\x12:.controller.api.services.v1.RemoveTargetHostSourcesRequest\x1a;.controller.api.services.v1.RemoveTargetHostSourcesResponse\"_\x92A'\x12%Removes Host Sources from the Target.\x82\xd3\xe4\x93\x02/:\x01*b\x04item\"$/v1/targets/{id}:remove-host-sources\x12\x87\x02\n" +
|
|
"\x1aAddTargetCredentialSources\x12=.controller.api.services.v1.AddTargetCredentialSourcesRequest\x1a>.controller.api.services.v1.AddTargetCredentialSourcesResponse\"j\x92A/\x12-Adds existing Credential Sources to a Target.\x82\xd3\xe4\x93\x022:\x01*b\x04item\"'/v1/targets/{id}:add-credential-sources\x12\x84\x02\n" +
|
|
"\x1aSetTargetCredentialSources\x12=.controller.api.services.v1.SetTargetCredentialSourcesRequest\x1a>.controller.api.services.v1.SetTargetCredentialSourcesResponse\"g\x92A,\x12*Sets the Credential Sources on the Target.\x82\xd3\xe4\x93\x022:\x01*b\x04item\"'/v1/targets/{id}:set-credential-sources\x12\x91\x02\n" +
|
|
"\x1dRemoveTargetCredentialSources\x12@.controller.api.services.v1.RemoveTargetCredentialSourcesRequest\x1aA.controller.api.services.v1.RemoveTargetCredentialSourcesResponse\"k\x92A-\x12+Removes Credential Sources from the Target.\x82\xd3\xe4\x93\x025:\x01*b\x04item\"*/v1/targets/{id}:remove-credential-sources\x1a\xc2\x02\x92A\xbe\x02\n" +
|
|
"\x0eTarget service\x12\xab\x01A target represents an endpoint or resource that users can access through Boundary sessions. The target service provides endpoints that let you manage targets in Boundary.\x1a~\n" +
|
|
"/Read about targets in the Boundary domain model\x12Khttps://developer.hashicorp.com/boundary/docs/concepts/domain-model/targetsBW\xa2\xe3)\x06targetZKgithub.com/hashicorp/boundary/internal/gen/controller/api/services;servicesb\x06proto3"
|
|
|
|
var (
|
|
file_controller_api_services_v1_target_service_proto_rawDescOnce sync.Once
|
|
file_controller_api_services_v1_target_service_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_controller_api_services_v1_target_service_proto_rawDescGZIP() []byte {
|
|
file_controller_api_services_v1_target_service_proto_rawDescOnce.Do(func() {
|
|
file_controller_api_services_v1_target_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_controller_api_services_v1_target_service_proto_rawDesc), len(file_controller_api_services_v1_target_service_proto_rawDesc)))
|
|
})
|
|
return file_controller_api_services_v1_target_service_proto_rawDescData
|
|
}
|
|
|
|
var file_controller_api_services_v1_target_service_proto_msgTypes = make([]protoimpl.MessageInfo, 24)
|
|
var file_controller_api_services_v1_target_service_proto_goTypes = []any{
|
|
(*GetTargetRequest)(nil), // 0: controller.api.services.v1.GetTargetRequest
|
|
(*GetTargetResponse)(nil), // 1: controller.api.services.v1.GetTargetResponse
|
|
(*ListTargetsRequest)(nil), // 2: controller.api.services.v1.ListTargetsRequest
|
|
(*ListTargetsResponse)(nil), // 3: controller.api.services.v1.ListTargetsResponse
|
|
(*CreateTargetRequest)(nil), // 4: controller.api.services.v1.CreateTargetRequest
|
|
(*CreateTargetResponse)(nil), // 5: controller.api.services.v1.CreateTargetResponse
|
|
(*UpdateTargetRequest)(nil), // 6: controller.api.services.v1.UpdateTargetRequest
|
|
(*UpdateTargetResponse)(nil), // 7: controller.api.services.v1.UpdateTargetResponse
|
|
(*DeleteTargetRequest)(nil), // 8: controller.api.services.v1.DeleteTargetRequest
|
|
(*DeleteTargetResponse)(nil), // 9: controller.api.services.v1.DeleteTargetResponse
|
|
(*AddTargetHostSourcesRequest)(nil), // 10: controller.api.services.v1.AddTargetHostSourcesRequest
|
|
(*AddTargetHostSourcesResponse)(nil), // 11: controller.api.services.v1.AddTargetHostSourcesResponse
|
|
(*SetTargetHostSourcesRequest)(nil), // 12: controller.api.services.v1.SetTargetHostSourcesRequest
|
|
(*SetTargetHostSourcesResponse)(nil), // 13: controller.api.services.v1.SetTargetHostSourcesResponse
|
|
(*RemoveTargetHostSourcesRequest)(nil), // 14: controller.api.services.v1.RemoveTargetHostSourcesRequest
|
|
(*RemoveTargetHostSourcesResponse)(nil), // 15: controller.api.services.v1.RemoveTargetHostSourcesResponse
|
|
(*AddTargetCredentialSourcesRequest)(nil), // 16: controller.api.services.v1.AddTargetCredentialSourcesRequest
|
|
(*AddTargetCredentialSourcesResponse)(nil), // 17: controller.api.services.v1.AddTargetCredentialSourcesResponse
|
|
(*SetTargetCredentialSourcesRequest)(nil), // 18: controller.api.services.v1.SetTargetCredentialSourcesRequest
|
|
(*SetTargetCredentialSourcesResponse)(nil), // 19: controller.api.services.v1.SetTargetCredentialSourcesResponse
|
|
(*RemoveTargetCredentialSourcesRequest)(nil), // 20: controller.api.services.v1.RemoveTargetCredentialSourcesRequest
|
|
(*RemoveTargetCredentialSourcesResponse)(nil), // 21: controller.api.services.v1.RemoveTargetCredentialSourcesResponse
|
|
(*AuthorizeSessionRequest)(nil), // 22: controller.api.services.v1.AuthorizeSessionRequest
|
|
(*AuthorizeSessionResponse)(nil), // 23: controller.api.services.v1.AuthorizeSessionResponse
|
|
(*targets.Target)(nil), // 24: controller.api.resources.targets.v1.Target
|
|
(*fieldmaskpb.FieldMask)(nil), // 25: google.protobuf.FieldMask
|
|
(*targets.SessionAuthorization)(nil), // 26: controller.api.resources.targets.v1.SessionAuthorization
|
|
}
|
|
var file_controller_api_services_v1_target_service_proto_depIdxs = []int32{
|
|
24, // 0: controller.api.services.v1.GetTargetResponse.item:type_name -> controller.api.resources.targets.v1.Target
|
|
24, // 1: controller.api.services.v1.ListTargetsResponse.items:type_name -> controller.api.resources.targets.v1.Target
|
|
24, // 2: controller.api.services.v1.CreateTargetRequest.item:type_name -> controller.api.resources.targets.v1.Target
|
|
24, // 3: controller.api.services.v1.CreateTargetResponse.item:type_name -> controller.api.resources.targets.v1.Target
|
|
24, // 4: controller.api.services.v1.UpdateTargetRequest.item:type_name -> controller.api.resources.targets.v1.Target
|
|
25, // 5: controller.api.services.v1.UpdateTargetRequest.update_mask:type_name -> google.protobuf.FieldMask
|
|
24, // 6: controller.api.services.v1.UpdateTargetResponse.item:type_name -> controller.api.resources.targets.v1.Target
|
|
24, // 7: controller.api.services.v1.AddTargetHostSourcesResponse.item:type_name -> controller.api.resources.targets.v1.Target
|
|
24, // 8: controller.api.services.v1.SetTargetHostSourcesResponse.item:type_name -> controller.api.resources.targets.v1.Target
|
|
24, // 9: controller.api.services.v1.RemoveTargetHostSourcesResponse.item:type_name -> controller.api.resources.targets.v1.Target
|
|
24, // 10: controller.api.services.v1.AddTargetCredentialSourcesResponse.item:type_name -> controller.api.resources.targets.v1.Target
|
|
24, // 11: controller.api.services.v1.SetTargetCredentialSourcesResponse.item:type_name -> controller.api.resources.targets.v1.Target
|
|
24, // 12: controller.api.services.v1.RemoveTargetCredentialSourcesResponse.item:type_name -> controller.api.resources.targets.v1.Target
|
|
26, // 13: controller.api.services.v1.AuthorizeSessionResponse.item:type_name -> controller.api.resources.targets.v1.SessionAuthorization
|
|
0, // 14: controller.api.services.v1.TargetService.GetTarget:input_type -> controller.api.services.v1.GetTargetRequest
|
|
2, // 15: controller.api.services.v1.TargetService.ListTargets:input_type -> controller.api.services.v1.ListTargetsRequest
|
|
4, // 16: controller.api.services.v1.TargetService.CreateTarget:input_type -> controller.api.services.v1.CreateTargetRequest
|
|
6, // 17: controller.api.services.v1.TargetService.UpdateTarget:input_type -> controller.api.services.v1.UpdateTargetRequest
|
|
8, // 18: controller.api.services.v1.TargetService.DeleteTarget:input_type -> controller.api.services.v1.DeleteTargetRequest
|
|
22, // 19: controller.api.services.v1.TargetService.AuthorizeSession:input_type -> controller.api.services.v1.AuthorizeSessionRequest
|
|
10, // 20: controller.api.services.v1.TargetService.AddTargetHostSources:input_type -> controller.api.services.v1.AddTargetHostSourcesRequest
|
|
12, // 21: controller.api.services.v1.TargetService.SetTargetHostSources:input_type -> controller.api.services.v1.SetTargetHostSourcesRequest
|
|
14, // 22: controller.api.services.v1.TargetService.RemoveTargetHostSources:input_type -> controller.api.services.v1.RemoveTargetHostSourcesRequest
|
|
16, // 23: controller.api.services.v1.TargetService.AddTargetCredentialSources:input_type -> controller.api.services.v1.AddTargetCredentialSourcesRequest
|
|
18, // 24: controller.api.services.v1.TargetService.SetTargetCredentialSources:input_type -> controller.api.services.v1.SetTargetCredentialSourcesRequest
|
|
20, // 25: controller.api.services.v1.TargetService.RemoveTargetCredentialSources:input_type -> controller.api.services.v1.RemoveTargetCredentialSourcesRequest
|
|
1, // 26: controller.api.services.v1.TargetService.GetTarget:output_type -> controller.api.services.v1.GetTargetResponse
|
|
3, // 27: controller.api.services.v1.TargetService.ListTargets:output_type -> controller.api.services.v1.ListTargetsResponse
|
|
5, // 28: controller.api.services.v1.TargetService.CreateTarget:output_type -> controller.api.services.v1.CreateTargetResponse
|
|
7, // 29: controller.api.services.v1.TargetService.UpdateTarget:output_type -> controller.api.services.v1.UpdateTargetResponse
|
|
9, // 30: controller.api.services.v1.TargetService.DeleteTarget:output_type -> controller.api.services.v1.DeleteTargetResponse
|
|
23, // 31: controller.api.services.v1.TargetService.AuthorizeSession:output_type -> controller.api.services.v1.AuthorizeSessionResponse
|
|
11, // 32: controller.api.services.v1.TargetService.AddTargetHostSources:output_type -> controller.api.services.v1.AddTargetHostSourcesResponse
|
|
13, // 33: controller.api.services.v1.TargetService.SetTargetHostSources:output_type -> controller.api.services.v1.SetTargetHostSourcesResponse
|
|
15, // 34: controller.api.services.v1.TargetService.RemoveTargetHostSources:output_type -> controller.api.services.v1.RemoveTargetHostSourcesResponse
|
|
17, // 35: controller.api.services.v1.TargetService.AddTargetCredentialSources:output_type -> controller.api.services.v1.AddTargetCredentialSourcesResponse
|
|
19, // 36: controller.api.services.v1.TargetService.SetTargetCredentialSources:output_type -> controller.api.services.v1.SetTargetCredentialSourcesResponse
|
|
21, // 37: controller.api.services.v1.TargetService.RemoveTargetCredentialSources:output_type -> controller.api.services.v1.RemoveTargetCredentialSourcesResponse
|
|
26, // [26:38] is the sub-list for method output_type
|
|
14, // [14:26] is the sub-list for method input_type
|
|
14, // [14:14] is the sub-list for extension type_name
|
|
14, // [14:14] is the sub-list for extension extendee
|
|
0, // [0:14] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_controller_api_services_v1_target_service_proto_init() }
|
|
func file_controller_api_services_v1_target_service_proto_init() {
|
|
if File_controller_api_services_v1_target_service_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_controller_api_services_v1_target_service_proto_rawDesc), len(file_controller_api_services_v1_target_service_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 24,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_controller_api_services_v1_target_service_proto_goTypes,
|
|
DependencyIndexes: file_controller_api_services_v1_target_service_proto_depIdxs,
|
|
MessageInfos: file_controller_api_services_v1_target_service_proto_msgTypes,
|
|
}.Build()
|
|
File_controller_api_services_v1_target_service_proto = out.File
|
|
file_controller_api_services_v1_target_service_proto_goTypes = nil
|
|
file_controller_api_services_v1_target_service_proto_depIdxs = nil
|
|
}
|