iop/proto/gen/iop/control.pb.go
toki d764adb390 chore: agent-task 변경 사항 반영
- edge node store 및 console 업데이트
- node adapters(cli, ollama, vllm, mock) 리팩토링
- node router, run_manager, store 개선
- proto 파일(control.proto, runtime.proto) 및 생성 코드 업데이트
- config 업데이트
2026-05-10 20:41:33 +09:00

296 lines
9.1 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v5.29.3
// source: proto/iop/control.proto
package iop
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)
)
// PolicyRule defines a routing/resource constraint.
type PolicyRule struct {
state protoimpl.MessageState `protogen:"open.v1"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Expression string `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"`
Params map[string]string `protobuf:"bytes,3,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PolicyRule) Reset() {
*x = PolicyRule{}
mi := &file_proto_iop_control_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PolicyRule) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PolicyRule) ProtoMessage() {}
func (x *PolicyRule) ProtoReflect() protoreflect.Message {
mi := &file_proto_iop_control_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 PolicyRule.ProtoReflect.Descriptor instead.
func (*PolicyRule) Descriptor() ([]byte, []int) {
return file_proto_iop_control_proto_rawDescGZIP(), []int{0}
}
func (x *PolicyRule) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *PolicyRule) GetExpression() string {
if x != nil {
return x.Expression
}
return ""
}
func (x *PolicyRule) GetParams() map[string]string {
if x != nil {
return x.Params
}
return nil
}
// ScheduleRequest asks the control-plane to route a job to a node.
type ScheduleRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
Policies []*PolicyRule `protobuf:"bytes,3,rep,name=policies,proto3" json:"policies,omitempty"`
Metadata map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ScheduleRequest) Reset() {
*x = ScheduleRequest{}
mi := &file_proto_iop_control_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ScheduleRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ScheduleRequest) ProtoMessage() {}
func (x *ScheduleRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_iop_control_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 ScheduleRequest.ProtoReflect.Descriptor instead.
func (*ScheduleRequest) Descriptor() ([]byte, []int) {
return file_proto_iop_control_proto_rawDescGZIP(), []int{1}
}
func (x *ScheduleRequest) GetJobId() string {
if x != nil {
return x.JobId
}
return ""
}
func (x *ScheduleRequest) GetTarget() string {
if x != nil {
return x.Target
}
return ""
}
func (x *ScheduleRequest) GetPolicies() []*PolicyRule {
if x != nil {
return x.Policies
}
return nil
}
func (x *ScheduleRequest) GetMetadata() map[string]string {
if x != nil {
return x.Metadata
}
return nil
}
// ScheduleResponse contains the selected node address.
type ScheduleResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ScheduleResponse) Reset() {
*x = ScheduleResponse{}
mi := &file_proto_iop_control_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ScheduleResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ScheduleResponse) ProtoMessage() {}
func (x *ScheduleResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_iop_control_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 ScheduleResponse.ProtoReflect.Descriptor instead.
func (*ScheduleResponse) Descriptor() ([]byte, []int) {
return file_proto_iop_control_proto_rawDescGZIP(), []int{2}
}
func (x *ScheduleResponse) GetNodeId() string {
if x != nil {
return x.NodeId
}
return ""
}
func (x *ScheduleResponse) GetAddress() string {
if x != nil {
return x.Address
}
return ""
}
func (x *ScheduleResponse) GetToken() string {
if x != nil {
return x.Token
}
return ""
}
var File_proto_iop_control_proto protoreflect.FileDescriptor
const file_proto_iop_control_proto_rawDesc = "" +
"\n" +
"\x17proto/iop/control.proto\x12\x03iop\"\xb0\x01\n" +
"\n" +
"PolicyRule\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12\x1e\n" +
"\n" +
"expression\x18\x02 \x01(\tR\n" +
"expression\x123\n" +
"\x06params\x18\x03 \x03(\v2\x1b.iop.PolicyRule.ParamsEntryR\x06params\x1a9\n" +
"\vParamsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xea\x01\n" +
"\x0fScheduleRequest\x12\x15\n" +
"\x06job_id\x18\x01 \x01(\tR\x05jobId\x12\x16\n" +
"\x06target\x18\x02 \x01(\tR\x06target\x12+\n" +
"\bpolicies\x18\x03 \x03(\v2\x0f.iop.PolicyRuleR\bpolicies\x12>\n" +
"\bmetadata\x18\x04 \x03(\v2\".iop.ScheduleRequest.MetadataEntryR\bmetadata\x1a;\n" +
"\rMetadataEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"[\n" +
"\x10ScheduleResponse\x12\x17\n" +
"\anode_id\x18\x01 \x01(\tR\x06nodeId\x12\x18\n" +
"\aaddress\x18\x02 \x01(\tR\aaddress\x12\x14\n" +
"\x05token\x18\x03 \x01(\tR\x05tokenB\x13Z\x11iop/proto/gen/iopb\x06proto3"
var (
file_proto_iop_control_proto_rawDescOnce sync.Once
file_proto_iop_control_proto_rawDescData []byte
)
func file_proto_iop_control_proto_rawDescGZIP() []byte {
file_proto_iop_control_proto_rawDescOnce.Do(func() {
file_proto_iop_control_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_proto_iop_control_proto_rawDesc), len(file_proto_iop_control_proto_rawDesc)))
})
return file_proto_iop_control_proto_rawDescData
}
var file_proto_iop_control_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_proto_iop_control_proto_goTypes = []any{
(*PolicyRule)(nil), // 0: iop.PolicyRule
(*ScheduleRequest)(nil), // 1: iop.ScheduleRequest
(*ScheduleResponse)(nil), // 2: iop.ScheduleResponse
nil, // 3: iop.PolicyRule.ParamsEntry
nil, // 4: iop.ScheduleRequest.MetadataEntry
}
var file_proto_iop_control_proto_depIdxs = []int32{
3, // 0: iop.PolicyRule.params:type_name -> iop.PolicyRule.ParamsEntry
0, // 1: iop.ScheduleRequest.policies:type_name -> iop.PolicyRule
4, // 2: iop.ScheduleRequest.metadata:type_name -> iop.ScheduleRequest.MetadataEntry
3, // [3:3] is the sub-list for method output_type
3, // [3:3] is the sub-list for method input_type
3, // [3:3] is the sub-list for extension type_name
3, // [3:3] is the sub-list for extension extendee
0, // [0:3] is the sub-list for field type_name
}
func init() { file_proto_iop_control_proto_init() }
func file_proto_iop_control_proto_init() {
if File_proto_iop_control_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_proto_iop_control_proto_rawDesc), len(file_proto_iop_control_proto_rawDesc)),
NumEnums: 0,
NumMessages: 5,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_proto_iop_control_proto_goTypes,
DependencyIndexes: file_proto_iop_control_proto_depIdxs,
MessageInfos: file_proto_iop_control_proto_msgTypes,
}.Build()
File_proto_iop_control_proto = out.File
file_proto_iop_control_proto_goTypes = nil
file_proto_iop_control_proto_depIdxs = nil
}