UNPKG

@itentialopensource/adapter-gitlab

Version:

This adapter integrates with system described as: gitlab.

143 lines 5.41 kB
[ { "id": 18, "name": "cluster-1", "domain": "example.com", "created_at": "2019-01-02T20:18:12.563Z", "provider_type": "user", "platform_type": "kubernetes", "environment_scope": "*", "cluster_type": "project_type", "user": { "id": 1, "name": "Administrator", "username": "root", "state": "active", "avatar_url": "https://www.gravatar.com/avatar/4249f4df72b..", "web_url": "https://gitlab.example.com/root" }, "platform_kubernetes": { "api_url": "https://104.197.68.152", "namespace": "cluster-1-namespace", "authorization_type": "rbac", "ca_cert": "-----BEGIN CERTIFICATE-----\r\nhFiK1L61owwDQYJKoZIhvcNAQELBQAw\r\nLzEtMCsGA1UEAxMkZDA1YzQ1YjctNzdiMS00NDY0LThjNmEtMTQ0ZDJkZjM4ZDBj\r\nMB4XDTE4MTIyNzIwMDM1MVoXDTIzMTIyNjIxMDM1MVowLzEtMCsGA1UEAxMkZDA1\r\nYzQ1YjctNzdiMS00NDY0LThjNmEtMTQ0ZDJkZjM.......-----END CERTIFICATE-----" }, "project": { "id": 26, "description": "", "name": "project-with-clusters-api", "name_with_namespace": "Administrator / project-with-clusters-api", "path": "project-with-clusters-api", "path_with_namespace": "root/project-with-clusters-api", "created_at": "2019-01-02T20:13:32.600Z", "tag_list": [], "ssh_url_to_repo": "ssh://gitlab.example.com/root/project-with-clusters-api.git", "http_url_to_repo": "https://gitlab.example.com/root/project-with-clusters-api.git", "web_url": "https://gitlab.example.com/root/project-with-clusters-api", "star_count": 0, "forks_count": 0, "last_activity_at": "2019-01-02T20:13:32.600Z", "namespace": { "id": 1, "name": "root", "path": "root", "kind": "user", "full_path": "root" } } }, { "id": 18, "name": "cluster-1", "domain": "example.com", "created_at": "2019-01-02T20:18:12.563Z", "provider_type": "user", "platform_type": "kubernetes", "environment_scope": "*", "cluster_type": "project_type", "user": { "id": 1, "name": "Administrator", "username": "root", "state": "active", "avatar_url": "https://www.gravatar.com/avatar/4249f4df72b..", "web_url": "https://gitlab.example.com/root" }, "platform_kubernetes": { "api_url": "https://104.197.68.152", "namespace": "cluster-1-namespace", "authorization_type": "rbac", "ca_cert": "-----BEGIN CERTIFICATE-----\r\nhFiK1L61owwDQYJKoZIhvcNAQELBQAw\r\nLzEtMCsGA1UEAxMkZDA1YzQ1YjctNzdiMS00NDY0LThjNmEtMTQ0ZDJkZjM4ZDBj\r\nMB4XDTE4MTIyNzIwMDM1MVoXDTIzMTIyNjIxMDM1MVowLzEtMCsGA1UEAxMkZDA1\r\nYzQ1YjctNzdiMS00NDY0LThjNmEtMTQ0ZDJkZjM.......-----END CERTIFICATE-----" }, "project": { "id": 26, "description": "", "name": "project-with-clusters-api", "name_with_namespace": "Administrator / project-with-clusters-api", "path": "project-with-clusters-api", "path_with_namespace": "root/project-with-clusters-api", "created_at": "2019-01-02T20:13:32.600Z", "tag_list": [], "ssh_url_to_repo": "ssh://gitlab.example.com/root/project-with-clusters-api.git", "http_url_to_repo": "https://gitlab.example.com/root/project-with-clusters-api.git", "web_url": "https://gitlab.example.com/root/project-with-clusters-api", "star_count": 0, "forks_count": 0, "last_activity_at": "2019-01-02T20:13:32.600Z", "namespace": { "id": 1, "name": "root", "path": "root", "kind": "user", "full_path": "root" } } }, { "id": 18, "name": "cluster-1", "domain": "example.com", "created_at": "2019-01-02T20:18:12.563Z", "provider_type": "user", "platform_type": "kubernetes", "environment_scope": "*", "cluster_type": "project_type", "user": { "id": 1, "name": "Administrator", "username": "root", "state": "active", "avatar_url": "https://www.gravatar.com/avatar/4249f4df72b..", "web_url": "https://gitlab.example.com/root" }, "platform_kubernetes": { "api_url": "https://104.197.68.152", "namespace": "cluster-1-namespace", "authorization_type": "rbac", "ca_cert": "-----BEGIN CERTIFICATE-----\r\nhFiK1L61owwDQYJKoZIhvcNAQELBQAw\r\nLzEtMCsGA1UEAxMkZDA1YzQ1YjctNzdiMS00NDY0LThjNmEtMTQ0ZDJkZjM4ZDBj\r\nMB4XDTE4MTIyNzIwMDM1MVoXDTIzMTIyNjIxMDM1MVowLzEtMCsGA1UEAxMkZDA1\r\nYzQ1YjctNzdiMS00NDY0LThjNmEtMTQ0ZDJkZjM.......-----END CERTIFICATE-----" }, "project": { "id": 26, "description": "", "name": "project-with-clusters-api", "name_with_namespace": "Administrator / project-with-clusters-api", "path": "project-with-clusters-api", "path_with_namespace": "root/project-with-clusters-api", "created_at": "2019-01-02T20:13:32.600Z", "tag_list": [], "ssh_url_to_repo": "ssh://gitlab.example.com/root/project-with-clusters-api.git", "http_url_to_repo": "https://gitlab.example.com/root/project-with-clusters-api.git", "web_url": "https://gitlab.example.com/root/project-with-clusters-api", "star_count": 0, "forks_count": 0, "last_activity_at": "2019-01-02T20:13:32.600Z", "namespace": { "id": 1, "name": "root", "path": "root", "kind": "user", "full_path": "root" } } } ]