Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultClient = NewClient()
DefaultClient for the retention
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // Get the tag candidates under the repository // // Arguments: // repo *art.Repository : repository info // // Returns: // []*art.Candidate : candidates returned // error : common error if any errors occurred GetCandidates(repo *selector.Repository) ([]*selector.Candidate, error) // Delete the given repository // // Arguments: // repo *art.Repository : repository info // // Returns: // error : common error if any errors occurred DeleteRepository(repo *selector.Repository) error // Delete the specified candidate // // Arguments: // candidate *art.Candidate : the deleting candidate // // Returns: // error : common error if any errors occurred Delete(candidate *selector.Candidate) error }
Client is designed to access core service to get required infos
Click to show internal directories.
Click to hide internal directories.