Class: FluentCommandBuilder::AppCfgPython::V16::UpdateCron

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

Returns a new instance of UpdateCron.



1949
1950
1951
1952
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1949

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

Instance Method Details

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

Yields:

  • (@b)


2023
2024
2025
2026
2027
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2023

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

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

Yields:

  • (@b)


2008
2009
2010
2011
2012
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2008

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

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

Yields:

  • (@b)


1983
1984
1985
1986
1987
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1983

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

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

Yields:

  • (@b)


1953
1954
1955
1956
1957
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1953

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

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

Yields:

  • (@b)


1988
1989
1990
1991
1992
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1988

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

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

Yields:

  • (@b)


1978
1979
1980
1981
1982
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1978

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

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

Yields:

  • (@b)


1993
1994
1995
1996
1997
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1993

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

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

Yields:

  • (@b)


2038
2039
2040
2041
2042
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2038

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

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

Yields:

  • (@b)


1968
1969
1970
1971
1972
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1968

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

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

Yields:

  • (@b)


2028
2029
2030
2031
2032
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2028

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

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

Yields:

  • (@b)


2033
2034
2035
2036
2037
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2033

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)


2003
2004
2005
2006
2007
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2003

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

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

Yields:

  • (@b)


1958
1959
1960
1961
1962
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1958

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

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

Yields:

  • (@b)


2018
2019
2020
2021
2022
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2018

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

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

Yields:

  • (@b)


1973
1974
1975
1976
1977
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1973

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

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

Yields:

  • (@b)


1998
1999
2000
2001
2002
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1998

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

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

Yields:

  • (@b)


1963
1964
1965
1966
1967
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1963

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

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

Yields:

  • (@b)


2013
2014
2015
2016
2017
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2013

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