Class: SystemdServiceCheck::Base::Service

Inherits:
Struct
  • Object
show all
Defined in:
lib/systemd_service_check/base.rb

Instance Attribute Summary collapse

Instance Attribute Details

#active_stateObject

Returns the value of attribute active_state

Returns:

  • (Object)

    the current value of active_state



14
15
16
# File 'lib/systemd_service_check/base.rb', line 14

def active_state
  @active_state
end

#load_stateObject

Returns the value of attribute load_state

Returns:

  • (Object)

    the current value of load_state



14
15
16
# File 'lib/systemd_service_check/base.rb', line 14

def load_state
  @load_state
end

#service_nameObject

Returns the value of attribute service_name

Returns:

  • (Object)

    the current value of service_name



14
15
16
# File 'lib/systemd_service_check/base.rb', line 14

def service_name
  @service_name
end

#sub_stateObject

Returns the value of attribute sub_state

Returns:

  • (Object)

    the current value of sub_state



14
15
16
# File 'lib/systemd_service_check/base.rb', line 14

def sub_state
  @sub_state
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



14
15
16
# File 'lib/systemd_service_check/base.rb', line 14

def type
  @type
end

#unit_file_stateObject

Returns the value of attribute unit_file_state

Returns:

  • (Object)

    the current value of unit_file_state



14
15
16
# File 'lib/systemd_service_check/base.rb', line 14

def unit_file_state
  @unit_file_state
end