1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-04 21:35:23 +02:00
portainer/app/docker/models/porImageRegistry.js
2019-11-25 16:10:41 +01:00

16 lines
No EOL
377 B
JavaScript

/**
* This model should be used with por-image-registry component
* And bound to the 'model' attribute
*
* // viewController.js
*
* this.imageModel = new PorImageRegistryModel();
*
* // view.html
* <por-image-registry model="$ctrl.imageModel" ... />
*/
export function PorImageRegistryModel() {
this.UseRegistry = true;
this.Registry = {};
this.Image = '';
}