+ "k8scluster": {
+ "v1": {
+ "clusters": {
+ "METHODS": ("GET", "POST"),
+ "ROLE_PERMISSION": "k8scluster:",
+ "<ID>": {
+ "METHODS": ("GET", "DELETE"),
+ "ROLE_PERMISSION": "k8scluster:id:",
+ "app_profiles": {
+ "METHODS": ("PATCH", "GET"),
+ "ROLE_PERMISSION": "k8scluster:id:app_profiles:",
+ },
+ "infra_controller_profiles": {
+ "METHODS": ("PATCH", "GET"),
+ "ROLE_PERMISSION": "k8scluster:id:infra_profiles:",
+ },
+ "infra_config_profiles": {
+ "METHODS": ("PATCH", "GET"),
+ "ROLE_PERMISSION": "k8scluster:id:infra_profiles:",
+ },
+ "resource_profiles": {
+ "METHODS": ("PATCH", "GET"),
+ "ROLE_PERMISSION": "k8scluster:id:infra_profiles:",
+ },
+ "deregister": {
+ "METHODS": ("DELETE",),
+ "ROLE_PERMISSION": "k8scluster:id:deregister:",
+ },
+ "get_creds": {
+ "METHODS": ("GET",),
+ "ROLE_PERMISSION": "k8scluster:id:get_creds:",
+ },
+ "scale": {
+ "METHODS": ("POST",),
+ "ROLE_PERMISSION": "k8scluster:id:scale:",
+ },
+ "upgrade": {
+ "METHODS": ("POST",),
+ "ROLE_PERMISSION": "k8scluster:id:upgrade:",
+ },
+ },
+ "register": {
+ "METHODS": ("POST",),
+ "ROLE_PERMISSION": "k8scluster:register:",
+ },
+ },
+ "app_profiles": {
+ "METHODS": ("POST", "GET"),
+ "ROLE_PERMISSION": "k8scluster:app_profiles:",
+ "<ID>": {
+ "METHODS": ("GET", "PATCH", "DELETE"),
+ "ROLE_PERMISSION": "k8scluster:app_profiles:id:",
+ },
+ },
+ "infra_controller_profiles": {
+ "METHODS": ("POST", "GET"),
+ "ROLE_PERMISSION": "k8scluster:infra_controller_profiles:",
+ "<ID>": {
+ "METHODS": ("GET", "PATCH", "DELETE"),
+ "ROLE_PERMISSION": "k8scluster:infra_controller_profiles:id:",
+ },
+ },
+ "infra_config_profiles": {
+ "METHODS": ("POST", "GET"),
+ "ROLE_PERMISSION": "k8scluster:infra_config_profiles:",
+ "<ID>": {
+ "METHODS": ("GET", "PATCH", "DELETE"),
+ "ROLE_PERMISSION": "k8scluster:infra_config_profiles:id:",
+ },
+ },
+ "resource_profiles": {
+ "METHODS": ("POST", "GET"),
+ "ROLE_PERMISSION": "k8scluster:resource_profiles:",
+ "<ID>": {
+ "METHODS": ("GET", "PATCH", "DELETE"),
+ "ROLE_PERMISSION": "k8scluster:resource_profiles:id:",
+ },
+ },
+ }
+ },
+ "ksu": {
+ "v1": {
+ "ksus": {
+ "METHODS": ("GET", "POST"),
+ "ROLE_PERMISSION": "ksu:",
+ "<ID>": {
+ "METHODS": ("GET", "PATCH", "DELETE"),
+ "ROLE_PERMISSION": "ksu:id:",
+ "clone": {
+ "METHODS": ("POST",),
+ "ROLE_PERMISSION": "ksu:id:clone:",
+ },
+ "move": {
+ "METHODS": ("POST",),
+ "ROLE_PERMISSION": "ksu:id:move:",
+ },
+ },
+ "update": {
+ "METHODS": ("POST",),
+ "ROLE_PERMISSION": "ksu:",
+ },
+ "delete": {
+ "METHODS": ("POST",),
+ "ROLE_PERMISSION": "ksu:",
+ },
+ },
+ }
+ },
+ "oka": {
+ "v1": {
+ "oka_packages": {
+ "METHODS": ("GET", "POST"),
+ "ROLE_PERMISSION": "oka_pkg:",
+ "<ID>": {
+ "METHODS": ("GET", "PATCH", "DELETE", "PUT"),
+ "ROLE_PERMISSION": "oka_pkg:id:",
+ },
+ }
+ }
+ },