Class: FluentCommandBuilder::AppCfgPython::V16::Start

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/appcfg_python_16.rb

Instance Method Summary collapse

Methods inherited from CommandBase

#configure!, #execute!, #to_s

Constructor Details

#initialize(underlying_builder, backend) ⇒ Start

Returns a new instance of Start.



492
493
494
495
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 492

def initialize(underlying_builder, backend)
  super underlying_builder
  @b.append " start #{@b.format backend}"
end

Instance Method Details

#allow_any_runtime {|@b| ... } ⇒ Object

Yields:

  • (@b)


566
567
568
569
570
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 566

def allow_any_runtime
  @b.append ' --allow_any_runtime'
  yield @b if block_given?
  self
end

#application(app_id) {|@b| ... } ⇒ Object

Yields:

  • (@b)


551
552
553
554
555
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 551

def application(app_id)
  @b.append " --application=#{@b.format app_id}"
  yield @b if block_given?
  self
end

#email(email) {|@b| ... } ⇒ Object

Yields:

  • (@b)


526
527
528
529
530
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 526

def email(email)
  @b.append " --email=#{@b.format email}"
  yield @b if block_given?
  self
end

#help {|@b| ... } ⇒ Object

Yields:

  • (@b)


496
497
498
499
500
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 496

def help
  @b.append ' --help'
  yield @b if block_given?
  self
end

#host(host) {|@b| ... } ⇒ Object

Yields:

  • (@b)


531
532
533
534
535
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 531

def host(host)
  @b.append " --host=#{@b.format host}"
  yield @b if block_given?
  self
end

#insecure {|@b| ... } ⇒ Object

Yields:

  • (@b)


521
522
523
524
525
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 521

def insecure
  @b.append ' --insecure'
  yield @b if block_given?
  self
end

#no_cookies {|@b| ... } ⇒ Object

Yields:

  • (@b)


536
537
538
539
540
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 536

def no_cookies
  @b.append ' --no_cookies'
  yield @b if block_given?
  self
end

#noauth_local_webserver {|@b| ... } ⇒ Object

Yields:

  • (@b)


581
582
583
584
585
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 581

def noauth_local_webserver
  @b.append ' --noauth_local_webserver'
  yield @b if block_given?
  self
end

#noisy {|@b| ... } ⇒ Object

Yields:

  • (@b)


511
512
513
514
515
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 511

def noisy
  @b.append ' --noisy'
  yield @b if block_given?
  self
end

#oauth2 {|@b| ... } ⇒ Object

Yields:

  • (@b)


571
572
573
574
575
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 571

def oauth2
  @b.append ' --oauth2'
  yield @b if block_given?
  self
end

#oauth2_refresh_token(oauth2_refresh_token) {|@b| ... } ⇒ Object

Yields:

  • (@b)


576
577
578
579
580
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 576

def oauth2_refresh_token(oauth2_refresh_token)
  @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
  yield @b if block_given?
  self
end

#passin {|@b| ... } ⇒ Object

Yields:

  • (@b)


546
547
548
549
550
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 546

def passin
  @b.append ' --passin'
  yield @b if block_given?
  self
end

#quiet {|@b| ... } ⇒ Object

Yields:

  • (@b)


501
502
503
504
505
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 501

def quiet
  @b.append ' --quiet'
  yield @b if block_given?
  self
end

#runtime(runtime) {|@b| ... } ⇒ Object

Yields:

  • (@b)


561
562
563
564
565
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 561

def runtime(runtime)
  @b.append " --runtime=#{@b.format runtime}"
  yield @b if block_given?
  self
end

#server(server) {|@b| ... } ⇒ Object

Yields:

  • (@b)


516
517
518
519
520
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 516

def server(server)
  @b.append " --server=#{@b.format server}"
  yield @b if block_given?
  self
end

#skip_sdk_update_check {|@b| ... } ⇒ Object

Yields:

  • (@b)


541
542
543
544
545
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 541

def skip_sdk_update_check
  @b.append ' --skip_sdk_update_check'
  yield @b if block_given?
  self
end

#verbose {|@b| ... } ⇒ Object

Yields:

  • (@b)


506
507
508
509
510
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 506

def verbose
  @b.append ' --verbose'
  yield @b if block_given?
  self
end

#version(version) {|@b| ... } ⇒ Object

Yields:

  • (@b)


556
557
558
559
560
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 556

def version(version)
  @b.append " --version=#{@b.format version}"
  yield @b if block_given?
  self
end