From b490b1b643e7b9e1bd7c7e9e371b24c4233629c3 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 28 Feb 2024 19:48:52 +0000 Subject: [PATCH] push swagger from signadot --- generate/swagger.json | 87 +++++++++++-------------------------------- 1 file changed, 21 insertions(+), 66 deletions(-) diff --git a/generate/swagger.json b/generate/swagger.json index d2e779b..e398551 100644 --- a/generate/swagger.json +++ b/generate/swagger.json @@ -131,6 +131,9 @@ }, "status": { "$ref": "#/definitions/routeGroup.Status" + }, + "updatedAt": { + "type": "string" } }, "type": "object" @@ -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": { @@ -449,6 +399,9 @@ }, "match": { "$ref": "#/definitions/routeGroup.Match" + }, + "ttl": { + "$ref": "#/definitions/routeGroup.TTL" } }, "type": "object" @@ -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": { @@ -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": { @@ -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": { @@ -2115,4 +2070,4 @@ } }, "swagger": "2.0" -} +} \ No newline at end of file