v1.ProcessedTemplate

Description

Template contains the inputs needed to produce a Config.

Object Schema

Expand or mouse-over a field for more information about it.

  1. apiVersion:
  2. kind:
  3. labels:
  4. [string]:
  5. message:
  6. metadata:
  7. annotations:
  8. [string]:
  9. clusterName:
  10. creationTimestamp:
  11. deletionGracePeriodSeconds:
  12. deletionTimestamp:
  13. finalizers:
  14. - [string]:
  15. generateName:
  16. generation:
  17. initializers:
  18. pending:
  19. - name:
  20. result:
  21. apiVersion:
  22. code:
  23. details:
  24. causes:
  25. - field:
  26. message:
  27. reason:
  28. group:
  29. kind:
  30. name:
  31. retryAfterSeconds:
  32. uid:
  33. kind:
  34. message:
  35. metadata:
  36. resourceVersion:
  37. selfLink:
  38. reason:
  39. status:
  40. labels:
  41. [string]:
  42. name:
  43. namespace:
  44. ownerReferences:
  45. - apiVersion:
  46. blockOwnerDeletion:
  47. controller:
  48. kind:
  49. name:
  50. uid:
  51. resourceVersion:
  52. selfLink:
  53. uid:
  54. objects:
  55. - Raw:
  56. parameters:
  57. - description:
  58. displayName:
  59. from:
  60. generate:
  61. name:
  62. required:
  63. value:

Operations

Create a ProcessedTemplate

Create a Template

HTTP request

  1. POST /oapi/v1/processedtemplates HTTP/1.1
  2. Authorization: Bearer $TOKEN
  3. Accept: application/json
  4. Connection: close
  5. Content-Type: application/json'
  6. {
  7. "kind": "ProcessedTemplate",
  8. "apiVersion": "v1",
  9. ...
  10. }

Curl request

  1. $ curl -k \
  2. -X POST \
  3. -d @- \
  4. -H "Authorization: Bearer $TOKEN" \
  5. -H 'Accept: application/json' \
  6. -H 'Content-Type: application/json' \
  7. https://$ENDPOINT/oapi/v1/processedtemplates <<'EOF'
  8. {
  9. "kind": "ProcessedTemplate",
  10. "apiVersion": "v1",
  11. ...
  12. }
  13. EOF

HTTP body

ParameterSchema

body

v1.Template

Query parameters

ParameterDescription

pretty

If ‘true’, then the output is pretty printed.

Responses

HTTP CodeSchema

200 OK

v1.Template

401 Unauthorized

Consumes

  • */*

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf

Create a ProcessedTemplate in a namespace

Create a Template

HTTP request

  1. POST /oapi/v1/namespaces/$NAMESPACE/processedtemplates HTTP/1.1
  2. Authorization: Bearer $TOKEN
  3. Accept: application/json
  4. Connection: close
  5. Content-Type: application/json'
  6. {
  7. "kind": "ProcessedTemplate",
  8. "apiVersion": "v1",
  9. ...
  10. }

Curl request

  1. $ curl -k \
  2. -X POST \
  3. -d @- \
  4. -H "Authorization: Bearer $TOKEN" \
  5. -H 'Accept: application/json' \
  6. -H 'Content-Type: application/json' \
  7. https://$ENDPOINT/oapi/v1/namespaces/$NAMESPACE/processedtemplates <<'EOF'
  8. {
  9. "kind": "ProcessedTemplate",
  10. "apiVersion": "v1",
  11. ...
  12. }
  13. EOF

HTTP body

ParameterSchema

body

v1.Template

Path parameters

ParameterDescription

namespace

object name and auth scope, such as for teams and projects

Query parameters

ParameterDescription

pretty

If ‘true’, then the output is pretty printed.

Responses

HTTP CodeSchema

200 OK

v1.Template

401 Unauthorized

Consumes

  • */*

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf