volumes

package
v0.0.0-...-3098c48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2016 License: MIT Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL