Documentation
¶
Index ¶
- func ExpandCvmfsLayerPaths(oldArray []string, newArray []string, i int) (result []string)
- func GetCvmfsLayerPaths(layers []ThinImageLayer, cvmfsMountPath string) []string
- func IsThinImageLayer(diffPath string) bool
- func ParseCvmfsLocation(location string) (repo string, folder string)
- func ParseOptions(options []string) (map[string]string, error)
- func ParseThinUrl(url string) (schema string, location string)
- func WriteThinFile(thin ThinImage) (string, error)
- type ICvmfsManager
- type MinioConfig
- type ThinImage
- type ThinImageLayer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandCvmfsLayerPaths ¶
func GetCvmfsLayerPaths ¶
func GetCvmfsLayerPaths(layers []ThinImageLayer, cvmfsMountPath string) []string
func IsThinImageLayer ¶
func ParseCvmfsLocation ¶
func ParseThinUrl ¶
func WriteThinFile ¶
Types ¶
type ICvmfsManager ¶
type ICvmfsManager interface { GetLayers(layers ...ThinImageLayer) error PutLayers(layers ...ThinImageLayer) error PutAll() error Remount(repo string) error UploadNewLayer(string) (ThinImageLayer, error) }
func NewCvmfsManager ¶
func NewCvmfsManager(cvmfsMountPath, cvmfsMountMethod string) ICvmfsManager
type MinioConfig ¶
type ThinImage ¶
type ThinImage struct { Version string `json:"version"` MinVersion string `json:"min_version,omitempty"` Origin string `json:"origin,omitempty"` Layers []ThinImageLayer `json:"layers"` Comment string `json:"comment,omitempty"` }
func ReadThinFile ¶
func (*ThinImage) AddLayer ¶
func (t *ThinImage) AddLayer(newLayer ThinImageLayer)
type ThinImageLayer ¶
func GetNestedLayerIDs ¶
func GetNestedLayerIDs(diffPath string) []ThinImageLayer
Click to show internal directories.
Click to hide internal directories.