Artem Goncharov a75eb01672 Start building parts of TUI
Simplify TUI extension by generation of resource filter structure and
corresponding execute traits.

Change-Id: I35fe5c9e568c13cc35183588fe3f7bd4e1c45c72
2024-12-16 13:25:07 +00:00

964 lines
28 KiB
YAML

resources:
image.schema/image:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/image:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema image show
image.schema/images:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/images:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema images show
image.schema/member:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/member:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema member show
image.schema/members:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/members:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema members show
image.schema/task:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/task:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema task show
image.schema/tasks:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/tasks:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema tasks show
image.schema/metadef/namespace:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/metadefs/namespace:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema metadef namespace show
image.schema/metadef/namespaces:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/metadefs/namespaces:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema metadef namespaces show
image.schema/metadef/resource_type:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/metadefs/resource_type:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema metadef resource-type show
image.schema/metadef/resource_types:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/metadefs/resource_types:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema metadef resource-types show
image.schema/metadef/property:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/metadefs/property:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema metadef property show
image.schema/metadef/properties:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/metadefs/properties:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema metadef properties show
image.schema/metadef/object:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/metadefs/object:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema metadef object show
image.schema/metadef/objects:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/metadefs/objects:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema metadef objects show
image.schema/metadef/tag:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/metadefs/tag:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema metadef tag show
image.schema/metadef/tags:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: schemas/metadefs/tags:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
operation_type: json
cli_full_command: schema metadef tags show
image.metadef/resource_type:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: metadefs/resource_types:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: metadef resource-type list
image.metadef/namespace/resource_type:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: metadefs/namespaces/namespace_name/resource_types:get
operation_type: list
targets:
rust-sdk:
module_name: list
response_key: resource_type_associations
rust-cli:
module_name: list
sdk_mod_name: list
response_key: resource_type_associations
cli_full_command: metadef namespace resource-type-association list
create:
operation_id: metadefs/namespaces/namespace_name/resource_types:post
operation_type: create
targets:
rust-sdk:
module_name: create
response_key: resource_type_associations
rust-cli:
module_name: create
sdk_mod_name: create
response_key: resource_type_associations
cli_full_command: metadef namespace resource-type-association create
delete:
operation_id: metadefs/namespaces/namespace_name/resource_types/resource_type:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
response_key: resource_type_associations
rust-cli:
module_name: delete
sdk_mod_name: delete
response_key: resource_type_associations
cli_full_command: metadef namespace resource-type-association delete
image.metadef/namespace:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: metadefs/namespaces:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: metadef namespace list
create:
operation_id: metadefs/namespaces:post
operation_type: create
targets:
rust-sdk:
module_name: create
response_key: 'null'
rust-cli:
module_name: create
sdk_mod_name: create
response_key: 'null'
cli_full_command: metadef namespace create
show:
operation_id: metadefs/namespaces/namespace_name:get
operation_type: show
targets:
rust-sdk:
module_name: get
response_key: 'null'
rust-cli:
module_name: show
sdk_mod_name: get
response_key: 'null'
cli_full_command: metadef namespace show
update:
operation_id: metadefs/namespaces/namespace_name:put
operation_type: set
targets:
rust-sdk:
module_name: set
response_key: 'null'
rust-cli:
module_name: set
sdk_mod_name: set
response_key: 'null'
cli_full_command: metadef namespace set
delete:
operation_id: metadefs/namespaces/namespace_name:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
response_key: 'null'
rust-cli:
module_name: delete
sdk_mod_name: delete
response_key: 'null'
cli_full_command: metadef namespace delete
image.metadef/namespace/property:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: metadefs/namespaces/namespace_name/properties:get
operation_type: list
targets:
rust-sdk:
module_name: list
response_key: properties
rust-cli:
module_name: list
sdk_mod_name: list
operation_type: list_from_struct
response_key: properties
cli_full_command: metadef namespace property list
create:
operation_id: metadefs/namespaces/namespace_name/properties:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: metadef namespace property create
delete_all:
operation_id: metadefs/namespaces/namespace_name/properties:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete_all
rust-cli:
module_name: delete_all
sdk_mod_name: delete_all
cli_full_command: metadef namespace property purge
show:
operation_id: metadefs/namespaces/namespace_name/properties/property_name:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
cli_full_command: metadef namespace property show
update:
operation_id: metadefs/namespaces/namespace_name/properties/property_name:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
cli_full_command: metadef namespace property set
delete:
operation_id: metadefs/namespaces/namespace_name/properties/property_name:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: metadef namespace property delete
image.metadef/namespace/object:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: metadefs/namespaces/namespace_name/objects:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: metadef namespace object list
create:
operation_id: metadefs/namespaces/namespace_name/objects:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: metadef namespace object create
delete_all:
operation_id: metadefs/namespaces/namespace_name/objects:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete_all
rust-cli:
module_name: delete_all
sdk_mod_name: delete_all
cli_full_command: metadef namespace object purge
show:
operation_id: metadefs/namespaces/namespace_name/objects/object_name:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
cli_full_command: metadef namespace object show
update:
operation_id: metadefs/namespaces/namespace_name/objects/object_name:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
cli_full_command: metadef namespace object set
delete:
operation_id: metadefs/namespaces/namespace_name/objects/object_name:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: metadef namespace object delete
image.metadef/namespace/tag:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: metadefs/namespaces/namespace_name/tags:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: metadef namespace tag list
create:
operation_id: metadefs/namespaces/namespace_name/tags/tag_name:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: metadef namespace tag create
delete_all:
operation_id: metadefs/namespaces/namespace_name/tags:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete_all
rust-cli:
module_name: delete_all
sdk_mod_name: delete_all
cli_full_command: metadef namespace tag purge
show:
operation_id: metadefs/namespaces/namespace_name/tags/tag_name:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
cli_full_command: metadef namespace tag check
update:
operation_id: metadefs/namespaces/namespace_name/tags/tag_name:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
cli_full_command: metadef namespace tag add
delete:
operation_id: metadefs/namespaces/namespace_name/tags/tag_name:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: metadef namespace tag delete
image.image:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: images:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: image list
rust-tui:
module_name: list
create:
operation_id: images:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: image create
show:
operation_id: images/image_id:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
find_implemented_by_sdk: true
cli_full_command: image show
delete:
operation_id: images/image_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
find_implemented_by_sdk: true
cli_full_command: image delete
rust-tui:
module_name: delete
patch:
operation_id: images/image_id:patch
operation_type: set
targets:
rust-sdk:
module_name: patch
rust-cli:
module_name: patch
sdk_mod_name: patch
find_implemented_by_sdk: true
cli_full_command: image set
deactivate:
operation_id: images/image_id/actions/deactivate:post
operation_type: action
targets:
rust-sdk:
module_name: deactivate
rust-cli:
module_name: deactivate
sdk_mod_name: deactivate
find_implemented_by_sdk: true
cli_full_command: image deactivate
reactivate:
operation_id: images/image_id/actions/reactivate:post
operation_type: action
targets:
rust-sdk:
module_name: reactivate
rust-cli:
module_name: reactivate
sdk_mod_name: reactivate
find_implemented_by_sdk: true
cli_full_command: image reactivate
find:
operation_id: images:get
operation_type: find
targets:
rust-sdk:
module_name: find
sdk_mod_path: image::v2::image
name_field: name
name_filter_supported: true
list_mod: list
image.image/task:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: images/image_id/tasks:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: image task list
image.image/import:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
create:
operation_id: images/image_id/import:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: image import create
image.store:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
delete:
operation_id: stores/store_id/image_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: store delete
image.image/file:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
download:
operation_id: images/image_id/file:get
operation_type: download
targets:
rust-sdk:
module_name: download
rust-cli:
module_name: download
sdk_mod_name: download
cli_full_command: image download
upload:
operation_id: images/image_id/file:put
operation_type: upload
targets:
rust-sdk:
module_name: upload
rust-cli:
module_name: upload
sdk_mod_name: upload
cli_full_command: image upload
image.image/stage:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
stage:
operation_id: images/image_id/stage:put
operation_type: action
targets:
rust-sdk:
module_name: stage
rust-cli:
module_name: stage
sdk_mod_name: stage
cli_full_command: image stage stage
image.image/location:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: images/image_id/locations:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: image location list
create:
operation_id: images/image_id/locations:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: image location create
image.image/tag:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
update:
operation_id: images/image_id/tags/tag_value:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
cli_full_command: image tag add
delete:
operation_id: images/image_id/tags/tag_value:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: image tag delete
image.image/member:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: images/image_id/members:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: image member list
create:
operation_id: images/image_id/members:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: image member create
show:
operation_id: images/image_id/members/member_id:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
cli_full_command: image member show
update:
operation_id: images/image_id/members/member_id:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
cli_full_command: image member set
delete:
operation_id: images/image_id/members/member_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: image member delete
image.task:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: tasks:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: task list
create:
operation_id: tasks:post
operation_type: create
targets:
rust-sdk:
module_name: create
rust-cli:
module_name: create
sdk_mod_name: create
cli_full_command: task create
show:
operation_id: tasks/task_id:get
operation_type: show
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: show
sdk_mod_name: get
cli_full_command: task show
delete:
operation_id: tasks/task_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: task delete
image.info/import:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
get:
operation_id: info/import:get
operation_type: get
targets:
rust-sdk:
module_name: get
rust-cli:
module_name: get
sdk_mod_name: get
cli_full_command: info import get
image.info/store:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: info/stores:get
operation_type: list
targets:
rust-sdk:
module_name: list
list_detailed:
operation_id: info/stores/detail:get
operation_type: list
targets:
rust-sdk:
module_name: list_detailed
rust-cli:
module_name: list
sdk_mod_name: list_detailed
cli_full_command: info store list
image.info/usage:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: info/usage:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: info usage list
image.cache:
spec_file: wrk/openapi_specs/image/v2.yaml
api_version: v2
operations:
list:
operation_id: cache:get
operation_type: list
targets:
rust-sdk:
module_name: list
rust-cli:
module_name: list
sdk_mod_name: list
cli_full_command: cache list
delete_all:
operation_id: cache:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete_all
rust-cli:
module_name: delete_all
sdk_mod_name: delete_all
cli_full_command: cache purge
update:
operation_id: cache/image_id:put
operation_type: set
targets:
rust-sdk:
module_name: set
rust-cli:
module_name: set
sdk_mod_name: set
cli_full_command: cache set
delete:
operation_id: cache/image_id:delete
operation_type: delete
targets:
rust-sdk:
module_name: delete
rust-cli:
module_name: delete
sdk_mod_name: delete
cli_full_command: cache delete