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.



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

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)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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)


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

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

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

Yields:

  • (@b)


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

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)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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