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.



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

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)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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