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.15.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.15.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.15.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.15.0.rc1.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.15.0.rc1.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.15.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.15.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.14.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.13.4 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.14.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.13.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.14.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.13.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.14.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.13.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.13.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.13.0.rc2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.13.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.12.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.12.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js