summaryrefslogtreecommitdiff
path: root/internal/configuration/types.go
diff options
context:
space:
mode:
authorJames Elliott <james-d-elliott@users.noreply.github.com>2023-09-20 06:21:40 +1000
committerGitHub <noreply@github.com>2023-09-20 06:21:40 +1000
commit16b0e202447d8b89fea791a6be8baa1b3783541e (patch)
tree923a66c1538d1d7812307197a08c96d420fcc9a7 /internal/configuration/types.go
parent3ff9d7a752556956b73985613011612eeee89cce (diff)
feat(commands): config template command (#6013)
Adds a command to template the Authelia configuration with the enabled filters to see the effective output. Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
Diffstat (limited to 'internal/configuration/types.go')
-rw-r--r--internal/configuration/types.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/configuration/types.go b/internal/configuration/types.go
index ad80eaa10..d1c487a2f 100644
--- a/internal/configuration/types.go
+++ b/internal/configuration/types.go
@@ -54,3 +54,9 @@ type MapSource struct {
m map[string]any
koanf *koanf.Koanf
}
+
+// File represents a file path and data content as bytes.
+type File struct {
+ Path string
+ Data []byte
+}