Method: Gitlab::Client::Runners#runners

Defined in:
lib/gitlab/client/runners.rb

#runners(options = {}) ⇒ Array<Gitlab::ObjectifiedHash>

Get a list of specific runners available to the user.

Examples:

Gitlab.runners
Gitlab.runners(type: 'instance_type', status: 'active')
Gitlab.runners(tag_list: 'tag1,tag2')

Parameters:

  • options (Hash) (defaults to: {})

    A customizable set of options.

Options Hash (options):

  • :type(optional) (String)

    The type of runners to show, one of: instance_type, group_type, project_type

  • :status(optional) (String)

    The status of runners to show, one of: active, paused, online, offline

  • :tag_list(optional) (String)

    List of the runners tags (separated by comma)

Returns:

See Also:



20
21
22
# File 'lib/gitlab/client/runners.rb', line 20

def runners(options = {})
  get('/runners', query: options)
end