Documentation ¶
Overview ¶
Package glusterfs contains the internal representation of glusterfs volumes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ProbeVolumePlugins ¶
func ProbeVolumePlugins() []volume.VolumePlugin
This is the primary entrypoint for volume plugins.
Types ¶
type MinMaxAllocator ¶ added in v1.7.0
type MinMaxAllocator struct {
// contains filtered or unexported fields
}
func NewMinMaxAllocator ¶ added in v1.7.0
func NewMinMaxAllocator(min, max int) (*MinMaxAllocator, error)
func (*MinMaxAllocator) Allocate ¶ added in v1.7.0
func (a *MinMaxAllocator) Allocate(i int) (bool, error)
func (*MinMaxAllocator) AllocateNext ¶ added in v1.7.0
func (a *MinMaxAllocator) AllocateNext() (int, bool, error)
func (*MinMaxAllocator) Free ¶ added in v1.7.0
func (a *MinMaxAllocator) Free() int
func (*MinMaxAllocator) Has ¶ added in v1.7.0
func (a *MinMaxAllocator) Has(i int) bool
func (*MinMaxAllocator) Release ¶ added in v1.7.0
func (a *MinMaxAllocator) Release(i int) error
func (*MinMaxAllocator) SetRange ¶ added in v1.7.0
func (a *MinMaxAllocator) SetRange(min, max int) error
Click to show internal directories.
Click to hide internal directories.