Documentation
¶
Index ¶
- Constants
- func Call(host string, serviceMethod string, req interface{}, res interface{}) error
- func Serve() error
- type ReqContextPull
- type ReqContextPush
- type ReqDockerRun
- type ReqDockerdStart
- type ReqExtRun
- type ResContextPull
- type ResContextPush
- type ResDockerRun
- type ResDockerdStart
- type ResExtRun
- type Rpc
- func (r *Rpc) ContextPull(req *ReqContextPull, res *ResContextPull) error
- func (r *Rpc) ContextPush(req *ReqContextPush, res *ResContextPush) error
- func (r *Rpc) DockerRun(req *ReqDockerRun, res *ResDockerRun) error
- func (r *Rpc) DockerdStart(req *ReqDockerdStart, res *ResDockerdStart) error
- func (r *Rpc) ExtRun(req *ReqExtRun, res *ResExtRun) error
Constants ¶
View Source
const MtdContextPull = "Rpc.ContextPull"
View Source
const MtdContextPush = "Rpc.ContextPush"
View Source
const MtdDockerRun = "Rpc.DockerRun"
View Source
const MtdDockerdStart = "Rpc.DockerdStart"
View Source
const MtdExtRun = "Rpc.ExtRun"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReqContextPull ¶
type ReqContextPull struct { }
type ReqContextPush ¶
type ReqDockerRun ¶
type ReqDockerRun struct {
Args []string
}
type ReqDockerdStart ¶
type ReqDockerdStart struct { }
type ResContextPull ¶
type ResContextPush ¶
type ResContextPush struct { }
type ResDockerRun ¶
type ResDockerRun struct {
Output string
}
type ResDockerdStart ¶
type ResDockerdStart struct { }
type Rpc ¶
type Rpc int
func (*Rpc) ContextPull ¶
func (r *Rpc) ContextPull(req *ReqContextPull, res *ResContextPull) error
func (*Rpc) ContextPush ¶
func (r *Rpc) ContextPush(req *ReqContextPush, res *ResContextPush) error
func (*Rpc) DockerRun ¶
func (r *Rpc) DockerRun(req *ReqDockerRun, res *ResDockerRun) error
func (*Rpc) DockerdStart ¶
func (r *Rpc) DockerdStart(req *ReqDockerdStart, res *ResDockerdStart) error
Click to show internal directories.
Click to hide internal directories.