Class: FluentCommandBuilder::AppCfgPython::V16::Configure

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



108
109
110
111
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 108

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

Instance Method Details

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

Yields:

  • (@b)


182
183
184
185
186
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 182

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

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

Yields:

  • (@b)


167
168
169
170
171
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 167

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

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

Yields:

  • (@b)


142
143
144
145
146
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 142

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

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

Yields:

  • (@b)


112
113
114
115
116
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 112

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

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

Yields:

  • (@b)


147
148
149
150
151
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 147

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

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

Yields:

  • (@b)


137
138
139
140
141
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 137

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

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

Yields:

  • (@b)


152
153
154
155
156
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 152

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

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

Yields:

  • (@b)


197
198
199
200
201
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 197

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

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

Yields:

  • (@b)


127
128
129
130
131
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 127

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

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

Yields:

  • (@b)


187
188
189
190
191
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 187

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

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

Yields:

  • (@b)


192
193
194
195
196
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 192

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)


162
163
164
165
166
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 162

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

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

Yields:

  • (@b)


117
118
119
120
121
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 117

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

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

Yields:

  • (@b)


177
178
179
180
181
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 177

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

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

Yields:

  • (@b)


132
133
134
135
136
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 132

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

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

Yields:

  • (@b)


157
158
159
160
161
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 157

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

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

Yields:

  • (@b)


122
123
124
125
126
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 122

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

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

Yields:

  • (@b)


172
173
174
175
176
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 172

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