Skip to content

Commit f0e5a0d

Browse files
committed
deprecate cli/command/stack/options
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]>
1 parent ad6ab18 commit f0e5a0d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

cli/command/stack/options/opts.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ package options
33
import "github.com/docker/cli/opts"
44

55
// Deploy holds docker stack deploy options
6+
//
7+
// Deprecated: this type was for internal use and will be removed in the next release.
68
type Deploy struct {
79
Composefiles []string
810
Namespace string
@@ -14,18 +16,24 @@ type Deploy struct {
1416
}
1517

1618
// Config holds docker stack config options
19+
//
20+
// Deprecated: this type was for internal use and will be removed in the next release.
1721
type Config struct {
1822
Composefiles []string
1923
SkipInterpolation bool
2024
}
2125

2226
// List holds docker stack ls options
27+
//
28+
// Deprecated: this type was for internal use and will be removed in the next release.
2329
type List struct {
2430
Format string
2531
AllNamespaces bool
2632
}
2733

2834
// PS holds docker stack ps options
35+
//
36+
// Deprecated: this type was for internal use and will be removed in the next release.
2937
type PS struct {
3038
Filter opts.FilterOpt
3139
NoTrunc bool
@@ -36,12 +44,16 @@ type PS struct {
3644
}
3745

3846
// Remove holds docker stack remove options
47+
//
48+
// Deprecated: this type was for internal use and will be removed in the next release.
3949
type Remove struct {
4050
Namespaces []string
4151
Detach bool
4252
}
4353

4454
// Services holds docker stack services options
55+
//
56+
// Deprecated: this type was for internal use and will be removed in the next release.
4557
type Services struct {
4658
Quiet bool
4759
Format string

0 commit comments

Comments
 (0)