Sha256: 66313465ca651bd5d2d8df25f9f14e018ec09d3d930a0ea48c6dbdde757e057c
Contents?: true
Size: 1.03 KB
Versions: 3
Compression:
Stored size: 1.03 KB
Contents
# frozen_string_literal: true module ApiRoutes def session_uri(hostname) "#{hostname}/api/cli/v1/session" end def projects_uri(hostname) "#{hostname}/api/cli/v1/projects" end def compose_file_uri(hostname, project_slug) "#{hostname}/api/cli/v1/projects/#{project_slug}/compose_file" end def validate_compose_file_uri(hostname, project_slug) "#{compose_files_uri(hostname, project_slug)}/validate" end def deployments_uri(hostname, project_slug) "#{hostname}/api/cli/v1/projects/#{project_slug}/deployments" end def deployment_uri(hostname, project_slug, deployment_id) "#{hostname}/api/cli/v1/projects/#{project_slug}/deployments/#{deployment_id}" end def activity_items_uri(hostname, project_slug, deployment_id) "#{hostname}/api/cli/v1/projects/#{project_slug}/deployments/#{deployment_id}/activity_items" end def deploy_containers_uri(hostname, project_slug, deployment_id) "#{hostname}/api/cli/v1/projects/#{project_slug}/deployments/#{deployment_id}/deploy_containers" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
uffizzi-cli-0.2.2 | lib/uffizzi/clients/api/api_routes.rb |
uffizzi-cli-0.2.1 | lib/uffizzi/clients/api/api_routes.rb |
uffizzi-cli-0.2.0 | lib/uffizzi/clients/api/api_routes.rb |