An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 5.1% on proxy.golang.org
Top 1.8% dependent packages on proxy.golang.org
Top 3.5% dependent repos on proxy.golang.org
Top 6.8% forks on proxy.golang.org

proxy.golang.org : github.com/cpuguy83/go-docker

package docker provides a client for accessing the Docker API. *Usage* All client operations are dependent on a transport. Transports are defined in the transport package. You can implement your own, here is the interface: Do is the main function to implement, it takes an HTTP method, a uri (e.g. /containers/json), and a lits of options for configuring an *http.Request (e.g. to add request headers, query params, etc.) DoRaw is used only for endpoints that need to “hijack” the http connection (ie. drop all HTTP semantics and drop to a raw, bi-directional stream). This is used for container attach. The package contains a default transport that you can use directly, or wrap, as well as helpers for creating it from DOCKER_HOST style connection strings. Once you have a transport you can create a client: Or if you don’t provide a transport, the default for the platform will be used. Perform actions on a container:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/cpuguy83/go-docker
License: MIT
Latest release: over 1 year ago
First release: over 2 years ago
Namespace: github.com/cpuguy83
Dependent packages: 16
Dependent repositories: 2
Stars: 17 on GitHub
Forks: 9 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 4 days ago

    Loading...
    Readme
    Loading...