Documentation
¶
Index ¶
- Constants
- func IamCleaner(locksmith Locksmith, sm StoreMeasurer, gc GarbageCollector, ...) *cleaner
- type BaseImage
- type BaseImagePuller
- type BaseImageSpec
- type Cleaner
- type CreateSpec
- type Creator
- type Deleter
- type DependencyManager
- type DiskUsage
- type GarbageCollector
- type IDMappingSpec
- type IDMappings
- type ImageCloner
- type ImageInfo
- type ImageSpec
- type Lister
- type Locksmith
- type MetricsEmitter
- type MountInfo
- type RootFSConfigurer
- type Statser
- type StoreMeasurer
- type StoreNamespacer
- type VolumeStats
Constants ¶
View Source
const ( GlobalLockKey = "global-groot-lock" MetricImageCreationTime = "ImageCreationTime" MetricImageDeletionTime = "ImageDeletionTime" MetricImageStatsTime = "ImageStatsTime" MetricImageCleanTime = "ImageCleanTime" )
View Source
const ImageReferenceFormat = "image:%s"
View Source
const NamespaceFilename = "namespace.json"
Variables ¶
This section is empty.
Functions ¶
func IamCleaner ¶ added in v0.2.0
func IamCleaner(locksmith Locksmith, sm StoreMeasurer, gc GarbageCollector, metricsEmitter MetricsEmitter, ) *cleaner
Types ¶
type BaseImagePuller ¶ added in v0.4.0
type BaseImagePuller interface {
Pull(logger lager.Logger, spec BaseImageSpec) (BaseImage, error)
}
type BaseImageSpec ¶ added in v0.4.0
type BaseImageSpec struct { DiskLimit int64 ExcludeBaseImageFromQuota bool BaseImageSrc *url.URL UIDMappings []IDMappingSpec GIDMappings []IDMappingSpec OwnerUID int OwnerGID int }
type CreateSpec ¶
type CreateSpec struct { ID string BaseImage string DiskLimit int64 Mount bool ExcludeBaseImageFromQuota bool CleanOnCreate bool CleanOnCreateThresholdBytes int64 CleanOnCreateIgnoreImages []string UIDMappings []IDMappingSpec GIDMappings []IDMappingSpec }
type Creator ¶ added in v0.2.0
type Creator struct {
// contains filtered or unexported fields
}
func IamCreator ¶ added in v0.2.0
func IamCreator( imageCloner ImageCloner, baseImagePuller BaseImagePuller, locksmith Locksmith, rootFSConfigurer RootFSConfigurer, dependencyManager DependencyManager, metricsEmitter MetricsEmitter, cleaner Cleaner) *Creator
type Deleter ¶ added in v0.2.0
type Deleter struct {
// contains filtered or unexported fields
}
func IamDeleter ¶ added in v0.2.0
func IamDeleter(imageCloner ImageCloner, dependencyManager DependencyManager, metricsEmitter MetricsEmitter) *Deleter
type DependencyManager ¶ added in v0.2.0
type GarbageCollector ¶ added in v0.2.0
type IDMappingSpec ¶
type IDMappings ¶ added in v0.20.0
type IDMappings struct { UIDMappings []IDMappingSpec GIDMappings []IDMappingSpec }
type ImageCloner ¶ added in v0.4.0
type MetricsEmitter ¶ added in v0.5.0
type RootFSConfigurer ¶ added in v0.4.0
type Statser ¶ added in v0.5.0
type Statser struct {
// contains filtered or unexported fields
}
func IamStatser ¶ added in v0.5.0
func IamStatser(imageCloner ImageCloner, metricsEmitter MetricsEmitter) *Statser
type StoreMeasurer ¶ added in v0.2.0
type StoreNamespacer ¶ added in v0.16.0
type StoreNamespacer struct {
// contains filtered or unexported fields
}
func NewStoreNamespacer ¶ added in v0.16.0
func NewStoreNamespacer(storePath string) *StoreNamespacer
func (*StoreNamespacer) ApplyMappings ¶ added in v0.20.0
func (n *StoreNamespacer) ApplyMappings(uidMappings, gidMappings []IDMappingSpec) error
func (*StoreNamespacer) Read ¶ added in v0.20.0
func (n *StoreNamespacer) Read() (IDMappings, error)
type VolumeStats ¶ added in v0.5.0
type VolumeStats struct {
DiskUsage DiskUsage `json:"disk_usage"`
}
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter
|
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.