Implement Cluster Agent Tokens REST API
This change set implements a first iteration of the Cluster Agent Tokens REST API as described in https://gitlab.com/gitlab-org/gitlab/-/issues/347046 and located at `/projects/:id/cluster_agents/:agent_id/tokens`. Changelog: added MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/85704 Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/347046 Epic: https://gitlab.com/groups/gitlab-org/-/epics/7204
显示
- doc/api/api_resources.md 1 个添加, 0 个删除doc/api/api_resources.md
- doc/api/cluster_agent_tokens.md 216 个添加, 0 个删除doc/api/cluster_agent_tokens.md
- lib/api/api.rb 1 个添加, 0 个删除lib/api/api.rb
- lib/api/clusters/agent_tokens.rb 98 个添加, 0 个删除lib/api/clusters/agent_tokens.rb
- lib/api/entities/clusters/agent_token.rb 11 个添加, 0 个删除lib/api/entities/clusters/agent_token.rb
- lib/api/entities/clusters/agent_token_basic.rb 17 个添加, 0 个删除lib/api/entities/clusters/agent_token_basic.rb
- lib/api/entities/clusters/agent_token_with_token.rb 11 个添加, 0 个删除lib/api/entities/clusters/agent_token_with_token.rb
- spec/factories/clusters/agent_tokens.rb 1 个添加, 0 个删除spec/factories/clusters/agent_tokens.rb
- spec/fixtures/api/schemas/public_api/v4/agent_token.json 24 个添加, 0 个删除spec/fixtures/api/schemas/public_api/v4/agent_token.json
- spec/fixtures/api/schemas/public_api/v4/agent_token_basic.json 22 个添加, 0 个删除...fixtures/api/schemas/public_api/v4/agent_token_basic.json
- spec/fixtures/api/schemas/public_api/v4/agent_token_with_token.json 26 个添加, 0 个删除...res/api/schemas/public_api/v4/agent_token_with_token.json
- spec/fixtures/api/schemas/public_api/v4/agent_tokens.json 4 个添加, 0 个删除spec/fixtures/api/schemas/public_api/v4/agent_tokens.json
- spec/requests/api/clusters/agent_tokens_spec.rb 179 个添加, 0 个删除spec/requests/api/clusters/agent_tokens_spec.rb
加载中
想要评论请 注册 或 登录