Skip to content

Commit

Permalink
push swagger from signadot
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Feb 28, 2024
1 parent 5aa0810 commit b490b1b
Showing 1 changed file with 21 additions and 66 deletions.
87 changes: 21 additions & 66 deletions generate/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@
},
"status": {
"$ref": "#/definitions/routeGroup.Status"
},
"updatedAt": {
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -174,59 +177,6 @@
},
"type": "object"
},
"local": {
"properties": {
"from": {
"$ref": "#/definitions/local.From"
},
"mappings": {
"items": {
"$ref": "#/definitions/local.PortMapping"
},
"type": "array"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"local.From": {
"properties": {
"kind": {
"description": "Kind of entity that we want to route to. One of (Service or Deployment or Rollout).",
"example": "Deployment",
"type": "string"
},
"name": {
"description": "Name of the entity within the Kubernetes cluster.",
"example": "my-frontend",
"type": "string"
},
"namespace": {
"description": "Namespace within which the entity lives in the Kubernetes cluster.",
"example": "default",
"type": "string"
}
},
"required": [
"kind",
"name",
"namespace"
],
"type": "object"
},
"local.PortMapping": {
"properties": {
"port": {
"type": "integer"
},
"toLocal": {
"type": "string"
}
},
"type": "object"
},
"resourceplugin.Runner": {
"properties": {
"image": {
Expand Down Expand Up @@ -449,6 +399,9 @@
},
"match": {
"$ref": "#/definitions/routeGroup.Match"
},
"ttl": {
"$ref": "#/definitions/routeGroup.TTL"
}
},
"type": "object"
Expand Down Expand Up @@ -488,6 +441,19 @@
},
"type": "object"
},
"routeGroup.TTL": {
"properties": {
"duration": {
"description": "Duration represents the duration until routegroup's end of life.\nIt should be an unsigned integer not exceeding 32 bits followed by\na units character, which can be one of the following.\n - 'm' for minutes\n - 'h' for hours\n - 'd' for days\n - 'w' for weeks",
"type": "string"
},
"offsetFrom": {
"description": "OffsetFrom indicates what the Duration is relative to. It\nmay be the empty string, \"noMatchedSandboxes\", \"createdAt\" or \"updatedAt\". The empty string\ndefaults to meaning \"noMatchedSandboxes\".",
"type": "string"
}
},
"type": "object"
},
"sandbox.CustomPatch": {
"properties": {
"type": {
Expand Down Expand Up @@ -815,17 +781,6 @@
"description": "Labels are used to specify metadata associated with the sandbox as key-value pairs.",
"type": "object"
},
"local": {
"description": "Local Workloads",
"items": {
"$ref": "#/definitions/local"
},
"type": "array"
},
"localMachineID": {
"description": "Identifier of the machine from where a sandbox containing local workloads was created or is intended to be ran",
"type": "string"
},
"resources": {
"description": "Resources specifies each required resource to spin up the sandbox",
"items": {
Expand All @@ -846,7 +801,7 @@
"sandbox.TTL": {
"properties": {
"duration": {
"description": "Duration represents the duration until sandbox end of life.\nIt should be an unsigned integer not exceeding 32 bits followed by\na units character, which can be one of the following.\n - 'm' for minutes\n - 'h' for hours\n - 'd' for days\n - 'w' for weeks",
"description": "Duration represents the duration until sandbox end of life.\nIt should be an unsigned integer not exceeding 32 bits followed by\na units character, which can be one of the following.\n - 'm' for minutes\n - 'h' for hours\n - 'd' for days\n - 'w' for weeks",
"type": "string"
},
"offsetFrom": {
Expand Down Expand Up @@ -2115,4 +2070,4 @@
}
},
"swagger": "2.0"
}
}

0 comments on commit b490b1b

Please sign in to comment.