lntest: add getters for TLSCertPath and TLSKeyPath fields
This commit is contained in:
parent
f0b2abaec8
commit
f2ca4e1ea0
@ -305,6 +305,16 @@ func (hn *HarnessNode) Name() string {
|
|||||||
return hn.cfg.Name
|
return hn.cfg.Name
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TLSCertStr returns the path where the TLS certificate is stored.
|
||||||
|
func (hn *HarnessNode) TLSCertStr() string {
|
||||||
|
return hn.cfg.TLSCertPath
|
||||||
|
}
|
||||||
|
|
||||||
|
// TLSKeyStr returns the path where the TLS key is stored.
|
||||||
|
func (hn *HarnessNode) TLSKeyStr() string {
|
||||||
|
return hn.cfg.TLSKeyPath
|
||||||
|
}
|
||||||
|
|
||||||
// ChanBackupPath returns the fielpath to the on-disk channels.backup file for
|
// ChanBackupPath returns the fielpath to the on-disk channels.backup file for
|
||||||
// this node.
|
// this node.
|
||||||
func (hn *HarnessNode) ChanBackupPath() string {
|
func (hn *HarnessNode) ChanBackupPath() string {
|
||||||
|
Loading…
Reference in New Issue
Block a user