Introduce check for config file

This commit is contained in:
erik 2022-11-23 14:41:10 +01:00
parent 874cd7ee22
commit 5cf191568e
2 changed files with 14 additions and 0 deletions

View file

@ -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
}
}

View file

@ -0,0 +1,5 @@
package org.domaindrivenarchitecture.provs.server.domain.k3s
interface ConfigFileRepository {
fun assertExists(configFileName: ConfigFileName?)
}