{"id":13582463,"url":"https://github.com/Polpetta/datlabel","last_synced_at":"2025-04-06T14:30:56.306Z","repository":{"id":57518927,"uuid":"197076238","full_name":"Polpetta/datlabel","owner":"Polpetta","description":"Perform queries on Docker containers and services to retrieve labels and their values","archived":false,"fork":false,"pushed_at":"2019-10-18T10:13:20.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-05T22:41:20.854Z","etag":null,"topics":["docker","docker-library","docker-swarm"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Polpetta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-15T21:40:41.000Z","updated_at":"2022-11-17T07:10:22.000Z","dependencies_parsed_at":"2022-09-26T18:00:42.741Z","dependency_job_id":null,"html_url":"https://github.com/Polpetta/datlabel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polpetta%2Fdatlabel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polpetta%2Fdatlabel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polpetta%2Fdatlabel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polpetta%2Fdatlabel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Polpetta","download_url":"https://codeload.github.com/Polpetta/datlabel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247495740,"owners_count":20948102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-library","docker-swarm"],"created_at":"2024-08-01T15:02:44.324Z","updated_at":"2025-04-06T14:30:56.035Z","avatar_url":"https://github.com/Polpetta.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"Datlabel\n===\n\n[![Build Status](https://travis-ci.org/Polpetta/datlabel.svg?branch=master)](https://travis-ci.org/Polpetta/datlabel)\n\nDatlabel is a micro Go library that aims to make the searching, listing and\nfiltering of labels in Docker containers and services as easy as possible.\nOn top of that, it offers the possibility to search on Stacks too.\n\n## Build\nThe library is a standard Go project that uses modules. In order to build it,\nopen a shell and type:\n```shell script\ngo build github.com/Polpetta/datlabel\n```\n\n## Testing\nThe project has tests too. In order to run them, you need a local and\nworking Docker installation. On top of that, your Docker installation needs\nto be set up in Swarm mode. To wrap up, you need to follow this procedure:\n```shell script\ndocker swarm init # This initialize Docker into Swarm configuration\ngo test -tags=unit -count=1 ./... # Launch unit tests\ngo test -tags=intergation -count=1 ./... # Launch integration tests\ndocker swarm leave -f # Set it back Docker to classic mode\n```\n\nAlternatively, you can execute all the tests in one shot with:\n```shell script\ngo test -tags=\"unit integration\" -count=1 ./...\n```\n\n## License\n\nThis software is licensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPolpetta%2Fdatlabel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPolpetta%2Fdatlabel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPolpetta%2Fdatlabel/lists"}