Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 175bec6

Browse files
rumplndeloof
authored andcommitted
Remove unused exported functions/variables
Signed-off-by: Djordje Lukic <[email protected]>
1 parent 8f1a594 commit 175bec6

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

internal/names.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ import (
1010
const (
1111
// AppExtension is the extension used by an application.
1212
AppExtension = ".dockerapp"
13-
// ImageLabel is the label used to distinguish applications from Docker images.
14-
ImageLabel = "com.docker.application"
1513
// MetadataFileName is metadata file name
1614
MetadataFileName = "metadata.yml"
1715
// ComposeFileName is compose file name
@@ -80,11 +78,6 @@ const (
8078
LabelAppVersion = Namespace + "version"
8179
)
8280

83-
var (
84-
// FileNames lists the application file names, in order.
85-
FileNames = []string{MetadataFileName, ComposeFileName, ParametersFileName}
86-
)
87-
8881
var appNameRe, _ = regexp.Compile("^[a-zA-Z][a-zA-Z0-9_-]+$")
8982

9083
// AppNameFromDir takes a path to an app directory and returns

types/types.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -178,13 +178,6 @@ func WithSource(source AppSourceKind) func(*App) error {
178178
}
179179
}
180180

181-
func WithCRLF(hasCRLF bool) func(*App) error {
182-
return func(app *App) error {
183-
app.hasCRLF = hasCRLF
184-
return nil
185-
}
186-
}
187-
188181
// WithParametersFiles adds the specified parameters files to the app
189182
func WithParametersFiles(files ...string) func(*App) error {
190183
return parametersLoader(func() ([][]byte, error) { return readFiles(files...) })

0 commit comments

Comments
 (0)