Introduce check for config file
This commit is contained in:
parent
874cd7ee22
commit
5cf191568e
2 changed files with 14 additions and 0 deletions
|
@ -0,0 +1,9 @@
|
|||
package org.domaindrivenarchitecture.provs.server.domain.k3s
|
||||
|
||||
import java.io.File
|
||||
|
||||
data class ConfigFileName(val fileName: String) {
|
||||
fun fullqualified() : String {
|
||||
return File(fileName).absoluteFile.absolutePath
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
package org.domaindrivenarchitecture.provs.server.domain.k3s
|
||||
|
||||
interface ConfigFileRepository {
|
||||
fun assertExists(configFileName: ConfigFileName?)
|
||||
}
|
Loading…
Reference in a new issue