kairos-sdk/types/fs.go

8 lines
235 B
Go
Raw Normal View History

package types
// KairosFS is our interface for methods that need an FS
// We should try to keep it to a minimum so we can change between backends easily if needed
type KairosFS interface {
ReadFile(filename string) ([]byte, error)
}