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.
1066 lines
41 KiB
1066 lines
41 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/host_set_service.proto
|
|
|
|
package services
|
|
|
|
import (
|
|
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
|
|
hostsets "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/hostsets"
|
|
_ "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 GetHostSetRequest 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 *GetHostSetRequest) Reset() {
|
|
*x = GetHostSetRequest{}
|
|
mi := &file_controller_api_services_v1_host_set_service_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetHostSetRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetHostSetRequest) ProtoMessage() {}
|
|
|
|
func (x *GetHostSetRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_host_set_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 GetHostSetRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetHostSetRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_host_set_service_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *GetHostSetRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetHostSetResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *hostsets.HostSet `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetHostSetResponse) Reset() {
|
|
*x = GetHostSetResponse{}
|
|
mi := &file_controller_api_services_v1_host_set_service_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetHostSetResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetHostSetResponse) ProtoMessage() {}
|
|
|
|
func (x *GetHostSetResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_host_set_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 GetHostSetResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetHostSetResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_host_set_service_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *GetHostSetResponse) GetItem() *hostsets.HostSet {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListHostSetsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
HostCatalogId string `protobuf:"bytes,1,opt,name=host_catalog_id,proto3" json:"host_catalog_id,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 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 *ListHostSetsRequest) Reset() {
|
|
*x = ListHostSetsRequest{}
|
|
mi := &file_controller_api_services_v1_host_set_service_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListHostSetsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListHostSetsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListHostSetsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_host_set_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 ListHostSetsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListHostSetsRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_host_set_service_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ListHostSetsRequest) GetHostCatalogId() string {
|
|
if x != nil {
|
|
return x.HostCatalogId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListHostSetsRequest) GetFilter() string {
|
|
if x != nil {
|
|
return x.Filter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListHostSetsRequest) GetListToken() string {
|
|
if x != nil {
|
|
return x.ListToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListHostSetsRequest) GetPageSize() uint32 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListHostSetsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Items []*hostsets.HostSet `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 *ListHostSetsResponse) Reset() {
|
|
*x = ListHostSetsResponse{}
|
|
mi := &file_controller_api_services_v1_host_set_service_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListHostSetsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListHostSetsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListHostSetsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_host_set_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 ListHostSetsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListHostSetsResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_host_set_service_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ListHostSetsResponse) GetItems() []*hostsets.HostSet {
|
|
if x != nil {
|
|
return x.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListHostSetsResponse) GetResponseType() string {
|
|
if x != nil {
|
|
return x.ResponseType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListHostSetsResponse) GetListToken() string {
|
|
if x != nil {
|
|
return x.ListToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListHostSetsResponse) GetSortBy() string {
|
|
if x != nil {
|
|
return x.SortBy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListHostSetsResponse) GetSortDir() string {
|
|
if x != nil {
|
|
return x.SortDir
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListHostSetsResponse) GetRemovedIds() []string {
|
|
if x != nil {
|
|
return x.RemovedIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListHostSetsResponse) GetEstItemCount() uint32 {
|
|
if x != nil {
|
|
return x.EstItemCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CreateHostSetRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *hostsets.HostSet `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateHostSetRequest) Reset() {
|
|
*x = CreateHostSetRequest{}
|
|
mi := &file_controller_api_services_v1_host_set_service_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateHostSetRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateHostSetRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateHostSetRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_host_set_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 CreateHostSetRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateHostSetRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_host_set_service_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *CreateHostSetRequest) GetItem() *hostsets.HostSet {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateHostSetResponse 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 *hostsets.HostSet `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateHostSetResponse) Reset() {
|
|
*x = CreateHostSetResponse{}
|
|
mi := &file_controller_api_services_v1_host_set_service_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateHostSetResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateHostSetResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateHostSetResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_host_set_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 CreateHostSetResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateHostSetResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_host_set_service_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *CreateHostSetResponse) GetUri() string {
|
|
if x != nil {
|
|
return x.Uri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateHostSetResponse) GetItem() *hostsets.HostSet {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateHostSetRequest 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 *hostsets.HostSet `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 *UpdateHostSetRequest) Reset() {
|
|
*x = UpdateHostSetRequest{}
|
|
mi := &file_controller_api_services_v1_host_set_service_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateHostSetRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateHostSetRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateHostSetRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_host_set_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 UpdateHostSetRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateHostSetRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_host_set_service_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *UpdateHostSetRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateHostSetRequest) GetItem() *hostsets.HostSet {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdateHostSetRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
|
|
if x != nil {
|
|
return x.UpdateMask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateHostSetResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *hostsets.HostSet `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateHostSetResponse) Reset() {
|
|
*x = UpdateHostSetResponse{}
|
|
mi := &file_controller_api_services_v1_host_set_service_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateHostSetResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateHostSetResponse) ProtoMessage() {}
|
|
|
|
func (x *UpdateHostSetResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_host_set_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 UpdateHostSetResponse.ProtoReflect.Descriptor instead.
|
|
func (*UpdateHostSetResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_host_set_service_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *UpdateHostSetResponse) GetItem() *hostsets.HostSet {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteHostSetRequest 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 *DeleteHostSetRequest) Reset() {
|
|
*x = DeleteHostSetRequest{}
|
|
mi := &file_controller_api_services_v1_host_set_service_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteHostSetRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteHostSetRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteHostSetRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_host_set_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 DeleteHostSetRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteHostSetRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_host_set_service_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *DeleteHostSetRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteHostSetResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteHostSetResponse) Reset() {
|
|
*x = DeleteHostSetResponse{}
|
|
mi := &file_controller_api_services_v1_host_set_service_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteHostSetResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteHostSetResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteHostSetResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_host_set_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 DeleteHostSetResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteHostSetResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_host_set_service_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
type AddHostSetHostsRequest 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"`
|
|
// A list of Host IDs which will be added to this Host Set. Each Host referenced here must be a child of the same Host Catalog of which this Host Set is a child.
|
|
HostIds []string `protobuf:"bytes,3,rep,name=host_ids,proto3" json:"host_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddHostSetHostsRequest) Reset() {
|
|
*x = AddHostSetHostsRequest{}
|
|
mi := &file_controller_api_services_v1_host_set_service_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddHostSetHostsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddHostSetHostsRequest) ProtoMessage() {}
|
|
|
|
func (x *AddHostSetHostsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_host_set_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 AddHostSetHostsRequest.ProtoReflect.Descriptor instead.
|
|
func (*AddHostSetHostsRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_host_set_service_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *AddHostSetHostsRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddHostSetHostsRequest) GetVersion() uint32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddHostSetHostsRequest) GetHostIds() []string {
|
|
if x != nil {
|
|
return x.HostIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AddHostSetHostsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *hostsets.HostSet `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddHostSetHostsResponse) Reset() {
|
|
*x = AddHostSetHostsResponse{}
|
|
mi := &file_controller_api_services_v1_host_set_service_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddHostSetHostsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddHostSetHostsResponse) ProtoMessage() {}
|
|
|
|
func (x *AddHostSetHostsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_host_set_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 AddHostSetHostsResponse.ProtoReflect.Descriptor instead.
|
|
func (*AddHostSetHostsResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_host_set_service_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *AddHostSetHostsResponse) GetItem() *hostsets.HostSet {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetHostSetHostsRequest 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"`
|
|
// A list of Host IDs which will be set on this Host Set. Each Host referenced here must be a child of the same Host Catalog of which this Host Set is a child.
|
|
HostIds []string `protobuf:"bytes,3,rep,name=host_ids,proto3" json:"host_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetHostSetHostsRequest) Reset() {
|
|
*x = SetHostSetHostsRequest{}
|
|
mi := &file_controller_api_services_v1_host_set_service_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetHostSetHostsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetHostSetHostsRequest) ProtoMessage() {}
|
|
|
|
func (x *SetHostSetHostsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_host_set_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 SetHostSetHostsRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetHostSetHostsRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_host_set_service_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *SetHostSetHostsRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetHostSetHostsRequest) GetVersion() uint32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SetHostSetHostsRequest) GetHostIds() []string {
|
|
if x != nil {
|
|
return x.HostIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetHostSetHostsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *hostsets.HostSet `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetHostSetHostsResponse) Reset() {
|
|
*x = SetHostSetHostsResponse{}
|
|
mi := &file_controller_api_services_v1_host_set_service_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetHostSetHostsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetHostSetHostsResponse) ProtoMessage() {}
|
|
|
|
func (x *SetHostSetHostsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_host_set_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 SetHostSetHostsResponse.ProtoReflect.Descriptor instead.
|
|
func (*SetHostSetHostsResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_host_set_service_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *SetHostSetHostsResponse) GetItem() *hostsets.HostSet {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RemoveHostSetHostsRequest 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"`
|
|
// A list of Host IDs which will be removed from this Host Set.
|
|
HostIds []string `protobuf:"bytes,3,rep,name=host_ids,proto3" json:"host_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveHostSetHostsRequest) Reset() {
|
|
*x = RemoveHostSetHostsRequest{}
|
|
mi := &file_controller_api_services_v1_host_set_service_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveHostSetHostsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveHostSetHostsRequest) ProtoMessage() {}
|
|
|
|
func (x *RemoveHostSetHostsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_host_set_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 RemoveHostSetHostsRequest.ProtoReflect.Descriptor instead.
|
|
func (*RemoveHostSetHostsRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_host_set_service_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *RemoveHostSetHostsRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RemoveHostSetHostsRequest) GetVersion() uint32 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RemoveHostSetHostsRequest) GetHostIds() []string {
|
|
if x != nil {
|
|
return x.HostIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RemoveHostSetHostsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *hostsets.HostSet `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveHostSetHostsResponse) Reset() {
|
|
*x = RemoveHostSetHostsResponse{}
|
|
mi := &file_controller_api_services_v1_host_set_service_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveHostSetHostsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveHostSetHostsResponse) ProtoMessage() {}
|
|
|
|
func (x *RemoveHostSetHostsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_host_set_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 RemoveHostSetHostsResponse.ProtoReflect.Descriptor instead.
|
|
func (*RemoveHostSetHostsResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_host_set_service_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *RemoveHostSetHostsResponse) GetItem() *hostsets.HostSet {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_controller_api_services_v1_host_set_service_proto protoreflect.FileDescriptor
|
|
|
|
const file_controller_api_services_v1_host_set_service_proto_rawDesc = "" +
|
|
"\n" +
|
|
"1controller/api/services/v1/host_set_service.proto\x12\x1acontroller.api.services.v1\x1a3controller/api/resources/hostsets/v1/host_set.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" +
|
|
"\x11GetHostSetRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\"W\n" +
|
|
"\x12GetHostSetResponse\x12A\n" +
|
|
"\x04item\x18\x01 \x01(\v2-.controller.api.resources.hostsets.v1.HostSetR\x04item\"\x95\x01\n" +
|
|
"\x13ListHostSetsRequest\x12(\n" +
|
|
"\x0fhost_catalog_id\x18\x01 \x01(\tR\x0fhost_catalog_id\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\"\xa1\x02\n" +
|
|
"\x14ListHostSetsResponse\x12C\n" +
|
|
"\x05items\x18\x01 \x03(\v2-.controller.api.resources.hostsets.v1.HostSetR\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\"Y\n" +
|
|
"\x14CreateHostSetRequest\x12A\n" +
|
|
"\x04item\x18\x01 \x01(\v2-.controller.api.resources.hostsets.v1.HostSetR\x04item\"l\n" +
|
|
"\x15CreateHostSetResponse\x12\x10\n" +
|
|
"\x03uri\x18\x01 \x01(\tR\x03uri\x12A\n" +
|
|
"\x04item\x18\x02 \x01(\v2-.controller.api.resources.hostsets.v1.HostSetR\x04item\"\xa7\x01\n" +
|
|
"\x14UpdateHostSetRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12A\n" +
|
|
"\x04item\x18\x02 \x01(\v2-.controller.api.resources.hostsets.v1.HostSetR\x04item\x12<\n" +
|
|
"\vupdate_mask\x18\x03 \x01(\v2\x1a.google.protobuf.FieldMaskR\vupdate_mask\"Z\n" +
|
|
"\x15UpdateHostSetResponse\x12A\n" +
|
|
"\x04item\x18\x01 \x01(\v2-.controller.api.resources.hostsets.v1.HostSetR\x04item\"&\n" +
|
|
"\x14DeleteHostSetRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\"\x17\n" +
|
|
"\x15DeleteHostSetResponse\"^\n" +
|
|
"\x16AddHostSetHostsRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n" +
|
|
"\aversion\x18\x02 \x01(\rR\aversion\x12\x1a\n" +
|
|
"\bhost_ids\x18\x03 \x03(\tR\bhost_ids\"\\\n" +
|
|
"\x17AddHostSetHostsResponse\x12A\n" +
|
|
"\x04item\x18\x01 \x01(\v2-.controller.api.resources.hostsets.v1.HostSetR\x04item\"^\n" +
|
|
"\x16SetHostSetHostsRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n" +
|
|
"\aversion\x18\x02 \x01(\rR\aversion\x12\x1a\n" +
|
|
"\bhost_ids\x18\x03 \x03(\tR\bhost_ids\"\\\n" +
|
|
"\x17SetHostSetHostsResponse\x12A\n" +
|
|
"\x04item\x18\x01 \x01(\v2-.controller.api.resources.hostsets.v1.HostSetR\x04item\"a\n" +
|
|
"\x19RemoveHostSetHostsRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n" +
|
|
"\aversion\x18\x02 \x01(\rR\aversion\x12\x1a\n" +
|
|
"\bhost_ids\x18\x03 \x03(\tR\bhost_ids\"_\n" +
|
|
"\x1aRemoveHostSetHostsResponse\x12A\n" +
|
|
"\x04item\x18\x01 \x01(\v2-.controller.api.resources.hostsets.v1.HostSetR\x04item2\xf8\x0e\n" +
|
|
"\x0eHostSetService\x12\xa8\x01\n" +
|
|
"\n" +
|
|
"GetHostSet\x12-.controller.api.services.v1.GetHostSetRequest\x1a..controller.api.services.v1.GetHostSetResponse\";\x92A\x18\x12\x16Get a single Host Set.\x82\xd3\xe4\x93\x02\x1ab\x04item\x12\x12/v1/host-sets/{id}\x12\xbb\x01\n" +
|
|
"\fListHostSets\x12/.controller.api.services.v1.ListHostSetsRequest\x1a0.controller.api.services.v1.ListHostSetsResponse\"H\x92A0\x12.List all Host Sets under the specific Catalog.\x82\xd3\xe4\x93\x02\x0f\x12\r/v1/host-sets\x12\xae\x01\n" +
|
|
"\rCreateHostSet\x120.controller.api.services.v1.CreateHostSetRequest\x1a1.controller.api.services.v1.CreateHostSetResponse\"8\x92A\x14\x12\x12Create a Host Set.\x82\xd3\xe4\x93\x02\x1b:\x04itemb\x04item\"\r/v1/host-sets\x12\xb3\x01\n" +
|
|
"\rUpdateHostSet\x120.controller.api.services.v1.UpdateHostSetRequest\x1a1.controller.api.services.v1.UpdateHostSetResponse\"=\x92A\x14\x12\x12Update a Host Set.\x82\xd3\xe4\x93\x02 :\x04itemb\x04item2\x12/v1/host-sets/{id}\x12\xa7\x01\n" +
|
|
"\rDeleteHostSet\x120.controller.api.services.v1.DeleteHostSetRequest\x1a1.controller.api.services.v1.DeleteHostSetResponse\"1\x92A\x14\x12\x12Delete a Host Set.\x82\xd3\xe4\x93\x02\x14*\x12/v1/host-sets/{id}\x12\xd0\x01\n" +
|
|
"\x0fAddHostSetHosts\x122.controller.api.services.v1.AddHostSetHostsRequest\x1a3.controller.api.services.v1.AddHostSetHostsResponse\"T\x92A$\x12\"Adds existing Hosts to a Host Set.\x82\xd3\xe4\x93\x02':\x01*b\x04item\"\x1c/v1/host-sets/{id}:add-hosts\x12\xcd\x01\n" +
|
|
"\x0fSetHostSetHosts\x122.controller.api.services.v1.SetHostSetHostsRequest\x1a3.controller.api.services.v1.SetHostSetHostsResponse\"Q\x92A!\x12\x1fSets the Hosts on the Host Set.\x82\xd3\xe4\x93\x02':\x01*b\x04item\"\x1c/v1/host-sets/{id}:set-hosts\x12\xda\x01\n" +
|
|
"\x12RemoveHostSetHosts\x125.controller.api.services.v1.RemoveHostSetHostsRequest\x1a6.controller.api.services.v1.RemoveHostSetHostsResponse\"U\x92A\"\x12 Removes Hosts from the Host Set.\x82\xd3\xe4\x93\x02*:\x01*b\x04item\"\x1f/v1/host-sets/{id}:remove-hosts\x1a\xeb\x02\x92A\xe7\x02\n" +
|
|
"\x10Host set service\x12\xcd\x01A host set is a resource that represents a collection of hosts that are considered equivalent for the purposes of access control. The host set service provides endpoints for managing host sets in Boundary.\x1a\x82\x01\n" +
|
|
"1Read about host sets in the Boundary domain model\x12Mhttps://developer.hashicorp.com/boundary/docs/concepts/domain-model/host-setsBU\xa2\xe3)\x04hostZKgithub.com/hashicorp/boundary/internal/gen/controller/api/services;servicesb\x06proto3"
|
|
|
|
var (
|
|
file_controller_api_services_v1_host_set_service_proto_rawDescOnce sync.Once
|
|
file_controller_api_services_v1_host_set_service_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_controller_api_services_v1_host_set_service_proto_rawDescGZIP() []byte {
|
|
file_controller_api_services_v1_host_set_service_proto_rawDescOnce.Do(func() {
|
|
file_controller_api_services_v1_host_set_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_controller_api_services_v1_host_set_service_proto_rawDesc), len(file_controller_api_services_v1_host_set_service_proto_rawDesc)))
|
|
})
|
|
return file_controller_api_services_v1_host_set_service_proto_rawDescData
|
|
}
|
|
|
|
var file_controller_api_services_v1_host_set_service_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
|
|
var file_controller_api_services_v1_host_set_service_proto_goTypes = []any{
|
|
(*GetHostSetRequest)(nil), // 0: controller.api.services.v1.GetHostSetRequest
|
|
(*GetHostSetResponse)(nil), // 1: controller.api.services.v1.GetHostSetResponse
|
|
(*ListHostSetsRequest)(nil), // 2: controller.api.services.v1.ListHostSetsRequest
|
|
(*ListHostSetsResponse)(nil), // 3: controller.api.services.v1.ListHostSetsResponse
|
|
(*CreateHostSetRequest)(nil), // 4: controller.api.services.v1.CreateHostSetRequest
|
|
(*CreateHostSetResponse)(nil), // 5: controller.api.services.v1.CreateHostSetResponse
|
|
(*UpdateHostSetRequest)(nil), // 6: controller.api.services.v1.UpdateHostSetRequest
|
|
(*UpdateHostSetResponse)(nil), // 7: controller.api.services.v1.UpdateHostSetResponse
|
|
(*DeleteHostSetRequest)(nil), // 8: controller.api.services.v1.DeleteHostSetRequest
|
|
(*DeleteHostSetResponse)(nil), // 9: controller.api.services.v1.DeleteHostSetResponse
|
|
(*AddHostSetHostsRequest)(nil), // 10: controller.api.services.v1.AddHostSetHostsRequest
|
|
(*AddHostSetHostsResponse)(nil), // 11: controller.api.services.v1.AddHostSetHostsResponse
|
|
(*SetHostSetHostsRequest)(nil), // 12: controller.api.services.v1.SetHostSetHostsRequest
|
|
(*SetHostSetHostsResponse)(nil), // 13: controller.api.services.v1.SetHostSetHostsResponse
|
|
(*RemoveHostSetHostsRequest)(nil), // 14: controller.api.services.v1.RemoveHostSetHostsRequest
|
|
(*RemoveHostSetHostsResponse)(nil), // 15: controller.api.services.v1.RemoveHostSetHostsResponse
|
|
(*hostsets.HostSet)(nil), // 16: controller.api.resources.hostsets.v1.HostSet
|
|
(*fieldmaskpb.FieldMask)(nil), // 17: google.protobuf.FieldMask
|
|
}
|
|
var file_controller_api_services_v1_host_set_service_proto_depIdxs = []int32{
|
|
16, // 0: controller.api.services.v1.GetHostSetResponse.item:type_name -> controller.api.resources.hostsets.v1.HostSet
|
|
16, // 1: controller.api.services.v1.ListHostSetsResponse.items:type_name -> controller.api.resources.hostsets.v1.HostSet
|
|
16, // 2: controller.api.services.v1.CreateHostSetRequest.item:type_name -> controller.api.resources.hostsets.v1.HostSet
|
|
16, // 3: controller.api.services.v1.CreateHostSetResponse.item:type_name -> controller.api.resources.hostsets.v1.HostSet
|
|
16, // 4: controller.api.services.v1.UpdateHostSetRequest.item:type_name -> controller.api.resources.hostsets.v1.HostSet
|
|
17, // 5: controller.api.services.v1.UpdateHostSetRequest.update_mask:type_name -> google.protobuf.FieldMask
|
|
16, // 6: controller.api.services.v1.UpdateHostSetResponse.item:type_name -> controller.api.resources.hostsets.v1.HostSet
|
|
16, // 7: controller.api.services.v1.AddHostSetHostsResponse.item:type_name -> controller.api.resources.hostsets.v1.HostSet
|
|
16, // 8: controller.api.services.v1.SetHostSetHostsResponse.item:type_name -> controller.api.resources.hostsets.v1.HostSet
|
|
16, // 9: controller.api.services.v1.RemoveHostSetHostsResponse.item:type_name -> controller.api.resources.hostsets.v1.HostSet
|
|
0, // 10: controller.api.services.v1.HostSetService.GetHostSet:input_type -> controller.api.services.v1.GetHostSetRequest
|
|
2, // 11: controller.api.services.v1.HostSetService.ListHostSets:input_type -> controller.api.services.v1.ListHostSetsRequest
|
|
4, // 12: controller.api.services.v1.HostSetService.CreateHostSet:input_type -> controller.api.services.v1.CreateHostSetRequest
|
|
6, // 13: controller.api.services.v1.HostSetService.UpdateHostSet:input_type -> controller.api.services.v1.UpdateHostSetRequest
|
|
8, // 14: controller.api.services.v1.HostSetService.DeleteHostSet:input_type -> controller.api.services.v1.DeleteHostSetRequest
|
|
10, // 15: controller.api.services.v1.HostSetService.AddHostSetHosts:input_type -> controller.api.services.v1.AddHostSetHostsRequest
|
|
12, // 16: controller.api.services.v1.HostSetService.SetHostSetHosts:input_type -> controller.api.services.v1.SetHostSetHostsRequest
|
|
14, // 17: controller.api.services.v1.HostSetService.RemoveHostSetHosts:input_type -> controller.api.services.v1.RemoveHostSetHostsRequest
|
|
1, // 18: controller.api.services.v1.HostSetService.GetHostSet:output_type -> controller.api.services.v1.GetHostSetResponse
|
|
3, // 19: controller.api.services.v1.HostSetService.ListHostSets:output_type -> controller.api.services.v1.ListHostSetsResponse
|
|
5, // 20: controller.api.services.v1.HostSetService.CreateHostSet:output_type -> controller.api.services.v1.CreateHostSetResponse
|
|
7, // 21: controller.api.services.v1.HostSetService.UpdateHostSet:output_type -> controller.api.services.v1.UpdateHostSetResponse
|
|
9, // 22: controller.api.services.v1.HostSetService.DeleteHostSet:output_type -> controller.api.services.v1.DeleteHostSetResponse
|
|
11, // 23: controller.api.services.v1.HostSetService.AddHostSetHosts:output_type -> controller.api.services.v1.AddHostSetHostsResponse
|
|
13, // 24: controller.api.services.v1.HostSetService.SetHostSetHosts:output_type -> controller.api.services.v1.SetHostSetHostsResponse
|
|
15, // 25: controller.api.services.v1.HostSetService.RemoveHostSetHosts:output_type -> controller.api.services.v1.RemoveHostSetHostsResponse
|
|
18, // [18:26] is the sub-list for method output_type
|
|
10, // [10:18] is the sub-list for method input_type
|
|
10, // [10:10] is the sub-list for extension type_name
|
|
10, // [10:10] is the sub-list for extension extendee
|
|
0, // [0:10] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_controller_api_services_v1_host_set_service_proto_init() }
|
|
func file_controller_api_services_v1_host_set_service_proto_init() {
|
|
if File_controller_api_services_v1_host_set_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_host_set_service_proto_rawDesc), len(file_controller_api_services_v1_host_set_service_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 16,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_controller_api_services_v1_host_set_service_proto_goTypes,
|
|
DependencyIndexes: file_controller_api_services_v1_host_set_service_proto_depIdxs,
|
|
MessageInfos: file_controller_api_services_v1_host_set_service_proto_msgTypes,
|
|
}.Build()
|
|
File_controller_api_services_v1_host_set_service_proto = out.File
|
|
file_controller_api_services_v1_host_set_service_proto_goTypes = nil
|
|
file_controller_api_services_v1_host_set_service_proto_depIdxs = nil
|
|
}
|