Class: FluentCommandBuilder::AppCfgPython::V16::VacuumIndexes

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



2509
2510
2511
2512
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2509

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

Instance Method Details

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

Yields:

  • (@b)


2583
2584
2585
2586
2587
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2583

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

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

Yields:

  • (@b)


2568
2569
2570
2571
2572
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2568

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

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

Yields:

  • (@b)


2543
2544
2545
2546
2547
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2543

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

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

Yields:

  • (@b)


2603
2604
2605
2606
2607
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2603

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

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

Yields:

  • (@b)


2513
2514
2515
2516
2517
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2513

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

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

Yields:

  • (@b)


2548
2549
2550
2551
2552
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2548

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

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

Yields:

  • (@b)


2538
2539
2540
2541
2542
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2538

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

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

Yields:

  • (@b)


2553
2554
2555
2556
2557
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2553

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

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

Yields:

  • (@b)


2598
2599
2600
2601
2602
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2598

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

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

Yields:

  • (@b)


2528
2529
2530
2531
2532
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2528

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

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

Yields:

  • (@b)


2588
2589
2590
2591
2592
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2588

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

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

Yields:

  • (@b)


2593
2594
2595
2596
2597
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2593

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)


2563
2564
2565
2566
2567
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2563

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

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

Yields:

  • (@b)


2518
2519
2520
2521
2522
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2518

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

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

Yields:

  • (@b)


2578
2579
2580
2581
2582
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2578

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

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

Yields:

  • (@b)


2533
2534
2535
2536
2537
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2533

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

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

Yields:

  • (@b)


2558
2559
2560
2561
2562
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2558

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

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

Yields:

  • (@b)


2523
2524
2525
2526
2527
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2523

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

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

Yields:

  • (@b)


2573
2574
2575
2576
2577
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2573

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