Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding list of pods #715

Merged
merged 12 commits into from
May 7, 2021
Merged
96 changes: 96 additions & 0 deletions models/tenant_pod.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion portal-ui/build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="MinIO Console"/><link href="https://fonts.googleapis.com/css2?family=Lato:wght@400;500;700;900&display=swap" rel="stylesheet"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="manifest" href="/manifest.json"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#3a4e54"/><title>MinIO Console</title><link href="/static/css/2.32daf8f7.chunk.css" rel="stylesheet"><link href="/static/css/main.a19f3d53.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,l,i=r[0],a=r[1],p=r[2],c=0,s=[];c<i.length;c++)l=i[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,p||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;i<t.length;i++){var a=t[i];0!==o[a]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var i=this["webpackJsonpportal-ui"]=this["webpackJsonpportal-ui"]||[],a=i.push.bind(i);i.push=r,i=i.slice();for(var p=0;p<i.length;p++)r(i[p]);var f=a;t()}([])</script><script src="/static/js/2.1e7db62a.chunk.js"></script><script src="/static/js/main.ca4ff6a7.chunk.js"></script></body></html>

<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="MinIO Console"/><link href="https://fonts.googleapis.com/css2?family=Lato:wght@400;500;700;900&display=swap" rel="stylesheet"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="manifest" href="/manifest.json"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#3a4e54"/><title>MinIO Console</title><link href="/static/css/2.32daf8f7.chunk.css" rel="stylesheet"><link href="/static/css/main.a19f3d53.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,l,i=r[0],a=r[1],p=r[2],c=0,s=[];c<i.length;c++)l=i[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,p||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;i<t.length;i++){var a=t[i];0!==o[a]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var i=this["webpackJsonpportal-ui"]=this["webpackJsonpportal-ui"]||[],a=i.push.bind(i);i.push=r,i=i.slice();for(var p=0;p<i.length;p++)r(i[p]);var f=a;t()}([])</script><script src="/static/js/2.1e7db62a.chunk.js"></script><script src="/static/js/main.ca4ff6a7.chunk.js"></script></body></html>
3 changes: 3 additions & 0 deletions portal-ui/build/static/js/2.e6e35200.chunk.js

Large diffs are not rendered by default.

271 changes: 271 additions & 0 deletions portal-ui/build/static/js/2.e6e35200.chunk.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,271 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/

/*!
Copyright (c) 2017 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/

/*!
* Chart.js v2.9.4
* https://www.chartjs.org
* (c) 2020 Chart.js Contributors
* Released under the MIT License
*/

/*!
* cookie
* Copyright(c) 2012-2014 Roman Shtylman
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/

/*! Conditions:: INITIAL */

/*! Moment Duration Format v2.2.2
* https://github.com/jsmreese/moment-duration-format
* Date: 2018-02-16
*
* Duration format plugin function for the Moment.js library
* http://momentjs.com/
*
* Copyright 2018 John Madhavan-Reese
* Released under the MIT license
*/

/*! Production:: $accept : expression $end */

/*! Production:: css_value : ANGLE */

/*! Production:: css_value : CHS */

/*! Production:: css_value : EMS */

/*! Production:: css_value : EXS */

/*! Production:: css_value : FREQ */

/*! Production:: css_value : LENGTH */

/*! Production:: css_value : PERCENTAGE */

/*! Production:: css_value : REMS */

/*! Production:: css_value : RES */

/*! Production:: css_value : SUB css_value */

/*! Production:: css_value : TIME */

/*! Production:: css_value : VHS */

/*! Production:: css_value : VMAXS */

/*! Production:: css_value : VMINS */

/*! Production:: css_value : VWS */

/*! Production:: css_variable : CSS_VAR LPAREN CSS_CPROP COMMA math_expression RPAREN */

/*! Production:: css_variable : CSS_VAR LPAREN CSS_CPROP RPAREN */

/*! Production:: expression : math_expression EOF */

/*! Production:: math_expression : LPAREN math_expression RPAREN */

/*! Production:: math_expression : NESTED_CALC LPAREN math_expression RPAREN */

/*! Production:: math_expression : SUB PREFIX SUB NESTED_CALC LPAREN math_expression RPAREN */

/*! Production:: math_expression : css_value */

/*! Production:: math_expression : css_variable */

/*! Production:: math_expression : math_expression ADD math_expression */

/*! Production:: math_expression : math_expression DIV math_expression */

/*! Production:: math_expression : math_expression MUL math_expression */

/*! Production:: math_expression : math_expression SUB math_expression */

/*! Production:: math_expression : value */

/*! Production:: value : NUMBER */

/*! Production:: value : SUB NUMBER */

/*! Rule:: $ */

/*! Rule:: (--[0-9a-z-A-Z-]*) */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)% */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)Hz\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)ch\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)cm\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)deg\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)dpcm\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)dpi\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)dppx\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)em\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)ex\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)grad\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)in\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)kHz\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)mm\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)ms\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)pc\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)pt\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)px\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)rad\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)rem\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)s\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)turn\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)vh\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)vmax\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)vmin\b */

/*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)vw\b */

/*! Rule:: ([a-z]+) */

/*! Rule:: (calc) */

/*! Rule:: (var) */

/*! Rule:: , */

/*! Rule:: - */

/*! Rule:: \( */

/*! Rule:: \) */

/*! Rule:: \* */

/*! Rule:: \+ */

/*! Rule:: \/ */

/*! Rule:: \s+ */

/*! decimal.js-light v2.5.1 https://github.com/MikeMcl/decimal.js-light/LICENCE */

/**
* A better abstraction over CSS.
*
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
* @website https://github.com/cssinjs/jss
* @license MIT
*/

/** @license React v0.20.1
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v17.0.1
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v17.0.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v17.0.1
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v17.0.1
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**!
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.16.1-lts
* @license
* Copyright (c) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

//! moment.js
1 change: 1 addition & 0 deletions portal-ui/build/static/js/2.e6e35200.chunk.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions portal-ui/build/static/js/main.8cc2439a.chunk.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions portal-ui/build/static/js/main.8cc2439a.chunk.js.map

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions portal-ui/src/screens/Console/Tenants/ListTenants/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@ export interface IPool {
label?: string;
}

export interface IPodListElement {
name: string;
status: string;
timeCreated: string;
podIP: string;
restarts: number;
node: string;
time: string;
}

export interface IAddPoolRequest {
name: string;
servers: number;
Expand Down