2026-11-11 16:17:07 +09:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
|
// versions:
|
|
|
|
|
// protoc-gen-go v1.36.12
|
|
|
|
|
// protoc v7.36.2
|
|
|
|
|
// source: deployment.proto
|
|
|
|
|
|
|
|
|
|
package model
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
|
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 DeploymentAction int32
|
|
|
|
|
|
|
|
|
|
const (
|
2026-11-11 08:15:05 +00:00
|
|
|
DeploymentAction_STOP DeploymentAction = 0
|
|
|
|
|
DeploymentAction_START DeploymentAction = 1
|
|
|
|
|
DeploymentAction_CLEANUP DeploymentAction = 2
|
2026-11-11 16:17:07 +09:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// Enum value maps for DeploymentAction.
|
|
|
|
|
var (
|
|
|
|
|
DeploymentAction_name = map[int32]string{
|
|
|
|
|
0: "STOP",
|
|
|
|
|
1: "START",
|
2026-11-11 08:15:05 +00:00
|
|
|
2: "CLEANUP",
|
2026-11-11 16:17:07 +09:00
|
|
|
}
|
|
|
|
|
DeploymentAction_value = map[string]int32{
|
2026-11-11 08:15:05 +00:00
|
|
|
"STOP": 0,
|
|
|
|
|
"START": 1,
|
|
|
|
|
"CLEANUP": 2,
|
2026-11-11 16:17:07 +09:00
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func (x DeploymentAction) Enum() *DeploymentAction {
|
|
|
|
|
p := new(DeploymentAction)
|
|
|
|
|
*p = x
|
|
|
|
|
return p
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x DeploymentAction) String() string {
|
|
|
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (DeploymentAction) Descriptor() protoreflect.EnumDescriptor {
|
|
|
|
|
return file_deployment_proto_enumTypes[0].Descriptor()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (DeploymentAction) Type() protoreflect.EnumType {
|
|
|
|
|
return &file_deployment_proto_enumTypes[0]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x DeploymentAction) Number() protoreflect.EnumNumber {
|
|
|
|
|
return protoreflect.EnumNumber(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use DeploymentAction.Descriptor instead.
|
|
|
|
|
func (DeploymentAction) EnumDescriptor() ([]byte, []int) {
|
|
|
|
|
return file_deployment_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type Deployment struct {
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
2026-11-13 06:20:19 +00:00
|
|
|
Action DeploymentAction `protobuf:"varint,2,opt,name=action,proto3,enum=proto.DeploymentAction" json:"action,omitempty"`
|
|
|
|
|
Hcl []byte `protobuf:"bytes,3,opt,name=hcl,proto3" json:"hcl,omitempty"`
|
2026-11-17 06:00:00 +00:00
|
|
|
ClientId string `protobuf:"bytes,4,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
|
2026-11-11 16:17:07 +09:00
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *Deployment) Reset() {
|
|
|
|
|
*x = Deployment{}
|
2026-11-13 06:20:19 +00:00
|
|
|
mi := &file_deployment_proto_msgTypes[0]
|
2026-11-11 16:17:07 +09:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *Deployment) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*Deployment) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *Deployment) ProtoReflect() protoreflect.Message {
|
2026-11-13 06:20:19 +00:00
|
|
|
mi := &file_deployment_proto_msgTypes[0]
|
2026-11-11 16:17:07 +09:00
|
|
|
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 Deployment.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*Deployment) Descriptor() ([]byte, []int) {
|
2026-11-13 06:20:19 +00:00
|
|
|
return file_deployment_proto_rawDescGZIP(), []int{0}
|
2026-11-11 16:17:07 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *Deployment) GetId() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Id
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *Deployment) GetAction() DeploymentAction {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Action
|
|
|
|
|
}
|
|
|
|
|
return DeploymentAction_STOP
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *Deployment) GetHcl() []byte {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Hcl
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2026-11-17 06:00:00 +00:00
|
|
|
func (x *Deployment) GetClientId() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ClientId
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2026-11-11 16:17:07 +09:00
|
|
|
var File_deployment_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
|
|
const file_deployment_proto_rawDesc = "" +
|
|
|
|
|
"\n" +
|
2026-11-17 06:00:00 +00:00
|
|
|
"\x10deployment.proto\x12\x05proto\"|\n" +
|
2026-11-11 16:17:07 +09:00
|
|
|
"\n" +
|
|
|
|
|
"Deployment\x12\x0e\n" +
|
2026-11-13 06:20:19 +00:00
|
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12/\n" +
|
|
|
|
|
"\x06action\x18\x02 \x01(\x0e2\x17.proto.DeploymentActionR\x06action\x12\x10\n" +
|
2026-11-17 06:00:00 +00:00
|
|
|
"\x03hcl\x18\x03 \x01(\fR\x03hcl\x12\x1b\n" +
|
|
|
|
|
"\tclient_id\x18\x04 \x01(\tR\bclientId*4\n" +
|
2026-11-11 16:17:07 +09:00
|
|
|
"\x10DeploymentAction\x12\b\n" +
|
|
|
|
|
"\x04STOP\x10\x00\x12\t\n" +
|
2026-11-11 08:15:05 +00:00
|
|
|
"\x05START\x10\x01\x12\v\n" +
|
|
|
|
|
"\aCLEANUP\x10\x02B\x16Z\x14beejay.kim/fog/modelb\x06proto3"
|
2026-11-11 16:17:07 +09:00
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
file_deployment_proto_rawDescOnce sync.Once
|
|
|
|
|
file_deployment_proto_rawDescData []byte
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func file_deployment_proto_rawDescGZIP() []byte {
|
|
|
|
|
file_deployment_proto_rawDescOnce.Do(func() {
|
|
|
|
|
file_deployment_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_deployment_proto_rawDesc), len(file_deployment_proto_rawDesc)))
|
|
|
|
|
})
|
|
|
|
|
return file_deployment_proto_rawDescData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var file_deployment_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
2026-11-13 06:20:19 +00:00
|
|
|
var file_deployment_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
2026-11-11 16:17:07 +09:00
|
|
|
var file_deployment_proto_goTypes = []any{
|
2026-11-13 06:20:19 +00:00
|
|
|
(DeploymentAction)(0), // 0: proto.DeploymentAction
|
|
|
|
|
(*Deployment)(nil), // 1: proto.Deployment
|
2026-11-11 16:17:07 +09:00
|
|
|
}
|
|
|
|
|
var file_deployment_proto_depIdxs = []int32{
|
2026-11-13 06:20:19 +00:00
|
|
|
0, // 0: proto.Deployment.action:type_name -> proto.DeploymentAction
|
|
|
|
|
1, // [1:1] is the sub-list for method output_type
|
|
|
|
|
1, // [1:1] is the sub-list for method input_type
|
|
|
|
|
1, // [1:1] is the sub-list for extension type_name
|
|
|
|
|
1, // [1:1] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:1] is the sub-list for field type_name
|
2026-11-11 16:17:07 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { file_deployment_proto_init() }
|
|
|
|
|
func file_deployment_proto_init() {
|
|
|
|
|
if File_deployment_proto != nil {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
type x struct{}
|
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_deployment_proto_rawDesc), len(file_deployment_proto_rawDesc)),
|
|
|
|
|
NumEnums: 1,
|
2026-11-13 06:20:19 +00:00
|
|
|
NumMessages: 1,
|
2026-11-11 16:17:07 +09:00
|
|
|
NumExtensions: 0,
|
|
|
|
|
NumServices: 0,
|
|
|
|
|
},
|
|
|
|
|
GoTypes: file_deployment_proto_goTypes,
|
|
|
|
|
DependencyIndexes: file_deployment_proto_depIdxs,
|
|
|
|
|
EnumInfos: file_deployment_proto_enumTypes,
|
|
|
|
|
MessageInfos: file_deployment_proto_msgTypes,
|
|
|
|
|
}.Build()
|
|
|
|
|
File_deployment_proto = out.File
|
|
|
|
|
file_deployment_proto_goTypes = nil
|
|
|
|
|
file_deployment_proto_depIdxs = nil
|
|
|
|
|
}
|