/dports/www/py-gandi.cli/gandi.cli-1.5/gandi/cli/core/utils/ |
H A D | __init__.py | 93 def output_line(gandi, key, val, justify): argument 96 gandi.echo(msg) 148 gandi.separator_line() 334 gandi.separator_line() 454 def output_list(gandi, val): argument 457 gandi.echo(element) 465 def output_json(gandi, format, value): argument 477 gandi.echo(msg) 507 gandi.separator_sub_line() 512 gandi.separator_sub_line() [all …]
|
/dports/www/py-gandi.cli/gandi.cli-1.5/gandi/cli/commands/ |
H A D | vm.py | 5 from gandi.cli.core.cli import cli 6 from gandi.cli.core.utils import ( 13 from gandi.cli.core.params import ( 20 def vm(gandi): argument 49 gandi.separator_line() 60 def info(gandi, resource, stat): argument 84 gandi.echo('') 93 gandi.echo('') 395 def console(gandi, resource): argument 489 gandi.echo('\n') [all …]
|
H A D | certificate.py | 13 from gandi.cli.core.cli import cli 26 def certificate(gandi): argument 32 def packages(gandi): argument 43 def plans(gandi): argument 45 return _plans(gandi) 48 def package_desc(gandi, package): argument 64 def _plans(gandi, with_name=False): argument 97 display_rows(gandi, ret) 144 gandi.separator_line() 422 def follow(gandi, resource): argument [all …]
|
H A D | dns.py | 6 from gandi.cli.core.cli import cli 13 def dns(gandi): argument 19 def domain_list(gandi): argument 21 domains = gandi.dns.list() 23 gandi.echo(domain['fqdn']) 42 domains = gandi.dns.list() 53 gandi.echo(result) 83 domains = gandi.dns.list() 112 domains = gandi.dns.list() 178 def keys(gandi): argument [all …]
|
H A D | vlan.py | 6 from gandi.cli.core.cli import cli 7 from gandi.cli.core.utils import ( 16 def vlan(gandi): argument 37 datacenters = gandi.datacenter.list() 39 vlans = gandi.vlan.list(datacenter) 42 gandi.separator_line() 52 def info(gandi, resource, ip): argument 58 vlan = gandi.vlan.info(resource) 85 gandi.separator_line() 156 gandi.pretty_echo(result) [all …]
|
H A D | ip.py | 6 from gandi.cli.core.cli import cli 7 from gandi.cli.core.utils import ( 16 def ip(gandi): argument 72 datacenters = gandi.datacenter.list() 74 ips = gandi.ip.list(options) 82 gandi.separator_line() 91 def info(gandi, resource): argument 98 datacenters = gandi.datacenter.list() 100 ip = gandi.ip.info(resource) 142 ip_ = gandi.ip.info(ip) [all …]
|
H A D | webacc.py | 5 from gandi.cli.core.cli import cli 6 from gandi.cli.core.utils import ( 10 from gandi.cli.core.params import ( 17 def webacc(gandi): argument 27 def list(gandi, limit, format): argument 53 gandi.echo('') 71 gandi.echo('') 97 gandi.echo('Vhosts :') 103 gandi.echo('') 118 gandi.echo('') [all …]
|
H A D | disk.py | 6 from gandi.cli.core.cli import cli 7 from gandi.cli.core.utils import ( 18 def disk(gandi): argument 82 gandi.separator_line() 91 def info(gandi, resource): argument 106 gandi.separator_line() 136 gandi.pretty_echo(result) 179 gandi.pretty_echo(result) 227 gandi.pretty_echo(result) 329 gandi.pretty_echo(result) [all …]
|
H A D | paas.py | 6 from gandi.cli.core.cli import cli 7 from gandi.cli.core.utils import ( 11 from gandi.cli.core.params import ( 18 def paas(gandi): argument 47 result = gandi.paas.list(options) 56 gandi.separator_line() 68 def info(gandi, resource, stat): argument 130 def deploy(gandi, remote, branch): argument 348 def types(gandi): argument 361 def console(gandi, resource): argument [all …]
|
H A D | root.py | 5 from gandi.cli.core.cli import cli 7 from gandi.cli.core.params import pass_gandi 12 def setup(gandi): argument 27 gandi.echo(intro) 28 gandi.init_config() 29 gandi.echo(outro) 34 def api(gandi): argument 38 result = gandi.api.info() 65 def status(gandi, service): argument 83 gandi.echo(service_detail) [all …]
|
H A D | config.py | 10 from gandi.cli.core.cli import cli 16 def config(gandi): argument 26 def get(gandi, g, key): argument 32 gandi.echo(val) 41 def set(gandi, g, key, value): argument 50 def edit(gandi, g): argument 52 config_file = gandi.home_config if g else gandi.local_config 60 gandi.echo(""" 74 def delete(gandi, g, key): argument 83 def list(gandi, g): argument [all …]
|
H A D | vhost.py | 5 from gandi.cli.core.cli import cli 7 from gandi.cli.core.params import pass_gandi 12 def vhost(gandi): argument 22 def list(gandi, limit, id, names): argument 38 result = gandi.vhost.list(options) 42 gandi.separator_line() 52 def info(gandi, resource, id): argument 68 vhost = gandi.vhost.info(item) 76 gandi.separator_line() 102 paas_info = gandi.paas.info(paas) [all …]
|
H A D | certstore.py | 12 from gandi.cli.core.cli import cli 13 from gandi.cli.core.utils import output_hostedcert 14 from gandi.cli.core.params import pass_gandi 21 def certstore(gandi): argument 55 result = gandi.hostedcert.list(options) 59 gandi.separator_line() 72 def info(gandi, resource): argument 80 result = gandi.hostedcert.infos(resource) 83 gandi.separator_line() 133 def delete(gandi, resource, force): argument [all …]
|
H A D | contact.py | 13 from gandi.cli.core.cli import cli 14 from gandi.cli.core.utils import randomstring 15 from gandi.cli.core.params import pass_gandi 58 gandi.echo(label) 61 gandi.echo('%s- %s' % (key, val)) 68 def contact(gandi): argument 74 def create(gandi): argument 94 gandi.echo(err['reason']) 101 ask_field(gandi, contact, *desc) 103 result = gandi.contact.create(contact) [all …]
|
H A D | record.py | 7 from gandi.cli.core.cli import cli 8 from gandi.cli.core.utils import ( 16 def record(gandi): argument 39 result = gandi.domain.info(domain) 47 records = gandi.record.list(zone_id, options) 52 gandi.separator_line() 71 gandi.echo(format_record) 75 gandi.echo(format_record) 105 result = gandi.domain.info(domain) 141 result = gandi.domain.info(domain) [all …]
|
H A D | domain.py | 11 from gandi.cli.core.cli import cli 13 from gandi.cli.core.params import pass_gandi 18 def domain(gandi): argument 26 def list(gandi, limit): argument 29 domains = gandi.domain.list(options) 31 gandi.echo(domain['fqdn']) 39 def info(gandi, resource): argument 45 result = gandi.domain.info(resource) 95 gandi.pretty_echo(result) 108 def renew(gandi, domain, duration, background): argument [all …]
|
H A D | sshkey.py | 6 from gandi.cli.core.cli import cli 7 from gandi.cli.core.utils import output_sshkey 8 from gandi.cli.core.params import pass_gandi 13 def sshkey(gandi): argument 22 def list(gandi, id, limit): argument 33 result = gandi.sshkey.list(options) 36 gandi.separator_line() 47 def info(gandi, resource, id, value): argument 61 sshkey = gandi.sshkey.info(item) 92 def delete(gandi, resource): argument [all …]
|
H A D | forward.py | 5 from gandi.cli.core.cli import cli 6 from gandi.cli.core.utils import output_forward 7 from gandi.cli.core.params import pass_gandi, EMAIL_TYPE 12 def forward(gandi): argument 21 def list(gandi, domain, limit): argument 24 result = gandi.forward.list(domain, options) 26 output_forward(gandi, domain, forward) 35 def create(gandi, address, destination): argument 51 def update(gandi, address, dest_add, dest_del): argument 71 def delete(gandi, address, force): argument [all …]
|
H A D | mail.py | 5 from gandi.cli.core.cli import cli 6 from gandi.cli.core.utils import output_mailbox, output_list 7 from gandi.cli.core.params import pass_gandi, EMAIL_TYPE 12 def mail(gandi): argument 21 def list(gandi, domain, limit): argument 24 mailboxes = gandi.mail.list(domain, options) 32 def info(gandi, email): argument 37 mailbox = gandi.mail.info(domain, login) 38 output_mailbox(gandi, mailbox, output_keys) 79 def delete(gandi, email, force): argument [all …]
|
H A D | snapshotprofile.py | 5 from gandi.cli.core.cli import cli 6 from gandi.cli.core.utils import output_snapshot_profile 7 from gandi.cli.core.params import pass_gandi 12 def snapshotprofile(gandi): argument 20 def list(gandi, only_paas, only_vm): argument 29 result = gandi.snapshotprofile.list({}, target=target) 33 gandi.separator_line() 34 output_snapshot_profile(gandi, profile, output_keys) 42 def info(gandi, resource): argument 50 result = gandi.snapshotprofile.info(resource) [all …]
|
H A D | oper.py | 5 from gandi.cli.core.cli import cli 6 from gandi.cli.core.utils import output_generic 7 from gandi.cli.core.params import pass_gandi, OPER_STEP 12 def oper(gandi): argument 23 def list(gandi, limit, step): argument 33 result = gandi.oper.list(options) 36 gandi.separator_line() 37 output_generic(gandi, oper, output_keys) 45 def info(gandi, id): argument 49 oper = gandi.oper.info(id) [all …]
|
/dports/www/py-gandi.cli/gandi.cli-1.5/ |
H A D | CHANGES.rst | 39 * Add new 'gandi dns update' command. 49 * Add new 'gandi vm migrate' command. 64 * Fixes tests for 'gandi deploy' and 'gandi status' commands 82 of gandi.iaas.list. 127 * Update 'gandi deploy' command: 142 * Update 'gandi paas' namespace: 145 - Update 'gandi deploy' command: 184 - for 'gandi ip create' command 225 * Update 'gandi vhost create' and 'gandi vhost update' commands 280 * Refactor code for 'gandi ip attach' and 'gandi ip delete' commands [all …]
|
H A D | PKG-INFO | 2 Name: gandi.cli 7 Author-email: feedback@gandi.net 92 $ gandi setup 138 $ gandi domain list 195 $ gandi vm create 221 $ gandi vm list 258 $ gandi deploy 529 * Fixes tests for 'gandi deploy' and 'gandi status' commands 690 * Update 'gandi vhost create' and 'gandi vhost update' commands 745 * Refactor code for 'gandi ip attach' and 'gandi ip delete' commands [all …]
|
/dports/www/py-gandi.cli/gandi.cli-1.5/gandi/cli/core/ |
H A D | params.py | 16 gandi = None variable in GandiChoice 23 def _get_choices(self, gandi): argument 31 gandi = self.gandi or GandiContextHelper() 43 self.gandi = ctx.obj 69 self.gandi = ctx.obj 102 self.gandi = ctx.obj 130 self.gandi = ctx.obj 166 self.gandi = ctx.obj 200 self.gandi = ctx.obj 529 gandi = ctx.obj [all …]
|
/dports/www/py-gandi.cli/gandi.cli-1.5/gandi.cli.egg-info/ |
H A D | PKG-INFO | 2 Name: gandi.cli 7 Author-email: feedback@gandi.net 92 $ gandi setup 138 $ gandi domain list 195 $ gandi vm create 221 $ gandi vm list 258 $ gandi deploy 529 * Fixes tests for 'gandi deploy' and 'gandi status' commands 690 * Update 'gandi vhost create' and 'gandi vhost update' commands 745 * Refactor code for 'gandi ip attach' and 'gandi ip delete' commands [all …]
|