mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 21:35:23 +02:00
16 lines
No EOL
377 B
JavaScript
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 = '';
|
|
} |