Documentation ¶
Overview ¶
@Author: LinkLeong link@icewhale.org
*@Date: 2021-12-07 17:14:41 *@LastEditors: LinkLeong *@LastEditTime: 2022-08-17 18:46:43 *@FilePath: /CasaOS/service/model/o_disk.go *@Description: *@Website: https://www.casaos.io *Copyright (c) 2022 by icewhale, All Rights Reserved.
Index ¶
Constants ¶
View Source
const ( MergeSourceBasePath = "SourceBasePath" MergeSourceVolumes = "SourceVolumes" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Merge ¶
type Merge struct { ID uint `gorm:"primarykey"` FSType string `json:"fstype"` MountPoint string `json:"mount_point" gorm:"uniqueIndex,check:mount_point<>''"` SourceBasePath *string `json:"source_base_path"` SourceVolumes []*Volume `json:"source_volumes" gorm:"many2many:o_merge_disk;"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
Merge
Click to show internal directories.
Click to hide internal directories.