Class: FluentCommandBuilder::AppCfgPython::V17::UpdateDos

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/appcfg_python_17.rb

Instance Method Summary collapse

Methods inherited from CommandBase

#configure!, #execute!, #to_s

Constructor Details

#initialize(underlying_builder, directory) ⇒ UpdateDos

Returns a new instance of UpdateDos.



2035
2036
2037
2038
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2035

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

Instance Method Details

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

Yields:

  • (@b)


2109
2110
2111
2112
2113
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2109

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

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

Yields:

  • (@b)


2094
2095
2096
2097
2098
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2094

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

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

Yields:

  • (@b)


2069
2070
2071
2072
2073
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2069

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

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

Yields:

  • (@b)


2039
2040
2041
2042
2043
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2039

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

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

Yields:

  • (@b)


2074
2075
2076
2077
2078
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2074

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

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

Yields:

  • (@b)


2064
2065
2066
2067
2068
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2064

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

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

Yields:

  • (@b)


2079
2080
2081
2082
2083
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2079

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

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

Yields:

  • (@b)


2124
2125
2126
2127
2128
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2124

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

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

Yields:

  • (@b)


2054
2055
2056
2057
2058
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2054

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

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

Yields:

  • (@b)


2114
2115
2116
2117
2118
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2114

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

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

Yields:

  • (@b)


2119
2120
2121
2122
2123
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2119

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)


2089
2090
2091
2092
2093
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2089

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

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

Yields:

  • (@b)


2044
2045
2046
2047
2048
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2044

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

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

Yields:

  • (@b)


2104
2105
2106
2107
2108
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2104

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

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

Yields:

  • (@b)


2059
2060
2061
2062
2063
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2059

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

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

Yields:

  • (@b)


2084
2085
2086
2087
2088
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2084

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

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

Yields:

  • (@b)


2049
2050
2051
2052
2053
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2049

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

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

Yields:

  • (@b)


2099
2100
2101
2102
2103
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2099

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