chore(clean): remove unused functions

This commit is contained in:
2024-11-25 11:54:18 +01:00
parent 046410a5ec
commit 36984e3825
2 changed files with 0 additions and 28 deletions

View File

@@ -24,17 +24,6 @@ const (
FileMapUsageFiles // files in a configmap.
)
// NewFileMap creates a new DataMap from a compose service. The appName is the name of the application taken from the project name.
func NewFileMap(service types.ServiceConfig, appName, kind string) DataMap {
switch kind {
case "configmap":
return NewConfigMap(service, appName, true)
default:
log.Fatalf("Unknown filemap kind: %s", kind)
}
return nil
}
// only used to check interface implementation
var (
_ DataMap = (*ConfigMap)(nil)