provision.go 565 B

12345678910111213141516171819
  1. package types
  2. type ApplyBaseRequest struct {
  3. Kind string `json:"kind"`
  4. Values map[string]interface{} `json:"values"`
  5. OperationKind string `json:"operation_kind" form:"oneof=create retry_create update"`
  6. }
  7. type DeleteBaseRequest struct {
  8. OperationKind string `json:"operation_kind" form:"oneof=delete retry_delete"`
  9. }
  10. type CreateResourceRequest struct {
  11. Kind string `json:"kind"`
  12. Output map[string]interface{} `json:"output"`
  13. }
  14. type ReportErrorRequest struct {
  15. Error string `json:"error"`
  16. }