Class: FluentCommandBuilder::AppCfgPython::V17::ResourceLimitsInfo

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

Returns a new instance of ResourceLimitsInfo.



1546
1547
1548
1549
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1546

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

Instance Method Details

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

Yields:

  • (@b)


1620
1621
1622
1623
1624
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1620

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

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

Yields:

  • (@b)


1605
1606
1607
1608
1609
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1605

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

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

Yields:

  • (@b)


1580
1581
1582
1583
1584
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1580

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

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

Yields:

  • (@b)


1550
1551
1552
1553
1554
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1550

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

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

Yields:

  • (@b)


1585
1586
1587
1588
1589
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1585

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

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

Yields:

  • (@b)


1575
1576
1577
1578
1579
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1575

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

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

Yields:

  • (@b)


1590
1591
1592
1593
1594
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1590

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

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

Yields:

  • (@b)


1635
1636
1637
1638
1639
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1635

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

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

Yields:

  • (@b)


1565
1566
1567
1568
1569
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1565

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

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

Yields:

  • (@b)


1625
1626
1627
1628
1629
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1625

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

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

Yields:

  • (@b)


1630
1631
1632
1633
1634
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1630

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)


1600
1601
1602
1603
1604
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1600

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

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

Yields:

  • (@b)


1555
1556
1557
1558
1559
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1555

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

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

Yields:

  • (@b)


1615
1616
1617
1618
1619
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1615

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

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

Yields:

  • (@b)


1570
1571
1572
1573
1574
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1570

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

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

Yields:

  • (@b)


1595
1596
1597
1598
1599
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1595

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

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

Yields:

  • (@b)


1560
1561
1562
1563
1564
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1560

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

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

Yields:

  • (@b)


1610
1611
1612
1613
1614
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1610

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