Documentation
¶
Index ¶
- func AddImage(client srpc.ClientI, name string, img *image.Image) error
- func AddImageTrusted(client srpc.ClientI, name string, img *image.Image) error
- func ChangeImageExpiration(client srpc.ClientI, name string, expiresAt time.Time) error
- func CheckDirectory(client srpc.ClientI, name string) (bool, error)
- func CheckImage(client srpc.ClientI, name string) (bool, error)
- func ChownDirectory(client srpc.ClientI, dirname, ownerGroup string) error
- func DeleteImage(client srpc.ClientI, name string) error
- func DeleteUnreferencedObjects(client srpc.ClientI, percentage uint8, bytes uint64) error
- func FindLatestImage(client srpc.ClientI, dirname string, ignoreExpiring bool) (string, error)
- func FindLatestImageReq(client srpc.ClientI, request proto.FindLatestImageRequest) (string, error)
- func GetImage(client srpc.ClientI, name string) (*image.Image, error)
- func GetImageExpiration(client srpc.ClientI, name string) (time.Time, error)
- func GetImageWithTimeout(client srpc.ClientI, name string, timeout time.Duration) (*image.Image, error)
- func GetReplicationMaster(client srpc.ClientI) (string, error)
- func ListDirectories(client srpc.ClientI) ([]image.Directory, error)
- func ListImages(client srpc.ClientI) ([]string, error)
- func ListSelectedImages(client srpc.ClientI, request proto.ListSelectedImagesRequest) ([]string, error)
- func ListUnreferencedObjects(client srpc.ClientI) (map[hash.Hash]uint64, error)
- func MakeDirectory(client srpc.ClientI, dirname string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddImageTrusted ¶
func ChangeImageExpiration ¶
func FindLatestImage ¶
func FindLatestImageReq ¶ added in v0.3.3
func GetImageExpiration ¶
func GetImageWithTimeout ¶
func GetReplicationMaster ¶ added in v0.3.4
func ListSelectedImages ¶ added in v0.3.4
func ListUnreferencedObjects ¶
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.