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.
1154 lines
44 KiB
1154 lines
44 KiB
// Copyright IBM Corp. 2020, 2025
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc (unknown)
|
|
// source: worker/servers/services/v1/host_service.proto
|
|
|
|
package services
|
|
|
|
import (
|
|
hostcatalogs "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/hostcatalogs"
|
|
hostsets "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/hostsets"
|
|
plugins "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/plugins"
|
|
plugin "github.com/hashicorp/boundary/sdk/pbs/plugin"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
structpb "google.golang.org/protobuf/types/known/structpb"
|
|
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 NormalizeCatalogDataRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The incoming attributes in the create or update request.
|
|
Attributes *structpb.Struct `protobuf:"bytes,100,opt,name=attributes,proto3" json:"attributes,omitempty"`
|
|
// The plugin information for this request.
|
|
Plugin *plugins.PluginInfo `protobuf:"bytes,110,opt,name=plugin,proto3" json:"plugin,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *NormalizeCatalogDataRequest) Reset() {
|
|
*x = NormalizeCatalogDataRequest{}
|
|
mi := &file_worker_servers_services_v1_host_service_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *NormalizeCatalogDataRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NormalizeCatalogDataRequest) ProtoMessage() {}
|
|
|
|
func (x *NormalizeCatalogDataRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_worker_servers_services_v1_host_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 NormalizeCatalogDataRequest.ProtoReflect.Descriptor instead.
|
|
func (*NormalizeCatalogDataRequest) Descriptor() ([]byte, []int) {
|
|
return file_worker_servers_services_v1_host_service_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *NormalizeCatalogDataRequest) GetAttributes() *structpb.Struct {
|
|
if x != nil {
|
|
return x.Attributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *NormalizeCatalogDataRequest) GetPlugin() *plugins.PluginInfo {
|
|
if x != nil {
|
|
return x.Plugin
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type NormalizeCatalogDataResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Outgoing attributes. If nil, no changes will be recorded. If non-nil, the
|
|
// values here will be used in place of the original set of attributes.
|
|
Attributes *structpb.Struct `protobuf:"bytes,100,opt,name=attributes,proto3" json:"attributes,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *NormalizeCatalogDataResponse) Reset() {
|
|
*x = NormalizeCatalogDataResponse{}
|
|
mi := &file_worker_servers_services_v1_host_service_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *NormalizeCatalogDataResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NormalizeCatalogDataResponse) ProtoMessage() {}
|
|
|
|
func (x *NormalizeCatalogDataResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_worker_servers_services_v1_host_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 NormalizeCatalogDataResponse.ProtoReflect.Descriptor instead.
|
|
func (*NormalizeCatalogDataResponse) Descriptor() ([]byte, []int) {
|
|
return file_worker_servers_services_v1_host_service_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *NormalizeCatalogDataResponse) GetAttributes() *structpb.Struct {
|
|
if x != nil {
|
|
return x.Attributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OnCreateCatalogRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The host catalog to create. The request may contain optional
|
|
// secret data to help authenticate the request against a cloud
|
|
// API.
|
|
Catalog *hostcatalogs.HostCatalog `protobuf:"bytes,10,opt,name=catalog,proto3" json:"catalog,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OnCreateCatalogRequest) Reset() {
|
|
*x = OnCreateCatalogRequest{}
|
|
mi := &file_worker_servers_services_v1_host_service_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OnCreateCatalogRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OnCreateCatalogRequest) ProtoMessage() {}
|
|
|
|
func (x *OnCreateCatalogRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_worker_servers_services_v1_host_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 OnCreateCatalogRequest.ProtoReflect.Descriptor instead.
|
|
func (*OnCreateCatalogRequest) Descriptor() ([]byte, []int) {
|
|
return file_worker_servers_services_v1_host_service_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *OnCreateCatalogRequest) GetCatalog() *hostcatalogs.HostCatalog {
|
|
if x != nil {
|
|
return x.Catalog
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OnCreateCatalogResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Secret data to persist encrypted within Boundary. This should be used to
|
|
// store authentication data and other necessary configuration to be used in
|
|
// later hooks and calls. Returning an error from the call will cause this
|
|
// data to not be persisted. If this is nil, nothing is written.
|
|
Persisted *plugin.HostCatalogPersisted `protobuf:"bytes,10,opt,name=persisted,proto3" json:"persisted,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OnCreateCatalogResponse) Reset() {
|
|
*x = OnCreateCatalogResponse{}
|
|
mi := &file_worker_servers_services_v1_host_service_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OnCreateCatalogResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OnCreateCatalogResponse) ProtoMessage() {}
|
|
|
|
func (x *OnCreateCatalogResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_worker_servers_services_v1_host_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 OnCreateCatalogResponse.ProtoReflect.Descriptor instead.
|
|
func (*OnCreateCatalogResponse) Descriptor() ([]byte, []int) {
|
|
return file_worker_servers_services_v1_host_service_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *OnCreateCatalogResponse) GetPersisted() *plugin.HostCatalogPersisted {
|
|
if x != nil {
|
|
return x.Persisted
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OnUpdateCatalogRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The existing state of the catalog.
|
|
CurrentCatalog *hostcatalogs.HostCatalog `protobuf:"bytes,10,opt,name=current_catalog,json=currentCatalog,proto3" json:"current_catalog,omitempty"`
|
|
// The requested new state of the catalog. This field may contain optional
|
|
// secret data that may have been updated from old authentication data
|
|
// contained within the persisted state.
|
|
NewCatalog *hostcatalogs.HostCatalog `protobuf:"bytes,20,opt,name=new_catalog,json=newCatalog,proto3" json:"new_catalog,omitempty"`
|
|
// The existing persisted secret data.
|
|
Persisted *plugin.HostCatalogPersisted `protobuf:"bytes,30,opt,name=persisted,proto3" json:"persisted,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OnUpdateCatalogRequest) Reset() {
|
|
*x = OnUpdateCatalogRequest{}
|
|
mi := &file_worker_servers_services_v1_host_service_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OnUpdateCatalogRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OnUpdateCatalogRequest) ProtoMessage() {}
|
|
|
|
func (x *OnUpdateCatalogRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_worker_servers_services_v1_host_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 OnUpdateCatalogRequest.ProtoReflect.Descriptor instead.
|
|
func (*OnUpdateCatalogRequest) Descriptor() ([]byte, []int) {
|
|
return file_worker_servers_services_v1_host_service_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *OnUpdateCatalogRequest) GetCurrentCatalog() *hostcatalogs.HostCatalog {
|
|
if x != nil {
|
|
return x.CurrentCatalog
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OnUpdateCatalogRequest) GetNewCatalog() *hostcatalogs.HostCatalog {
|
|
if x != nil {
|
|
return x.NewCatalog
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OnUpdateCatalogRequest) GetPersisted() *plugin.HostCatalogPersisted {
|
|
if x != nil {
|
|
return x.Persisted
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OnUpdateCatalogResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The updated secret data to persist encrypted within Boundary. If an error
|
|
// is returned, the update of the persisted data is aborted. If this is nil,
|
|
// no changes are written. To remove all values, simply return an allocated
|
|
// but empty map.
|
|
Persisted *plugin.HostCatalogPersisted `protobuf:"bytes,10,opt,name=persisted,proto3" json:"persisted,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OnUpdateCatalogResponse) Reset() {
|
|
*x = OnUpdateCatalogResponse{}
|
|
mi := &file_worker_servers_services_v1_host_service_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OnUpdateCatalogResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OnUpdateCatalogResponse) ProtoMessage() {}
|
|
|
|
func (x *OnUpdateCatalogResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_worker_servers_services_v1_host_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 OnUpdateCatalogResponse.ProtoReflect.Descriptor instead.
|
|
func (*OnUpdateCatalogResponse) Descriptor() ([]byte, []int) {
|
|
return file_worker_servers_services_v1_host_service_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *OnUpdateCatalogResponse) GetPersisted() *plugin.HostCatalogPersisted {
|
|
if x != nil {
|
|
return x.Persisted
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OnDeleteCatalogRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The existing state of the catalog to delete.
|
|
Catalog *hostcatalogs.HostCatalog `protobuf:"bytes,10,opt,name=catalog,proto3" json:"catalog,omitempty"`
|
|
// The host sets contained in the catalog being deleted.
|
|
Sets []*hostsets.HostSet `protobuf:"bytes,20,rep,name=sets,proto3" json:"sets,omitempty"`
|
|
// The existing persisted secret data.
|
|
Persisted *plugin.HostCatalogPersisted `protobuf:"bytes,30,opt,name=persisted,proto3" json:"persisted,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OnDeleteCatalogRequest) Reset() {
|
|
*x = OnDeleteCatalogRequest{}
|
|
mi := &file_worker_servers_services_v1_host_service_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OnDeleteCatalogRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OnDeleteCatalogRequest) ProtoMessage() {}
|
|
|
|
func (x *OnDeleteCatalogRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_worker_servers_services_v1_host_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 OnDeleteCatalogRequest.ProtoReflect.Descriptor instead.
|
|
func (*OnDeleteCatalogRequest) Descriptor() ([]byte, []int) {
|
|
return file_worker_servers_services_v1_host_service_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *OnDeleteCatalogRequest) GetCatalog() *hostcatalogs.HostCatalog {
|
|
if x != nil {
|
|
return x.Catalog
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OnDeleteCatalogRequest) GetSets() []*hostsets.HostSet {
|
|
if x != nil {
|
|
return x.Sets
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OnDeleteCatalogRequest) GetPersisted() *plugin.HostCatalogPersisted {
|
|
if x != nil {
|
|
return x.Persisted
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OnDeleteCatalogResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OnDeleteCatalogResponse) Reset() {
|
|
*x = OnDeleteCatalogResponse{}
|
|
mi := &file_worker_servers_services_v1_host_service_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OnDeleteCatalogResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OnDeleteCatalogResponse) ProtoMessage() {}
|
|
|
|
func (x *OnDeleteCatalogResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_worker_servers_services_v1_host_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 OnDeleteCatalogResponse.ProtoReflect.Descriptor instead.
|
|
func (*OnDeleteCatalogResponse) Descriptor() ([]byte, []int) {
|
|
return file_worker_servers_services_v1_host_service_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
type NormalizeSetDataRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The incoming attributes in the create or update request.
|
|
Attributes *structpb.Struct `protobuf:"bytes,100,opt,name=attributes,proto3" json:"attributes,omitempty"`
|
|
// The plugin information for this request.
|
|
Plugin *plugins.PluginInfo `protobuf:"bytes,110,opt,name=plugin,proto3" json:"plugin,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *NormalizeSetDataRequest) Reset() {
|
|
*x = NormalizeSetDataRequest{}
|
|
mi := &file_worker_servers_services_v1_host_service_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *NormalizeSetDataRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NormalizeSetDataRequest) ProtoMessage() {}
|
|
|
|
func (x *NormalizeSetDataRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_worker_servers_services_v1_host_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 NormalizeSetDataRequest.ProtoReflect.Descriptor instead.
|
|
func (*NormalizeSetDataRequest) Descriptor() ([]byte, []int) {
|
|
return file_worker_servers_services_v1_host_service_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *NormalizeSetDataRequest) GetAttributes() *structpb.Struct {
|
|
if x != nil {
|
|
return x.Attributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *NormalizeSetDataRequest) GetPlugin() *plugins.PluginInfo {
|
|
if x != nil {
|
|
return x.Plugin
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type NormalizeSetDataResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Outgoing attributes. If nil, no changes will be recorded. If non-nil, the
|
|
// values here will be used in place of the original set of attributes.
|
|
Attributes *structpb.Struct `protobuf:"bytes,100,opt,name=attributes,proto3" json:"attributes,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *NormalizeSetDataResponse) Reset() {
|
|
*x = NormalizeSetDataResponse{}
|
|
mi := &file_worker_servers_services_v1_host_service_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *NormalizeSetDataResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NormalizeSetDataResponse) ProtoMessage() {}
|
|
|
|
func (x *NormalizeSetDataResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_worker_servers_services_v1_host_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 NormalizeSetDataResponse.ProtoReflect.Descriptor instead.
|
|
func (*NormalizeSetDataResponse) Descriptor() ([]byte, []int) {
|
|
return file_worker_servers_services_v1_host_service_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *NormalizeSetDataResponse) GetAttributes() *structpb.Struct {
|
|
if x != nil {
|
|
return x.Attributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OnCreateSetRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The host catalog that the set belongs to.
|
|
Catalog *hostcatalogs.HostCatalog `protobuf:"bytes,10,opt,name=catalog,proto3" json:"catalog,omitempty"`
|
|
// The host set to create.
|
|
Set *hostsets.HostSet `protobuf:"bytes,20,opt,name=set,proto3" json:"set,omitempty"`
|
|
// The persisted data for the host catalog that the set belongs to.
|
|
Persisted *plugin.HostCatalogPersisted `protobuf:"bytes,30,opt,name=persisted,proto3" json:"persisted,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OnCreateSetRequest) Reset() {
|
|
*x = OnCreateSetRequest{}
|
|
mi := &file_worker_servers_services_v1_host_service_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OnCreateSetRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OnCreateSetRequest) ProtoMessage() {}
|
|
|
|
func (x *OnCreateSetRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_worker_servers_services_v1_host_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 OnCreateSetRequest.ProtoReflect.Descriptor instead.
|
|
func (*OnCreateSetRequest) Descriptor() ([]byte, []int) {
|
|
return file_worker_servers_services_v1_host_service_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *OnCreateSetRequest) GetCatalog() *hostcatalogs.HostCatalog {
|
|
if x != nil {
|
|
return x.Catalog
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OnCreateSetRequest) GetSet() *hostsets.HostSet {
|
|
if x != nil {
|
|
return x.Set
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OnCreateSetRequest) GetPersisted() *plugin.HostCatalogPersisted {
|
|
if x != nil {
|
|
return x.Persisted
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OnCreateSetResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OnCreateSetResponse) Reset() {
|
|
*x = OnCreateSetResponse{}
|
|
mi := &file_worker_servers_services_v1_host_service_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OnCreateSetResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OnCreateSetResponse) ProtoMessage() {}
|
|
|
|
func (x *OnCreateSetResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_worker_servers_services_v1_host_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 OnCreateSetResponse.ProtoReflect.Descriptor instead.
|
|
func (*OnCreateSetResponse) Descriptor() ([]byte, []int) {
|
|
return file_worker_servers_services_v1_host_service_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
type OnUpdateSetRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The host catalog that the set belongs to.
|
|
Catalog *hostcatalogs.HostCatalog `protobuf:"bytes,10,opt,name=catalog,proto3" json:"catalog,omitempty"`
|
|
// The existing state of the host set.
|
|
CurrentSet *hostsets.HostSet `protobuf:"bytes,20,opt,name=current_set,json=currentSet,proto3" json:"current_set,omitempty"`
|
|
// The requested new state of the host set.
|
|
NewSet *hostsets.HostSet `protobuf:"bytes,30,opt,name=new_set,json=newSet,proto3" json:"new_set,omitempty"`
|
|
// The persisted data for the host catalog that the set belongs to.
|
|
Persisted *plugin.HostCatalogPersisted `protobuf:"bytes,40,opt,name=persisted,proto3" json:"persisted,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OnUpdateSetRequest) Reset() {
|
|
*x = OnUpdateSetRequest{}
|
|
mi := &file_worker_servers_services_v1_host_service_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OnUpdateSetRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OnUpdateSetRequest) ProtoMessage() {}
|
|
|
|
func (x *OnUpdateSetRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_worker_servers_services_v1_host_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 OnUpdateSetRequest.ProtoReflect.Descriptor instead.
|
|
func (*OnUpdateSetRequest) Descriptor() ([]byte, []int) {
|
|
return file_worker_servers_services_v1_host_service_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *OnUpdateSetRequest) GetCatalog() *hostcatalogs.HostCatalog {
|
|
if x != nil {
|
|
return x.Catalog
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OnUpdateSetRequest) GetCurrentSet() *hostsets.HostSet {
|
|
if x != nil {
|
|
return x.CurrentSet
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OnUpdateSetRequest) GetNewSet() *hostsets.HostSet {
|
|
if x != nil {
|
|
return x.NewSet
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OnUpdateSetRequest) GetPersisted() *plugin.HostCatalogPersisted {
|
|
if x != nil {
|
|
return x.Persisted
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OnUpdateSetResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OnUpdateSetResponse) Reset() {
|
|
*x = OnUpdateSetResponse{}
|
|
mi := &file_worker_servers_services_v1_host_service_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OnUpdateSetResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OnUpdateSetResponse) ProtoMessage() {}
|
|
|
|
func (x *OnUpdateSetResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_worker_servers_services_v1_host_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 OnUpdateSetResponse.ProtoReflect.Descriptor instead.
|
|
func (*OnUpdateSetResponse) Descriptor() ([]byte, []int) {
|
|
return file_worker_servers_services_v1_host_service_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
type OnDeleteSetRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The host catalog that the set belongs to.
|
|
Catalog *hostcatalogs.HostCatalog `protobuf:"bytes,10,opt,name=catalog,proto3" json:"catalog,omitempty"`
|
|
// The host set to delete.
|
|
Set *hostsets.HostSet `protobuf:"bytes,20,opt,name=set,proto3" json:"set,omitempty"`
|
|
// The persisted data for the host catalog that the set belongs to.
|
|
Persisted *plugin.HostCatalogPersisted `protobuf:"bytes,30,opt,name=persisted,proto3" json:"persisted,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OnDeleteSetRequest) Reset() {
|
|
*x = OnDeleteSetRequest{}
|
|
mi := &file_worker_servers_services_v1_host_service_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OnDeleteSetRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OnDeleteSetRequest) ProtoMessage() {}
|
|
|
|
func (x *OnDeleteSetRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_worker_servers_services_v1_host_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 OnDeleteSetRequest.ProtoReflect.Descriptor instead.
|
|
func (*OnDeleteSetRequest) Descriptor() ([]byte, []int) {
|
|
return file_worker_servers_services_v1_host_service_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *OnDeleteSetRequest) GetCatalog() *hostcatalogs.HostCatalog {
|
|
if x != nil {
|
|
return x.Catalog
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OnDeleteSetRequest) GetSet() *hostsets.HostSet {
|
|
if x != nil {
|
|
return x.Set
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OnDeleteSetRequest) GetPersisted() *plugin.HostCatalogPersisted {
|
|
if x != nil {
|
|
return x.Persisted
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OnDeleteSetResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OnDeleteSetResponse) Reset() {
|
|
*x = OnDeleteSetResponse{}
|
|
mi := &file_worker_servers_services_v1_host_service_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OnDeleteSetResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OnDeleteSetResponse) ProtoMessage() {}
|
|
|
|
func (x *OnDeleteSetResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_worker_servers_services_v1_host_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 OnDeleteSetResponse.ProtoReflect.Descriptor instead.
|
|
func (*OnDeleteSetResponse) Descriptor() ([]byte, []int) {
|
|
return file_worker_servers_services_v1_host_service_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
type ListHostsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The host catalog that the supplied host sets belong to.
|
|
Catalog *hostcatalogs.HostCatalog `protobuf:"bytes,10,opt,name=catalog,proto3" json:"catalog,omitempty"`
|
|
// The host sets to look up hosts for.
|
|
Sets []*hostsets.HostSet `protobuf:"bytes,20,rep,name=sets,proto3" json:"sets,omitempty"`
|
|
// The persisted data for the host catalog that the supplied host
|
|
// sets belong to.
|
|
Persisted *plugin.HostCatalogPersisted `protobuf:"bytes,30,opt,name=persisted,proto3" json:"persisted,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListHostsRequest) Reset() {
|
|
*x = ListHostsRequest{}
|
|
mi := &file_worker_servers_services_v1_host_service_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListHostsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListHostsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListHostsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_worker_servers_services_v1_host_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 ListHostsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListHostsRequest) Descriptor() ([]byte, []int) {
|
|
return file_worker_servers_services_v1_host_service_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *ListHostsRequest) GetCatalog() *hostcatalogs.HostCatalog {
|
|
if x != nil {
|
|
return x.Catalog
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListHostsRequest) GetSets() []*hostsets.HostSet {
|
|
if x != nil {
|
|
return x.Sets
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListHostsRequest) GetPersisted() *plugin.HostCatalogPersisted {
|
|
if x != nil {
|
|
return x.Persisted
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListHostsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// The hosts to return.
|
|
Hosts []*plugin.ListHostsResponseHost `protobuf:"bytes,10,rep,name=hosts,proto3" json:"hosts,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListHostsResponse) Reset() {
|
|
*x = ListHostsResponse{}
|
|
mi := &file_worker_servers_services_v1_host_service_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListHostsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListHostsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListHostsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_worker_servers_services_v1_host_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 ListHostsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListHostsResponse) Descriptor() ([]byte, []int) {
|
|
return file_worker_servers_services_v1_host_service_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *ListHostsResponse) GetHosts() []*plugin.ListHostsResponseHost {
|
|
if x != nil {
|
|
return x.Hosts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_worker_servers_services_v1_host_service_proto protoreflect.FileDescriptor
|
|
|
|
const file_worker_servers_services_v1_host_service_proto_rawDesc = "" +
|
|
"\n" +
|
|
"-worker/servers/services/v1/host_service.proto\x12\x1aworker.servers.services.v1\x1a;controller/api/resources/hostcatalogs/v1/host_catalog.proto\x1a3controller/api/resources/hostsets/v1/host_set.proto\x1a0controller/api/resources/plugins/v1/plugin.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a#plugin/v1/host_plugin_service.proto\"\x9f\x01\n" +
|
|
"\x1bNormalizeCatalogDataRequest\x127\n" +
|
|
"\n" +
|
|
"attributes\x18d \x01(\v2\x17.google.protobuf.StructR\n" +
|
|
"attributes\x12G\n" +
|
|
"\x06plugin\x18n \x01(\v2/.controller.api.resources.plugins.v1.PluginInfoR\x06plugin\"W\n" +
|
|
"\x1cNormalizeCatalogDataResponse\x127\n" +
|
|
"\n" +
|
|
"attributes\x18d \x01(\v2\x17.google.protobuf.StructR\n" +
|
|
"attributes\"i\n" +
|
|
"\x16OnCreateCatalogRequest\x12O\n" +
|
|
"\acatalog\x18\n" +
|
|
" \x01(\v25.controller.api.resources.hostcatalogs.v1.HostCatalogR\acatalog\"X\n" +
|
|
"\x17OnCreateCatalogResponse\x12=\n" +
|
|
"\tpersisted\x18\n" +
|
|
" \x01(\v2\x1f.plugin.v1.HostCatalogPersistedR\tpersisted\"\x8f\x02\n" +
|
|
"\x16OnUpdateCatalogRequest\x12^\n" +
|
|
"\x0fcurrent_catalog\x18\n" +
|
|
" \x01(\v25.controller.api.resources.hostcatalogs.v1.HostCatalogR\x0ecurrentCatalog\x12V\n" +
|
|
"\vnew_catalog\x18\x14 \x01(\v25.controller.api.resources.hostcatalogs.v1.HostCatalogR\n" +
|
|
"newCatalog\x12=\n" +
|
|
"\tpersisted\x18\x1e \x01(\v2\x1f.plugin.v1.HostCatalogPersistedR\tpersisted\"X\n" +
|
|
"\x17OnUpdateCatalogResponse\x12=\n" +
|
|
"\tpersisted\x18\n" +
|
|
" \x01(\v2\x1f.plugin.v1.HostCatalogPersistedR\tpersisted\"\xeb\x01\n" +
|
|
"\x16OnDeleteCatalogRequest\x12O\n" +
|
|
"\acatalog\x18\n" +
|
|
" \x01(\v25.controller.api.resources.hostcatalogs.v1.HostCatalogR\acatalog\x12A\n" +
|
|
"\x04sets\x18\x14 \x03(\v2-.controller.api.resources.hostsets.v1.HostSetR\x04sets\x12=\n" +
|
|
"\tpersisted\x18\x1e \x01(\v2\x1f.plugin.v1.HostCatalogPersistedR\tpersisted\"\x19\n" +
|
|
"\x17OnDeleteCatalogResponse\"\x9b\x01\n" +
|
|
"\x17NormalizeSetDataRequest\x127\n" +
|
|
"\n" +
|
|
"attributes\x18d \x01(\v2\x17.google.protobuf.StructR\n" +
|
|
"attributes\x12G\n" +
|
|
"\x06plugin\x18n \x01(\v2/.controller.api.resources.plugins.v1.PluginInfoR\x06plugin\"S\n" +
|
|
"\x18NormalizeSetDataResponse\x127\n" +
|
|
"\n" +
|
|
"attributes\x18d \x01(\v2\x17.google.protobuf.StructR\n" +
|
|
"attributes\"\xe5\x01\n" +
|
|
"\x12OnCreateSetRequest\x12O\n" +
|
|
"\acatalog\x18\n" +
|
|
" \x01(\v25.controller.api.resources.hostcatalogs.v1.HostCatalogR\acatalog\x12?\n" +
|
|
"\x03set\x18\x14 \x01(\v2-.controller.api.resources.hostsets.v1.HostSetR\x03set\x12=\n" +
|
|
"\tpersisted\x18\x1e \x01(\v2\x1f.plugin.v1.HostCatalogPersistedR\tpersisted\"\x15\n" +
|
|
"\x13OnCreateSetResponse\"\xbc\x02\n" +
|
|
"\x12OnUpdateSetRequest\x12O\n" +
|
|
"\acatalog\x18\n" +
|
|
" \x01(\v25.controller.api.resources.hostcatalogs.v1.HostCatalogR\acatalog\x12N\n" +
|
|
"\vcurrent_set\x18\x14 \x01(\v2-.controller.api.resources.hostsets.v1.HostSetR\n" +
|
|
"currentSet\x12F\n" +
|
|
"\anew_set\x18\x1e \x01(\v2-.controller.api.resources.hostsets.v1.HostSetR\x06newSet\x12=\n" +
|
|
"\tpersisted\x18( \x01(\v2\x1f.plugin.v1.HostCatalogPersistedR\tpersisted\"\x15\n" +
|
|
"\x13OnUpdateSetResponse\"\xe5\x01\n" +
|
|
"\x12OnDeleteSetRequest\x12O\n" +
|
|
"\acatalog\x18\n" +
|
|
" \x01(\v25.controller.api.resources.hostcatalogs.v1.HostCatalogR\acatalog\x12?\n" +
|
|
"\x03set\x18\x14 \x01(\v2-.controller.api.resources.hostsets.v1.HostSetR\x03set\x12=\n" +
|
|
"\tpersisted\x18\x1e \x01(\v2\x1f.plugin.v1.HostCatalogPersistedR\tpersisted\"\x15\n" +
|
|
"\x13OnDeleteSetResponse\"\xe5\x01\n" +
|
|
"\x10ListHostsRequest\x12O\n" +
|
|
"\acatalog\x18\n" +
|
|
" \x01(\v25.controller.api.resources.hostcatalogs.v1.HostCatalogR\acatalog\x12A\n" +
|
|
"\x04sets\x18\x14 \x03(\v2-.controller.api.resources.hostsets.v1.HostSetR\x04sets\x12=\n" +
|
|
"\tpersisted\x18\x1e \x01(\v2\x1f.plugin.v1.HostCatalogPersistedR\tpersisted\"K\n" +
|
|
"\x11ListHostsResponse\x126\n" +
|
|
"\x05hosts\x18\n" +
|
|
" \x03(\v2 .plugin.v1.ListHostsResponseHostR\x05hosts2\xc6\b\n" +
|
|
"\vHostService\x12\x89\x01\n" +
|
|
"\x14NormalizeCatalogData\x127.worker.servers.services.v1.NormalizeCatalogDataRequest\x1a8.worker.servers.services.v1.NormalizeCatalogDataResponse\x12z\n" +
|
|
"\x0fOnCreateCatalog\x122.worker.servers.services.v1.OnCreateCatalogRequest\x1a3.worker.servers.services.v1.OnCreateCatalogResponse\x12z\n" +
|
|
"\x0fOnUpdateCatalog\x122.worker.servers.services.v1.OnUpdateCatalogRequest\x1a3.worker.servers.services.v1.OnUpdateCatalogResponse\x12z\n" +
|
|
"\x0fOnDeleteCatalog\x122.worker.servers.services.v1.OnDeleteCatalogRequest\x1a3.worker.servers.services.v1.OnDeleteCatalogResponse\x12}\n" +
|
|
"\x10NormalizeSetData\x123.worker.servers.services.v1.NormalizeSetDataRequest\x1a4.worker.servers.services.v1.NormalizeSetDataResponse\x12n\n" +
|
|
"\vOnCreateSet\x12..worker.servers.services.v1.OnCreateSetRequest\x1a/.worker.servers.services.v1.OnCreateSetResponse\x12n\n" +
|
|
"\vOnUpdateSet\x12..worker.servers.services.v1.OnUpdateSetRequest\x1a/.worker.servers.services.v1.OnUpdateSetResponse\x12n\n" +
|
|
"\vOnDeleteSet\x12..worker.servers.services.v1.OnDeleteSetRequest\x1a/.worker.servers.services.v1.OnDeleteSetResponse\x12h\n" +
|
|
"\tListHosts\x12,.worker.servers.services.v1.ListHostsRequest\x1a-.worker.servers.services.v1.ListHostsResponseBMZKgithub.com/hashicorp/boundary/internal/gen/worker/servers/services;servicesb\x06proto3"
|
|
|
|
var (
|
|
file_worker_servers_services_v1_host_service_proto_rawDescOnce sync.Once
|
|
file_worker_servers_services_v1_host_service_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_worker_servers_services_v1_host_service_proto_rawDescGZIP() []byte {
|
|
file_worker_servers_services_v1_host_service_proto_rawDescOnce.Do(func() {
|
|
file_worker_servers_services_v1_host_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_worker_servers_services_v1_host_service_proto_rawDesc), len(file_worker_servers_services_v1_host_service_proto_rawDesc)))
|
|
})
|
|
return file_worker_servers_services_v1_host_service_proto_rawDescData
|
|
}
|
|
|
|
var file_worker_servers_services_v1_host_service_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
|
|
var file_worker_servers_services_v1_host_service_proto_goTypes = []any{
|
|
(*NormalizeCatalogDataRequest)(nil), // 0: worker.servers.services.v1.NormalizeCatalogDataRequest
|
|
(*NormalizeCatalogDataResponse)(nil), // 1: worker.servers.services.v1.NormalizeCatalogDataResponse
|
|
(*OnCreateCatalogRequest)(nil), // 2: worker.servers.services.v1.OnCreateCatalogRequest
|
|
(*OnCreateCatalogResponse)(nil), // 3: worker.servers.services.v1.OnCreateCatalogResponse
|
|
(*OnUpdateCatalogRequest)(nil), // 4: worker.servers.services.v1.OnUpdateCatalogRequest
|
|
(*OnUpdateCatalogResponse)(nil), // 5: worker.servers.services.v1.OnUpdateCatalogResponse
|
|
(*OnDeleteCatalogRequest)(nil), // 6: worker.servers.services.v1.OnDeleteCatalogRequest
|
|
(*OnDeleteCatalogResponse)(nil), // 7: worker.servers.services.v1.OnDeleteCatalogResponse
|
|
(*NormalizeSetDataRequest)(nil), // 8: worker.servers.services.v1.NormalizeSetDataRequest
|
|
(*NormalizeSetDataResponse)(nil), // 9: worker.servers.services.v1.NormalizeSetDataResponse
|
|
(*OnCreateSetRequest)(nil), // 10: worker.servers.services.v1.OnCreateSetRequest
|
|
(*OnCreateSetResponse)(nil), // 11: worker.servers.services.v1.OnCreateSetResponse
|
|
(*OnUpdateSetRequest)(nil), // 12: worker.servers.services.v1.OnUpdateSetRequest
|
|
(*OnUpdateSetResponse)(nil), // 13: worker.servers.services.v1.OnUpdateSetResponse
|
|
(*OnDeleteSetRequest)(nil), // 14: worker.servers.services.v1.OnDeleteSetRequest
|
|
(*OnDeleteSetResponse)(nil), // 15: worker.servers.services.v1.OnDeleteSetResponse
|
|
(*ListHostsRequest)(nil), // 16: worker.servers.services.v1.ListHostsRequest
|
|
(*ListHostsResponse)(nil), // 17: worker.servers.services.v1.ListHostsResponse
|
|
(*structpb.Struct)(nil), // 18: google.protobuf.Struct
|
|
(*plugins.PluginInfo)(nil), // 19: controller.api.resources.plugins.v1.PluginInfo
|
|
(*hostcatalogs.HostCatalog)(nil), // 20: controller.api.resources.hostcatalogs.v1.HostCatalog
|
|
(*plugin.HostCatalogPersisted)(nil), // 21: plugin.v1.HostCatalogPersisted
|
|
(*hostsets.HostSet)(nil), // 22: controller.api.resources.hostsets.v1.HostSet
|
|
(*plugin.ListHostsResponseHost)(nil), // 23: plugin.v1.ListHostsResponseHost
|
|
}
|
|
var file_worker_servers_services_v1_host_service_proto_depIdxs = []int32{
|
|
18, // 0: worker.servers.services.v1.NormalizeCatalogDataRequest.attributes:type_name -> google.protobuf.Struct
|
|
19, // 1: worker.servers.services.v1.NormalizeCatalogDataRequest.plugin:type_name -> controller.api.resources.plugins.v1.PluginInfo
|
|
18, // 2: worker.servers.services.v1.NormalizeCatalogDataResponse.attributes:type_name -> google.protobuf.Struct
|
|
20, // 3: worker.servers.services.v1.OnCreateCatalogRequest.catalog:type_name -> controller.api.resources.hostcatalogs.v1.HostCatalog
|
|
21, // 4: worker.servers.services.v1.OnCreateCatalogResponse.persisted:type_name -> plugin.v1.HostCatalogPersisted
|
|
20, // 5: worker.servers.services.v1.OnUpdateCatalogRequest.current_catalog:type_name -> controller.api.resources.hostcatalogs.v1.HostCatalog
|
|
20, // 6: worker.servers.services.v1.OnUpdateCatalogRequest.new_catalog:type_name -> controller.api.resources.hostcatalogs.v1.HostCatalog
|
|
21, // 7: worker.servers.services.v1.OnUpdateCatalogRequest.persisted:type_name -> plugin.v1.HostCatalogPersisted
|
|
21, // 8: worker.servers.services.v1.OnUpdateCatalogResponse.persisted:type_name -> plugin.v1.HostCatalogPersisted
|
|
20, // 9: worker.servers.services.v1.OnDeleteCatalogRequest.catalog:type_name -> controller.api.resources.hostcatalogs.v1.HostCatalog
|
|
22, // 10: worker.servers.services.v1.OnDeleteCatalogRequest.sets:type_name -> controller.api.resources.hostsets.v1.HostSet
|
|
21, // 11: worker.servers.services.v1.OnDeleteCatalogRequest.persisted:type_name -> plugin.v1.HostCatalogPersisted
|
|
18, // 12: worker.servers.services.v1.NormalizeSetDataRequest.attributes:type_name -> google.protobuf.Struct
|
|
19, // 13: worker.servers.services.v1.NormalizeSetDataRequest.plugin:type_name -> controller.api.resources.plugins.v1.PluginInfo
|
|
18, // 14: worker.servers.services.v1.NormalizeSetDataResponse.attributes:type_name -> google.protobuf.Struct
|
|
20, // 15: worker.servers.services.v1.OnCreateSetRequest.catalog:type_name -> controller.api.resources.hostcatalogs.v1.HostCatalog
|
|
22, // 16: worker.servers.services.v1.OnCreateSetRequest.set:type_name -> controller.api.resources.hostsets.v1.HostSet
|
|
21, // 17: worker.servers.services.v1.OnCreateSetRequest.persisted:type_name -> plugin.v1.HostCatalogPersisted
|
|
20, // 18: worker.servers.services.v1.OnUpdateSetRequest.catalog:type_name -> controller.api.resources.hostcatalogs.v1.HostCatalog
|
|
22, // 19: worker.servers.services.v1.OnUpdateSetRequest.current_set:type_name -> controller.api.resources.hostsets.v1.HostSet
|
|
22, // 20: worker.servers.services.v1.OnUpdateSetRequest.new_set:type_name -> controller.api.resources.hostsets.v1.HostSet
|
|
21, // 21: worker.servers.services.v1.OnUpdateSetRequest.persisted:type_name -> plugin.v1.HostCatalogPersisted
|
|
20, // 22: worker.servers.services.v1.OnDeleteSetRequest.catalog:type_name -> controller.api.resources.hostcatalogs.v1.HostCatalog
|
|
22, // 23: worker.servers.services.v1.OnDeleteSetRequest.set:type_name -> controller.api.resources.hostsets.v1.HostSet
|
|
21, // 24: worker.servers.services.v1.OnDeleteSetRequest.persisted:type_name -> plugin.v1.HostCatalogPersisted
|
|
20, // 25: worker.servers.services.v1.ListHostsRequest.catalog:type_name -> controller.api.resources.hostcatalogs.v1.HostCatalog
|
|
22, // 26: worker.servers.services.v1.ListHostsRequest.sets:type_name -> controller.api.resources.hostsets.v1.HostSet
|
|
21, // 27: worker.servers.services.v1.ListHostsRequest.persisted:type_name -> plugin.v1.HostCatalogPersisted
|
|
23, // 28: worker.servers.services.v1.ListHostsResponse.hosts:type_name -> plugin.v1.ListHostsResponseHost
|
|
0, // 29: worker.servers.services.v1.HostService.NormalizeCatalogData:input_type -> worker.servers.services.v1.NormalizeCatalogDataRequest
|
|
2, // 30: worker.servers.services.v1.HostService.OnCreateCatalog:input_type -> worker.servers.services.v1.OnCreateCatalogRequest
|
|
4, // 31: worker.servers.services.v1.HostService.OnUpdateCatalog:input_type -> worker.servers.services.v1.OnUpdateCatalogRequest
|
|
6, // 32: worker.servers.services.v1.HostService.OnDeleteCatalog:input_type -> worker.servers.services.v1.OnDeleteCatalogRequest
|
|
8, // 33: worker.servers.services.v1.HostService.NormalizeSetData:input_type -> worker.servers.services.v1.NormalizeSetDataRequest
|
|
10, // 34: worker.servers.services.v1.HostService.OnCreateSet:input_type -> worker.servers.services.v1.OnCreateSetRequest
|
|
12, // 35: worker.servers.services.v1.HostService.OnUpdateSet:input_type -> worker.servers.services.v1.OnUpdateSetRequest
|
|
14, // 36: worker.servers.services.v1.HostService.OnDeleteSet:input_type -> worker.servers.services.v1.OnDeleteSetRequest
|
|
16, // 37: worker.servers.services.v1.HostService.ListHosts:input_type -> worker.servers.services.v1.ListHostsRequest
|
|
1, // 38: worker.servers.services.v1.HostService.NormalizeCatalogData:output_type -> worker.servers.services.v1.NormalizeCatalogDataResponse
|
|
3, // 39: worker.servers.services.v1.HostService.OnCreateCatalog:output_type -> worker.servers.services.v1.OnCreateCatalogResponse
|
|
5, // 40: worker.servers.services.v1.HostService.OnUpdateCatalog:output_type -> worker.servers.services.v1.OnUpdateCatalogResponse
|
|
7, // 41: worker.servers.services.v1.HostService.OnDeleteCatalog:output_type -> worker.servers.services.v1.OnDeleteCatalogResponse
|
|
9, // 42: worker.servers.services.v1.HostService.NormalizeSetData:output_type -> worker.servers.services.v1.NormalizeSetDataResponse
|
|
11, // 43: worker.servers.services.v1.HostService.OnCreateSet:output_type -> worker.servers.services.v1.OnCreateSetResponse
|
|
13, // 44: worker.servers.services.v1.HostService.OnUpdateSet:output_type -> worker.servers.services.v1.OnUpdateSetResponse
|
|
15, // 45: worker.servers.services.v1.HostService.OnDeleteSet:output_type -> worker.servers.services.v1.OnDeleteSetResponse
|
|
17, // 46: worker.servers.services.v1.HostService.ListHosts:output_type -> worker.servers.services.v1.ListHostsResponse
|
|
38, // [38:47] is the sub-list for method output_type
|
|
29, // [29:38] is the sub-list for method input_type
|
|
29, // [29:29] is the sub-list for extension type_name
|
|
29, // [29:29] is the sub-list for extension extendee
|
|
0, // [0:29] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_worker_servers_services_v1_host_service_proto_init() }
|
|
func file_worker_servers_services_v1_host_service_proto_init() {
|
|
if File_worker_servers_services_v1_host_service_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_worker_servers_services_v1_host_service_proto_rawDesc), len(file_worker_servers_services_v1_host_service_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 18,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_worker_servers_services_v1_host_service_proto_goTypes,
|
|
DependencyIndexes: file_worker_servers_services_v1_host_service_proto_depIdxs,
|
|
MessageInfos: file_worker_servers_services_v1_host_service_proto_msgTypes,
|
|
}.Build()
|
|
File_worker_servers_services_v1_host_service_proto = out.File
|
|
file_worker_servers_services_v1_host_service_proto_goTypes = nil
|
|
file_worker_servers_services_v1_host_service_proto_depIdxs = nil
|
|
}
|