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.
514 lines
22 KiB
514 lines
22 KiB
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.21.0
|
|
// protoc v3.11.4
|
|
// source: controller/api/resource/v1/host_catalog.proto
|
|
|
|
package resource
|
|
|
|
import (
|
|
proto "github.com/golang/protobuf/proto"
|
|
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
|
wrappers "github.com/golang/protobuf/ptypes/wrappers"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
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)
|
|
)
|
|
|
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
|
// of the legacy proto package is being used.
|
|
const _ = proto.ProtoPackageIsVersion4
|
|
|
|
type HostCatalogType int32
|
|
|
|
const (
|
|
HostCatalogType_HOST_CATALOG_TYPE_UNSPECIFIED HostCatalogType = 0
|
|
HostCatalogType_HOST_CATALOG_TYPE_EC2 HostCatalogType = 1
|
|
HostCatalogType_HOST_CATALOG_TYPE_STATIC HostCatalogType = 2
|
|
)
|
|
|
|
// Enum value maps for HostCatalogType.
|
|
var (
|
|
HostCatalogType_name = map[int32]string{
|
|
0: "HOST_CATALOG_TYPE_UNSPECIFIED",
|
|
1: "HOST_CATALOG_TYPE_EC2",
|
|
2: "HOST_CATALOG_TYPE_STATIC",
|
|
}
|
|
HostCatalogType_value = map[string]int32{
|
|
"HOST_CATALOG_TYPE_UNSPECIFIED": 0,
|
|
"HOST_CATALOG_TYPE_EC2": 1,
|
|
"HOST_CATALOG_TYPE_STATIC": 2,
|
|
}
|
|
)
|
|
|
|
func (x HostCatalogType) Enum() *HostCatalogType {
|
|
p := new(HostCatalogType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x HostCatalogType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (HostCatalogType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_controller_api_resource_v1_host_catalog_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (HostCatalogType) Type() protoreflect.EnumType {
|
|
return &file_controller_api_resource_v1_host_catalog_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x HostCatalogType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use HostCatalogType.Descriptor instead.
|
|
func (HostCatalogType) EnumDescriptor() ([]byte, []int) {
|
|
return file_controller_api_resource_v1_host_catalog_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
// HostCatalog organizes Hosts into HostSets.
|
|
type HostCatalog struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Output only.
|
|
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
|
|
FriendlyName *wrappers.StringValue `protobuf:"bytes,2,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"`
|
|
// The time this host_catalog was created.
|
|
// Output only.
|
|
CreatedTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
|
|
// The time this host_catalog was last updated.
|
|
// Output only.
|
|
UpdatedTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"`
|
|
// Marks the host_catalog as disabled. Default is false.
|
|
Disabled *wrappers.BoolValue `protobuf:"bytes,5,opt,name=disabled,proto3" json:"disabled,omitempty"`
|
|
// Types that are assignable to TypeDetails:
|
|
// *HostCatalog_StaticHostCatalogDetails
|
|
// *HostCatalog_Ec2HostCatalogDetails
|
|
TypeDetails isHostCatalog_TypeDetails `protobuf_oneof:"type_details"`
|
|
Type HostCatalogType `protobuf:"varint,8,opt,name=type,proto3,enum=controller.api.resource.v1.HostCatalogType" json:"type,omitempty"` // TODO: Figure out how to provide relevant information regarding Host and Set lists on a catalog.
|
|
}
|
|
|
|
func (x *HostCatalog) Reset() {
|
|
*x = HostCatalog{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_controller_api_resource_v1_host_catalog_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HostCatalog) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HostCatalog) ProtoMessage() {}
|
|
|
|
func (x *HostCatalog) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_resource_v1_host_catalog_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use HostCatalog.ProtoReflect.Descriptor instead.
|
|
func (*HostCatalog) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_resource_v1_host_catalog_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *HostCatalog) GetUri() string {
|
|
if x != nil {
|
|
return x.Uri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HostCatalog) GetFriendlyName() *wrappers.StringValue {
|
|
if x != nil {
|
|
return x.FriendlyName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HostCatalog) GetCreatedTime() *timestamp.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HostCatalog) GetUpdatedTime() *timestamp.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HostCatalog) GetDisabled() *wrappers.BoolValue {
|
|
if x != nil {
|
|
return x.Disabled
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *HostCatalog) GetTypeDetails() isHostCatalog_TypeDetails {
|
|
if m != nil {
|
|
return m.TypeDetails
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HostCatalog) GetStaticHostCatalogDetails() *StaticCatalogDetails {
|
|
if x, ok := x.GetTypeDetails().(*HostCatalog_StaticHostCatalogDetails); ok {
|
|
return x.StaticHostCatalogDetails
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HostCatalog) GetEc2HostCatalogDetails() *Ec2CatalogDetails {
|
|
if x, ok := x.GetTypeDetails().(*HostCatalog_Ec2HostCatalogDetails); ok {
|
|
return x.Ec2HostCatalogDetails
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HostCatalog) GetType() HostCatalogType {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return HostCatalogType_HOST_CATALOG_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
type isHostCatalog_TypeDetails interface {
|
|
isHostCatalog_TypeDetails()
|
|
}
|
|
|
|
type HostCatalog_StaticHostCatalogDetails struct {
|
|
StaticHostCatalogDetails *StaticCatalogDetails `protobuf:"bytes,6,opt,name=static_host_catalog_details,json=staticHostCatalogDetails,proto3,oneof"`
|
|
}
|
|
|
|
type HostCatalog_Ec2HostCatalogDetails struct {
|
|
Ec2HostCatalogDetails *Ec2CatalogDetails `protobuf:"bytes,7,opt,name=ec2_host_catalog_details,json=ec2HostCatalogDetails,proto3,oneof"`
|
|
}
|
|
|
|
func (*HostCatalog_StaticHostCatalogDetails) isHostCatalog_TypeDetails() {}
|
|
|
|
func (*HostCatalog_Ec2HostCatalogDetails) isHostCatalog_TypeDetails() {}
|
|
|
|
type StaticCatalogDetails struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *StaticCatalogDetails) Reset() {
|
|
*x = StaticCatalogDetails{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_controller_api_resource_v1_host_catalog_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *StaticCatalogDetails) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StaticCatalogDetails) ProtoMessage() {}
|
|
|
|
func (x *StaticCatalogDetails) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_resource_v1_host_catalog_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StaticCatalogDetails.ProtoReflect.Descriptor instead.
|
|
func (*StaticCatalogDetails) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_resource_v1_host_catalog_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type Ec2CatalogDetails struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The AWS regions from which this catalog will retrieve the EC2 instances.
|
|
Regions []string `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"`
|
|
// The access key used for authenticating with AWS when retrieving EC2 instance details.
|
|
AccessKey *wrappers.StringValue `protobuf:"bytes,2,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"`
|
|
// Input only.
|
|
SecretKey *wrappers.StringValue `protobuf:"bytes,3,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
|
|
// This value will never be returned in a response.
|
|
Rotate *wrappers.BoolValue `protobuf:"bytes,4,opt,name=rotate,proto3" json:"rotate,omitempty"`
|
|
}
|
|
|
|
func (x *Ec2CatalogDetails) Reset() {
|
|
*x = Ec2CatalogDetails{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_controller_api_resource_v1_host_catalog_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Ec2CatalogDetails) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Ec2CatalogDetails) ProtoMessage() {}
|
|
|
|
func (x *Ec2CatalogDetails) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_resource_v1_host_catalog_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Ec2CatalogDetails.ProtoReflect.Descriptor instead.
|
|
func (*Ec2CatalogDetails) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_resource_v1_host_catalog_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *Ec2CatalogDetails) GetRegions() []string {
|
|
if x != nil {
|
|
return x.Regions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Ec2CatalogDetails) GetAccessKey() *wrappers.StringValue {
|
|
if x != nil {
|
|
return x.AccessKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Ec2CatalogDetails) GetSecretKey() *wrappers.StringValue {
|
|
if x != nil {
|
|
return x.SecretKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Ec2CatalogDetails) GetRotate() *wrappers.BoolValue {
|
|
if x != nil {
|
|
return x.Rotate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_controller_api_resource_v1_host_catalog_proto protoreflect.FileDescriptor
|
|
|
|
var file_controller_api_resource_v1_host_catalog_proto_rawDesc = []byte{
|
|
0x0a, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69,
|
|
0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x68, 0x6f, 0x73,
|
|
0x74, 0x5f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
|
0x1a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e,
|
|
0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,
|
|
0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d,
|
|
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f,
|
|
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72,
|
|
0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc6, 0x04, 0x0a,
|
|
0x0b, 0x48, 0x6f, 0x73, 0x74, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x10, 0x0a, 0x03,
|
|
0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x41,
|
|
0x0a, 0x0d, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x6c, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61,
|
|
0x6c, 0x75, 0x65, 0x52, 0x0c, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x6c, 0x79, 0x4e, 0x61, 0x6d,
|
|
0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d,
|
|
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
|
|
0x61, 0x6d, 0x70, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65,
|
|
0x12, 0x3d, 0x0a, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65,
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
|
|
0x6d, 0x70, 0x52, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12,
|
|
0x36, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x64,
|
|
0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x71, 0x0a, 0x1b, 0x73, 0x74, 0x61, 0x74, 0x69,
|
|
0x63, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x64,
|
|
0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63,
|
|
0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65,
|
|
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63,
|
|
0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x48, 0x00,
|
|
0x52, 0x18, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x48, 0x6f, 0x73, 0x74, 0x43, 0x61, 0x74, 0x61,
|
|
0x6c, 0x6f, 0x67, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x68, 0x0a, 0x18, 0x65, 0x63,
|
|
0x32, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x64,
|
|
0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63,
|
|
0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65,
|
|
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x63, 0x32, 0x43, 0x61, 0x74,
|
|
0x61, 0x6c, 0x6f, 0x67, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x48, 0x00, 0x52, 0x15, 0x65,
|
|
0x63, 0x32, 0x48, 0x6f, 0x73, 0x74, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x44, 0x65, 0x74,
|
|
0x61, 0x69, 0x6c, 0x73, 0x12, 0x3f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01,
|
|
0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e,
|
|
0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
|
0x48, 0x6f, 0x73, 0x74, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52,
|
|
0x04, 0x74, 0x79, 0x70, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x64, 0x65,
|
|
0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x16, 0x0a, 0x14, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x43,
|
|
0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0xdb, 0x01,
|
|
0x0a, 0x11, 0x45, 0x63, 0x32, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x44, 0x65, 0x74, 0x61,
|
|
0x69, 0x6c, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01,
|
|
0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3b, 0x0a,
|
|
0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
|
|
0x09, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x3b, 0x0a, 0x0a, 0x73, 0x65,
|
|
0x63, 0x72, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c,
|
|
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
|
0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x73, 0x65,
|
|
0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x06, 0x72, 0x6f, 0x74, 0x61, 0x74,
|
|
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61,
|
|
0x6c, 0x75, 0x65, 0x52, 0x06, 0x72, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x2a, 0x6d, 0x0a, 0x0f, 0x48,
|
|
0x6f, 0x73, 0x74, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21,
|
|
0x0a, 0x1d, 0x48, 0x4f, 0x53, 0x54, 0x5f, 0x43, 0x41, 0x54, 0x41, 0x4c, 0x4f, 0x47, 0x5f, 0x54,
|
|
0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
|
|
0x00, 0x12, 0x19, 0x0a, 0x15, 0x48, 0x4f, 0x53, 0x54, 0x5f, 0x43, 0x41, 0x54, 0x41, 0x4c, 0x4f,
|
|
0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x43, 0x32, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18,
|
|
0x48, 0x4f, 0x53, 0x54, 0x5f, 0x43, 0x41, 0x54, 0x41, 0x4c, 0x4f, 0x47, 0x5f, 0x54, 0x59, 0x50,
|
|
0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x49, 0x43, 0x10, 0x02, 0x42, 0x4f, 0x5a, 0x4d, 0x67, 0x69,
|
|
0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x61, 0x73, 0x68, 0x69, 0x63, 0x6f,
|
|
0x72, 0x70, 0x2f, 0x77, 0x61, 0x74, 0x63, 0x68, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x2f, 0x69, 0x6e,
|
|
0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72,
|
|
0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
|
|
0x63, 0x65, 0x3b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_controller_api_resource_v1_host_catalog_proto_rawDescOnce sync.Once
|
|
file_controller_api_resource_v1_host_catalog_proto_rawDescData = file_controller_api_resource_v1_host_catalog_proto_rawDesc
|
|
)
|
|
|
|
func file_controller_api_resource_v1_host_catalog_proto_rawDescGZIP() []byte {
|
|
file_controller_api_resource_v1_host_catalog_proto_rawDescOnce.Do(func() {
|
|
file_controller_api_resource_v1_host_catalog_proto_rawDescData = protoimpl.X.CompressGZIP(file_controller_api_resource_v1_host_catalog_proto_rawDescData)
|
|
})
|
|
return file_controller_api_resource_v1_host_catalog_proto_rawDescData
|
|
}
|
|
|
|
var file_controller_api_resource_v1_host_catalog_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_controller_api_resource_v1_host_catalog_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
|
var file_controller_api_resource_v1_host_catalog_proto_goTypes = []interface{}{
|
|
(HostCatalogType)(0), // 0: controller.api.resource.v1.HostCatalogType
|
|
(*HostCatalog)(nil), // 1: controller.api.resource.v1.HostCatalog
|
|
(*StaticCatalogDetails)(nil), // 2: controller.api.resource.v1.StaticCatalogDetails
|
|
(*Ec2CatalogDetails)(nil), // 3: controller.api.resource.v1.Ec2CatalogDetails
|
|
(*wrappers.StringValue)(nil), // 4: google.protobuf.StringValue
|
|
(*timestamp.Timestamp)(nil), // 5: google.protobuf.Timestamp
|
|
(*wrappers.BoolValue)(nil), // 6: google.protobuf.BoolValue
|
|
}
|
|
var file_controller_api_resource_v1_host_catalog_proto_depIdxs = []int32{
|
|
4, // 0: controller.api.resource.v1.HostCatalog.friendly_name:type_name -> google.protobuf.StringValue
|
|
5, // 1: controller.api.resource.v1.HostCatalog.created_time:type_name -> google.protobuf.Timestamp
|
|
5, // 2: controller.api.resource.v1.HostCatalog.updated_time:type_name -> google.protobuf.Timestamp
|
|
6, // 3: controller.api.resource.v1.HostCatalog.disabled:type_name -> google.protobuf.BoolValue
|
|
2, // 4: controller.api.resource.v1.HostCatalog.static_host_catalog_details:type_name -> controller.api.resource.v1.StaticCatalogDetails
|
|
3, // 5: controller.api.resource.v1.HostCatalog.ec2_host_catalog_details:type_name -> controller.api.resource.v1.Ec2CatalogDetails
|
|
0, // 6: controller.api.resource.v1.HostCatalog.type:type_name -> controller.api.resource.v1.HostCatalogType
|
|
4, // 7: controller.api.resource.v1.Ec2CatalogDetails.access_key:type_name -> google.protobuf.StringValue
|
|
4, // 8: controller.api.resource.v1.Ec2CatalogDetails.secret_key:type_name -> google.protobuf.StringValue
|
|
6, // 9: controller.api.resource.v1.Ec2CatalogDetails.rotate:type_name -> google.protobuf.BoolValue
|
|
10, // [10:10] is the sub-list for method output_type
|
|
10, // [10:10] 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_resource_v1_host_catalog_proto_init() }
|
|
func file_controller_api_resource_v1_host_catalog_proto_init() {
|
|
if File_controller_api_resource_v1_host_catalog_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_controller_api_resource_v1_host_catalog_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HostCatalog); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_controller_api_resource_v1_host_catalog_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*StaticCatalogDetails); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_controller_api_resource_v1_host_catalog_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Ec2CatalogDetails); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
file_controller_api_resource_v1_host_catalog_proto_msgTypes[0].OneofWrappers = []interface{}{
|
|
(*HostCatalog_StaticHostCatalogDetails)(nil),
|
|
(*HostCatalog_Ec2HostCatalogDetails)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_controller_api_resource_v1_host_catalog_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 3,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_controller_api_resource_v1_host_catalog_proto_goTypes,
|
|
DependencyIndexes: file_controller_api_resource_v1_host_catalog_proto_depIdxs,
|
|
EnumInfos: file_controller_api_resource_v1_host_catalog_proto_enumTypes,
|
|
MessageInfos: file_controller_api_resource_v1_host_catalog_proto_msgTypes,
|
|
}.Build()
|
|
File_controller_api_resource_v1_host_catalog_proto = out.File
|
|
file_controller_api_resource_v1_host_catalog_proto_rawDesc = nil
|
|
file_controller_api_resource_v1_host_catalog_proto_goTypes = nil
|
|
file_controller_api_resource_v1_host_catalog_proto_depIdxs = nil
|
|
}
|