Class: FluentCommandBuilder::AppCfgPython::V16::Stop

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) ⇒ Stop

Returns a new instance of Stop.



587
588
589
590
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 587

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

Instance Method Details

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

Yields:

  • (@b)


661
662
663
664
665
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 661

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

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

Yields:

  • (@b)


646
647
648
649
650
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 646

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

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

Yields:

  • (@b)


621
622
623
624
625
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 621

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

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

Yields:

  • (@b)


591
592
593
594
595
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 591

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

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

Yields:

  • (@b)


626
627
628
629
630
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 626

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

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

Yields:

  • (@b)


616
617
618
619
620
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 616

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

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

Yields:

  • (@b)


631
632
633
634
635
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 631

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

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

Yields:

  • (@b)


676
677
678
679
680
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 676

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

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

Yields:

  • (@b)


606
607
608
609
610
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 606

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

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

Yields:

  • (@b)


666
667
668
669
670
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 666

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

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

Yields:

  • (@b)


671
672
673
674
675
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 671

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)


641
642
643
644
645
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 641

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

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

Yields:

  • (@b)


596
597
598
599
600
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 596

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

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

Yields:

  • (@b)


656
657
658
659
660
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 656

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

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

Yields:

  • (@b)


611
612
613
614
615
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 611

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

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

Yields:

  • (@b)


636
637
638
639
640
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 636

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

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

Yields:

  • (@b)


601
602
603
604
605
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 601

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

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

Yields:

  • (@b)


651
652
653
654
655
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 651

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