Class: FluentCommandBuilder::AppCfgPython::V16::CronInfo

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, directory) ⇒ CronInfo

Returns a new instance of CronInfo.



950
951
952
953
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 950

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

Instance Method Details

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

Yields:

  • (@b)


1024
1025
1026
1027
1028
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1024

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

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

Yields:

  • (@b)


1009
1010
1011
1012
1013
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1009

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

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

Yields:

  • (@b)


984
985
986
987
988
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 984

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

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

Yields:

  • (@b)


954
955
956
957
958
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 954

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

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

Yields:

  • (@b)


989
990
991
992
993
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 989

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

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

Yields:

  • (@b)


979
980
981
982
983
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 979

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

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

Yields:

  • (@b)


994
995
996
997
998
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 994

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

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

Yields:

  • (@b)


1039
1040
1041
1042
1043
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1039

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

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

Yields:

  • (@b)


969
970
971
972
973
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 969

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

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

Yields:

  • (@b)


1044
1045
1046
1047
1048
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1044

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

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

Yields:

  • (@b)


1029
1030
1031
1032
1033
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1029

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

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

Yields:

  • (@b)


1034
1035
1036
1037
1038
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1034

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)


1004
1005
1006
1007
1008
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1004

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

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

Yields:

  • (@b)


959
960
961
962
963
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 959

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

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

Yields:

  • (@b)


1019
1020
1021
1022
1023
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1019

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

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

Yields:

  • (@b)


974
975
976
977
978
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 974

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

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

Yields:

  • (@b)


999
1000
1001
1002
1003
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 999

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

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

Yields:

  • (@b)


964
965
966
967
968
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 964

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

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

Yields:

  • (@b)


1014
1015
1016
1017
1018
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1014

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