TemplateCatalogService
本页列出 kibotos.operator.v1 中 TemplateCatalogService 的方法及每个方法用到的消息与枚举,由 operator.proto 及其注释生成,注释保持英文。多个服务共用的消息与枚举见 kibotos.operator.v1 类型。
TemplateCatalogService is the Operator-only Template catalog admission surface: it answers which revisions a Template may be created from and which one it defaults to, and it carries the three named catalog changes. Template admission never names a Platform revision and never moves a PlatformKey default; the two catalogs are the two halves of one admission model and each half writes only its own objects. It is never mounted on the Native Workspace endpoint, and it never calls a node.
ListTemplateRevisionAdmissions
/kibotos.operator.v1.TemplateCatalogService/ListTemplateRevisionAdmissions一元调用ListTemplateRevisionAdmissionsRequestListTemplateRevisionAdmissionsRequest pages one Template's revisions in bytewise revision order. template_id is required: the admission surface answers about one Template at a time.
ListTemplateRevisionAdmissionsResponseGetTemplateDefault
/kibotos.operator.v1.TemplateCatalogService/GetTemplateDefault一元调用GetTemplateDefaultRequestGetTemplateDefaultResponseSetTemplateRevisionSelection
/kibotos.operator.v1.TemplateCatalogService/SetTemplateRevisionSelection一元调用SetTemplateRevisionSelectionRequestselectable true must come without a reason and clears any recorded one; selectable false requires one of the two recorded reasons.
SetTemplateRevisionSelectionResponseSetTemplateDefault
/kibotos.operator.v1.TemplateCatalogService/SetTemplateDefault一元调用SetTemplateDefaultRequestexpected_revision is the compare-and-swap token. Pass expect_no_default instead to state that this Template has no default yet; passing neither or both is rejected, because a caller who believes it is swapping must not submit an unconditional write.
SetTemplateDefaultResponseWithdrawTemplateRevision
/kibotos.operator.v1.TemplateCatalogService/WithdrawTemplateRevision一元调用WithdrawTemplateRevisionRequestreason is required and must already be normalized; a withdrawal without a recorded reason leaves nobody able to say why the Template revision went away.
WithdrawTemplateRevisionResponse消息与枚举
TemplateCatalogService 的多个方法用到以下消息与枚举。
TemplateRevisionAdmission
TemplateRevisionAdmission is one registered Template revision and the two admission facts an Operator can change about it. It carries no Platform revision: which Platform a Workspace launches on is resolved by ctrl, not selected here.
selection_reason is empty exactly when the revision is selectable.
default_revision is true for the revision this Template currently defaults to. At most one paged revision carries it.
reclaimed_at is set once the artifact store no longer publishes this revision's manifest. The selection state stays NOT_SELECTABLE.
TemplateDefault
TemplateDefault is the revision new Workspaces use when none is given. revision is empty when this Template has no default yet.
TemplateSelectionState
TemplateSelectionState is derived from the stored revision, not a persisted state machine: a withdrawn revision is never selectable again.
TEMPLATE_SELECTION_STATE_UNSPECIFIED= 0TEMPLATE_SELECTION_STATE_SELECTABLE= 1TEMPLATE_SELECTION_STATE_NOT_SELECTABLE= 2
TemplateLifecycleService
本页列出 kibotos.operator.v1 中 TemplateLifecycleService 的方法及每个方法用到的消息与枚举,由 operator.proto 及其注释生成,注释保持英文。多个服务共用的消息与枚举见 kibotos.operator.v1 类型。
NodeRegistrationService
本页列出 kibotos.operator.v1 中 NodeRegistrationService 的方法及每个方法用到的消息与枚举,由 operator.proto 及其注释生成,注释保持英文。多个服务共用的消息与枚举见 kibotos.operator.v1 类型。