mirror of
https://github.com/containers/podman.git
synced 2025-09-11 17:15:06 +08:00

add service endpoint for the new API. Also supports the varlink implementation. Signed-off-by: baude <bbaude@redhat.com> Refactor to allow developer more control of API server * Add api.NewServerWithSettings() to create an API server with custom settings * Add api.ListenUnix() to create a UDS net.Listener and setup UDS Signed-off-by: Jhon Honce <jhonce@redhat.com> Signed-off-by: baude <bbaude@redhat.com> More service completion Add podman service command that allows users to run either a RESTful or varlink protocol API service. Addition of docs and RESTful listening. Signed-off-by: baude <bbaude@redhat.com> Signed-off-by: Brent Baude <bbaude@redhat.com>
12 lines
124 B
Go
12 lines
124 B
Go
// +build !varlink
|
|
|
|
package main
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
var (
|
|
_serviceCommand = &cobra.Command{
|
|
Use: "",
|
|
}
|
|
)
|