Skip to content

Commit c77c82a

Browse files
committed
feat(canary): remove canary api
1 parent b67a17f commit c77c82a

8 files changed

Lines changed: 3 additions & 536 deletions

File tree

cmd/canary.go

Lines changed: 0 additions & 137 deletions
This file was deleted.

cmd/canary_test.go

Lines changed: 0 additions & 141 deletions
This file was deleted.

cmd/cmd.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ type Commander interface {
3030
TokensRemove(string, string) error
3131
BuildsList(string, int) error
3232
BuildsCreate(string, string, string, string, string) error
33-
CanaryInfo(string) error
34-
CanaryCreate(string, []string) error
35-
CanaryRemove(string, []string) error
36-
CanaryRelease(string) error
37-
CanaryRollback(string) error
3833
CertsList(int) error
3934
CertAdd(string, string, string) error
4035
CertRemove(string) error

drycc.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ Subcommands, use 'drycc help [subcommand]' to learn more:
5151
apps manage applications used to provide services
5252
autoscale manage autoscale for applications
5353
builds manage builds created using 'git push'
54-
canary manage canary deploy for applications
5554
certs manage SSL endpoints for an app
5655
config manage environment variables that define app config
5756
domains manage and assign domain names to your applications
@@ -121,8 +120,6 @@ Use 'git push drycc main' to deploy to an application.
121120
err = parser.Autoscale(argv, &cmdr)
122121
case "builds":
123122
err = parser.Builds(argv, &cmdr)
124-
case "canary":
125-
err = parser.Canary(argv, &cmdr)
126123
case "certs":
127124
err = parser.Certs(argv, &cmdr)
128125
case "config":

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.22
55
require (
66
github.com/containerd/console v1.0.4
77
github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815
8-
github.com/drycc/controller-sdk-go v0.0.0-20240701055356-ed968ffcc725
8+
github.com/drycc/controller-sdk-go v0.0.0-20240702013605-81d290b86004
99
github.com/drycc/pkg v0.0.0-20240225112316-78fc9239f51f
1010
github.com/olekukonko/tablewriter v0.0.5
1111
github.com/stretchr/testify v1.9.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
44
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
55
github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815 h1:bWDMxwH3px2JBh6AyO7hdCn/PkvCZXii8TGj7sbtEbQ=
66
github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE=
7-
github.com/drycc/controller-sdk-go v0.0.0-20240701055356-ed968ffcc725 h1:Kgo5LLLYD249F0m+9NwbOpTGJ1EuaBcdBCCNKa8Dye4=
8-
github.com/drycc/controller-sdk-go v0.0.0-20240701055356-ed968ffcc725/go.mod h1:a6WodXx5WyT9kOHHpOL62EIqJaYJeAr7NW1FCoKmG6Q=
7+
github.com/drycc/controller-sdk-go v0.0.0-20240702013605-81d290b86004 h1:WHOD++Rk9UHCOJvW2WhUaLpW/Kw2UBwcfEnUABwahCc=
8+
github.com/drycc/controller-sdk-go v0.0.0-20240702013605-81d290b86004/go.mod h1:a6WodXx5WyT9kOHHpOL62EIqJaYJeAr7NW1FCoKmG6Q=
99
github.com/drycc/pkg v0.0.0-20240225112316-78fc9239f51f h1:kgjvUQJeAszDoU1Vo4vTTE92KI8Av3JPb6Qn890niXg=
1010
github.com/drycc/pkg v0.0.0-20240225112316-78fc9239f51f/go.mod h1:n+QxGif6ha9CEoxVnlipxb9IdmerybcUSzTEDFkvjiA=
1111
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=

0 commit comments

Comments
 (0)