This repository was archived by the owner on Jul 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ import (
1010const (
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-
8881var appNameRe , _ = regexp .Compile ("^[a-zA-Z][a-zA-Z0-9_-]+$" )
8982
9083// 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 {
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
189182func WithParametersFiles (files ... string ) func (* App ) error {
190183 return parametersLoader (func () ([][]byte , error ) { return readFiles (files ... ) })
You can’t perform that action at this time.
0 commit comments