This repository was archived by the owner on Jul 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ import (
10
10
const (
11
11
// AppExtension is the extension used by an application.
12
12
AppExtension = ".dockerapp"
13
- // ImageLabel is the label used to distinguish applications from Docker images.
14
- ImageLabel = "com.docker.application"
15
13
// MetadataFileName is metadata file name
16
14
MetadataFileName = "metadata.yml"
17
15
// ComposeFileName is compose file name
@@ -80,11 +78,6 @@ const (
80
78
LabelAppVersion = Namespace + "version"
81
79
)
82
80
83
- var (
84
- // FileNames lists the application file names, in order.
85
- FileNames = []string {MetadataFileName , ComposeFileName , ParametersFileName }
86
- )
87
-
88
81
var appNameRe , _ = regexp .Compile ("^[a-zA-Z][a-zA-Z0-9_-]+$" )
89
82
90
83
// AppNameFromDir takes a path to an app directory and returns
Original file line number Diff line number Diff line change @@ -178,13 +178,6 @@ func WithSource(source AppSourceKind) func(*App) error {
178
178
}
179
179
}
180
180
181
- func WithCRLF (hasCRLF bool ) func (* App ) error {
182
- return func (app * App ) error {
183
- app .hasCRLF = hasCRLF
184
- return nil
185
- }
186
- }
187
-
188
181
// WithParametersFiles adds the specified parameters files to the app
189
182
func WithParametersFiles (files ... string ) func (* App ) error {
190
183
return parametersLoader (func () ([][]byte , error ) { return readFiles (files ... ) })
You can’t perform that action at this time.
0 commit comments