Documentation
¶
Index ¶
- Variables
- func ListPlans() (map[string][]VolumePlan, error)
- func RenameTeam(oldName, newName string) error
- type Filter
- type Volume
- func (v *Volume) BindApp(appName, mountPoint string, readOnly bool) error
- func (v *Volume) Delete() error
- func (v *Volume) LoadBinds() ([]VolumeBind, error)
- func (v *Volume) Save() error
- func (v *Volume) UnbindApp(appName, mountPoint string) error
- func (v *Volume) UnmarshalPlan(result interface{}) error
- func (v *Volume) Validate() error
- type VolumeBind
- type VolumeBindID
- type VolumePlan
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ListPlans ¶
func ListPlans() (map[string][]VolumePlan, error)
func RenameTeam ¶
Types ¶
type Volume ¶
type Volume struct {
Name string `bson:"_id"`
Pool string
Plan VolumePlan
TeamOwner string
Status string
Binds []VolumeBind `bson:"-"`
Opts map[string]string `bson:",omitempty"`
}
func ListByFilter ¶
func (*Volume) LoadBinds ¶
func (v *Volume) LoadBinds() ([]VolumeBind, error)
func (*Volume) UnmarshalPlan ¶
type VolumeBind ¶
type VolumeBind struct {
ID VolumeBindID `bson:"_id"`
ReadOnly bool
}
type VolumeBindID ¶
type VolumePlan ¶
Click to show internal directories.
Click to hide internal directories.