Sha256: f4c2cae3a675ff6767bd04487b3281100f1d8c79cc542b2d1f13a6d1c1abce90

Contents?: true

Size: 755 Bytes

Versions: 71

Compression:

Stored size: 755 Bytes

Contents

/**
 * @ngdoc service
 * @name  Bastion.capsule-content.factory:CapsuleContent
 *
 * @requires BastionResource
 *
 * @description
 *   Provides a BastionResource for capsule content.
 */
angular.module('Bastion.capsule-content').factory('CapsuleContent',
    ['BastionResource', function (BastionResource) {

        return BastionResource('katello/api/capsules/:id/content/:action', {id: '@id'}, {
          syncStatus: {method: 'GET', isArray: false, params: {action: 'sync'}},
          sync: {method: 'post', isArray: false, params: {action: 'sync'}},
          cancelSync: {method: 'delete', isArray: false, params: {action: 'sync'}},
          reclaimSpace: {method: 'post', isArray: false, params: {action: 'reclaim_space'}}
        });

    }]
);

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
katello-4.16.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-4.14.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-4.14.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-4.15.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-4.15.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-4.15.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-4.14.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-4.14.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-4.14.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-4.14.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-4.14.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-4.14.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-4.13.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-4.13.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-4.12.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-4.13.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-4.12.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-4.12.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-4.12.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-4.12.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js