Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DwebVersion string DwebSSHVersion string )
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct {
Name string `json:"name"`
Src *string `json:"src"`
Image *[]Instruction `json:"image"`
}
type Instruction ¶
type Session ¶
type Session struct {
Name string `json:"name"`
Mode SessionMode `json:"mode"`
Port int64 `json:"port"`
AuthRequired *bool `json:"auth required"`
MaxAuthTries *int `json:"max auth tries"`
// only when (mode & ModeDockerized == ModeDockerized)
Location *string `json:"location"`
Links *[]Link `json:"links"`
Images *[]Image `json:"images"`
Users *[]User `json:"users"`
}
type SessionMode ¶
type SessionMode int
const ( ModeNative SessionMode = iota ModeDockerized )
func (SessionMode) MarshalJSON ¶
func (mode SessionMode) MarshalJSON() ([]byte, error)
func (*SessionMode) UnmarshalJSON ¶
func (mode *SessionMode) UnmarshalJSON(bb []byte) error
Click to show internal directories.
Click to hide internal directories.