Separate accounts/host catalogs/host sets into their own packages (#311)
This commit is contained in:
1 parent
936c970635
commit
17ecb6f2ce
64 files changed
+2298
-2265
No files matched your search
@@ -172,7 +172,7 @@
|
||||
"200": {
|
||||
"description": "",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
|
||||
"$ref": "#/definitions/controller.api.resources.accounts.v1.Account"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -188,7 +188,7 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
|
||||
"$ref": "#/definitions/controller.api.resources.accounts.v1.Account"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -205,7 +205,7 @@
|
||||
"200": {
|
||||
"description": "",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
|
||||
"$ref": "#/definitions/controller.api.resources.accounts.v1.Account"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -269,7 +269,7 @@
|
||||
"200": {
|
||||
"description": "",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
|
||||
"$ref": "#/definitions/controller.api.resources.accounts.v1.Account"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -291,7 +291,7 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
|
||||
"$ref": "#/definitions/controller.api.resources.accounts.v1.Account"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -318,7 +318,7 @@
|
||||
"200": {
|
||||
"description": "",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
|
||||
"$ref": "#/definitions/controller.api.resources.accounts.v1.Account"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -357,7 +357,7 @@
|
||||
"200": {
|
||||
"description": "",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
|
||||
"$ref": "#/definitions/controller.api.resources.accounts.v1.Account"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -872,7 +872,7 @@
|
||||
"200": {
|
||||
"description": "",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostCatalog"
|
||||
"$ref": "#/definitions/controller.api.resources.hostcatalogs.v1.HostCatalog"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -882,7 +882,7 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostCatalog"
|
||||
"$ref": "#/definitions/controller.api.resources.hostcatalogs.v1.HostCatalog"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -928,7 +928,7 @@
|
||||
"200": {
|
||||
"description": "",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
|
||||
"$ref": "#/definitions/controller.api.resources.hostsets.v1.HostSet"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -944,7 +944,7 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
|
||||
"$ref": "#/definitions/controller.api.resources.hostsets.v1.HostSet"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -961,7 +961,7 @@
|
||||
"200": {
|
||||
"description": "",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
|
||||
"$ref": "#/definitions/controller.api.resources.hostsets.v1.HostSet"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1025,7 +1025,7 @@
|
||||
"200": {
|
||||
"description": "",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
|
||||
"$ref": "#/definitions/controller.api.resources.hostsets.v1.HostSet"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1047,7 +1047,7 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
|
||||
"$ref": "#/definitions/controller.api.resources.hostsets.v1.HostSet"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1074,7 +1074,7 @@
|
||||
"200": {
|
||||
"description": "",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
|
||||
"$ref": "#/definitions/controller.api.resources.hostsets.v1.HostSet"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1113,7 +1113,7 @@
|
||||
"200": {
|
||||
"description": "",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
|
||||
"$ref": "#/definitions/controller.api.resources.hostsets.v1.HostSet"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1153,7 +1153,7 @@
|
||||
"200": {
|
||||
"description": "",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
|
||||
"$ref": "#/definitions/controller.api.resources.hostsets.v1.HostSet"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1368,7 +1368,7 @@
|
||||
"200": {
|
||||
"description": "",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostCatalog"
|
||||
"$ref": "#/definitions/controller.api.resources.hostcatalogs.v1.HostCatalog"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1420,7 +1420,7 @@
|
||||
"200": {
|
||||
"description": "",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostCatalog"
|
||||
"$ref": "#/definitions/controller.api.resources.hostcatalogs.v1.HostCatalog"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1436,7 +1436,7 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostCatalog"
|
||||
"$ref": "#/definitions/controller.api.resources.hostcatalogs.v1.HostCatalog"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -2040,7 +2040,7 @@
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"controller.api.resources.authmethods.v1.Account": {
|
||||
"controller.api.resources.accounts.v1.Account": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
@@ -2270,6 +2270,55 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"controller.api.resources.hostcatalogs.v1.HostCatalog": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "The ID of the host\nOutput only.",
|
||||
"readOnly": true
|
||||
},
|
||||
"scope": {
|
||||
"$ref": "#/definitions/controller.api.resources.scopes.v1.ScopeInfo",
|
||||
"description": "Scope information for this resource\nOutput only.",
|
||||
"readOnly": true
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"title": "Optional name for identification purposes"
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"title": "Optional user-set description for identification purposes"
|
||||
},
|
||||
"created_time": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"description": "The time this resource was created\nOutput only.",
|
||||
"readOnly": true
|
||||
},
|
||||
"updated_time": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"description": "The time this resource was last updated\nOutput only.",
|
||||
"readOnly": true
|
||||
},
|
||||
"version": {
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"description": "The version can be used in subsequent write requests to ensure this resource\nhas not changed and to fail the write if it has."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"title": "The type of the resource, to help differentiate schemas"
|
||||
},
|
||||
"attributes": {
|
||||
"type": "object",
|
||||
"title": "Attributes specific to the catalog type"
|
||||
}
|
||||
},
|
||||
"title": "HostCatalog manages Hosts and HostSets"
|
||||
},
|
||||
"controller.api.resources.hosts.v1.Host": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -2331,56 +2380,7 @@
|
||||
},
|
||||
"title": "Host contains all fields related to a Host resource"
|
||||
},
|
||||
"controller.api.resources.hosts.v1.HostCatalog": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "The ID of the host\nOutput only.",
|
||||
"readOnly": true
|
||||
},
|
||||
"scope": {
|
||||
"$ref": "#/definitions/controller.api.resources.scopes.v1.ScopeInfo",
|
||||
"description": "Scope information for this resource\nOutput only.",
|
||||
"readOnly": true
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"title": "Optional name for identification purposes"
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"title": "Optional user-set description for identification purposes"
|
||||
},
|
||||
"created_time": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"description": "The time this resource was created\nOutput only.",
|
||||
"readOnly": true
|
||||
},
|
||||
"updated_time": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"description": "The time this resource was last updated\nOutput only.",
|
||||
"readOnly": true
|
||||
},
|
||||
"version": {
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"description": "The version can be used in subsequent write requests to ensure this resource\nhas not changed and to fail the write if it has."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"title": "The type of the resource, to help differentiate schemas"
|
||||
},
|
||||
"attributes": {
|
||||
"type": "object",
|
||||
"title": "Attributes specific to the catalog type"
|
||||
}
|
||||
},
|
||||
"title": "HostCatalog manages Hosts and HostSets"
|
||||
},
|
||||
"controller.api.resources.hosts.v1.HostSet": {
|
||||
"controller.api.resources.hostsets.v1.HostSet": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
@@ -2747,7 +2747,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"item": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
|
||||
"$ref": "#/definitions/controller.api.resources.hostsets.v1.HostSet"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -2855,7 +2855,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"item": {
|
||||
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
|
||||
"$ref": "#/definitions/controller.api.resources.accounts.v1.Account"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -2866,7 +2866,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"item": {
|
||||
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
|
||||
"$ref": "#/definitions/controller.api.resources.accounts.v1.Account"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -2899,7 +2899,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"item": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostCatalog"
|
||||
"$ref": "#/definitions/controller.api.resources.hostcatalogs.v1.HostCatalog"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -2921,7 +2921,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"item": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
|
||||
"$ref": "#/definitions/controller.api.resources.hostsets.v1.HostSet"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3052,7 +3052,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"item": {
|
||||
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
|
||||
"$ref": "#/definitions/controller.api.resources.accounts.v1.Account"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3084,7 +3084,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"item": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostCatalog"
|
||||
"$ref": "#/definitions/controller.api.resources.hostcatalogs.v1.HostCatalog"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3100,7 +3100,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"item": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
|
||||
"$ref": "#/definitions/controller.api.resources.hostsets.v1.HostSet"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3134,7 +3134,7 @@
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
|
||||
"$ref": "#/definitions/controller.api.resources.accounts.v1.Account"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3178,7 +3178,7 @@
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostCatalog"
|
||||
"$ref": "#/definitions/controller.api.resources.hostcatalogs.v1.HostCatalog"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3189,7 +3189,7 @@
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
|
||||
"$ref": "#/definitions/controller.api.resources.hostsets.v1.HostSet"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3292,7 +3292,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"item": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
|
||||
"$ref": "#/definitions/controller.api.resources.hostsets.v1.HostSet"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3403,7 +3403,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"item": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
|
||||
"$ref": "#/definitions/controller.api.resources.hostsets.v1.HostSet"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3429,7 +3429,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"item": {
|
||||
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
|
||||
"$ref": "#/definitions/controller.api.resources.accounts.v1.Account"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3510,7 +3510,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"item": {
|
||||
"$ref": "#/definitions/controller.api.resources.authmethods.v1.Account"
|
||||
"$ref": "#/definitions/controller.api.resources.accounts.v1.Account"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3534,7 +3534,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"item": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostCatalog"
|
||||
"$ref": "#/definitions/controller.api.resources.hostcatalogs.v1.HostCatalog"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3550,7 +3550,7 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"item": {
|
||||
"$ref": "#/definitions/controller.api.resources.hosts.v1.HostSet"
|
||||
"$ref": "#/definitions/controller.api.resources.hostsets.v1.HostSet"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user