mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
742db1737c
Signed-off-by: Madhu Venugopal <madhu@docker.com>
15 lines
328 B
Go
15 lines
328 B
Go
// +build experimental
|
|
|
|
package client
|
|
|
|
import (
|
|
"os"
|
|
|
|
nwclient "github.com/docker/libnetwork/client"
|
|
)
|
|
|
|
func (cli *DockerCli) CmdService(args ...string) error {
|
|
nCli := nwclient.NewNetworkCli(cli.out, cli.err, nwclient.CallFunc(cli.call))
|
|
args = append([]string{"service"}, args...)
|
|
return nCli.Cmd(os.Args[0], args...)
|
|
}
|