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.
719 lines
30 KiB
719 lines
30 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/credential_store_service.proto
|
|
|
|
package services
|
|
|
|
import (
|
|
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
|
|
credentialstores "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/credentialstores"
|
|
_ "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 GetCredentialStoreRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetCredentialStoreRequest) Reset() {
|
|
*x = GetCredentialStoreRequest{}
|
|
mi := &file_controller_api_services_v1_credential_store_service_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetCredentialStoreRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetCredentialStoreRequest) ProtoMessage() {}
|
|
|
|
func (x *GetCredentialStoreRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_credential_store_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 GetCredentialStoreRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetCredentialStoreRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_credential_store_service_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *GetCredentialStoreRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetCredentialStoreResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *credentialstores.CredentialStore `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetCredentialStoreResponse) Reset() {
|
|
*x = GetCredentialStoreResponse{}
|
|
mi := &file_controller_api_services_v1_credential_store_service_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetCredentialStoreResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetCredentialStoreResponse) ProtoMessage() {}
|
|
|
|
func (x *GetCredentialStoreResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_credential_store_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 GetCredentialStoreResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetCredentialStoreResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_credential_store_service_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *GetCredentialStoreResponse) GetItem() *credentialstores.CredentialStore {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListCredentialStoresRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ScopeId string `protobuf:"bytes,1,opt,name=scope_id,proto3" json:"scope_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
Recursive bool `protobuf:"varint,20,opt,name=recursive,proto3" json:"recursive,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// 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 you do not set a page size, Boundary uses the configured default page size.
|
|
// If the page_size is greater than the default page size configured,
|
|
// Boundary truncates the page size 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 *ListCredentialStoresRequest) Reset() {
|
|
*x = ListCredentialStoresRequest{}
|
|
mi := &file_controller_api_services_v1_credential_store_service_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListCredentialStoresRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListCredentialStoresRequest) ProtoMessage() {}
|
|
|
|
func (x *ListCredentialStoresRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_credential_store_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 ListCredentialStoresRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListCredentialStoresRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_credential_store_service_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ListCredentialStoresRequest) GetScopeId() string {
|
|
if x != nil {
|
|
return x.ScopeId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListCredentialStoresRequest) GetRecursive() bool {
|
|
if x != nil {
|
|
return x.Recursive
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListCredentialStoresRequest) GetFilter() string {
|
|
if x != nil {
|
|
return x.Filter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListCredentialStoresRequest) GetListToken() string {
|
|
if x != nil {
|
|
return x.ListToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListCredentialStoresRequest) GetPageSize() uint32 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListCredentialStoresResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The items returned in this page.
|
|
Items []*credentialstores.CredentialStore `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 *ListCredentialStoresResponse) Reset() {
|
|
*x = ListCredentialStoresResponse{}
|
|
mi := &file_controller_api_services_v1_credential_store_service_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListCredentialStoresResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListCredentialStoresResponse) ProtoMessage() {}
|
|
|
|
func (x *ListCredentialStoresResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_credential_store_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 ListCredentialStoresResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListCredentialStoresResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_credential_store_service_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ListCredentialStoresResponse) GetItems() []*credentialstores.CredentialStore {
|
|
if x != nil {
|
|
return x.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListCredentialStoresResponse) GetResponseType() string {
|
|
if x != nil {
|
|
return x.ResponseType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListCredentialStoresResponse) GetListToken() string {
|
|
if x != nil {
|
|
return x.ListToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListCredentialStoresResponse) GetSortBy() string {
|
|
if x != nil {
|
|
return x.SortBy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListCredentialStoresResponse) GetSortDir() string {
|
|
if x != nil {
|
|
return x.SortDir
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListCredentialStoresResponse) GetRemovedIds() []string {
|
|
if x != nil {
|
|
return x.RemovedIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListCredentialStoresResponse) GetEstItemCount() uint32 {
|
|
if x != nil {
|
|
return x.EstItemCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CreateCredentialStoreRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *credentialstores.CredentialStore `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateCredentialStoreRequest) Reset() {
|
|
*x = CreateCredentialStoreRequest{}
|
|
mi := &file_controller_api_services_v1_credential_store_service_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateCredentialStoreRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateCredentialStoreRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateCredentialStoreRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_credential_store_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 CreateCredentialStoreRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateCredentialStoreRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_credential_store_service_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *CreateCredentialStoreRequest) GetItem() *credentialstores.CredentialStore {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateCredentialStoreResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
Item *credentialstores.CredentialStore `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateCredentialStoreResponse) Reset() {
|
|
*x = CreateCredentialStoreResponse{}
|
|
mi := &file_controller_api_services_v1_credential_store_service_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateCredentialStoreResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateCredentialStoreResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateCredentialStoreResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_credential_store_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 CreateCredentialStoreResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateCredentialStoreResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_credential_store_service_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *CreateCredentialStoreResponse) GetUri() string {
|
|
if x != nil {
|
|
return x.Uri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateCredentialStoreResponse) GetItem() *credentialstores.CredentialStore {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateCredentialStoreRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
Item *credentialstores.CredentialStore `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 *UpdateCredentialStoreRequest) Reset() {
|
|
*x = UpdateCredentialStoreRequest{}
|
|
mi := &file_controller_api_services_v1_credential_store_service_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateCredentialStoreRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateCredentialStoreRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateCredentialStoreRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_credential_store_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 UpdateCredentialStoreRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateCredentialStoreRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_credential_store_service_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *UpdateCredentialStoreRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateCredentialStoreRequest) GetItem() *credentialstores.CredentialStore {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdateCredentialStoreRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
|
|
if x != nil {
|
|
return x.UpdateMask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateCredentialStoreResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *credentialstores.CredentialStore `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateCredentialStoreResponse) Reset() {
|
|
*x = UpdateCredentialStoreResponse{}
|
|
mi := &file_controller_api_services_v1_credential_store_service_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateCredentialStoreResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateCredentialStoreResponse) ProtoMessage() {}
|
|
|
|
func (x *UpdateCredentialStoreResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_credential_store_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 UpdateCredentialStoreResponse.ProtoReflect.Descriptor instead.
|
|
func (*UpdateCredentialStoreResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_credential_store_service_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *UpdateCredentialStoreResponse) GetItem() *credentialstores.CredentialStore {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteCredentialStoreRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteCredentialStoreRequest) Reset() {
|
|
*x = DeleteCredentialStoreRequest{}
|
|
mi := &file_controller_api_services_v1_credential_store_service_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteCredentialStoreRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteCredentialStoreRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteCredentialStoreRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_credential_store_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 DeleteCredentialStoreRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteCredentialStoreRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_credential_store_service_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *DeleteCredentialStoreRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteCredentialStoreResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteCredentialStoreResponse) Reset() {
|
|
*x = DeleteCredentialStoreResponse{}
|
|
mi := &file_controller_api_services_v1_credential_store_service_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteCredentialStoreResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteCredentialStoreResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteCredentialStoreResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_credential_store_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 DeleteCredentialStoreResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteCredentialStoreResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_credential_store_service_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
var File_controller_api_services_v1_credential_store_service_proto protoreflect.FileDescriptor
|
|
|
|
const file_controller_api_services_v1_credential_store_service_proto_rawDesc = "" +
|
|
"\n" +
|
|
"9controller/api/services/v1/credential_store_service.proto\x12\x1acontroller.api.services.v1\x1aCcontroller/api/resources/credentialstores/v1/credential_store.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" +
|
|
"\x19GetCredentialStoreRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\"o\n" +
|
|
"\x1aGetCredentialStoreResponse\x12Q\n" +
|
|
"\x04item\x18\x01 \x01(\v2=.controller.api.resources.credentialstores.v1.CredentialStoreR\x04item\"\xad\x01\n" +
|
|
"\x1bListCredentialStoresRequest\x12\x1a\n" +
|
|
"\bscope_id\x18\x01 \x01(\tR\bscope_id\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\"\xb9\x02\n" +
|
|
"\x1cListCredentialStoresResponse\x12S\n" +
|
|
"\x05items\x18\x01 \x03(\v2=.controller.api.resources.credentialstores.v1.CredentialStoreR\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\"q\n" +
|
|
"\x1cCreateCredentialStoreRequest\x12Q\n" +
|
|
"\x04item\x18\x01 \x01(\v2=.controller.api.resources.credentialstores.v1.CredentialStoreR\x04item\"\x84\x01\n" +
|
|
"\x1dCreateCredentialStoreResponse\x12\x10\n" +
|
|
"\x03uri\x18\x01 \x01(\tR\x03uri\x12Q\n" +
|
|
"\x04item\x18\x02 \x01(\v2=.controller.api.resources.credentialstores.v1.CredentialStoreR\x04item\"\xbf\x01\n" +
|
|
"\x1cUpdateCredentialStoreRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12Q\n" +
|
|
"\x04item\x18\x02 \x01(\v2=.controller.api.resources.credentialstores.v1.CredentialStoreR\x04item\x12<\n" +
|
|
"\vupdate_mask\x18\x03 \x01(\v2\x1a.google.protobuf.FieldMaskR\vupdate_mask\"r\n" +
|
|
"\x1dUpdateCredentialStoreResponse\x12Q\n" +
|
|
"\x04item\x18\x01 \x01(\v2=.controller.api.resources.credentialstores.v1.CredentialStoreR\x04item\".\n" +
|
|
"\x1cDeleteCredentialStoreRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\"\x1f\n" +
|
|
"\x1dDeleteCredentialStoreResponse2\xee\v\n" +
|
|
"\x16CredentialStoreService\x12\xd1\x01\n" +
|
|
"\x12GetCredentialStore\x125.controller.api.services.v1.GetCredentialStoreRequest\x1a6.controller.api.services.v1.GetCredentialStoreResponse\"L\x92A!\x12\x1fGets a single Credential Store.\x82\xd3\xe4\x93\x02\"b\x04item\x12\x1a/v1/credential-stores/{id}\x12\xc9\x01\n" +
|
|
"\x14ListCredentialStores\x127.controller.api.services.v1.ListCredentialStoresRequest\x1a8.controller.api.services.v1.ListCredentialStoresResponse\">\x92A\x1e\x12\x1cLists all Credential Stores.\x82\xd3\xe4\x93\x02\x17\x12\x15/v1/credential-stores\x12\xde\x01\n" +
|
|
"\x15CreateCredentialStore\x128.controller.api.services.v1.CreateCredentialStoreRequest\x1a9.controller.api.services.v1.CreateCredentialStoreResponse\"P\x92A$\x12\"Creates a single Credential Store.\x82\xd3\xe4\x93\x02#:\x04itemb\x04item\"\x15/v1/credential-stores\x12\xdc\x01\n" +
|
|
"\x15UpdateCredentialStore\x128.controller.api.services.v1.UpdateCredentialStoreRequest\x1a9.controller.api.services.v1.UpdateCredentialStoreResponse\"N\x92A\x1d\x12\x1bUpdates a Credential Store.\x82\xd3\xe4\x93\x02(:\x04itemb\x04item2\x1a/v1/credential-stores/{id}\x12\xce\x01\n" +
|
|
"\x15DeleteCredentialStore\x128.controller.api.services.v1.DeleteCredentialStoreRequest\x1a9.controller.api.services.v1.DeleteCredentialStoreResponse\"@\x92A\x1b\x12\x19Deletes a CredentialStore\x82\xd3\xe4\x93\x02\x1c*\x1a/v1/credential-stores/{id}\x1a\xa2\x03\x92A\x9e\x03\n" +
|
|
"\x18Credential store service\x12\xec\x01A credential store is a resource that can retrieve, store, and potentially generate credentials of differing types and differing access levels. The credential store service provides endpoints for managing credential stores in Boundary. \x1a\x92\x01\n" +
|
|
"9Read about credential stores in the Boundary domain model\x12Uhttps://developer.hashicorp.com/boundary/docs/concepts/domain-model/credential-storesB[\xa2\xe3)\n" +
|
|
"credentialZKgithub.com/hashicorp/boundary/internal/gen/controller/api/services;servicesb\x06proto3"
|
|
|
|
var (
|
|
file_controller_api_services_v1_credential_store_service_proto_rawDescOnce sync.Once
|
|
file_controller_api_services_v1_credential_store_service_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_controller_api_services_v1_credential_store_service_proto_rawDescGZIP() []byte {
|
|
file_controller_api_services_v1_credential_store_service_proto_rawDescOnce.Do(func() {
|
|
file_controller_api_services_v1_credential_store_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_controller_api_services_v1_credential_store_service_proto_rawDesc), len(file_controller_api_services_v1_credential_store_service_proto_rawDesc)))
|
|
})
|
|
return file_controller_api_services_v1_credential_store_service_proto_rawDescData
|
|
}
|
|
|
|
var file_controller_api_services_v1_credential_store_service_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
var file_controller_api_services_v1_credential_store_service_proto_goTypes = []any{
|
|
(*GetCredentialStoreRequest)(nil), // 0: controller.api.services.v1.GetCredentialStoreRequest
|
|
(*GetCredentialStoreResponse)(nil), // 1: controller.api.services.v1.GetCredentialStoreResponse
|
|
(*ListCredentialStoresRequest)(nil), // 2: controller.api.services.v1.ListCredentialStoresRequest
|
|
(*ListCredentialStoresResponse)(nil), // 3: controller.api.services.v1.ListCredentialStoresResponse
|
|
(*CreateCredentialStoreRequest)(nil), // 4: controller.api.services.v1.CreateCredentialStoreRequest
|
|
(*CreateCredentialStoreResponse)(nil), // 5: controller.api.services.v1.CreateCredentialStoreResponse
|
|
(*UpdateCredentialStoreRequest)(nil), // 6: controller.api.services.v1.UpdateCredentialStoreRequest
|
|
(*UpdateCredentialStoreResponse)(nil), // 7: controller.api.services.v1.UpdateCredentialStoreResponse
|
|
(*DeleteCredentialStoreRequest)(nil), // 8: controller.api.services.v1.DeleteCredentialStoreRequest
|
|
(*DeleteCredentialStoreResponse)(nil), // 9: controller.api.services.v1.DeleteCredentialStoreResponse
|
|
(*credentialstores.CredentialStore)(nil), // 10: controller.api.resources.credentialstores.v1.CredentialStore
|
|
(*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask
|
|
}
|
|
var file_controller_api_services_v1_credential_store_service_proto_depIdxs = []int32{
|
|
10, // 0: controller.api.services.v1.GetCredentialStoreResponse.item:type_name -> controller.api.resources.credentialstores.v1.CredentialStore
|
|
10, // 1: controller.api.services.v1.ListCredentialStoresResponse.items:type_name -> controller.api.resources.credentialstores.v1.CredentialStore
|
|
10, // 2: controller.api.services.v1.CreateCredentialStoreRequest.item:type_name -> controller.api.resources.credentialstores.v1.CredentialStore
|
|
10, // 3: controller.api.services.v1.CreateCredentialStoreResponse.item:type_name -> controller.api.resources.credentialstores.v1.CredentialStore
|
|
10, // 4: controller.api.services.v1.UpdateCredentialStoreRequest.item:type_name -> controller.api.resources.credentialstores.v1.CredentialStore
|
|
11, // 5: controller.api.services.v1.UpdateCredentialStoreRequest.update_mask:type_name -> google.protobuf.FieldMask
|
|
10, // 6: controller.api.services.v1.UpdateCredentialStoreResponse.item:type_name -> controller.api.resources.credentialstores.v1.CredentialStore
|
|
0, // 7: controller.api.services.v1.CredentialStoreService.GetCredentialStore:input_type -> controller.api.services.v1.GetCredentialStoreRequest
|
|
2, // 8: controller.api.services.v1.CredentialStoreService.ListCredentialStores:input_type -> controller.api.services.v1.ListCredentialStoresRequest
|
|
4, // 9: controller.api.services.v1.CredentialStoreService.CreateCredentialStore:input_type -> controller.api.services.v1.CreateCredentialStoreRequest
|
|
6, // 10: controller.api.services.v1.CredentialStoreService.UpdateCredentialStore:input_type -> controller.api.services.v1.UpdateCredentialStoreRequest
|
|
8, // 11: controller.api.services.v1.CredentialStoreService.DeleteCredentialStore:input_type -> controller.api.services.v1.DeleteCredentialStoreRequest
|
|
1, // 12: controller.api.services.v1.CredentialStoreService.GetCredentialStore:output_type -> controller.api.services.v1.GetCredentialStoreResponse
|
|
3, // 13: controller.api.services.v1.CredentialStoreService.ListCredentialStores:output_type -> controller.api.services.v1.ListCredentialStoresResponse
|
|
5, // 14: controller.api.services.v1.CredentialStoreService.CreateCredentialStore:output_type -> controller.api.services.v1.CreateCredentialStoreResponse
|
|
7, // 15: controller.api.services.v1.CredentialStoreService.UpdateCredentialStore:output_type -> controller.api.services.v1.UpdateCredentialStoreResponse
|
|
9, // 16: controller.api.services.v1.CredentialStoreService.DeleteCredentialStore:output_type -> controller.api.services.v1.DeleteCredentialStoreResponse
|
|
12, // [12:17] is the sub-list for method output_type
|
|
7, // [7:12] is the sub-list for method input_type
|
|
7, // [7:7] is the sub-list for extension type_name
|
|
7, // [7:7] is the sub-list for extension extendee
|
|
0, // [0:7] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_controller_api_services_v1_credential_store_service_proto_init() }
|
|
func file_controller_api_services_v1_credential_store_service_proto_init() {
|
|
if File_controller_api_services_v1_credential_store_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_credential_store_service_proto_rawDesc), len(file_controller_api_services_v1_credential_store_service_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 10,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_controller_api_services_v1_credential_store_service_proto_goTypes,
|
|
DependencyIndexes: file_controller_api_services_v1_credential_store_service_proto_depIdxs,
|
|
MessageInfos: file_controller_api_services_v1_credential_store_service_proto_msgTypes,
|
|
}.Build()
|
|
File_controller_api_services_v1_credential_store_service_proto = out.File
|
|
file_controller_api_services_v1_credential_store_service_proto_goTypes = nil
|
|
file_controller_api_services_v1_credential_store_service_proto_depIdxs = nil
|
|
}
|