Documentation ¶
Overview ¶
Package volumes contains the business logic of the Volume Resource.
Index ¶
Constants ¶
View Source
const (
// PodsBasePath is the Kubelets Pod folder.
PodsBasePath = "/var/lib/kubelet/pods"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { List(uid string) (*api.VolumeList, error) Get(uid, volume string) (*api.Volume, error) Freeze(uid, volume string) (*api.Volume, error) Thaw(uid, volume string) (*api.Volume, error) }
Manager contains the buisness logic for the Volume Resource.
func NewManager ¶
func NewManager(fs fs.FileSystem) Manager
NewManager creates a new Volume Manager.
Click to show internal directories.
Click to hide internal directories.