portainer/app/docker/components/imageRegistry/por-image-registry.js

21 lines
486 B
JavaScript

angular.module('portainer.docker').component('porImageRegistry', {
templateUrl: './por-image-registry.html',
controller: 'porImageRegistryController',
bindings: {
model: '=', // must be of type PorImageRegistryModel
autoComplete: '<',
labelClass: '@',
inputClass: '@',
endpoint: '<',
isAdmin: '<',
checkRateLimits: '<',
onImageChange: '&',
setValidity: '<',
namespace: '<',
},
require: {
form: '^form',
},
transclude: true,
});