module Artifactory::Resource::Repository::ClassMethods
Defined in:
artifactory/resources/repository.crInstance Method Summary
-
#all(options : Resource::Options = Resource::Options.new)
Get a list of all repositories in the system.
-
#find(name, options : Resource::Options = Resource::Options.new)
Find (fetch) a repository by name.
Instance Method Detail
Get a list of all repositories in the system.
@param [Hash] options the list of options
@return [ArrayResource::Repository] the list of builds
Find (fetch) a repository by name.
@example Find a repository by named key Repository.find(name: 'libs-release-local') #=> #Resource::Artifact
@param [Hash] options the list of options
@option options [String] :name the name of the repository to find @option options [Artifactory::Client] :client the client object to make the request with
@return [Resource::Repository, nil] an instance of the repository that matches the given name, or +nil+ if one does not exist