Sha256: 81ead81eed7245812a43b60030e369da7b3201c46b096f3fa4e4f10fe73388ee

Contents?: true

Size: 831 Bytes

Versions: 60

Compression:

Stored size: 831 Bytes

Contents

/**
 * @ngdoc service
 * @name  Bastion.docker-tags.factory:DockerTag
 *
 * @requires BastionResource
 *
 * @description
 *   Provides a BastionResource for Docker Tags
 */
angular.module('Bastion.docker-tags').factory('DockerTag',
    ['BastionResource', function (BastionResource) {

        return BastionResource('katello/api/v2/docker_tags/:id/',
            {id: '@id'},
            {
                autocomplete: {method: 'GET', isArray: true, params: {id: 'auto_complete_search'}},
                'autocompleteName': {method: 'GET', isArray: false, params: {id: 'auto_complete_name'},
                    transformResponse: function (data) {
                        data = angular.fromJson(data);
                        return {results: data};
                    }
                }
            }
        );

    }]
);

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
katello-3.9.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.7.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.7.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.8.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.8.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.8.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.7.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.8.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.7.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.7.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.5.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.6.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.6.0.1.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.6.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.6.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.5.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.5.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.5.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.5.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.5.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js