Class: FluentCommandBuilder::AppCfgPython::V16::Action

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

#execute!, #to_s

Constructor Details

#initialize(builder) ⇒ Action



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

def initialize(builder)
  super builder
end

Instance Method Details

#backends(directory) ⇒ Object



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

def backends(directory)
  Backends.new @builder, directory
end

#create_bulkload_config(directory) ⇒ Object



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

def create_bulkload_config(directory)
  CreateBulkloadConfig.new @builder, directory
end

#cron_info(directory) ⇒ Object



116
117
118
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 116

def cron_info(directory)
  CronInfo.new @builder, directory
end

#download_app {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


119
120
121
122
123
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 119

def download_app
  @builder.append ' download_app'
  yield @builder if block_given?
  self
end

#download_data(directory) ⇒ Object



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

def download_data(directory)
  DownloadData.new @builder, directory
end

#help(action) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


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

def help(action)
  @builder.append " help #{@builder.format action}"
  yield @builder if block_given?
  self
end

#request_logs(directory, output_file) ⇒ Object



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

def request_logs(directory, output_file)
  RequestLogs.new @builder, directory, output_file
end

#resource_limits_info(directory) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


135
136
137
138
139
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 135

def resource_limits_info(directory)
  @builder.append " resource_limits_info #{@builder.format directory}"
  yield @builder if block_given?
  self
end

#rollback(directory) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


140
141
142
143
144
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 140

def rollback(directory)
  @builder.append " rollback #{@builder.format directory}"
  yield @builder if block_given?
  self
end

#set_default_version(directory) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


145
146
147
148
149
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 145

def set_default_version(directory)
  @builder.append " set_default_version #{@builder.format directory}"
  yield @builder if block_given?
  self
end

#update(directory) ⇒ Object



150
151
152
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 150

def update(directory)
  Update.new @builder, directory
end

#update_cron(directory) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


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

def update_cron(directory)
  @builder.append " update_cron #{@builder.format directory}"
  yield @builder if block_given?
  self
end

#update_dos(directory) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


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

def update_dos(directory)
  @builder.append " update_dos #{@builder.format directory}"
  yield @builder if block_given?
  self
end

#update_indexes(directory) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


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

def update_indexes(directory)
  @builder.append " update_indexes #{@builder.format directory}"
  yield @builder if block_given?
  self
end

#update_queues(directory) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


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

def update_queues(directory)
  @builder.append " update_queues #{@builder.format directory}"
  yield @builder if block_given?
  self
end

#upload_data(directory) ⇒ Object



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

def upload_data(directory)
  UploadData.new @builder, directory
end

#vacuum_indexes(directory) ⇒ Object



176
177
178
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 176

def vacuum_indexes(directory)
  VacuumIndexes.new @builder, directory
end