Something went wrong. Try again.
Monorepo for Tangled tangled.org
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677// Code generated by protoc-gen-go. DO NOT EDIT.// versions:// protoc-gen-go v1.36.11// protoc (unknown)// source: spindle/mill/v1/mill.proto
package millv1
import ( _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" 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 RejectClass int32
const ( RejectClass_REJECT_CLASS_UNSPECIFIED RejectClass = 0 RejectClass_REJECT_CLASS_TRANSIENT RejectClass = 1 RejectClass_REJECT_CLASS_INCOMPATIBLE RejectClass = 2)
// Enum value maps for RejectClass.var ( RejectClass_name = map[int32]string{ 0: "REJECT_CLASS_UNSPECIFIED", 1: "REJECT_CLASS_TRANSIENT", 2: "REJECT_CLASS_INCOMPATIBLE", } RejectClass_value = map[string]int32{ "REJECT_CLASS_UNSPECIFIED": 0, "REJECT_CLASS_TRANSIENT": 1, "REJECT_CLASS_INCOMPATIBLE": 2, })
func (x RejectClass) Enum() *RejectClass { p := new(RejectClass) *p = x return p}
func (x RejectClass) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))}
func (RejectClass) Descriptor() protoreflect.EnumDescriptor { return file_spindle_mill_v1_mill_proto_enumTypes[0].Descriptor()}
func (RejectClass) Type() protoreflect.EnumType { return &file_spindle_mill_v1_mill_proto_enumTypes[0]}
func (x RejectClass) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x)}
// Deprecated: Use RejectClass.Descriptor instead.func (RejectClass) EnumDescriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{0}}
type NonterminalStatus int32
const ( NonterminalStatus_NONTERMINAL_STATUS_UNSPECIFIED NonterminalStatus = 0 NonterminalStatus_NONTERMINAL_STATUS_RUNNING NonterminalStatus = 1)
// Enum value maps for NonterminalStatus.var ( NonterminalStatus_name = map[int32]string{ 0: "NONTERMINAL_STATUS_UNSPECIFIED", 1: "NONTERMINAL_STATUS_RUNNING", } NonterminalStatus_value = map[string]int32{ "NONTERMINAL_STATUS_UNSPECIFIED": 0, "NONTERMINAL_STATUS_RUNNING": 1, })
func (x NonterminalStatus) Enum() *NonterminalStatus { p := new(NonterminalStatus) *p = x return p}
func (x NonterminalStatus) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))}
func (NonterminalStatus) Descriptor() protoreflect.EnumDescriptor { return file_spindle_mill_v1_mill_proto_enumTypes[1].Descriptor()}
func (NonterminalStatus) Type() protoreflect.EnumType { return &file_spindle_mill_v1_mill_proto_enumTypes[1]}
func (x NonterminalStatus) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x)}
// Deprecated: Use NonterminalStatus.Descriptor instead.func (NonterminalStatus) EnumDescriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{1}}
type TerminalStatus int32
const ( TerminalStatus_TERMINAL_STATUS_UNSPECIFIED TerminalStatus = 0 TerminalStatus_TERMINAL_STATUS_SUCCESS TerminalStatus = 1 TerminalStatus_TERMINAL_STATUS_FAILED TerminalStatus = 2 TerminalStatus_TERMINAL_STATUS_TIMEOUT TerminalStatus = 3 TerminalStatus_TERMINAL_STATUS_CANCELLED TerminalStatus = 4)
// Enum value maps for TerminalStatus.var ( TerminalStatus_name = map[int32]string{ 0: "TERMINAL_STATUS_UNSPECIFIED", 1: "TERMINAL_STATUS_SUCCESS", 2: "TERMINAL_STATUS_FAILED", 3: "TERMINAL_STATUS_TIMEOUT", 4: "TERMINAL_STATUS_CANCELLED", } TerminalStatus_value = map[string]int32{ "TERMINAL_STATUS_UNSPECIFIED": 0, "TERMINAL_STATUS_SUCCESS": 1, "TERMINAL_STATUS_FAILED": 2, "TERMINAL_STATUS_TIMEOUT": 3, "TERMINAL_STATUS_CANCELLED": 4, })
func (x TerminalStatus) Enum() *TerminalStatus { p := new(TerminalStatus) *p = x return p}
func (x TerminalStatus) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))}
func (TerminalStatus) Descriptor() protoreflect.EnumDescriptor { return file_spindle_mill_v1_mill_proto_enumTypes[2].Descriptor()}
func (TerminalStatus) Type() protoreflect.EnumType { return &file_spindle_mill_v1_mill_proto_enumTypes[2]}
func (x TerminalStatus) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x)}
// Deprecated: Use TerminalStatus.Descriptor instead.func (TerminalStatus) EnumDescriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{2}}
type CacheUpdateAction int32
const ( CacheUpdateAction_CACHE_UPDATE_ACTION_UNSPECIFIED CacheUpdateAction = 0 CacheUpdateAction_CACHE_UPDATE_ACTION_USED CacheUpdateAction = 1 CacheUpdateAction_CACHE_UPDATE_ACTION_STORED CacheUpdateAction = 2 CacheUpdateAction_CACHE_UPDATE_ACTION_DISCARDED CacheUpdateAction = 3 CacheUpdateAction_CACHE_UPDATE_ACTION_MISSING CacheUpdateAction = 4)
// Enum value maps for CacheUpdateAction.var ( CacheUpdateAction_name = map[int32]string{ 0: "CACHE_UPDATE_ACTION_UNSPECIFIED", 1: "CACHE_UPDATE_ACTION_USED", 2: "CACHE_UPDATE_ACTION_STORED", 3: "CACHE_UPDATE_ACTION_DISCARDED", 4: "CACHE_UPDATE_ACTION_MISSING", } CacheUpdateAction_value = map[string]int32{ "CACHE_UPDATE_ACTION_UNSPECIFIED": 0, "CACHE_UPDATE_ACTION_USED": 1, "CACHE_UPDATE_ACTION_STORED": 2, "CACHE_UPDATE_ACTION_DISCARDED": 3, "CACHE_UPDATE_ACTION_MISSING": 4, })
func (x CacheUpdateAction) Enum() *CacheUpdateAction { p := new(CacheUpdateAction) *p = x return p}
func (x CacheUpdateAction) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))}
func (CacheUpdateAction) Descriptor() protoreflect.EnumDescriptor { return file_spindle_mill_v1_mill_proto_enumTypes[3].Descriptor()}
func (CacheUpdateAction) Type() protoreflect.EnumType { return &file_spindle_mill_v1_mill_proto_enumTypes[3]}
func (x CacheUpdateAction) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x)}
// Deprecated: Use CacheUpdateAction.Descriptor instead.func (CacheUpdateAction) EnumDescriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{3}}
type QuotaOperation int32
const ( QuotaOperation_QUOTA_OPERATION_UNSPECIFIED QuotaOperation = 0 QuotaOperation_QUOTA_OPERATION_RESERVE QuotaOperation = 1 QuotaOperation_QUOTA_OPERATION_BEGIN_COMMIT QuotaOperation = 2 QuotaOperation_QUOTA_OPERATION_COMMIT QuotaOperation = 3 QuotaOperation_QUOTA_OPERATION_RELEASE QuotaOperation = 4)
// Enum value maps for QuotaOperation.var ( QuotaOperation_name = map[int32]string{ 0: "QUOTA_OPERATION_UNSPECIFIED", 1: "QUOTA_OPERATION_RESERVE", 2: "QUOTA_OPERATION_BEGIN_COMMIT", 3: "QUOTA_OPERATION_COMMIT", 4: "QUOTA_OPERATION_RELEASE", } QuotaOperation_value = map[string]int32{ "QUOTA_OPERATION_UNSPECIFIED": 0, "QUOTA_OPERATION_RESERVE": 1, "QUOTA_OPERATION_BEGIN_COMMIT": 2, "QUOTA_OPERATION_COMMIT": 3, "QUOTA_OPERATION_RELEASE": 4, })
func (x QuotaOperation) Enum() *QuotaOperation { p := new(QuotaOperation) *p = x return p}
func (x QuotaOperation) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))}
func (QuotaOperation) Descriptor() protoreflect.EnumDescriptor { return file_spindle_mill_v1_mill_proto_enumTypes[4].Descriptor()}
func (QuotaOperation) Type() protoreflect.EnumType { return &file_spindle_mill_v1_mill_proto_enumTypes[4]}
func (x QuotaOperation) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x)}
// Deprecated: Use QuotaOperation.Descriptor instead.func (QuotaOperation) EnumDescriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{4}}
// executor identity, sent on connecttype Hello struct { state protoimpl.MessageState `protogen:"open.v1"` ProtocolVersion uint32 `protobuf:"varint,1,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` // supported protocol range for rolling upgrades. zero means a legacy v4 executor. MinProtocolVersion uint32 `protobuf:"varint,7,opt,name=min_protocol_version,json=minProtocolVersion,proto3" json:"min_protocol_version,omitempty"` MaxProtocolVersion uint32 `protobuf:"varint,8,opt,name=max_protocol_version,json=maxProtocolVersion,proto3" json:"max_protocol_version,omitempty"` // GOARCH of the node, informational only Arch string `protobuf:"bytes,2,opt,name=arch,proto3" json:"arch,omitempty"` // operator-defined labels, matched against runs_on Labels []string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty"` Epoch string `protobuf:"bytes,4,opt,name=epoch,proto3" json:"epoch,omitempty"` CacheStoreId string `protobuf:"bytes,5,opt,name=cache_store_id,json=cacheStoreId,proto3" json:"cache_store_id,omitempty"` CacheNamespace string `protobuf:"bytes,6,opt,name=cache_namespace,json=cacheNamespace,proto3" json:"cache_namespace,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *Hello) Reset() { *x = Hello{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *Hello) String() string { return protoimpl.X.MessageStringOf(x)}
func (*Hello) ProtoMessage() {}
func (x *Hello) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_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 Hello.ProtoReflect.Descriptor instead.func (*Hello) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{0}}
func (x *Hello) GetProtocolVersion() uint32 { if x != nil { return x.ProtocolVersion } return 0}
func (x *Hello) GetMinProtocolVersion() uint32 { if x != nil { return x.MinProtocolVersion } return 0}
func (x *Hello) GetMaxProtocolVersion() uint32 { if x != nil { return x.MaxProtocolVersion } return 0}
func (x *Hello) GetArch() string { if x != nil { return x.Arch } return ""}
func (x *Hello) GetLabels() []string { if x != nil { return x.Labels } return nil}
func (x *Hello) GetEpoch() string { if x != nil { return x.Epoch } return ""}
func (x *Hello) GetCacheStoreId() string { if x != nil { return x.CacheStoreId } return ""}
func (x *Hello) GetCacheNamespace() string { if x != nil { return x.CacheNamespace } return ""}
// reconnect state for an existing epochtype Resume struct { state protoimpl.MessageState `protogen:"open.v1"` Epoch string `protobuf:"bytes,1,opt,name=epoch,proto3" json:"epoch,omitempty"` AckSeqno uint64 `protobuf:"varint,2,opt,name=ack_seqno,json=ackSeqno,proto3" json:"ack_seqno,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *Resume) Reset() { *x = Resume{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *Resume) String() string { return protoimpl.X.MessageStringOf(x)}
func (*Resume) ProtoMessage() {}
func (x *Resume) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_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 Resume.ProtoReflect.Descriptor instead.func (*Resume) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{1}}
func (x *Resume) GetEpoch() string { if x != nil { return x.Epoch } return ""}
func (x *Resume) GetAckSeqno() uint64 { if x != nil { return x.AckSeqno } return 0}
// per-engine state of a nodetype EngineAvailability struct { state protoimpl.MessageState `protogen:"open.v1"` Available bool `protobuf:"varint,1,opt,name=available,proto3" json:"available,omitempty"` // opaque engine-defined load metrics, higher means more loaded Load map[string]float64 `protobuf:"bytes,2,rep,name=load,proto3" json:"load,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *EngineAvailability) Reset() { *x = EngineAvailability{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *EngineAvailability) String() string { return protoimpl.X.MessageStringOf(x)}
func (*EngineAvailability) ProtoMessage() {}
func (x *EngineAvailability) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_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 EngineAvailability.ProtoReflect.Descriptor instead.func (*EngineAvailability) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{2}}
func (x *EngineAvailability) GetAvailable() bool { if x != nil { return x.Available } return false}
func (x *EngineAvailability) GetLoad() map[string]float64 { if x != nil { return x.Load } return nil}
// full node statetype NodeSnapshot struct { state protoimpl.MessageState `protogen:"open.v1"` Seqno uint64 `protobuf:"varint,1,opt,name=seqno,proto3" json:"seqno,omitempty"` Engines map[string]*EngineAvailability `protobuf:"bytes,2,rep,name=engines,proto3" json:"engines,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // every lease the executor currently holds, reserved or running ActiveLeaseIds []string `protobuf:"bytes,3,rep,name=active_lease_ids,json=activeLeaseIds,proto3" json:"active_lease_ids,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *NodeSnapshot) Reset() { *x = NodeSnapshot{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *NodeSnapshot) String() string { return protoimpl.X.MessageStringOf(x)}
func (*NodeSnapshot) ProtoMessage() {}
func (x *NodeSnapshot) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_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 NodeSnapshot.ProtoReflect.Descriptor instead.func (*NodeSnapshot) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{3}}
func (x *NodeSnapshot) GetSeqno() uint64 { if x != nil { return x.Seqno } return 0}
func (x *NodeSnapshot) GetEngines() map[string]*EngineAvailability { if x != nil { return x.Engines } return nil}
func (x *NodeSnapshot) GetActiveLeaseIds() []string { if x != nil { return x.ActiveLeaseIds } return nil}
// a seat reservation, carries no secretstype ReserveSeat struct { state protoimpl.MessageState `protogen:"open.v1"` LeaseId string `protobuf:"bytes,1,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"` TargetEngine string `protobuf:"bytes,2,opt,name=target_engine,json=targetEngine,proto3" json:"target_engine,omitempty"` RawPipelineJson string `protobuf:"bytes,3,opt,name=raw_pipeline_json,json=rawPipelineJson,proto3" json:"raw_pipeline_json,omitempty"` RawWorkflowJson string `protobuf:"bytes,4,opt,name=raw_workflow_json,json=rawWorkflowJson,proto3" json:"raw_workflow_json,omitempty"` PipelineId string `protobuf:"bytes,5,opt,name=pipeline_id,json=pipelineId,proto3" json:"pipeline_id,omitempty"` TtlSeconds uint32 `protobuf:"varint,6,opt,name=ttl_seconds,json=ttlSeconds,proto3" json:"ttl_seconds,omitempty"` Traceparent string `protobuf:"bytes,7,opt,name=traceparent,proto3" json:"traceparent,omitempty"` Tracestate string `protobuf:"bytes,8,opt,name=tracestate,proto3" json:"tracestate,omitempty"` // repository that owns the pipeline, used to distinguish fork source code RepoDid string `protobuf:"bytes,10,opt,name=repo_did,json=repoDid,proto3" json:"repo_did,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *ReserveSeat) Reset() { *x = ReserveSeat{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *ReserveSeat) String() string { return protoimpl.X.MessageStringOf(x)}
func (*ReserveSeat) ProtoMessage() {}
func (x *ReserveSeat) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_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 ReserveSeat.ProtoReflect.Descriptor instead.func (*ReserveSeat) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{4}}
func (x *ReserveSeat) GetLeaseId() string { if x != nil { return x.LeaseId } return ""}
func (x *ReserveSeat) GetTargetEngine() string { if x != nil { return x.TargetEngine } return ""}
func (x *ReserveSeat) GetRawPipelineJson() string { if x != nil { return x.RawPipelineJson } return ""}
func (x *ReserveSeat) GetRawWorkflowJson() string { if x != nil { return x.RawWorkflowJson } return ""}
func (x *ReserveSeat) GetPipelineId() string { if x != nil { return x.PipelineId } return ""}
func (x *ReserveSeat) GetTtlSeconds() uint32 { if x != nil { return x.TtlSeconds } return 0}
func (x *ReserveSeat) GetTraceparent() string { if x != nil { return x.Traceparent } return ""}
func (x *ReserveSeat) GetTracestate() string { if x != nil { return x.Tracestate } return ""}
func (x *ReserveSeat) GetRepoDid() string { if x != nil { return x.RepoDid } return ""}
type ReserveResult struct { state protoimpl.MessageState `protogen:"open.v1"` LeaseId string `protobuf:"bytes,1,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"` Accepted bool `protobuf:"varint,2,opt,name=accepted,proto3" json:"accepted,omitempty"` RejectReason string `protobuf:"bytes,3,opt,name=reject_reason,json=rejectReason,proto3" json:"reject_reason,omitempty"` RejectClass RejectClass `protobuf:"varint,4,opt,name=reject_class,json=rejectClass,proto3,enum=spindle.mill.v1.RejectClass" json:"reject_class,omitempty"` QuotaResources map[string]int64 `protobuf:"bytes,5,rep,name=quota_resources,json=quotaResources,proto3" json:"quota_resources,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` FailureClass string `protobuf:"bytes,6,opt,name=failure_class,json=failureClass,proto3" json:"failure_class,omitempty"` FailureReason string `protobuf:"bytes,7,opt,name=failure_reason,json=failureReason,proto3" json:"failure_reason,omitempty"` SupportsMillTerminalMetrics bool `protobuf:"varint,8,opt,name=supports_mill_terminal_metrics,json=supportsMillTerminalMetrics,proto3" json:"supports_mill_terminal_metrics,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *ReserveResult) Reset() { *x = ReserveResult{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *ReserveResult) String() string { return protoimpl.X.MessageStringOf(x)}
func (*ReserveResult) ProtoMessage() {}
func (x *ReserveResult) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_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 ReserveResult.ProtoReflect.Descriptor instead.func (*ReserveResult) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{5}}
func (x *ReserveResult) GetLeaseId() string { if x != nil { return x.LeaseId } return ""}
func (x *ReserveResult) GetAccepted() bool { if x != nil { return x.Accepted } return false}
func (x *ReserveResult) GetRejectReason() string { if x != nil { return x.RejectReason } return ""}
func (x *ReserveResult) GetRejectClass() RejectClass { if x != nil { return x.RejectClass } return RejectClass_REJECT_CLASS_UNSPECIFIED}
func (x *ReserveResult) GetQuotaResources() map[string]int64 { if x != nil { return x.QuotaResources } return nil}
func (x *ReserveResult) GetFailureClass() string { if x != nil { return x.FailureClass } return ""}
func (x *ReserveResult) GetFailureReason() string { if x != nil { return x.FailureReason } return ""}
func (x *ReserveResult) GetSupportsMillTerminalMetrics() bool { if x != nil { return x.SupportsMillTerminalMetrics } return false}
// a single unlocked secrettype Secret struct { state protoimpl.MessageState `protogen:"open.v1"` Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *Secret) Reset() { *x = Secret{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *Secret) String() string { return protoimpl.X.MessageStringOf(x)}
func (*Secret) ProtoMessage() {}
func (x *Secret) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_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 Secret.ProtoReflect.Descriptor instead.func (*Secret) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{6}}
func (x *Secret) GetKey() string { if x != nil { return x.Key } return ""}
func (x *Secret) GetValue() string { if x != nil { return x.Value } return ""}
type CacheBinding struct { state protoimpl.MessageState `protogen:"open.v1"` EntryIndex uint32 `protobuf:"varint,1,opt,name=entry_index,json=entryIndex,proto3" json:"entry_index,omitempty"` RestoreId string `protobuf:"bytes,3,opt,name=restore_id,json=restoreId,proto3" json:"restore_id,omitempty"` RestoreKey string `protobuf:"bytes,4,opt,name=restore_key,json=restoreKey,proto3" json:"restore_key,omitempty"` RestoreName string `protobuf:"bytes,5,opt,name=restore_name,json=restoreName,proto3" json:"restore_name,omitempty"` SaveId string `protobuf:"bytes,6,opt,name=save_id,json=saveId,proto3" json:"save_id,omitempty"` SaveKey string `protobuf:"bytes,7,opt,name=save_key,json=saveKey,proto3" json:"save_key,omitempty"` RestoreChecksum string `protobuf:"bytes,8,opt,name=restore_checksum,json=restoreChecksum,proto3" json:"restore_checksum,omitempty"` RestoreSizeBytes int64 `protobuf:"varint,9,opt,name=restore_size_bytes,json=restoreSizeBytes,proto3" json:"restore_size_bytes,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *CacheBinding) Reset() { *x = CacheBinding{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *CacheBinding) String() string { return protoimpl.X.MessageStringOf(x)}
func (*CacheBinding) ProtoMessage() {}
func (x *CacheBinding) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_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 CacheBinding.ProtoReflect.Descriptor instead.func (*CacheBinding) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{7}}
func (x *CacheBinding) GetEntryIndex() uint32 { if x != nil { return x.EntryIndex } return 0}
func (x *CacheBinding) GetRestoreId() string { if x != nil { return x.RestoreId } return ""}
func (x *CacheBinding) GetRestoreKey() string { if x != nil { return x.RestoreKey } return ""}
func (x *CacheBinding) GetRestoreName() string { if x != nil { return x.RestoreName } return ""}
func (x *CacheBinding) GetSaveId() string { if x != nil { return x.SaveId } return ""}
func (x *CacheBinding) GetSaveKey() string { if x != nil { return x.SaveKey } return ""}
func (x *CacheBinding) GetRestoreChecksum() string { if x != nil { return x.RestoreChecksum } return ""}
func (x *CacheBinding) GetRestoreSizeBytes() int64 { if x != nil { return x.RestoreSizeBytes } return 0}
// promotes a reservation to a running job and hands over the secretstype CommitLease struct { state protoimpl.MessageState `protogen:"open.v1"` LeaseId string `protobuf:"bytes,1,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"` Secrets []*Secret `protobuf:"bytes,2,rep,name=secrets,proto3" json:"secrets,omitempty"` Traceparent string `protobuf:"bytes,3,opt,name=traceparent,proto3" json:"traceparent,omitempty"` Tracestate string `protobuf:"bytes,4,opt,name=tracestate,proto3" json:"tracestate,omitempty"` MillRecordsTerminalMetrics bool `protobuf:"varint,5,opt,name=mill_records_terminal_metrics,json=millRecordsTerminalMetrics,proto3" json:"mill_records_terminal_metrics,omitempty"` CacheBindings []*CacheBinding `protobuf:"bytes,6,rep,name=cache_bindings,json=cacheBindings,proto3" json:"cache_bindings,omitempty"` // older mills drop the session on an unknown event payload, so executors only // send AttemptOutcome when this is set AcceptsAttemptOutcome bool `protobuf:"varint,7,opt,name=accepts_attempt_outcome,json=acceptsAttemptOutcome,proto3" json:"accepts_attempt_outcome,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *CommitLease) Reset() { *x = CommitLease{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *CommitLease) String() string { return protoimpl.X.MessageStringOf(x)}
func (*CommitLease) ProtoMessage() {}
func (x *CommitLease) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_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 CommitLease.ProtoReflect.Descriptor instead.func (*CommitLease) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{8}}
func (x *CommitLease) GetLeaseId() string { if x != nil { return x.LeaseId } return ""}
func (x *CommitLease) GetSecrets() []*Secret { if x != nil { return x.Secrets } return nil}
func (x *CommitLease) GetTraceparent() string { if x != nil { return x.Traceparent } return ""}
func (x *CommitLease) GetTracestate() string { if x != nil { return x.Tracestate } return ""}
func (x *CommitLease) GetMillRecordsTerminalMetrics() bool { if x != nil { return x.MillRecordsTerminalMetrics } return false}
func (x *CommitLease) GetCacheBindings() []*CacheBinding { if x != nil { return x.CacheBindings } return nil}
func (x *CommitLease) GetAcceptsAttemptOutcome() bool { if x != nil { return x.AcceptsAttemptOutcome } return false}
type Committed struct { state protoimpl.MessageState `protogen:"open.v1"` LeaseId string `protobuf:"bytes,1,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *Committed) Reset() { *x = Committed{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *Committed) String() string { return protoimpl.X.MessageStringOf(x)}
func (*Committed) ProtoMessage() {}
func (x *Committed) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_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 Committed.ProtoReflect.Descriptor instead.func (*Committed) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{9}}
func (x *Committed) GetLeaseId() string { if x != nil { return x.LeaseId } return ""}
// drops a reservation that was never committedtype ReleaseLease struct { state protoimpl.MessageState `protogen:"open.v1"` LeaseId string `protobuf:"bytes,1,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *ReleaseLease) Reset() { *x = ReleaseLease{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *ReleaseLease) String() string { return protoimpl.X.MessageStringOf(x)}
func (*ReleaseLease) ProtoMessage() {}
func (x *ReleaseLease) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_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 ReleaseLease.ProtoReflect.Descriptor instead.func (*ReleaseLease) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{10}}
func (x *ReleaseLease) GetLeaseId() string { if x != nil { return x.LeaseId } return ""}
// cancels a running attempttype CancelAttempt struct { state protoimpl.MessageState `protogen:"open.v1"` LeaseId string `protobuf:"bytes,1,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *CancelAttempt) Reset() { *x = CancelAttempt{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *CancelAttempt) String() string { return protoimpl.X.MessageStringOf(x)}
func (*CancelAttempt) ProtoMessage() {}
func (x *CancelAttempt) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_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 CancelAttempt.ProtoReflect.Descriptor instead.func (*CancelAttempt) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{11}}
func (x *CancelAttempt) GetLeaseId() string { if x != nil { return x.LeaseId } return ""}
func (x *CancelAttempt) GetReason() string { if x != nil { return x.Reason } return ""}
type CancelAck struct { state protoimpl.MessageState `protogen:"open.v1"` LeaseId string `protobuf:"bytes,1,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *CancelAck) Reset() { *x = CancelAck{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *CancelAck) String() string { return protoimpl.X.MessageStringOf(x)}
func (*CancelAck) ProtoMessage() {}
func (x *CancelAck) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_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 CancelAck.ProtoReflect.Descriptor instead.func (*CancelAck) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{12}}
func (x *CancelAck) GetLeaseId() string { if x != nil { return x.LeaseId } return ""}
type StatusEvent struct { state protoimpl.MessageState `protogen:"open.v1"` Status NonterminalStatus `protobuf:"varint,1,opt,name=status,proto3,enum=spindle.mill.v1.NonterminalStatus" json:"status,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` ExitCode int64 `protobuf:"varint,3,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *StatusEvent) Reset() { *x = StatusEvent{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *StatusEvent) String() string { return protoimpl.X.MessageStringOf(x)}
func (*StatusEvent) ProtoMessage() {}
func (x *StatusEvent) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_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 StatusEvent.ProtoReflect.Descriptor instead.func (*StatusEvent) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{13}}
func (x *StatusEvent) GetStatus() NonterminalStatus { if x != nil { return x.Status } return NonterminalStatus_NONTERMINAL_STATUS_UNSPECIFIED}
func (x *StatusEvent) GetError() string { if x != nil { return x.Error } return ""}
func (x *StatusEvent) GetExitCode() int64 { if x != nil { return x.ExitCode } return 0}
type LogArtifact struct { state protoimpl.MessageState `protogen:"open.v1"` Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *LogArtifact) Reset() { *x = LogArtifact{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *LogArtifact) String() string { return protoimpl.X.MessageStringOf(x)}
func (*LogArtifact) ProtoMessage() {}
func (x *LogArtifact) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_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 LogArtifact.ProtoReflect.Descriptor instead.func (*LogArtifact) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{14}}
func (x *LogArtifact) GetRef() string { if x != nil { return x.Ref } return ""}
func (x *LogArtifact) GetHash() string { if x != nil { return x.Hash } return ""}
// terminal outcome of an attempttype AttemptResult struct { state protoimpl.MessageState `protogen:"open.v1"` Status TerminalStatus `protobuf:"varint,1,opt,name=status,proto3,enum=spindle.mill.v1.TerminalStatus" json:"status,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` ExitCode int64 `protobuf:"varint,3,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` LogArtifact *LogArtifact `protobuf:"bytes,4,opt,name=log_artifact,json=logArtifact,proto3" json:"log_artifact,omitempty"` FailureClass string `protobuf:"bytes,5,opt,name=failure_class,json=failureClass,proto3" json:"failure_class,omitempty"` FailureReason string `protobuf:"bytes,6,opt,name=failure_reason,json=failureReason,proto3" json:"failure_reason,omitempty"` MillRecordsTerminalMetrics bool `protobuf:"varint,7,opt,name=mill_records_terminal_metrics,json=millRecordsTerminalMetrics,proto3" json:"mill_records_terminal_metrics,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *AttemptResult) Reset() { *x = AttemptResult{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *AttemptResult) String() string { return protoimpl.X.MessageStringOf(x)}
func (*AttemptResult) ProtoMessage() {}
func (x *AttemptResult) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_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 AttemptResult.ProtoReflect.Descriptor instead.func (*AttemptResult) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{15}}
func (x *AttemptResult) GetStatus() TerminalStatus { if x != nil { return x.Status } return TerminalStatus_TERMINAL_STATUS_UNSPECIFIED}
func (x *AttemptResult) GetError() string { if x != nil { return x.Error } return ""}
func (x *AttemptResult) GetExitCode() int64 { if x != nil { return x.ExitCode } return 0}
func (x *AttemptResult) GetLogArtifact() *LogArtifact { if x != nil { return x.LogArtifact } return nil}
func (x *AttemptResult) GetFailureClass() string { if x != nil { return x.FailureClass } return ""}
func (x *AttemptResult) GetFailureReason() string { if x != nil { return x.FailureReason } return ""}
func (x *AttemptResult) GetMillRecordsTerminalMetrics() bool { if x != nil { return x.MillRecordsTerminalMetrics } return false}
// the result is final but the executor still holds the VM, so the lease stays// charged until the AttemptResulttype AttemptOutcome struct { state protoimpl.MessageState `protogen:"open.v1"` Status TerminalStatus `protobuf:"varint,1,opt,name=status,proto3,enum=spindle.mill.v1.TerminalStatus" json:"status,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` ExitCode int64 `protobuf:"varint,3,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *AttemptOutcome) Reset() { *x = AttemptOutcome{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *AttemptOutcome) String() string { return protoimpl.X.MessageStringOf(x)}
func (*AttemptOutcome) ProtoMessage() {}
func (x *AttemptOutcome) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_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 AttemptOutcome.ProtoReflect.Descriptor instead.func (*AttemptOutcome) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{16}}
func (x *AttemptOutcome) GetStatus() TerminalStatus { if x != nil { return x.Status } return TerminalStatus_TERMINAL_STATUS_UNSPECIFIED}
func (x *AttemptOutcome) GetError() string { if x != nil { return x.Error } return ""}
func (x *AttemptOutcome) GetExitCode() int64 { if x != nil { return x.ExitCode } return 0}
type CacheUpdate struct { state protoimpl.MessageState `protogen:"open.v1"` Action CacheUpdateAction `protobuf:"varint,1,opt,name=action,proto3,enum=spindle.mill.v1.CacheUpdateAction" json:"action,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` SizeBytes int64 `protobuf:"varint,4,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"` Checksum string `protobuf:"bytes,5,opt,name=checksum,proto3" json:"checksum,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *CacheUpdate) Reset() { *x = CacheUpdate{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *CacheUpdate) String() string { return protoimpl.X.MessageStringOf(x)}
func (*CacheUpdate) ProtoMessage() {}
func (x *CacheUpdate) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_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 CacheUpdate.ProtoReflect.Descriptor instead.func (*CacheUpdate) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{17}}
func (x *CacheUpdate) GetAction() CacheUpdateAction { if x != nil { return x.Action } return CacheUpdateAction_CACHE_UPDATE_ACTION_UNSPECIFIED}
func (x *CacheUpdate) GetId() string { if x != nil { return x.Id } return ""}
func (x *CacheUpdate) GetSizeBytes() int64 { if x != nil { return x.SizeBytes } return 0}
func (x *CacheUpdate) GetChecksum() string { if x != nil { return x.Checksum } return ""}
// live non-replay log frametype LiveLog struct { state protoimpl.MessageState `protogen:"open.v1"` LeaseId string `protobuf:"bytes,1,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"` RawJson []byte `protobuf:"bytes,2,opt,name=raw_json,json=rawJson,proto3" json:"raw_json,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *LiveLog) Reset() { *x = LiveLog{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *LiveLog) String() string { return protoimpl.X.MessageStringOf(x)}
func (*LiveLog) ProtoMessage() {}
func (x *LiveLog) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_proto_msgTypes[18] 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 LiveLog.ProtoReflect.Descriptor instead.func (*LiveLog) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{18}}
func (x *LiveLog) GetLeaseId() string { if x != nil { return x.LeaseId } return ""}
func (x *LiveLog) GetRawJson() []byte { if x != nil { return x.RawJson } return nil}
// one event in the executor's stream back to the milltype Event struct { state protoimpl.MessageState `protogen:"open.v1"` Seqno uint64 `protobuf:"varint,1,opt,name=seqno,proto3" json:"seqno,omitempty"` LeaseId string `protobuf:"bytes,2,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"` // Types that are valid to be assigned to Payload: // // *Event_StatusEvent // *Event_AttemptResult // *Event_CacheUpdate // *Event_AttemptOutcome Payload isEvent_Payload `protobuf_oneof:"payload"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *Event) Reset() { *x = Event{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *Event) String() string { return protoimpl.X.MessageStringOf(x)}
func (*Event) ProtoMessage() {}
func (x *Event) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_proto_msgTypes[19] 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 Event.ProtoReflect.Descriptor instead.func (*Event) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{19}}
func (x *Event) GetSeqno() uint64 { if x != nil { return x.Seqno } return 0}
func (x *Event) GetLeaseId() string { if x != nil { return x.LeaseId } return ""}
func (x *Event) GetPayload() isEvent_Payload { if x != nil { return x.Payload } return nil}
func (x *Event) GetStatusEvent() *StatusEvent { if x != nil { if x, ok := x.Payload.(*Event_StatusEvent); ok { return x.StatusEvent } } return nil}
func (x *Event) GetAttemptResult() *AttemptResult { if x != nil { if x, ok := x.Payload.(*Event_AttemptResult); ok { return x.AttemptResult } } return nil}
func (x *Event) GetCacheUpdate() *CacheUpdate { if x != nil { if x, ok := x.Payload.(*Event_CacheUpdate); ok { return x.CacheUpdate } } return nil}
func (x *Event) GetAttemptOutcome() *AttemptOutcome { if x != nil { if x, ok := x.Payload.(*Event_AttemptOutcome); ok { return x.AttemptOutcome } } return nil}
type isEvent_Payload interface { isEvent_Payload()}
type Event_StatusEvent struct { StatusEvent *StatusEvent `protobuf:"bytes,3,opt,name=status_event,json=statusEvent,proto3,oneof"`}
type Event_AttemptResult struct { AttemptResult *AttemptResult `protobuf:"bytes,4,opt,name=attempt_result,json=attemptResult,proto3,oneof"`}
type Event_CacheUpdate struct { CacheUpdate *CacheUpdate `protobuf:"bytes,5,opt,name=cache_update,json=cacheUpdate,proto3,oneof"`}
type Event_AttemptOutcome struct { AttemptOutcome *AttemptOutcome `protobuf:"bytes,6,opt,name=attempt_outcome,json=attemptOutcome,proto3,oneof"`}
func (*Event_StatusEvent) isEvent_Payload() {}
func (*Event_AttemptResult) isEvent_Payload() {}
func (*Event_CacheUpdate) isEvent_Payload() {}
func (*Event_AttemptOutcome) isEvent_Payload() {}
// a flushed bundle of eventstype EventBatch struct { state protoimpl.MessageState `protogen:"open.v1"` Epoch string `protobuf:"bytes,1,opt,name=epoch,proto3" json:"epoch,omitempty"` Events []*Event `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *EventBatch) Reset() { *x = EventBatch{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *EventBatch) String() string { return protoimpl.X.MessageStringOf(x)}
func (*EventBatch) ProtoMessage() {}
func (x *EventBatch) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_proto_msgTypes[20] 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 EventBatch.ProtoReflect.Descriptor instead.func (*EventBatch) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{20}}
func (x *EventBatch) GetEpoch() string { if x != nil { return x.Epoch } return ""}
func (x *EventBatch) GetEvents() []*Event { if x != nil { return x.Events } return nil}
// all events up to and including up_to_seqno are durably processedtype Ack struct { state protoimpl.MessageState `protogen:"open.v1"` Epoch string `protobuf:"bytes,1,opt,name=epoch,proto3" json:"epoch,omitempty"` UpToSeqno uint64 `protobuf:"varint,2,opt,name=up_to_seqno,json=upToSeqno,proto3" json:"up_to_seqno,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *Ack) Reset() { *x = Ack{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *Ack) String() string { return protoimpl.X.MessageStringOf(x)}
func (*Ack) ProtoMessage() {}
func (x *Ack) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_proto_msgTypes[21] 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 Ack.ProtoReflect.Descriptor instead.func (*Ack) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{21}}
func (x *Ack) GetEpoch() string { if x != nil { return x.Epoch } return ""}
func (x *Ack) GetUpToSeqno() uint64 { if x != nil { return x.UpToSeqno } return 0}
type Message struct { state protoimpl.MessageState `protogen:"open.v1"` Hello *Hello `protobuf:"bytes,1,opt,name=hello,proto3" json:"hello,omitempty"` Resume *Resume `protobuf:"bytes,2,opt,name=resume,proto3" json:"resume,omitempty"` NodeSnapshot *NodeSnapshot `protobuf:"bytes,3,opt,name=node_snapshot,json=nodeSnapshot,proto3" json:"node_snapshot,omitempty"` ReserveSeat *ReserveSeat `protobuf:"bytes,4,opt,name=reserve_seat,json=reserveSeat,proto3" json:"reserve_seat,omitempty"` ReserveResult *ReserveResult `protobuf:"bytes,5,opt,name=reserve_result,json=reserveResult,proto3" json:"reserve_result,omitempty"` CommitLease *CommitLease `protobuf:"bytes,6,opt,name=commit_lease,json=commitLease,proto3" json:"commit_lease,omitempty"` Committed *Committed `protobuf:"bytes,7,opt,name=committed,proto3" json:"committed,omitempty"` ReleaseLease *ReleaseLease `protobuf:"bytes,8,opt,name=release_lease,json=releaseLease,proto3" json:"release_lease,omitempty"` CancelAttempt *CancelAttempt `protobuf:"bytes,9,opt,name=cancel_attempt,json=cancelAttempt,proto3" json:"cancel_attempt,omitempty"` CancelAck *CancelAck `protobuf:"bytes,10,opt,name=cancel_ack,json=cancelAck,proto3" json:"cancel_ack,omitempty"` EventBatch *EventBatch `protobuf:"bytes,11,opt,name=event_batch,json=eventBatch,proto3" json:"event_batch,omitempty"` Ack *Ack `protobuf:"bytes,12,opt,name=ack,proto3" json:"ack,omitempty"` LiveLog *LiveLog `protobuf:"bytes,13,opt,name=live_log,json=liveLog,proto3" json:"live_log,omitempty"` QuotaReq *QuotaRequest `protobuf:"bytes,14,opt,name=quota_req,json=quotaReq,proto3" json:"quota_req,omitempty"` QuotaResp *QuotaResponse `protobuf:"bytes,15,opt,name=quota_resp,json=quotaResp,proto3" json:"quota_resp,omitempty"` DebugKeyReq *DebugKeyRequest `protobuf:"bytes,16,opt,name=debug_key_req,json=debugKeyReq,proto3" json:"debug_key_req,omitempty"` DebugKeyResp *DebugKeyResponse `protobuf:"bytes,17,opt,name=debug_key_resp,json=debugKeyResp,proto3" json:"debug_key_resp,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *Message) Reset() { *x = Message{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *Message) String() string { return protoimpl.X.MessageStringOf(x)}
func (*Message) ProtoMessage() {}
func (x *Message) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_proto_msgTypes[22] 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 Message.ProtoReflect.Descriptor instead.func (*Message) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{22}}
func (x *Message) GetHello() *Hello { if x != nil { return x.Hello } return nil}
func (x *Message) GetResume() *Resume { if x != nil { return x.Resume } return nil}
func (x *Message) GetNodeSnapshot() *NodeSnapshot { if x != nil { return x.NodeSnapshot } return nil}
func (x *Message) GetReserveSeat() *ReserveSeat { if x != nil { return x.ReserveSeat } return nil}
func (x *Message) GetReserveResult() *ReserveResult { if x != nil { return x.ReserveResult } return nil}
func (x *Message) GetCommitLease() *CommitLease { if x != nil { return x.CommitLease } return nil}
func (x *Message) GetCommitted() *Committed { if x != nil { return x.Committed } return nil}
func (x *Message) GetReleaseLease() *ReleaseLease { if x != nil { return x.ReleaseLease } return nil}
func (x *Message) GetCancelAttempt() *CancelAttempt { if x != nil { return x.CancelAttempt } return nil}
func (x *Message) GetCancelAck() *CancelAck { if x != nil { return x.CancelAck } return nil}
func (x *Message) GetEventBatch() *EventBatch { if x != nil { return x.EventBatch } return nil}
func (x *Message) GetAck() *Ack { if x != nil { return x.Ack } return nil}
func (x *Message) GetLiveLog() *LiveLog { if x != nil { return x.LiveLog } return nil}
func (x *Message) GetQuotaReq() *QuotaRequest { if x != nil { return x.QuotaReq } return nil}
func (x *Message) GetQuotaResp() *QuotaResponse { if x != nil { return x.QuotaResp } return nil}
func (x *Message) GetDebugKeyReq() *DebugKeyRequest { if x != nil { return x.DebugKeyReq } return nil}
func (x *Message) GetDebugKeyResp() *DebugKeyResponse { if x != nil { return x.DebugKeyResp } return nil}
type QuotaRequest struct { state protoimpl.MessageState `protogen:"open.v1"` RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` Operation QuotaOperation `protobuf:"varint,2,opt,name=operation,proto3,enum=spindle.mill.v1.QuotaOperation" json:"operation,omitempty"` LeaseId string `protobuf:"bytes,3,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"` ReservationId string `protobuf:"bytes,4,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,omitempty"` Kind string `protobuf:"bytes,5,opt,name=kind,proto3" json:"kind,omitempty"` Key string `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"` Resources map[string]int64 `protobuf:"bytes,7,rep,name=resources,proto3" json:"resources,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *QuotaRequest) Reset() { *x = QuotaRequest{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *QuotaRequest) String() string { return protoimpl.X.MessageStringOf(x)}
func (*QuotaRequest) ProtoMessage() {}
func (x *QuotaRequest) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_proto_msgTypes[23] 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 QuotaRequest.ProtoReflect.Descriptor instead.func (*QuotaRequest) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{23}}
func (x *QuotaRequest) GetRequestId() string { if x != nil { return x.RequestId } return ""}
func (x *QuotaRequest) GetOperation() QuotaOperation { if x != nil { return x.Operation } return QuotaOperation_QUOTA_OPERATION_UNSPECIFIED}
func (x *QuotaRequest) GetLeaseId() string { if x != nil { return x.LeaseId } return ""}
func (x *QuotaRequest) GetReservationId() string { if x != nil { return x.ReservationId } return ""}
func (x *QuotaRequest) GetKind() string { if x != nil { return x.Kind } return ""}
func (x *QuotaRequest) GetKey() string { if x != nil { return x.Key } return ""}
func (x *QuotaRequest) GetResources() map[string]int64 { if x != nil { return x.Resources } return nil}
type QuotaResponse struct { state protoimpl.MessageState `protogen:"open.v1"` RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` ReservationId string `protobuf:"bytes,2,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,omitempty"` Allowed bool `protobuf:"varint,3,opt,name=allowed,proto3" json:"allowed,omitempty"` Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"` Temporary bool `protobuf:"varint,6,opt,name=temporary,proto3" json:"temporary,omitempty"` Resource string `protobuf:"bytes,7,opt,name=resource,proto3" json:"resource,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *QuotaResponse) Reset() { *x = QuotaResponse{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *QuotaResponse) String() string { return protoimpl.X.MessageStringOf(x)}
func (*QuotaResponse) ProtoMessage() {}
func (x *QuotaResponse) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_proto_msgTypes[24] 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 QuotaResponse.ProtoReflect.Descriptor instead.func (*QuotaResponse) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{24}}
func (x *QuotaResponse) GetRequestId() string { if x != nil { return x.RequestId } return ""}
func (x *QuotaResponse) GetReservationId() string { if x != nil { return x.ReservationId } return ""}
func (x *QuotaResponse) GetAllowed() bool { if x != nil { return x.Allowed } return false}
func (x *QuotaResponse) GetReason() string { if x != nil { return x.Reason } return ""}
func (x *QuotaResponse) GetError() string { if x != nil { return x.Error } return ""}
func (x *QuotaResponse) GetTemporary() bool { if x != nil { return x.Temporary } return false}
func (x *QuotaResponse) GetResource() string { if x != nil { return x.Resource } return ""}
// the executor asks the mill whether a key may open a debug shell on the job// it runs. the mill answers from the lease's repo, so the executor never names onetype DebugKeyRequest struct { state protoimpl.MessageState `protogen:"open.v1"` RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` LeaseId string `protobuf:"bytes,2,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"` // ssh wire format of the offered key PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *DebugKeyRequest) Reset() { *x = DebugKeyRequest{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *DebugKeyRequest) String() string { return protoimpl.X.MessageStringOf(x)}
func (*DebugKeyRequest) ProtoMessage() {}
func (x *DebugKeyRequest) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_proto_msgTypes[25] 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 DebugKeyRequest.ProtoReflect.Descriptor instead.func (*DebugKeyRequest) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{25}}
func (x *DebugKeyRequest) GetRequestId() string { if x != nil { return x.RequestId } return ""}
func (x *DebugKeyRequest) GetLeaseId() string { if x != nil { return x.LeaseId } return ""}
func (x *DebugKeyRequest) GetPublicKey() []byte { if x != nil { return x.PublicKey } return nil}
type DebugKeyResponse struct { state protoimpl.MessageState `protogen:"open.v1"` RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` Allowed bool `protobuf:"varint,2,opt,name=allowed,proto3" json:"allowed,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache}
func (x *DebugKeyResponse) Reset() { *x = DebugKeyResponse{} mi := &file_spindle_mill_v1_mill_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi)}
func (x *DebugKeyResponse) String() string { return protoimpl.X.MessageStringOf(x)}
func (*DebugKeyResponse) ProtoMessage() {}
func (x *DebugKeyResponse) ProtoReflect() protoreflect.Message { mi := &file_spindle_mill_v1_mill_proto_msgTypes[26] 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 DebugKeyResponse.ProtoReflect.Descriptor instead.func (*DebugKeyResponse) Descriptor() ([]byte, []int) { return file_spindle_mill_v1_mill_proto_rawDescGZIP(), []int{26}}
func (x *DebugKeyResponse) GetRequestId() string { if x != nil { return x.RequestId } return ""}
func (x *DebugKeyResponse) GetAllowed() bool { if x != nil { return x.Allowed } return false}
func (x *DebugKeyResponse) GetError() string { if x != nil { return x.Error } return ""}
var File_spindle_mill_v1_mill_proto protoreflect.FileDescriptor
const file_spindle_mill_v1_mill_proto_rawDesc = "" + "\n" + "\x1aspindle/mill/v1/mill.proto\x12\x0fspindle.mill.v1\x1a\x1bbuf/validate/validate.proto\"\xb9\x02\n" + "\x05Hello\x12)\n" + "\x10protocol_version\x18\x01 \x01(\rR\x0fprotocolVersion\x120\n" + "\x14min_protocol_version\x18\a \x01(\rR\x12minProtocolVersion\x120\n" + "\x14max_protocol_version\x18\b \x01(\rR\x12maxProtocolVersion\x12\x12\n" + "\x04arch\x18\x02 \x01(\tR\x04arch\x12\x16\n" + "\x06labels\x18\x03 \x03(\tR\x06labels\x12\x1d\n" + "\x05epoch\x18\x04 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\x05epoch\x12$\n" + "\x0ecache_store_id\x18\x05 \x01(\tR\fcacheStoreId\x120\n" + "\x0fcache_namespace\x18\x06 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\x0ecacheNamespace\"D\n" + "\x06Resume\x12\x1d\n" + "\x05epoch\x18\x01 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\x05epoch\x12\x1b\n" + "\tack_seqno\x18\x02 \x01(\x04R\backSeqno\"\xae\x01\n" + "\x12EngineAvailability\x12\x1c\n" + "\tavailable\x18\x01 \x01(\bR\tavailable\x12A\n" + "\x04load\x18\x02 \x03(\v2-.spindle.mill.v1.EngineAvailability.LoadEntryR\x04load\x1a7\n" + "\tLoadEntry\x12\x10\n" + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + "\x05value\x18\x02 \x01(\x01R\x05value:\x028\x01\"\xfe\x01\n" + "\fNodeSnapshot\x12\x1d\n" + "\x05seqno\x18\x01 \x01(\x04B\a\xbaH\x042\x02 \x00R\x05seqno\x12D\n" + "\aengines\x18\x02 \x03(\v2*.spindle.mill.v1.NodeSnapshot.EnginesEntryR\aengines\x12(\n" + "\x10active_lease_ids\x18\x03 \x03(\tR\x0eactiveLeaseIds\x1a_\n" + "\fEnginesEntry\x12\x10\n" + "\x03key\x18\x01 \x01(\tR\x03key\x129\n" + "\x05value\x18\x02 \x01(\v2#.spindle.mill.v1.EngineAvailabilityR\x05value:\x028\x01\"\xee\x02\n" + "\vReserveSeat\x12\"\n" + "\blease_id\x18\x01 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\aleaseId\x12,\n" + "\rtarget_engine\x18\x02 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\ftargetEngine\x12*\n" + "\x11raw_pipeline_json\x18\x03 \x01(\tR\x0frawPipelineJson\x12*\n" + "\x11raw_workflow_json\x18\x04 \x01(\tR\x0frawWorkflowJson\x12(\n" + "\vpipeline_id\x18\x05 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\n" + "pipelineId\x12\x1f\n" + "\vttl_seconds\x18\x06 \x01(\rR\n" + "ttlSeconds\x12 \n" + "\vtraceparent\x18\a \x01(\tR\vtraceparent\x12\x1e\n" + "\n" + "tracestate\x18\b \x01(\tR\n" + "tracestate\x12\"\n" + "\brepo_did\x18\n" + " \x01(\tB\a\xbaH\x04r\x02\x10\x01R\arepoDidJ\x04\b\t\x10\n" + "\"\xa4\x04\n" + "\rReserveResult\x12\"\n" + "\blease_id\x18\x01 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\aleaseId\x12\x1a\n" + "\baccepted\x18\x02 \x01(\bR\baccepted\x12#\n" + "\rreject_reason\x18\x03 \x01(\tR\frejectReason\x12I\n" + "\freject_class\x18\x04 \x01(\x0e2\x1c.spindle.mill.v1.RejectClassB\b\xbaH\x05\x82\x01\x02\x10\x01R\vrejectClass\x12}\n" + "\x0fquota_resources\x18\x05 \x03(\v22.spindle.mill.v1.ReserveResult.QuotaResourcesEntryB \xbaH\x1d\x9a\x01\x1a\x10\x10\"\x06r\x04 \x01(@*\x0e\"\f\x18\x80\x80\x80\x80\x80\x80\x80\x80@(\x00R\x0equotaResources\x12,\n" + "\rfailure_class\x18\x06 \x01(\tB\a\xbaH\x04r\x02( R\ffailureClass\x12.\n" + "\x0efailure_reason\x18\a \x01(\tB\a\xbaH\x04r\x02(@R\rfailureReason\x12C\n" + "\x1esupports_mill_terminal_metrics\x18\b \x01(\bR\x1bsupportsMillTerminalMetrics\x1aA\n" + "\x13QuotaResourcesEntry\x12\x10\n" + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\"0\n" + "\x06Secret\x12\x10\n" + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + "\x05value\x18\x02 \x01(\tR\x05value\"\xb1\x02\n" + "\fCacheBinding\x12\x1f\n" + "\ventry_index\x18\x01 \x01(\rR\n" + "entryIndex\x12\x1d\n" + "\n" + "restore_id\x18\x03 \x01(\tR\trestoreId\x12\x1f\n" + "\vrestore_key\x18\x04 \x01(\tR\n" + "restoreKey\x12!\n" + "\frestore_name\x18\x05 \x01(\tR\vrestoreName\x12 \n" + "\asave_id\x18\x06 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\x06saveId\x12\"\n" + "\bsave_key\x18\a \x01(\tB\a\xbaH\x04r\x02\x10\x01R\asaveKey\x12)\n" + "\x10restore_checksum\x18\b \x01(\tR\x0frestoreChecksum\x12,\n" + "\x12restore_size_bytes\x18\t \x01(\x03R\x10restoreSizeBytes\"\xe7\x02\n" + "\vCommitLease\x12\"\n" + "\blease_id\x18\x01 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\aleaseId\x121\n" + "\asecrets\x18\x02 \x03(\v2\x17.spindle.mill.v1.SecretR\asecrets\x12 \n" + "\vtraceparent\x18\x03 \x01(\tR\vtraceparent\x12\x1e\n" + "\n" + "tracestate\x18\x04 \x01(\tR\n" + "tracestate\x12A\n" + "\x1dmill_records_terminal_metrics\x18\x05 \x01(\bR\x1amillRecordsTerminalMetrics\x12D\n" + "\x0ecache_bindings\x18\x06 \x03(\v2\x1d.spindle.mill.v1.CacheBindingR\rcacheBindings\x126\n" + "\x17accepts_attempt_outcome\x18\a \x01(\bR\x15acceptsAttemptOutcome\"/\n" + "\tCommitted\x12\"\n" + "\blease_id\x18\x01 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\aleaseId\"2\n" + "\fReleaseLease\x12\"\n" + "\blease_id\x18\x01 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\aleaseId\"K\n" + "\rCancelAttempt\x12\"\n" + "\blease_id\x18\x01 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\aleaseId\x12\x16\n" + "\x06reason\x18\x02 \x01(\tR\x06reason\"/\n" + "\tCancelAck\x12\"\n" + "\blease_id\x18\x01 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\aleaseId\"\x93\x01\n" + "\vStatusEvent\x12F\n" + "\x06status\x18\x01 \x01(\x0e2\".spindle.mill.v1.NonterminalStatusB\n" + "\xbaH\a\x82\x01\x04\x10\x01 \x00R\x06status\x12\x1f\n" + "\x05error\x18\x02 \x01(\tB\t\xbaH\x06r\x04(\x80\x80\x04R\x05error\x12\x1b\n" + "\texit_code\x18\x03 \x01(\x03R\bexitCode\"E\n" + "\vLogArtifact\x12\x19\n" + "\x03ref\x18\x01 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\x03ref\x12\x1b\n" + "\x04hash\x18\x02 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\x04hash\"\xf4\x02\n" + "\rAttemptResult\x12C\n" + "\x06status\x18\x01 \x01(\x0e2\x1f.spindle.mill.v1.TerminalStatusB\n" + "\xbaH\a\x82\x01\x04\x10\x01 \x00R\x06status\x12\x1f\n" + "\x05error\x18\x02 \x01(\tB\t\xbaH\x06r\x04(\x80\x80\x04R\x05error\x12\x1b\n" + "\texit_code\x18\x03 \x01(\x03R\bexitCode\x12?\n" + "\flog_artifact\x18\x04 \x01(\v2\x1c.spindle.mill.v1.LogArtifactR\vlogArtifact\x12,\n" + "\rfailure_class\x18\x05 \x01(\tB\a\xbaH\x04r\x02( R\ffailureClass\x12.\n" + "\x0efailure_reason\x18\x06 \x01(\tB\a\xbaH\x04r\x02(@R\rfailureReason\x12A\n" + "\x1dmill_records_terminal_metrics\x18\a \x01(\bR\x1amillRecordsTerminalMetrics\"\x93\x01\n" + "\x0eAttemptOutcome\x12C\n" + "\x06status\x18\x01 \x01(\x0e2\x1f.spindle.mill.v1.TerminalStatusB\n" + "\xbaH\a\x82\x01\x04\x10\x01 \x00R\x06status\x12\x1f\n" + "\x05error\x18\x02 \x01(\tB\t\xbaH\x06r\x04(\x80\x80\x04R\x05error\x12\x1b\n" + "\texit_code\x18\x03 \x01(\x03R\bexitCode\"\xb2\x01\n" + "\vCacheUpdate\x12F\n" + "\x06action\x18\x01 \x01(\x0e2\".spindle.mill.v1.CacheUpdateActionB\n" + "\xbaH\a\x82\x01\x04\x10\x01 \x00R\x06action\x12\x17\n" + "\x02id\x18\x02 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\x02id\x12&\n" + "\n" + "size_bytes\x18\x04 \x01(\x03B\a\xbaH\x04\"\x02(\x00R\tsizeBytes\x12\x1a\n" + "\bchecksum\x18\x05 \x01(\tR\bchecksum\"Q\n" + "\aLiveLog\x12\"\n" + "\blease_id\x18\x01 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\aleaseId\x12\"\n" + "\braw_json\x18\x02 \x01(\fB\a\xbaH\x04z\x02\x10\x01R\arawJson\"\xf7\x02\n" + "\x05Event\x12\x1d\n" + "\x05seqno\x18\x01 \x01(\x04B\a\xbaH\x042\x02 \x00R\x05seqno\x12\"\n" + "\blease_id\x18\x02 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\aleaseId\x12A\n" + "\fstatus_event\x18\x03 \x01(\v2\x1c.spindle.mill.v1.StatusEventH\x00R\vstatusEvent\x12G\n" + "\x0eattempt_result\x18\x04 \x01(\v2\x1e.spindle.mill.v1.AttemptResultH\x00R\rattemptResult\x12A\n" + "\fcache_update\x18\x05 \x01(\v2\x1c.spindle.mill.v1.CacheUpdateH\x00R\vcacheUpdate\x12J\n" + "\x0fattempt_outcome\x18\x06 \x01(\v2\x1f.spindle.mill.v1.AttemptOutcomeH\x00R\x0eattemptOutcomeB\x10\n" + "\apayload\x12\x05\xbaH\x02\b\x01\"e\n" + "\n" + "EventBatch\x12\x1d\n" + "\x05epoch\x18\x01 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\x05epoch\x128\n" + "\x06events\x18\x02 \x03(\v2\x16.spindle.mill.v1.EventB\b\xbaH\x05\x92\x01\x02\b\x01R\x06events\"D\n" + "\x03Ack\x12\x1d\n" + "\x05epoch\x18\x01 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\x05epoch\x12\x1e\n" + "\vup_to_seqno\x18\x02 \x01(\x04R\tupToSeqno\"\xfe\t\n" + "\aMessage\x12,\n" + "\x05hello\x18\x01 \x01(\v2\x16.spindle.mill.v1.HelloR\x05hello\x12/\n" + "\x06resume\x18\x02 \x01(\v2\x17.spindle.mill.v1.ResumeR\x06resume\x12B\n" + "\rnode_snapshot\x18\x03 \x01(\v2\x1d.spindle.mill.v1.NodeSnapshotR\fnodeSnapshot\x12?\n" + "\freserve_seat\x18\x04 \x01(\v2\x1c.spindle.mill.v1.ReserveSeatR\vreserveSeat\x12E\n" + "\x0ereserve_result\x18\x05 \x01(\v2\x1e.spindle.mill.v1.ReserveResultR\rreserveResult\x12?\n" + "\fcommit_lease\x18\x06 \x01(\v2\x1c.spindle.mill.v1.CommitLeaseR\vcommitLease\x128\n" + "\tcommitted\x18\a \x01(\v2\x1a.spindle.mill.v1.CommittedR\tcommitted\x12B\n" + "\rrelease_lease\x18\b \x01(\v2\x1d.spindle.mill.v1.ReleaseLeaseR\freleaseLease\x12E\n" + "\x0ecancel_attempt\x18\t \x01(\v2\x1e.spindle.mill.v1.CancelAttemptR\rcancelAttempt\x129\n" + "\n" + "cancel_ack\x18\n" + " \x01(\v2\x1a.spindle.mill.v1.CancelAckR\tcancelAck\x12<\n" + "\vevent_batch\x18\v \x01(\v2\x1b.spindle.mill.v1.EventBatchR\n" + "eventBatch\x12&\n" + "\x03ack\x18\f \x01(\v2\x14.spindle.mill.v1.AckR\x03ack\x123\n" + "\blive_log\x18\r \x01(\v2\x18.spindle.mill.v1.LiveLogR\aliveLog\x12:\n" + "\tquota_req\x18\x0e \x01(\v2\x1d.spindle.mill.v1.QuotaRequestR\bquotaReq\x12=\n" + "\n" + "quota_resp\x18\x0f \x01(\v2\x1e.spindle.mill.v1.QuotaResponseR\tquotaResp\x12D\n" + "\rdebug_key_req\x18\x10 \x01(\v2 .spindle.mill.v1.DebugKeyRequestR\vdebugKeyReq\x12G\n" + "\x0edebug_key_resp\x18\x11 \x01(\v2!.spindle.mill.v1.DebugKeyResponseR\fdebugKeyResp:\xdb\x01\xbaH\xd7\x01\"\xd4\x01\n" + "\x05hello\n" + "\x06resume\n" + "\rnode_snapshot\n" + "\freserve_seat\n" + "\x0ereserve_result\n" + "\fcommit_lease\n" + "\tcommitted\n" + "\rrelease_lease\n" + "\x0ecancel_attempt\n" + "\n" + "cancel_ack\n" + "\vevent_batch\n" + "\x03ack\n" + "\blive_log\n" + "\tquota_req\n" + "\n" + "quota_resp\n" + "\rdebug_key_req\n" + "\x0edebug_key_resp\x10\x01J\x04\b\x12\x10\x16\"\xc2\x03\n" + "\fQuotaRequest\x12)\n" + "\n" + "request_id\x18\x01 \x01(\tB\n" + "\xbaH\ar\x05\x10\x01\x18\x80\x01R\trequestId\x12I\n" + "\toperation\x18\x02 \x01(\x0e2\x1f.spindle.mill.v1.QuotaOperationB\n" + "\xbaH\a\x82\x01\x04\x10\x01 \x00R\toperation\x12%\n" + "\blease_id\x18\x03 \x01(\tB\n" + "\xbaH\ar\x05\x10\x01\x18\x80\x01R\aleaseId\x12/\n" + "\x0ereservation_id\x18\x04 \x01(\tB\b\xbaH\x05r\x03\x18\x80\x01R\rreservationId\x12\x1c\n" + "\x04kind\x18\x05 \x01(\tB\b\xbaH\x05r\x03\x18\x80\x01R\x04kind\x12\x1a\n" + "\x03key\x18\x06 \x01(\tB\b\xbaH\x05r\x03\x18\x80\x04R\x03key\x12l\n" + "\tresources\x18\a \x03(\v2,.spindle.mill.v1.QuotaRequest.ResourcesEntryB \xbaH\x1d\x9a\x01\x1a\x10\x10\"\x06r\x04 \x01(@*\x0e\"\f\x18\x80\x80\x80\x80\x80\x80\x80\x80@(\x00R\tresources\x1a<\n" + "\x0eResourcesEntry\x12\x10\n" + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\"\x8a\x02\n" + "\rQuotaResponse\x12)\n" + "\n" + "request_id\x18\x01 \x01(\tB\n" + "\xbaH\ar\x05\x10\x01\x18\x80\x01R\trequestId\x12/\n" + "\x0ereservation_id\x18\x02 \x01(\tB\b\xbaH\x05r\x03\x18\x80\x01R\rreservationId\x12\x18\n" + "\aallowed\x18\x03 \x01(\bR\aallowed\x12\x1f\n" + "\x06reason\x18\x04 \x01(\tB\a\xbaH\x04r\x02\x18@R\x06reason\x12\x1f\n" + "\x05error\x18\x05 \x01(\tB\t\xbaH\x06r\x04(\x80\x80\x04R\x05error\x12\x1c\n" + "\ttemporary\x18\x06 \x01(\bR\ttemporary\x12#\n" + "\bresource\x18\a \x01(\tB\a\xbaH\x04r\x02(@R\bresource\"\x8f\x01\n" + "\x0fDebugKeyRequest\x12)\n" + "\n" + "request_id\x18\x01 \x01(\tB\n" + "\xbaH\ar\x05\x10\x01\x18\x80\x01R\trequestId\x12%\n" + "\blease_id\x18\x02 \x01(\tB\n" + "\xbaH\ar\x05\x10\x01\x18\x80\x01R\aleaseId\x12*\n" + "\n" + "public_key\x18\x03 \x01(\fB\v\xbaH\bz\x06\x10\x01\x18\x80\x80\x01R\tpublicKey\"x\n" + "\x10DebugKeyResponse\x12)\n" + "\n" + "request_id\x18\x01 \x01(\tB\n" + "\xbaH\ar\x05\x10\x01\x18\x80\x01R\trequestId\x12\x18\n" + "\aallowed\x18\x02 \x01(\bR\aallowed\x12\x1f\n" + "\x05error\x18\x03 \x01(\tB\t\xbaH\x06r\x04(\x80\x80\x04R\x05error*f\n" + "\vRejectClass\x12\x1c\n" + "\x18REJECT_CLASS_UNSPECIFIED\x10\x00\x12\x1a\n" + "\x16REJECT_CLASS_TRANSIENT\x10\x01\x12\x1d\n" + "\x19REJECT_CLASS_INCOMPATIBLE\x10\x02*W\n" + "\x11NonterminalStatus\x12\"\n" + "\x1eNONTERMINAL_STATUS_UNSPECIFIED\x10\x00\x12\x1e\n" + "\x1aNONTERMINAL_STATUS_RUNNING\x10\x01*\xa6\x01\n" + "\x0eTerminalStatus\x12\x1f\n" + "\x1bTERMINAL_STATUS_UNSPECIFIED\x10\x00\x12\x1b\n" + "\x17TERMINAL_STATUS_SUCCESS\x10\x01\x12\x1a\n" + "\x16TERMINAL_STATUS_FAILED\x10\x02\x12\x1b\n" + "\x17TERMINAL_STATUS_TIMEOUT\x10\x03\x12\x1d\n" + "\x19TERMINAL_STATUS_CANCELLED\x10\x04*\xba\x01\n" + "\x11CacheUpdateAction\x12#\n" + "\x1fCACHE_UPDATE_ACTION_UNSPECIFIED\x10\x00\x12\x1c\n" + "\x18CACHE_UPDATE_ACTION_USED\x10\x01\x12\x1e\n" + "\x1aCACHE_UPDATE_ACTION_STORED\x10\x02\x12!\n" + "\x1dCACHE_UPDATE_ACTION_DISCARDED\x10\x03\x12\x1f\n" + "\x1bCACHE_UPDATE_ACTION_MISSING\x10\x04*\xa9\x01\n" + "\x0eQuotaOperation\x12\x1f\n" + "\x1bQUOTA_OPERATION_UNSPECIFIED\x10\x00\x12\x1b\n" + "\x17QUOTA_OPERATION_RESERVE\x10\x01\x12 \n" + "\x1cQUOTA_OPERATION_BEGIN_COMMIT\x10\x02\x12\x1a\n" + "\x16QUOTA_OPERATION_COMMIT\x10\x03\x12\x1b\n" + "\x17QUOTA_OPERATION_RELEASE\x10\x04B0Z.tangled.org/core/spindle/mill/proto/gen;millv1b\x06proto3"
var ( file_spindle_mill_v1_mill_proto_rawDescOnce sync.Once file_spindle_mill_v1_mill_proto_rawDescData []byte)
func file_spindle_mill_v1_mill_proto_rawDescGZIP() []byte { file_spindle_mill_v1_mill_proto_rawDescOnce.Do(func() { file_spindle_mill_v1_mill_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_spindle_mill_v1_mill_proto_rawDesc), len(file_spindle_mill_v1_mill_proto_rawDesc))) }) return file_spindle_mill_v1_mill_proto_rawDescData}
var file_spindle_mill_v1_mill_proto_enumTypes = make([]protoimpl.EnumInfo, 5)var file_spindle_mill_v1_mill_proto_msgTypes = make([]protoimpl.MessageInfo, 31)var file_spindle_mill_v1_mill_proto_goTypes = []any{ (RejectClass)(0), // 0: spindle.mill.v1.RejectClass (NonterminalStatus)(0), // 1: spindle.mill.v1.NonterminalStatus (TerminalStatus)(0), // 2: spindle.mill.v1.TerminalStatus (CacheUpdateAction)(0), // 3: spindle.mill.v1.CacheUpdateAction (QuotaOperation)(0), // 4: spindle.mill.v1.QuotaOperation (*Hello)(nil), // 5: spindle.mill.v1.Hello (*Resume)(nil), // 6: spindle.mill.v1.Resume (*EngineAvailability)(nil), // 7: spindle.mill.v1.EngineAvailability (*NodeSnapshot)(nil), // 8: spindle.mill.v1.NodeSnapshot (*ReserveSeat)(nil), // 9: spindle.mill.v1.ReserveSeat (*ReserveResult)(nil), // 10: spindle.mill.v1.ReserveResult (*Secret)(nil), // 11: spindle.mill.v1.Secret (*CacheBinding)(nil), // 12: spindle.mill.v1.CacheBinding (*CommitLease)(nil), // 13: spindle.mill.v1.CommitLease (*Committed)(nil), // 14: spindle.mill.v1.Committed (*ReleaseLease)(nil), // 15: spindle.mill.v1.ReleaseLease (*CancelAttempt)(nil), // 16: spindle.mill.v1.CancelAttempt (*CancelAck)(nil), // 17: spindle.mill.v1.CancelAck (*StatusEvent)(nil), // 18: spindle.mill.v1.StatusEvent (*LogArtifact)(nil), // 19: spindle.mill.v1.LogArtifact (*AttemptResult)(nil), // 20: spindle.mill.v1.AttemptResult (*AttemptOutcome)(nil), // 21: spindle.mill.v1.AttemptOutcome (*CacheUpdate)(nil), // 22: spindle.mill.v1.CacheUpdate (*LiveLog)(nil), // 23: spindle.mill.v1.LiveLog (*Event)(nil), // 24: spindle.mill.v1.Event (*EventBatch)(nil), // 25: spindle.mill.v1.EventBatch (*Ack)(nil), // 26: spindle.mill.v1.Ack (*Message)(nil), // 27: spindle.mill.v1.Message (*QuotaRequest)(nil), // 28: spindle.mill.v1.QuotaRequest (*QuotaResponse)(nil), // 29: spindle.mill.v1.QuotaResponse (*DebugKeyRequest)(nil), // 30: spindle.mill.v1.DebugKeyRequest (*DebugKeyResponse)(nil), // 31: spindle.mill.v1.DebugKeyResponse nil, // 32: spindle.mill.v1.EngineAvailability.LoadEntry nil, // 33: spindle.mill.v1.NodeSnapshot.EnginesEntry nil, // 34: spindle.mill.v1.ReserveResult.QuotaResourcesEntry nil, // 35: spindle.mill.v1.QuotaRequest.ResourcesEntry}var file_spindle_mill_v1_mill_proto_depIdxs = []int32{ 32, // 0: spindle.mill.v1.EngineAvailability.load:type_name -> spindle.mill.v1.EngineAvailability.LoadEntry 33, // 1: spindle.mill.v1.NodeSnapshot.engines:type_name -> spindle.mill.v1.NodeSnapshot.EnginesEntry 0, // 2: spindle.mill.v1.ReserveResult.reject_class:type_name -> spindle.mill.v1.RejectClass 34, // 3: spindle.mill.v1.ReserveResult.quota_resources:type_name -> spindle.mill.v1.ReserveResult.QuotaResourcesEntry 11, // 4: spindle.mill.v1.CommitLease.secrets:type_name -> spindle.mill.v1.Secret 12, // 5: spindle.mill.v1.CommitLease.cache_bindings:type_name -> spindle.mill.v1.CacheBinding 1, // 6: spindle.mill.v1.StatusEvent.status:type_name -> spindle.mill.v1.NonterminalStatus 2, // 7: spindle.mill.v1.AttemptResult.status:type_name -> spindle.mill.v1.TerminalStatus 19, // 8: spindle.mill.v1.AttemptResult.log_artifact:type_name -> spindle.mill.v1.LogArtifact 2, // 9: spindle.mill.v1.AttemptOutcome.status:type_name -> spindle.mill.v1.TerminalStatus 3, // 10: spindle.mill.v1.CacheUpdate.action:type_name -> spindle.mill.v1.CacheUpdateAction 18, // 11: spindle.mill.v1.Event.status_event:type_name -> spindle.mill.v1.StatusEvent 20, // 12: spindle.mill.v1.Event.attempt_result:type_name -> spindle.mill.v1.AttemptResult 22, // 13: spindle.mill.v1.Event.cache_update:type_name -> spindle.mill.v1.CacheUpdate 21, // 14: spindle.mill.v1.Event.attempt_outcome:type_name -> spindle.mill.v1.AttemptOutcome 24, // 15: spindle.mill.v1.EventBatch.events:type_name -> spindle.mill.v1.Event 5, // 16: spindle.mill.v1.Message.hello:type_name -> spindle.mill.v1.Hello 6, // 17: spindle.mill.v1.Message.resume:type_name -> spindle.mill.v1.Resume 8, // 18: spindle.mill.v1.Message.node_snapshot:type_name -> spindle.mill.v1.NodeSnapshot 9, // 19: spindle.mill.v1.Message.reserve_seat:type_name -> spindle.mill.v1.ReserveSeat 10, // 20: spindle.mill.v1.Message.reserve_result:type_name -> spindle.mill.v1.ReserveResult 13, // 21: spindle.mill.v1.Message.commit_lease:type_name -> spindle.mill.v1.CommitLease 14, // 22: spindle.mill.v1.Message.committed:type_name -> spindle.mill.v1.Committed 15, // 23: spindle.mill.v1.Message.release_lease:type_name -> spindle.mill.v1.ReleaseLease 16, // 24: spindle.mill.v1.Message.cancel_attempt:type_name -> spindle.mill.v1.CancelAttempt 17, // 25: spindle.mill.v1.Message.cancel_ack:type_name -> spindle.mill.v1.CancelAck 25, // 26: spindle.mill.v1.Message.event_batch:type_name -> spindle.mill.v1.EventBatch 26, // 27: spindle.mill.v1.Message.ack:type_name -> spindle.mill.v1.Ack 23, // 28: spindle.mill.v1.Message.live_log:type_name -> spindle.mill.v1.LiveLog 28, // 29: spindle.mill.v1.Message.quota_req:type_name -> spindle.mill.v1.QuotaRequest 29, // 30: spindle.mill.v1.Message.quota_resp:type_name -> spindle.mill.v1.QuotaResponse 30, // 31: spindle.mill.v1.Message.debug_key_req:type_name -> spindle.mill.v1.DebugKeyRequest 31, // 32: spindle.mill.v1.Message.debug_key_resp:type_name -> spindle.mill.v1.DebugKeyResponse 4, // 33: spindle.mill.v1.QuotaRequest.operation:type_name -> spindle.mill.v1.QuotaOperation 35, // 34: spindle.mill.v1.QuotaRequest.resources:type_name -> spindle.mill.v1.QuotaRequest.ResourcesEntry 7, // 35: spindle.mill.v1.NodeSnapshot.EnginesEntry.value:type_name -> spindle.mill.v1.EngineAvailability 36, // [36:36] is the sub-list for method output_type 36, // [36:36] is the sub-list for method input_type 36, // [36:36] is the sub-list for extension type_name 36, // [36:36] is the sub-list for extension extendee 0, // [0:36] is the sub-list for field type_name}
func init() { file_spindle_mill_v1_mill_proto_init() }func file_spindle_mill_v1_mill_proto_init() { if File_spindle_mill_v1_mill_proto != nil { return } file_spindle_mill_v1_mill_proto_msgTypes[19].OneofWrappers = []any{ (*Event_StatusEvent)(nil), (*Event_AttemptResult)(nil), (*Event_CacheUpdate)(nil), (*Event_AttemptOutcome)(nil), } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_spindle_mill_v1_mill_proto_rawDesc), len(file_spindle_mill_v1_mill_proto_rawDesc)), NumEnums: 5, NumMessages: 31, NumExtensions: 0, NumServices: 0, }, GoTypes: file_spindle_mill_v1_mill_proto_goTypes, DependencyIndexes: file_spindle_mill_v1_mill_proto_depIdxs, EnumInfos: file_spindle_mill_v1_mill_proto_enumTypes, MessageInfos: file_spindle_mill_v1_mill_proto_msgTypes, }.Build() File_spindle_mill_v1_mill_proto = out.File file_spindle_mill_v1_mill_proto_goTypes = nil file_spindle_mill_v1_mill_proto_depIdxs = nil}