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