Kibotos
API 参考kibotos.ctrl.v1

TemplateService

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

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

TemplateService exposes the deployment catalog without revealing private delivery or materialization details.

ListTemplates

POST/kibotos.ctrl.v1.TemplateService/ListTemplates一元调用
请求ListTemplatesRequest
响应ListTemplatesResponse

TemplateSelectionFilter

  • TEMPLATE_SELECTION_FILTER_UNSPECIFIED= 0

    Unspecified defaults to SELECTABLE.

  • TEMPLATE_SELECTION_FILTER_SELECTABLE= 1
  • TEMPLATE_SELECTION_FILTER_NOT_SELECTABLE= 2
  • TEMPLATE_SELECTION_FILTER_ANY= 3

TemplateDeliveryFilter

  • TEMPLATE_DELIVERY_FILTER_UNSPECIFIED= 0

    Unspecified defaults to ANY.

  • TEMPLATE_DELIVERY_FILTER_ANY= 1
  • TEMPLATE_DELIVERY_FILTER_READY= 2
  • TEMPLATE_DELIVERY_FILTER_NOT_READY= 3
  • TEMPLATE_DELIVERY_FILTER_UNKNOWN= 4

GetTemplate

POST/kibotos.ctrl.v1.TemplateService/GetTemplate一元调用
请求GetTemplateRequest
响应GetTemplateResponse

GetTemplateRevision

POST/kibotos.ctrl.v1.TemplateService/GetTemplateRevision一元调用
请求GetTemplateRevisionRequest
响应GetTemplateRevisionResponse

消息与枚举

TemplateService 的多个方法用到以下消息与枚举。

TemplateRevision

Template

TemplateSelectionState

  • TEMPLATE_SELECTION_STATE_UNSPECIFIED= 0
  • TEMPLATE_SELECTION_STATE_SELECTABLE= 1
  • TEMPLATE_SELECTION_STATE_NOT_SELECTABLE= 2

TemplateSelectionReason

  • TEMPLATE_SELECTION_REASON_UNSPECIFIED= 0
  • TEMPLATE_SELECTION_REASON_WITHDRAWN= 1
  • TEMPLATE_SELECTION_REASON_ADMIN_DISABLED= 2
  • TEMPLATE_SELECTION_REASON_ADMISSION_REJECTED= 3

本页内容