MCPcopy
hub / github.com/solo-io/unik / Run

Method Run

pkg/daemon/daemon.go:136–138  ·  view source on GitHub ↗
(port int)

Source from the content-addressed store, hash-verified

134}
135
136func (d *UnikDaemon) Run(port int) {
137 d.server.RunOnAddr(fmt.Sprintf(":%v", port))
138}
139
140func (d *UnikDaemon) addEndpoints() {
141 handle := func(res http.ResponseWriter, req *http.Request, action func() (interface{}, int, error)) {

Callers 15

CreateVmMethod · 0.45
DestroyVmMethod · 0.45
MkdirMethod · 0.45
RmdirMethod · 0.45
ImportVmdkMethod · 0.45
UploadFileMethod · 0.45
DownloadFileMethod · 0.45
CopyVmdkMethod · 0.45
PowerOnVmMethod · 0.45
PowerOffVmMethod · 0.45
AttachDiskMethod · 0.45
DetachDiskMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected