Class: FluentCommandBuilder::AppCfgPython::V16::ResourceLimitsInfo

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

Returns a new instance of ResourceLimitsInfo.



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

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)


1624
1625
1626
1627
1628
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1624

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

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

Yields:

  • (@b)


1609
1610
1611
1612
1613
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1609

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

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

Yields:

  • (@b)


1584
1585
1586
1587
1588
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1584

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

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

Yields:

  • (@b)


1554
1555
1556
1557
1558
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1554

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

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

Yields:

  • (@b)


1589
1590
1591
1592
1593
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1589

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

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

Yields:

  • (@b)


1579
1580
1581
1582
1583
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1579

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

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

Yields:

  • (@b)


1594
1595
1596
1597
1598
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1594

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

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

Yields:

  • (@b)


1639
1640
1641
1642
1643
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1639

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

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

Yields:

  • (@b)


1569
1570
1571
1572
1573
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1569

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

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

Yields:

  • (@b)


1629
1630
1631
1632
1633
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1629

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

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

Yields:

  • (@b)


1634
1635
1636
1637
1638
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1634

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)


1604
1605
1606
1607
1608
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1604

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

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

Yields:

  • (@b)


1559
1560
1561
1562
1563
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1559

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

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

Yields:

  • (@b)


1619
1620
1621
1622
1623
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1619

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

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

Yields:

  • (@b)


1574
1575
1576
1577
1578
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1574

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

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

Yields:

  • (@b)


1599
1600
1601
1602
1603
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1599

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

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

Yields:

  • (@b)


1564
1565
1566
1567
1568
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1564

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

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

Yields:

  • (@b)


1614
1615
1616
1617
1618
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1614

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