uffizzi-cli 1.0.5 → 2.0.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/uffizzi.rb +1 -0
- data/lib/uffizzi/auth_helper.rb +13 -5
- data/lib/uffizzi/cli/account.rb +122 -0
- data/lib/uffizzi/cli/cluster.rb +363 -0
- data/lib/uffizzi/cli/common.rb +2 -4
- data/lib/uffizzi/cli/config.rb +5 -4
- data/lib/uffizzi/cli/connect.rb +14 -8
- data/lib/uffizzi/cli/disconnect.rb +1 -1
- data/lib/uffizzi/cli/login.rb +130 -66
- data/lib/uffizzi/cli/login_by_identity_token.rb +11 -7
- data/lib/uffizzi/cli/preview/service.rb +1 -1
- data/lib/uffizzi/cli/preview.rb +33 -32
- data/lib/uffizzi/cli/project.rb +17 -9
- data/lib/uffizzi/cli.rb +46 -7
- data/lib/uffizzi/clients/api/api_client.rb +92 -2
- data/lib/uffizzi/clients/api/api_routes.rb +44 -0
- data/lib/uffizzi/clients/api/http_client.rb +19 -7
- data/lib/uffizzi/config_file.rb +15 -40
- data/lib/uffizzi/error.rb +15 -0
- data/lib/uffizzi/helpers/config_helper.rb +49 -0
- data/lib/uffizzi/helpers/file_helper.rb +25 -0
- data/lib/uffizzi/helpers/login_helper.rb +33 -0
- data/lib/uffizzi/helpers/project_helper.rb +19 -0
- data/lib/uffizzi/promt.rb +4 -0
- data/lib/uffizzi/response_helper.rb +33 -14
- data/lib/uffizzi/services/cluster_service.rb +59 -0
- data/lib/uffizzi/services/compose_file_service.rb +5 -4
- data/lib/uffizzi/services/env_variables_service.rb +1 -1
- data/lib/uffizzi/services/github_service.rb +21 -0
- data/lib/uffizzi/services/kubeconfig_service.rb +132 -0
- data/lib/uffizzi/services/preview_service.rb +52 -18
- data/lib/uffizzi/shell.rb +19 -16
- data/lib/uffizzi/token.rb +37 -0
- data/lib/uffizzi/version.rb +1 -1
- data/lib/uffizzi.rb +10 -0
- data/man/uffizzi +7 -5
- data/man/uffizzi-account +29 -0
- data/man/uffizzi-account-list +26 -0
- data/man/uffizzi-account-list.html +103 -0
- data/man/uffizzi-account-list.ronn +19 -0
- data/man/uffizzi-account-set-default +29 -0
- data/man/uffizzi-account-set-default.html +105 -0
- data/man/uffizzi-account-set-default.ronn +22 -0
- data/man/uffizzi-account.html +106 -0
- data/man/uffizzi-account.ronn +23 -0
- data/man/uffizzi-cluster +37 -0
- data/man/uffizzi-cluster-create +49 -0
- data/man/uffizzi-cluster-create.ronn +41 -0
- data/man/uffizzi-cluster-delete +32 -0
- data/man/uffizzi-cluster-delete.ronn +24 -0
- data/man/uffizzi-cluster-describe +39 -0
- data/man/uffizzi-cluster-describe.ronn +30 -0
- data/man/uffizzi-cluster-list +34 -0
- data/man/uffizzi-cluster-list.ronn +26 -0
- data/man/uffizzi-cluster-update-kubeconfig +37 -0
- data/man/uffizzi-cluster-update-kubeconfig.ronn +29 -0
- data/man/uffizzi-cluster.ronn +32 -0
- data/man/uffizzi-compose +39 -0
- data/man/uffizzi-compose-create +67 -0
- data/man/uffizzi-compose-create.ronn +57 -0
- data/man/uffizzi-compose-delete +38 -0
- data/man/uffizzi-compose-delete.ronn +29 -0
- data/man/uffizzi-compose-describe +38 -0
- data/man/uffizzi-compose-describe.ronn +29 -0
- data/man/uffizzi-compose-events +38 -0
- data/man/uffizzi-compose-events.ronn +29 -0
- data/man/uffizzi-compose-list +58 -0
- data/man/uffizzi-compose-list.ronn +49 -0
- data/man/uffizzi-compose-service-list +42 -0
- data/man/uffizzi-compose-service-list.ronn +32 -0
- data/man/uffizzi-compose-service-logs +59 -0
- data/man/uffizzi-compose-service-logs.ronn +48 -0
- data/man/uffizzi-compose-update +61 -0
- data/man/uffizzi-compose-update.ronn +51 -0
- data/man/uffizzi-compose.ronn +33 -0
- data/man/uffizzi-compose_service_logs +59 -0
- data/man/uffizzi-compose_service_logs.ronn +50 -0
- data/man/uffizzi-config +2 -2
- data/man/uffizzi-config.ronn +1 -1
- data/man/uffizzi-connect +2 -4
- data/man/uffizzi-connect-acr +2 -2
- data/man/uffizzi-connect-acr.ronn +1 -1
- data/man/uffizzi-connect-docker-hub +2 -2
- data/man/uffizzi-connect-docker-hub.ronn +1 -1
- data/man/uffizzi-connect-docker-registry +2 -2
- data/man/uffizzi-connect-docker-registry.ronn +1 -1
- data/man/uffizzi-connect-ecr +2 -2
- data/man/uffizzi-connect-ecr.ronn +1 -1
- data/man/uffizzi-connect-gcr +2 -2
- data/man/uffizzi-connect-gcr.ronn +1 -1
- data/man/uffizzi-connect-ghcr +2 -2
- data/man/uffizzi-connect-ghcr.ronn +1 -1
- data/man/uffizzi-connect.ronn +2 -2
- data/man/uffizzi-disconnect +2 -2
- data/man/uffizzi-disconnect.ronn +1 -1
- data/man/uffizzi-login +7 -3
- data/man/uffizzi-login-by-identity-token +3 -3
- data/man/uffizzi-login-by-identity-token.ronn +2 -2
- data/man/uffizzi-login.html +113 -0
- data/man/uffizzi-login.ronn +6 -2
- data/man/uffizzi-logout +2 -2
- data/man/uffizzi-logout.ronn +1 -1
- data/man/uffizzi-preview +9 -9
- data/man/uffizzi-preview-create +22 -20
- data/man/uffizzi-preview-create.ronn +28 -26
- data/man/uffizzi-preview-delete +11 -10
- data/man/uffizzi-preview-delete.ronn +12 -11
- data/man/uffizzi-preview-describe +10 -10
- data/man/uffizzi-preview-describe.ronn +11 -11
- data/man/uffizzi-preview-events +12 -11
- data/man/uffizzi-preview-events.ronn +13 -12
- data/man/uffizzi-preview-list +19 -18
- data/man/uffizzi-preview-list.ronn +21 -20
- data/man/uffizzi-preview-service-list +16 -12
- data/man/uffizzi-preview-service-list.ronn +16 -13
- data/man/uffizzi-preview-service-logs +14 -12
- data/man/uffizzi-preview-service-logs.ronn +18 -17
- data/man/uffizzi-preview-update +19 -18
- data/man/uffizzi-preview-update.ronn +21 -20
- data/man/uffizzi-preview.ronn +10 -10
- data/man/uffizzi-preview_service_logs +14 -12
- data/man/uffizzi-preview_service_logs.ronn +18 -17
- data/man/uffizzi-project +3 -3
- data/man/uffizzi-project-compose +2 -2
- data/man/uffizzi-project-compose-describe +2 -2
- data/man/uffizzi-project-compose-describe.ronn +1 -1
- data/man/uffizzi-project-compose-set +2 -2
- data/man/uffizzi-project-compose-set.ronn +1 -1
- data/man/uffizzi-project-compose-unset +2 -2
- data/man/uffizzi-project-compose-unset.ronn +1 -1
- data/man/uffizzi-project-compose.ronn +1 -1
- data/man/uffizzi-project-create +2 -2
- data/man/uffizzi-project-create.ronn +1 -1
- data/man/uffizzi-project-delete +2 -2
- data/man/uffizzi-project-delete.ronn +1 -1
- data/man/uffizzi-project-describe +3 -3
- data/man/uffizzi-project-describe.ronn +1 -1
- data/man/uffizzi-project-preview-describe +37 -0
- data/man/uffizzi-project-preview-describe.ronn +29 -0
- data/man/uffizzi-project-preview-set +66 -0
- data/man/uffizzi-project-preview-set.ronn +57 -0
- data/man/uffizzi-project-secret +2 -2
- data/man/uffizzi-project-secret-create +2 -2
- data/man/uffizzi-project-secret-create.ronn +1 -1
- data/man/uffizzi-project-secret-delete +2 -2
- data/man/uffizzi-project-secret-delete.ronn +1 -1
- data/man/uffizzi-project-secret-list +2 -2
- data/man/uffizzi-project-secret-list.ronn +1 -1
- data/man/uffizzi-project-secret.ronn +1 -1
- data/man/uffizzi-project-set-default +2 -2
- data/man/uffizzi-project-set-default.ronn +1 -1
- data/man/uffizzi-project.html +124 -0
- data/man/uffizzi-project.ronn +2 -2
- data/man/uffizzi.ronn +12 -10
- metadata +134 -22
@@ -0,0 +1,103 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv='content-type' content='text/html;charset=utf8'>
|
5
|
+
<meta name='generator' content='Ronn-NG/v0.9.1 (http://github.com/apjanke/ronn-ng/tree/0.9.1)'>
|
6
|
+
<title>list the accounts of the user</title>
|
7
|
+
<style type='text/css' media='all'>
|
8
|
+
/* style: man */
|
9
|
+
body#manpage {margin:0}
|
10
|
+
.mp {max-width:100ex;padding:0 9ex 1ex 4ex}
|
11
|
+
.mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
|
12
|
+
.mp h2 {margin:10px 0 0 0}
|
13
|
+
.mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
|
14
|
+
.mp h3 {margin:0 0 0 4ex}
|
15
|
+
.mp dt {margin:0;clear:left}
|
16
|
+
.mp dt.flush {float:left;width:8ex}
|
17
|
+
.mp dd {margin:0 0 0 9ex}
|
18
|
+
.mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
|
19
|
+
.mp pre {margin-bottom:20px}
|
20
|
+
.mp pre+h2,.mp pre+h3 {margin-top:22px}
|
21
|
+
.mp h2+pre,.mp h3+pre {margin-top:5px}
|
22
|
+
.mp img {display:block;margin:auto}
|
23
|
+
.mp h1.man-title {display:none}
|
24
|
+
.mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
|
25
|
+
.mp h2 {font-size:16px;line-height:1.25}
|
26
|
+
.mp h1 {font-size:20px;line-height:2}
|
27
|
+
.mp {text-align:justify;background:#fff}
|
28
|
+
.mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
|
29
|
+
.mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
|
30
|
+
.mp u {text-decoration:underline}
|
31
|
+
.mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
|
32
|
+
.mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
|
33
|
+
.mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
|
34
|
+
.mp b.man-ref {font-weight:normal;color:#434241}
|
35
|
+
.mp pre {padding:0 4ex}
|
36
|
+
.mp pre code {font-weight:normal;color:#434241}
|
37
|
+
.mp h2+pre,h3+pre {padding-left:0}
|
38
|
+
ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
|
39
|
+
ol.man-decor {width:100%}
|
40
|
+
ol.man-decor li.tl {text-align:left}
|
41
|
+
ol.man-decor li.tc {text-align:center;letter-spacing:4px}
|
42
|
+
ol.man-decor li.tr {text-align:right;float:right}
|
43
|
+
</style>
|
44
|
+
</head>
|
45
|
+
<!--
|
46
|
+
The following styles are deprecated and will be removed at some point:
|
47
|
+
div#man, div#man ol.man, div#man ol.head, div#man ol.man.
|
48
|
+
|
49
|
+
The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
|
50
|
+
.man-navigation should be used instead.
|
51
|
+
-->
|
52
|
+
<body id='manpage'>
|
53
|
+
<div class='mp' id='man'>
|
54
|
+
|
55
|
+
<div class='man-navigation' style='display:none'>
|
56
|
+
<a href="#NAME">NAME</a>
|
57
|
+
<a href="#SYNOPSIS">SYNOPSIS</a>
|
58
|
+
<a href="#DESCRIPTION">DESCRIPTION</a>
|
59
|
+
<a href="#EXAMPLES">EXAMPLES</a>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<ol class='man-decor man-head man head'>
|
63
|
+
<li class='tl'>uffizzi-account-list</li>
|
64
|
+
<li class='tc'></li>
|
65
|
+
<li class='tr'>uffizzi-account-list</li>
|
66
|
+
</ol>
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
<h2 id="NAME">NAME</h2>
|
71
|
+
<p class="man-name">
|
72
|
+
<code>uffizzi-account-list</code> - <span class="man-whatis">list the accounts of the user</span>
|
73
|
+
</p>
|
74
|
+
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
75
|
+
<pre><code>uffizzi account list
|
76
|
+
</code></pre>
|
77
|
+
|
78
|
+
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
79
|
+
<pre><code>Shows a list of the container services that make up a given preview
|
80
|
+
deployment.
|
81
|
+
|
82
|
+
This command can fail for the following reasons:
|
83
|
+
- The user is not authenticated
|
84
|
+
|
85
|
+
For more information on preview services, see:
|
86
|
+
https://github.com/UffizziCloud/uffizzi_cli
|
87
|
+
</code></pre>
|
88
|
+
|
89
|
+
<h2 id="EXAMPLES">EXAMPLES</h2>
|
90
|
+
<pre><code>The following command lists the user's accounts:
|
91
|
+
|
92
|
+
$ uffizzi account list
|
93
|
+
</code></pre>
|
94
|
+
|
95
|
+
<ol class='man-decor man-foot man foot'>
|
96
|
+
<li class='tl'></li>
|
97
|
+
<li class='tc'>July 2023</li>
|
98
|
+
<li class='tr'>uffizzi-account-list</li>
|
99
|
+
</ol>
|
100
|
+
|
101
|
+
</div>
|
102
|
+
</body>
|
103
|
+
</html>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
uffizzi-account-list - list the accounts of the user
|
2
|
+
================================================================
|
3
|
+
|
4
|
+
## SYNOPSIS
|
5
|
+
uffizzi account list
|
6
|
+
|
7
|
+
## DESCRIPTION
|
8
|
+
This command lists all accounts (not projects) for the associated user
|
9
|
+
|
10
|
+
This command can fail for the following reasons:
|
11
|
+
- The user is not authenticated
|
12
|
+
|
13
|
+
For more information on preview services, see:
|
14
|
+
https://docs.uffizzi.com/references/cli/
|
15
|
+
|
16
|
+
## EXAMPLES
|
17
|
+
The following command lists the user's accounts:
|
18
|
+
|
19
|
+
$ uffizzi account list
|
@@ -0,0 +1,29 @@
|
|
1
|
+
.\" generated with Ronn-NG/v0.9.1
|
2
|
+
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
3
|
+
.TH "UFFIZZI\-ACCOUNT\-SET\-DEFAULT" "" "August 2023" ""
|
4
|
+
.SH "NAME"
|
5
|
+
\fBuffizzi\-account\-set\-default\fR \- set the default account
|
6
|
+
.SH "SYNOPSIS"
|
7
|
+
.nf
|
8
|
+
uffizzi account set\-default ACCOUNT_NAME
|
9
|
+
.fi
|
10
|
+
.SH "DESCRIPTION"
|
11
|
+
.nf
|
12
|
+
This command sets the default account (project) for the uffizzi configuration\.
|
13
|
+
When set, all commands use this account as the default context unless
|
14
|
+
overridden by the \-\-project flag\.
|
15
|
+
|
16
|
+
This command can fail for the following reasons:
|
17
|
+
\- There is no account with the given account name
|
18
|
+
|
19
|
+
For more information on Uffizzi projects, see:
|
20
|
+
https://docs\.uffizzi\.com/references/cli/
|
21
|
+
.fi
|
22
|
+
.SH "EXAMPLES"
|
23
|
+
.nf
|
24
|
+
The following sets the default account with account name
|
25
|
+
example for the active account:
|
26
|
+
|
27
|
+
$ uffizzi account set\-default example
|
28
|
+
.fi
|
29
|
+
|
@@ -0,0 +1,105 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv='content-type' content='text/html;charset=utf8'>
|
5
|
+
<meta name='generator' content='Ronn-NG/v0.9.1 (http://github.com/apjanke/ronn-ng/tree/0.9.1)'>
|
6
|
+
<title>set the default account</title>
|
7
|
+
<style type='text/css' media='all'>
|
8
|
+
/* style: man */
|
9
|
+
body#manpage {margin:0}
|
10
|
+
.mp {max-width:100ex;padding:0 9ex 1ex 4ex}
|
11
|
+
.mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
|
12
|
+
.mp h2 {margin:10px 0 0 0}
|
13
|
+
.mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
|
14
|
+
.mp h3 {margin:0 0 0 4ex}
|
15
|
+
.mp dt {margin:0;clear:left}
|
16
|
+
.mp dt.flush {float:left;width:8ex}
|
17
|
+
.mp dd {margin:0 0 0 9ex}
|
18
|
+
.mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
|
19
|
+
.mp pre {margin-bottom:20px}
|
20
|
+
.mp pre+h2,.mp pre+h3 {margin-top:22px}
|
21
|
+
.mp h2+pre,.mp h3+pre {margin-top:5px}
|
22
|
+
.mp img {display:block;margin:auto}
|
23
|
+
.mp h1.man-title {display:none}
|
24
|
+
.mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
|
25
|
+
.mp h2 {font-size:16px;line-height:1.25}
|
26
|
+
.mp h1 {font-size:20px;line-height:2}
|
27
|
+
.mp {text-align:justify;background:#fff}
|
28
|
+
.mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
|
29
|
+
.mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
|
30
|
+
.mp u {text-decoration:underline}
|
31
|
+
.mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
|
32
|
+
.mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
|
33
|
+
.mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
|
34
|
+
.mp b.man-ref {font-weight:normal;color:#434241}
|
35
|
+
.mp pre {padding:0 4ex}
|
36
|
+
.mp pre code {font-weight:normal;color:#434241}
|
37
|
+
.mp h2+pre,h3+pre {padding-left:0}
|
38
|
+
ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
|
39
|
+
ol.man-decor {width:100%}
|
40
|
+
ol.man-decor li.tl {text-align:left}
|
41
|
+
ol.man-decor li.tc {text-align:center;letter-spacing:4px}
|
42
|
+
ol.man-decor li.tr {text-align:right;float:right}
|
43
|
+
</style>
|
44
|
+
</head>
|
45
|
+
<!--
|
46
|
+
The following styles are deprecated and will be removed at some point:
|
47
|
+
div#man, div#man ol.man, div#man ol.head, div#man ol.man.
|
48
|
+
|
49
|
+
The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
|
50
|
+
.man-navigation should be used instead.
|
51
|
+
-->
|
52
|
+
<body id='manpage'>
|
53
|
+
<div class='mp' id='man'>
|
54
|
+
|
55
|
+
<div class='man-navigation' style='display:none'>
|
56
|
+
<a href="#NAME">NAME</a>
|
57
|
+
<a href="#SYNOPSIS">SYNOPSIS</a>
|
58
|
+
<a href="#DESCRIPTION">DESCRIPTION</a>
|
59
|
+
<a href="#EXAMPLES">EXAMPLES</a>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<ol class='man-decor man-head man head'>
|
63
|
+
<li class='tl'>uffizzi-account-set-default</li>
|
64
|
+
<li class='tc'></li>
|
65
|
+
<li class='tr'>uffizzi-account-set-default</li>
|
66
|
+
</ol>
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
<h2 id="NAME">NAME</h2>
|
71
|
+
<p class="man-name">
|
72
|
+
<code>uffizzi-account-set-default</code> - <span class="man-whatis">set the default account</span>
|
73
|
+
</p>
|
74
|
+
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
75
|
+
<pre><code>uffizzi account set-default ACCOUNT_NAME
|
76
|
+
</code></pre>
|
77
|
+
|
78
|
+
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
79
|
+
<pre><code>Sets the default account given with the given account name. When set,
|
80
|
+
all commands use this account as the default context unless
|
81
|
+
overridden by the --project flag.
|
82
|
+
|
83
|
+
This command can fail for the following reasons:
|
84
|
+
- There is no account with the given account name
|
85
|
+
|
86
|
+
For more information on Uffizzi projects, see:
|
87
|
+
https://github.com/UffizziCloud/uffizzi_cli
|
88
|
+
</code></pre>
|
89
|
+
|
90
|
+
<h2 id="EXAMPLES">EXAMPLES</h2>
|
91
|
+
<pre><code>The following sets the default account with account name
|
92
|
+
example for the active account:
|
93
|
+
|
94
|
+
$ uffizzi account set-default example
|
95
|
+
</code></pre>
|
96
|
+
|
97
|
+
<ol class='man-decor man-foot man foot'>
|
98
|
+
<li class='tl'></li>
|
99
|
+
<li class='tc'>July 2023</li>
|
100
|
+
<li class='tr'>uffizzi-account-set-default</li>
|
101
|
+
</ol>
|
102
|
+
|
103
|
+
</div>
|
104
|
+
</body>
|
105
|
+
</html>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
uffizzi-account-set-default - set the default account
|
2
|
+
================================================================
|
3
|
+
|
4
|
+
## SYNOPSIS
|
5
|
+
uffizzi account set-default ACCOUNT_NAME
|
6
|
+
|
7
|
+
## DESCRIPTION
|
8
|
+
This command sets the default account (project) for the uffizzi configuration.
|
9
|
+
When set, all commands use this account as the default context unless
|
10
|
+
overridden by the --project flag.
|
11
|
+
|
12
|
+
This command can fail for the following reasons:
|
13
|
+
- There is no account with the given account name
|
14
|
+
|
15
|
+
For more information on Uffizzi projects, see:
|
16
|
+
https://docs.uffizzi.com/references/cli/
|
17
|
+
|
18
|
+
## EXAMPLES
|
19
|
+
The following sets the default account with account name
|
20
|
+
example for the active account:
|
21
|
+
|
22
|
+
$ uffizzi account set-default example
|
@@ -0,0 +1,106 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv='content-type' content='text/html;charset=utf8'>
|
5
|
+
<meta name='generator' content='Ronn-NG/v0.9.1 (http://github.com/apjanke/ronn-ng/tree/0.9.1)'>
|
6
|
+
<title>manage Uffizzi accounts</title>
|
7
|
+
<style type='text/css' media='all'>
|
8
|
+
/* style: man */
|
9
|
+
body#manpage {margin:0}
|
10
|
+
.mp {max-width:100ex;padding:0 9ex 1ex 4ex}
|
11
|
+
.mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
|
12
|
+
.mp h2 {margin:10px 0 0 0}
|
13
|
+
.mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
|
14
|
+
.mp h3 {margin:0 0 0 4ex}
|
15
|
+
.mp dt {margin:0;clear:left}
|
16
|
+
.mp dt.flush {float:left;width:8ex}
|
17
|
+
.mp dd {margin:0 0 0 9ex}
|
18
|
+
.mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
|
19
|
+
.mp pre {margin-bottom:20px}
|
20
|
+
.mp pre+h2,.mp pre+h3 {margin-top:22px}
|
21
|
+
.mp h2+pre,.mp h3+pre {margin-top:5px}
|
22
|
+
.mp img {display:block;margin:auto}
|
23
|
+
.mp h1.man-title {display:none}
|
24
|
+
.mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
|
25
|
+
.mp h2 {font-size:16px;line-height:1.25}
|
26
|
+
.mp h1 {font-size:20px;line-height:2}
|
27
|
+
.mp {text-align:justify;background:#fff}
|
28
|
+
.mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
|
29
|
+
.mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
|
30
|
+
.mp u {text-decoration:underline}
|
31
|
+
.mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
|
32
|
+
.mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
|
33
|
+
.mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
|
34
|
+
.mp b.man-ref {font-weight:normal;color:#434241}
|
35
|
+
.mp pre {padding:0 4ex}
|
36
|
+
.mp pre code {font-weight:normal;color:#434241}
|
37
|
+
.mp h2+pre,h3+pre {padding-left:0}
|
38
|
+
ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
|
39
|
+
ol.man-decor {width:100%}
|
40
|
+
ol.man-decor li.tl {text-align:left}
|
41
|
+
ol.man-decor li.tc {text-align:center;letter-spacing:4px}
|
42
|
+
ol.man-decor li.tr {text-align:right;float:right}
|
43
|
+
</style>
|
44
|
+
</head>
|
45
|
+
<!--
|
46
|
+
The following styles are deprecated and will be removed at some point:
|
47
|
+
div#man, div#man ol.man, div#man ol.head, div#man ol.man.
|
48
|
+
|
49
|
+
The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
|
50
|
+
.man-navigation should be used instead.
|
51
|
+
-->
|
52
|
+
<body id='manpage'>
|
53
|
+
<div class='mp' id='man'>
|
54
|
+
|
55
|
+
<div class='man-navigation' style='display:none'>
|
56
|
+
<a href="#NAME">NAME</a>
|
57
|
+
<a href="#SYNOPSIS">SYNOPSIS</a>
|
58
|
+
<a href="#DESCRIPTION">DESCRIPTION</a>
|
59
|
+
<a href="#COMMANDS">COMMANDS</a>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<ol class='man-decor man-head man head'>
|
63
|
+
<li class='tl'>uffizzi-account</li>
|
64
|
+
<li class='tc'></li>
|
65
|
+
<li class='tr'>uffizzi-account</li>
|
66
|
+
</ol>
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
<h2 id="NAME">NAME</h2>
|
71
|
+
<p class="man-name">
|
72
|
+
<code>uffizzi-account</code> - <span class="man-whatis">manage Uffizzi accounts</span>
|
73
|
+
</p>
|
74
|
+
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
75
|
+
<pre><code>uffizzi account COMMAND [UFFIZZI_WIDE_FLAG ...]
|
76
|
+
</code></pre>
|
77
|
+
|
78
|
+
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
79
|
+
<pre><code>Manage Uffizzi accounts
|
80
|
+
|
81
|
+
For more information on Uffizzi accounts, see:
|
82
|
+
https://github.com/UffizziCloud/uffizzi_cli
|
83
|
+
</code></pre>
|
84
|
+
|
85
|
+
<h2 id="COMMANDS">COMMANDS</h2>
|
86
|
+
<pre><code>COMMAND is one of the following:
|
87
|
+
|
88
|
+
list
|
89
|
+
List all projects in the account.
|
90
|
+
|
91
|
+
set-default
|
92
|
+
Set the default project in the uffizzi configuration. Also see
|
93
|
+
$ uffizzi config help for details.
|
94
|
+
</code></pre>
|
95
|
+
|
96
|
+
<p>Run $ uffizzi account COMMAND --help for more information on a command.</p>
|
97
|
+
|
98
|
+
<ol class='man-decor man-foot man foot'>
|
99
|
+
<li class='tl'></li>
|
100
|
+
<li class='tc'>July 2023</li>
|
101
|
+
<li class='tr'>uffizzi-account</li>
|
102
|
+
</ol>
|
103
|
+
|
104
|
+
</div>
|
105
|
+
</body>
|
106
|
+
</html>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
uffizzi-account - manage Uffizzi accounts
|
2
|
+
================================================================
|
3
|
+
|
4
|
+
## SYNOPSIS
|
5
|
+
uffizzi account COMMAND [UFFIZZI_WIDE_FLAG ...]
|
6
|
+
|
7
|
+
## DESCRIPTION
|
8
|
+
Manage Uffizzi accounts
|
9
|
+
|
10
|
+
For more information on Uffizzi accounts, see:
|
11
|
+
https://docs.uffizzi.com/references/cli/
|
12
|
+
|
13
|
+
## COMMANDS
|
14
|
+
COMMAND is one of the following:
|
15
|
+
|
16
|
+
list
|
17
|
+
List all accounts associated with the user's credentials
|
18
|
+
|
19
|
+
set-default
|
20
|
+
Set the default account in the uffizzi configuration. Also see
|
21
|
+
$ uffizzi config help for details.
|
22
|
+
|
23
|
+
Run $ uffizzi account COMMAND --help for more information on a command.
|
data/man/uffizzi-cluster
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
.\" generated with Ronn-NG/v0.9.1
|
2
|
+
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
3
|
+
.TH "UFFIZZI\-CLUSTER" "" "August 2023" ""
|
4
|
+
.SH "NAME"
|
5
|
+
\fBuffizzi\-cluster\fR \- manage clusters
|
6
|
+
.SH "SYNOPSIS"
|
7
|
+
.nf
|
8
|
+
uffizzi cluster COMMAND
|
9
|
+
.fi
|
10
|
+
.SH "DESCRIPTION"
|
11
|
+
.nf
|
12
|
+
Manage Uffizzi clusters
|
13
|
+
|
14
|
+
For more information on Uffizzi clusters, see:
|
15
|
+
https://docs\.uffizzi\.com/references/cli/
|
16
|
+
.fi
|
17
|
+
.SH "COMMANDS"
|
18
|
+
.nf
|
19
|
+
COMMAND is one of the following:
|
20
|
+
|
21
|
+
create
|
22
|
+
Create a cluster
|
23
|
+
|
24
|
+
delete
|
25
|
+
Delete a cluster
|
26
|
+
|
27
|
+
describe
|
28
|
+
Display details of a cluster
|
29
|
+
|
30
|
+
list
|
31
|
+
List all clusters
|
32
|
+
|
33
|
+
update\-kubeconfig
|
34
|
+
Update kubeconfig file
|
35
|
+
.fi
|
36
|
+
.SH "Run \'uffizzi cluster COMMAND \-\-help\' for more information on a command\."
|
37
|
+
|
@@ -0,0 +1,49 @@
|
|
1
|
+
.\" generated with Ronn-NG/v0.9.1
|
2
|
+
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
3
|
+
.TH "UFFIZZI\-CLUSTER\-CREATE" "" "September 2023" ""
|
4
|
+
.SH "NAME"
|
5
|
+
\fBuffizzi\-cluster\-create\fR \- create a cluster
|
6
|
+
.SH "SYNOPSIS"
|
7
|
+
.nf
|
8
|
+
uffizzi cluster create
|
9
|
+
.fi
|
10
|
+
.SH "DESCRIPTION"
|
11
|
+
.nf
|
12
|
+
Creates a new cluster\.
|
13
|
+
|
14
|
+
For more information on Uffizzi clusters, see:
|
15
|
+
https://docs\.uffizzi\.com/references/cli/
|
16
|
+
.fi
|
17
|
+
.SH "FLAGS"
|
18
|
+
.nf
|
19
|
+
\-\-name=CLUSTER\-NAME
|
20
|
+
Set cluster name
|
21
|
+
|
22
|
+
\-\-kubeconfig="/path/to/your/kubeconfig"
|
23
|
+
Path to kubeconfig file
|
24
|
+
|
25
|
+
\-\-manifest="/path/to/your/manifest"
|
26
|
+
Path to manifest file
|
27
|
+
|
28
|
+
\-\-update\-current\-context
|
29
|
+
Update current\-context in kubeconfig file
|
30
|
+
|
31
|
+
\-\-output=pretty\-json
|
32
|
+
\-\-output=json
|
33
|
+
Use this option for formatting output\.
|
34
|
+
.fi
|
35
|
+
.SH "EXAMPLES"
|
36
|
+
.nf
|
37
|
+
To create a cluster with the auto generated name, run:
|
38
|
+
|
39
|
+
$ uffizzi cluster create
|
40
|
+
|
41
|
+
To create a cluster with name, run:
|
42
|
+
|
43
|
+
$ uffizzi cluster create \-\-name="my\-cluster"
|
44
|
+
|
45
|
+
To create a cluster from a manifests directory, run:
|
46
|
+
|
47
|
+
$ uffizzi cluster create \-\-name="my\-cluster" \-\-manifest=manifests/
|
48
|
+
.fi
|
49
|
+
|
@@ -0,0 +1,41 @@
|
|
1
|
+
uffizzi-cluster-create - create a cluster
|
2
|
+
================================================================
|
3
|
+
|
4
|
+
## SYNOPSIS
|
5
|
+
uffizzi cluster create
|
6
|
+
|
7
|
+
## DESCRIPTION
|
8
|
+
Creates a new cluster.
|
9
|
+
|
10
|
+
For more information on Uffizzi clusters, see:
|
11
|
+
https://docs.uffizzi.com/references/cli/
|
12
|
+
|
13
|
+
## FLAGS
|
14
|
+
--name=CLUSTER-NAME
|
15
|
+
Set cluster name
|
16
|
+
|
17
|
+
--kubeconfig="/path/to/your/kubeconfig"
|
18
|
+
Path to kubeconfig file
|
19
|
+
|
20
|
+
--manifest="/path/to/your/manifest"
|
21
|
+
Path to manifest file
|
22
|
+
|
23
|
+
--update-current-context
|
24
|
+
Update current-context in kubeconfig file
|
25
|
+
|
26
|
+
--output=pretty-json
|
27
|
+
--output=json
|
28
|
+
Use this option for formatting output.
|
29
|
+
|
30
|
+
## EXAMPLES
|
31
|
+
To create a cluster with the auto generated name, run:
|
32
|
+
|
33
|
+
$ uffizzi cluster create
|
34
|
+
|
35
|
+
To create a cluster with name, run:
|
36
|
+
|
37
|
+
$ uffizzi cluster create --name="my-cluster"
|
38
|
+
|
39
|
+
To create a cluster from a manifests directory, run:
|
40
|
+
|
41
|
+
$ uffizzi cluster create --name="my-cluster" --manifest=manifests/
|
@@ -0,0 +1,32 @@
|
|
1
|
+
.\" generated with Ronn-NG/v0.9.1
|
2
|
+
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
3
|
+
.TH "UFFIZZI\-CLUSTER\-DELETE" "" "August 2023" ""
|
4
|
+
.SH "NAME"
|
5
|
+
\fBuffizzi\-cluster\-delete\fR \- delete a cluster
|
6
|
+
.SH "SYNOPSIS"
|
7
|
+
.nf
|
8
|
+
uffizzi cluster delete [CLUSTER_NAME]
|
9
|
+
.fi
|
10
|
+
.SH "DESCRIPTION"
|
11
|
+
.nf
|
12
|
+
Deletes a cluster with the given cluster name\.
|
13
|
+
|
14
|
+
This command can fail for the following reasons:
|
15
|
+
\- The cluster specified does not exist\.
|
16
|
+
\- The cluster specified belongs to a different project\.
|
17
|
+
|
18
|
+
For more information on Uffizzi clusters, see:
|
19
|
+
https://docs\.uffizzi\.com/references/cli/
|
20
|
+
.fi
|
21
|
+
.SH "POSITIONAL ARGUMENTS"
|
22
|
+
.nf
|
23
|
+
[CLUSTER_NAME]
|
24
|
+
Name for the cluster you want to delete\.
|
25
|
+
.fi
|
26
|
+
.SH "EXAMPLES"
|
27
|
+
.nf
|
28
|
+
The following command deletes the cluster with CLUSTER_NAME my\-cluster:
|
29
|
+
|
30
|
+
$ uffizzi cluster delete my\-cluster
|
31
|
+
.fi
|
32
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
uffizzi-cluster-delete - delete a cluster
|
2
|
+
================================================================
|
3
|
+
|
4
|
+
## SYNOPSIS
|
5
|
+
uffizzi cluster delete [CLUSTER_NAME]
|
6
|
+
|
7
|
+
## DESCRIPTION
|
8
|
+
Deletes a cluster with the given cluster name.
|
9
|
+
|
10
|
+
This command can fail for the following reasons:
|
11
|
+
- The cluster specified does not exist.
|
12
|
+
- The cluster specified belongs to a different project.
|
13
|
+
|
14
|
+
For more information on Uffizzi clusters, see:
|
15
|
+
https://docs.uffizzi.com/references/cli/
|
16
|
+
|
17
|
+
## POSITIONAL ARGUMENTS
|
18
|
+
[CLUSTER_NAME]
|
19
|
+
Name for the cluster you want to delete.
|
20
|
+
|
21
|
+
## EXAMPLES
|
22
|
+
The following command deletes the cluster with CLUSTER_NAME my-cluster:
|
23
|
+
|
24
|
+
$ uffizzi cluster delete my-cluster
|
@@ -0,0 +1,39 @@
|
|
1
|
+
.\" generated with Ronn-NG/v0.9.1
|
2
|
+
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
3
|
+
.TH "UFFIZZI\-CLUSTER\-DESCRIBE" "" "August 2023" ""
|
4
|
+
.SH "NAME"
|
5
|
+
\fBuffizzi\-cluster\-describe\fR \- show metadata for a cluster
|
6
|
+
.SH "SYNOPSIS"
|
7
|
+
.nf
|
8
|
+
uffizzi cluster describe [CLUSTER_NAME] [UFFIZZI_WIDE_FLAG \|\.\|\.\|\.]
|
9
|
+
.fi
|
10
|
+
.SH "DESCRIPTION"
|
11
|
+
.nf
|
12
|
+
Shows metadata for a cluster given a valid cluster NAME
|
13
|
+
|
14
|
+
This command can fail for the following reasons:
|
15
|
+
\- The cluster specified does not exist\.
|
16
|
+
\- The cluster specified belongs to a different project\.
|
17
|
+
|
18
|
+
For more information on Uffizzi clusters, see:
|
19
|
+
https://docs\.uffizzi\.com/references/cli/
|
20
|
+
.fi
|
21
|
+
.SH "POSITIONAL ARGUMENTS"
|
22
|
+
.nf
|
23
|
+
[CLUSTER_NAME]
|
24
|
+
NAME for the cluster you want to describe\.
|
25
|
+
.fi
|
26
|
+
.SH "FLAGS"
|
27
|
+
.nf
|
28
|
+
\-\-output=pretty\-json
|
29
|
+
\-\-output=json
|
30
|
+
Use this option for formatting output\.
|
31
|
+
.fi
|
32
|
+
.SH "EXAMPLES"
|
33
|
+
.nf
|
34
|
+
The following command prints metadata for the cluster with NAME
|
35
|
+
my\-cluster:
|
36
|
+
|
37
|
+
$ uffizzi cluster describe my\-cluster
|
38
|
+
.fi
|
39
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
uffizzi-cluster-describe - show metadata for a cluster
|
2
|
+
================================================================
|
3
|
+
|
4
|
+
## SYNOPSIS
|
5
|
+
uffizzi cluster describe [CLUSTER_NAME] [UFFIZZI_WIDE_FLAG ...]
|
6
|
+
|
7
|
+
## DESCRIPTION
|
8
|
+
Shows metadata for a cluster given a valid cluster NAME
|
9
|
+
|
10
|
+
This command can fail for the following reasons:
|
11
|
+
- The cluster specified does not exist.
|
12
|
+
- The cluster specified belongs to a different project.
|
13
|
+
|
14
|
+
For more information on Uffizzi clusters, see:
|
15
|
+
https://docs.uffizzi.com/references/cli/
|
16
|
+
|
17
|
+
## POSITIONAL ARGUMENTS
|
18
|
+
[CLUSTER_NAME]
|
19
|
+
NAME for the cluster you want to describe.
|
20
|
+
|
21
|
+
## FLAGS
|
22
|
+
--output=pretty-json
|
23
|
+
--output=json
|
24
|
+
Use this option for formatting output.
|
25
|
+
|
26
|
+
## EXAMPLES
|
27
|
+
The following command prints metadata for the cluster with NAME
|
28
|
+
my-cluster:
|
29
|
+
|
30
|
+
$ uffizzi cluster describe my-cluster
|