示例#1
0
func (nc *nspawnCluster) FleetctlWithInput(input string, args ...string) (string, string, error) {
	args = append([]string{"--etcd-key-prefix=" + nc.keyspace()}, args...)
	return util.RunFleetctlWithInput(input, args...)
}
示例#2
0
文件: nspawn.go 项目: jonboulle/fleet
func (nc *nspawnCluster) FleetctlWithInput(m Member, input string, args ...string) (string, string, error) {
	handleEndpointFlag(m, false, &args)
	return util.RunFleetctlWithInput(input, args...)
}
示例#3
0
func (nc *nspawnCluster) FleetctlWithInput(m Member, input string, args ...string) (string, string, error) {
	args = append([]string{"--experimental-api", "--endpoint=" + m.Endpoint()}, args...)
	return util.RunFleetctlWithInput(input, args...)
}