Skip to content

Commit 7c6f58a

Browse files
committed
deprecate cli/command/stack/loader
Functions and types in this package were exported as part of the "compose on kubernetes" feature, which was deprecated and removed. These functions are meant for internal use, and will be removed in the next release. Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit ad6ab18) Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 8c6a7fc commit 7c6f58a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cli/command/stack/loader/loader.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ import (
2222
)
2323

2424
// LoadComposefile parse the composefile specified in the cli and returns its Config and version.
25+
//
26+
// Deprecated: this function was for internal use and will be removed in the next release.
2527
func LoadComposefile(dockerCli command.Cli, opts options.Deploy) (*composetypes.Config, error) {
2628
configDetails, err := GetConfigDetails(opts.Composefiles, dockerCli.In())
2729
if err != nil {
@@ -84,6 +86,8 @@ func propertyWarnings(properties map[string]string) string {
8486
}
8587

8688
// GetConfigDetails parse the composefiles specified in the cli and returns their ConfigDetails
89+
//
90+
// Deprecated: this function was for internal use and will be removed in the next release.
8791
func GetConfigDetails(composefiles []string, stdin io.Reader) (composetypes.ConfigDetails, error) {
8892
var details composetypes.ConfigDetails
8993

0 commit comments

Comments
 (0)