Documentation
¶
Index ¶
- func GetHostIp() (string, error)
- func GetUserHomeDir() (string, error)
- func InsideBox() bool
- type Proxy
- func (p *Proxy) AddFwd(chMsg []sshclient.StartCh) ([]byte, error)
- func (p *Proxy) Exit() error
- func (p *Proxy) ListPorts(chMsg sshclient.StartCh) ([]byte, error)
- func (p *Proxy) MakeRequest(path string, params ...[]byte) ([]byte, error)
- func (p *Proxy) RemoveAllFwd(chMsg sshclient.StartCh) ([]byte, error)
- func (p *Proxy) RemoveFwd(chMsg []sshclient.StartCh) ([]byte, error)
- func (p *Proxy) Restart() ([]byte, error)
- func (p *Proxy) RestartContainer(rb types.RestartBody) ([]byte, error)
- func (p *Proxy) Start() error
- func (p *Proxy) Status() bool
- func (p *Proxy) Stop() ([]byte, error)
- func (p *Proxy) WgStatus() ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetUserHomeDir ¶
Types ¶
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
func (*Proxy) MakeRequest ¶
func (*Proxy) RestartContainer ¶
func (p *Proxy) RestartContainer(rb types.RestartBody) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.