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.



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

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)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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