Kibotos
API 参考kibotos.operator.v1

TemplateLifecycleService

本页列出 kibotos.operator.v1 中 TemplateLifecycleService 的方法及每个方法用到的消息与枚举,由 operator.proto 及其注释生成,注释保持英文。多个服务共用的消息与枚举见 kibotos.operator.v1 类型。

ctrl API使用 Operator 证书调用。调用方式

TemplateLifecycleService is an Operator-only admission surface. It is kept off the Native Workspace endpoint while using the same endpoint isolation as publication.

PrepareTemplate

POST/kibotos.operator.v1.TemplateLifecycleService/PrepareTemplate一元调用
请求PrepareTemplateRequest
响应PrepareTemplateResponse

LaunchRef

TemplateCandidateSelector

TemplateCandidateSelector is the human-facing lifecycle selector. Empty revision fields mean "the unique actionable candidate", never "latest".

TemplatePreparationState

TemplatePreparationState is the operator-facing view of one node preparation. It is provider-neutral: it says whether the exact launch is usable, not how the node obtained it.

  • TEMPLATE_PREPARATION_STATE_UNSPECIFIED= 0
  • TEMPLATE_PREPARATION_STATE_READY= 1

    READY means the exact launch is prepared and verified on the node.

  • TEMPLATE_PREPARATION_STATE_PREPARING= 2

    PREPARING means a transfer is in progress. Callers poll until the state leaves this value.

  • TEMPLATE_PREPARATION_STATE_FAILED= 3

    FAILED means the preparation reached a terminal non-ready outcome.

  • TEMPLATE_PREPARATION_STATE_UNKNOWN= 4

    UNKNOWN means the node could not state the outcome. It is never treated as either success or failure.

本页内容