GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Polpetta/datlabel: Perform queries on Docker containers and services to retrieve labels and their values

BranchesTags
Open more actions menu

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
error
error
 
 
filter
filter
 
 
result
result
 
 
test
test
 
 
utils
utils
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
main.go
main.go
 
 

Repository files navigation

Datlabel

Build Status

Datlabel is a micro Go library that aims to make the searching, listing and filtering of labels in Docker containers and services as easy as possible. On top of that, it offers the possibility to search on Stacks too.

Build

The library is a standard Go project that uses modules. In order to build it, open a shell and type:

go build github.com/Polpetta/datlabel

Testing

The project has tests too. In order to run them, you need a local and working Docker installation. On top of that, your Docker installation needs to be set up in Swarm mode. To wrap up, you need to follow this procedure:

docker swarm init # This initialize Docker into Swarm configuration
go test -tags=unit -count=1 ./... # Launch unit tests
go test -tags=intergation -count=1 ./... # Launch integration tests
docker swarm leave -f # Set it back Docker to classic mode

Alternatively, you can execute all the tests in one shot with:

go test -tags="unit integration" -count=1 ./...

License

This software is licensed under the MIT license.

About

Perform queries on Docker containers and services to retrieve labels and their values

Topics

dockerdocker-librarydocker-swarm

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

0 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.