Documentation
¶
Index ¶
- func LookupUUID(db *gorp.DbMap, field map[string]interface{}) string
- type Jail
- func (jail *Jail) Archive(archivename string) error
- func (jail *Jail) CreateSnapshot(snapname string) error
- func (jail *Jail) Delete(db *gorp.DbMap) error
- func (jail *Jail) DeleteSnapshot(snapname string) error
- func (jail *Jail) ForceStop()
- func (jail *Jail) GetPath() (string, error)
- func (jail *Jail) GetUUID() string
- func (jail *Jail) IsOnline() bool
- func (jail *Jail) MarshalJSON() ([]byte, error)
- func (jail *Jail) NetworkingStatus() string
- func (jail *Jail) Persist(db *gorp.DbMap) error
- func (jail *Jail) PostGet(s gorp.SqlExecutor) error
- func (jail *Jail) PostStart() error
- func (jail *Jail) PrepareGuestNetworking() error
- func (jail *Jail) PrepareHostNetworking() error
- func (jail *Jail) RestoreSnapshot(snapname string) error
- func (jail *Jail) Start() error
- func (jail *Jail) Status() string
- func (jail *Jail) Stop() error
- func (jail *Jail) Validate() error
- type JailJSON
- type JailOption
- type MountPoint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Jail ¶
type Jail struct {
UUID string
Name string
HostName string
CreateDate int
ModificationDate int
ZFSDataset string
NetworkDevices []*network.NetworkDevice `db:"-"`
Mounts []*MountPoint `db:"-"`
Options []*JailOption `db:"-"`
BootEnvironments map[string]bool `db:"-"`
Snapshots []string `db:"-"`
ZFSDatasetObj *zfs.Dataset `db:"-" json:"-"`
Routes []*network.Route `db:"-"`
Path string `db:"-"`
Dirty bool `db:"-"`
}
func GetAllJails ¶
func (*Jail) CreateSnapshot ¶
func (*Jail) DeleteSnapshot ¶
func (*Jail) MarshalJSON ¶
func (*Jail) NetworkingStatus ¶
func (*Jail) PrepareGuestNetworking ¶
func (*Jail) PrepareHostNetworking ¶
func (*Jail) RestoreSnapshot ¶
type JailOption ¶
Click to show internal directories.
Click to hide internal directories.