class Lustre_exporter_slurm

Defined in:

lustre_exporter_slurm.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ldap_host : String, ldap_port : Int32, ldap_ssl : Bool, ldap_tls : Bool, search_base : String, db_host : String, db_port : Int32 | Nil, db_user : String, db_pass : String, db_name : String, db_table : String) #

[View source]

Instance Method Detail

def cache_username_info(uid : String) #

[View source]
def close #

[View source]
def get_db_job_info(id : UInt32) : NamedTuple(user: String, account: String) | Nil #

[View source]
def get_jobs_info(id : UInt32) : NamedTuple(user: String, account: String) | Nil #

[View source]
def get_stats #

[View source]
def get_username(uid : String) : String #

[View source]
def get_username_from_uid(uid : String) #

[View source]
def improve_metric(metric : String) #

[View source]
def ldap_host : String #

[View source]
def ldap_host=(ldap_host : String) #

[View source]
def ldap_port : Int32 #

[View source]
def ldap_port=(ldap_port : Int32) #

[View source]
def search_base : String #

[View source]
def search_base=(search_base : String) #

[View source]