Skip to content

Commit bd30a8b

Browse files
feat(api): make public
1 parent 4cfb85a commit bd30a8b

File tree

12 files changed

+30
-20
lines changed

12 files changed

+30
-20
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 18
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fhypeman-7c27e323412e72166bce2de104f1bf82b57197e05b686e94cd81d07e288bd558.yml
33
openapi_spec_hash: 4656d2b318d04a9fec0210897d76b505
4-
config_hash: eef61f4c936e0ca6c8b9d381907a24c9
4+
config_hash: e44daab66300348998d041d8dfb505b4

cmd/hypeman/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import (
66
"context"
77
"errors"
88
"fmt"
9-
"https://github.com/stainless-sdks/hypeman-go"
109
"net/http"
1110
"os"
1211

1312
"github.com/onkernel/hypeman-cli/pkg/cmd"
13+
"github.com/onkernel/hypeman-go"
1414
"github.com/tidwall/gjson"
1515
)
1616

go.mod

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@ require (
77
github.com/charmbracelet/bubbletea v1.3.6
88
github.com/charmbracelet/lipgloss v1.1.0
99
github.com/charmbracelet/x/term v0.2.1
10+
github.com/itchyny/json2yaml v0.1.4
1011
github.com/muesli/reflow v0.3.0
12+
github.com/onkernel/hypeman-go v0.0.2
1113
github.com/tidwall/gjson v1.18.0
14+
github.com/tidwall/pretty v1.2.1
1215
github.com/tidwall/sjson v1.2.5
1316
github.com/urfave/cli-docs/v3 v3.0.0-alpha6
1417
github.com/urfave/cli/v3 v3.3.2
18+
golang.org/x/term v0.37.0
1519
)
1620

1721
require (
@@ -31,9 +35,8 @@ require (
3135
github.com/rivo/uniseg v0.4.7 // indirect
3236
github.com/russross/blackfriday/v2 v2.1.0 // indirect
3337
github.com/tidwall/match v1.1.1 // indirect
34-
github.com/tidwall/pretty v1.2.0 // indirect
3538
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
3639
golang.org/x/sync v0.15.0 // indirect
37-
golang.org/x/sys v0.33.0 // indirect
40+
golang.org/x/sys v0.38.0 // indirect
3841
golang.org/x/text v0.3.8 // indirect
3942
)

go.sum

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
2424
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
2525
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f h1:Y/CXytFA4m6baUTXGLOoWe4PQhGxaX0KpnayAqC48p4=
2626
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f/go.mod h1:vw97MGsxSvLiUE2X8qFplwetxpGLQrlU1Q9AUEIzCaM=
27+
github.com/itchyny/json2yaml v0.1.4 h1:/pErVOXGG5iTyXHi/QKR4y3uzhLjGTEmmJIy97YT+k8=
28+
github.com/itchyny/json2yaml v0.1.4/go.mod h1:6iudhBZdarpjLFRNj+clWLAkGft+9uCcjAZYXUH9eGI=
2729
github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY=
2830
github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=
2931
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
@@ -41,6 +43,8 @@ github.com/muesli/reflow v0.3.0 h1:IFsN6K9NfGtjeggFP+68I4chLZV2yIKsXJFNZ+eWh6s=
4143
github.com/muesli/reflow v0.3.0/go.mod h1:pbwTDkVPibjO2kyvBQRBxTWEEGDGq0FlB1BIKtnHY/8=
4244
github.com/muesli/termenv v0.16.0 h1:S5AlUN9dENB57rsbnkPyfdGuWIlkmzJjbFf0Tf5FWUc=
4345
github.com/muesli/termenv v0.16.0/go.mod h1:ZRfOIKPFDYQoDFF4Olj7/QJbW60Ol/kL1pU3VfY/Cnk=
46+
github.com/onkernel/hypeman-go v0.0.2 h1:2hFv9bBLGoSw0DGTN4RWG9YmmKo6HrO/kwtVcq9RCYY=
47+
github.com/onkernel/hypeman-go v0.0.2/go.mod h1:pxRRFfVcLvafZpDD1O6IjwHnem3hKEuZTCClrnGiIKA=
4448
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
4549
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
4650
github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
@@ -56,8 +60,9 @@ github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY=
5660
github.com/tidwall/gjson v1.18.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
5761
github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA=
5862
github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM=
59-
github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs=
6063
github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU=
64+
github.com/tidwall/pretty v1.2.1 h1:qjsOFOWWQl+N3RsoF5/ssm1pHmJJwhjlSbZ51I6wMl4=
65+
github.com/tidwall/pretty v1.2.1/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU=
6166
github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY=
6267
github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28=
6368
github.com/urfave/cli-docs/v3 v3.0.0-alpha6 h1:w/l/N0xw1rO/aHRIGXJ0lDwwYFOzilup1qGvIytP3BI=
@@ -72,8 +77,10 @@ golang.org/x/sync v0.15.0 h1:KWH3jNZsfyT6xfAfKiz6MRNmd46ByHDYaZ7KSkCtdW8=
7277
golang.org/x/sync v0.15.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
7378
golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
7479
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
75-
golang.org/x/sys v0.33.0 h1:q3i8TbbEz+JRD9ywIRlyRAQbM0qF7hu24q3teo2hbuw=
76-
golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
80+
golang.org/x/sys v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc=
81+
golang.org/x/sys v0.38.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
82+
golang.org/x/term v0.37.0 h1:8EGAD0qCmHYZg6J17DvsMy9/wJ7/D/4pV/wfnld5lTU=
83+
golang.org/x/term v0.37.0/go.mod h1:5pB4lxRNYYVZuTLmy8oR2BH8dflOR+IbTYFD8fi3254=
7784
golang.org/x/text v0.3.8 h1:nAL+RVCQ9uMn3vJZbV+MRnydTJFPf8qqY42YiA6MrqY=
7885
golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ=
7986
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=

pkg/cmd/health.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ package cmd
55
import (
66
"context"
77
"fmt"
8-
"https://github.com/stainless-sdks/hypeman-go/option"
98

9+
"github.com/onkernel/hypeman-go/option"
1010
"github.com/tidwall/gjson"
1111
"github.com/urfave/cli/v3"
1212
)

pkg/cmd/image.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ package cmd
55
import (
66
"context"
77
"fmt"
8-
"https://github.com/stainless-sdks/hypeman-go"
9-
"https://github.com/stainless-sdks/hypeman-go/option"
108

119
"github.com/onkernel/hypeman-cli/pkg/jsonflag"
10+
"github.com/onkernel/hypeman-go"
11+
"github.com/onkernel/hypeman-go/option"
1212
"github.com/tidwall/gjson"
1313
"github.com/urfave/cli/v3"
1414
)

pkg/cmd/instance.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ package cmd
55
import (
66
"context"
77
"fmt"
8-
"https://github.com/stainless-sdks/hypeman-go"
9-
"https://github.com/stainless-sdks/hypeman-go/option"
108

119
"github.com/onkernel/hypeman-cli/pkg/jsonflag"
10+
"github.com/onkernel/hypeman-go"
11+
"github.com/onkernel/hypeman-go/option"
1212
"github.com/tidwall/gjson"
1313
"github.com/urfave/cli/v3"
1414
)

pkg/cmd/instancevolume.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ package cmd
55
import (
66
"context"
77
"fmt"
8-
"https://github.com/stainless-sdks/hypeman-go"
9-
"https://github.com/stainless-sdks/hypeman-go/option"
108

119
"github.com/onkernel/hypeman-cli/pkg/jsonflag"
10+
"github.com/onkernel/hypeman-go"
11+
"github.com/onkernel/hypeman-go/option"
1212
"github.com/tidwall/gjson"
1313
"github.com/urfave/cli/v3"
1414
)

pkg/cmd/util.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ import (
66
"bytes"
77
"fmt"
88
"golang.org/x/term"
9-
"https://github.com/stainless-sdks/hypeman-go"
10-
"https://github.com/stainless-sdks/hypeman-go/option"
119
"io"
1210
"log"
1311
"net/http"
@@ -19,6 +17,8 @@ import (
1917
"github.com/itchyny/json2yaml"
2018
"github.com/onkernel/hypeman-cli/pkg/jsonflag"
2119
"github.com/onkernel/hypeman-cli/pkg/jsonview"
20+
"github.com/onkernel/hypeman-go"
21+
"github.com/onkernel/hypeman-go/option"
2222
"github.com/tidwall/gjson"
2323
"github.com/tidwall/pretty"
2424
"github.com/urfave/cli/v3"

pkg/cmd/volume.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ package cmd
55
import (
66
"context"
77
"fmt"
8-
"https://github.com/stainless-sdks/hypeman-go"
9-
"https://github.com/stainless-sdks/hypeman-go/option"
108

119
"github.com/onkernel/hypeman-cli/pkg/jsonflag"
10+
"github.com/onkernel/hypeman-go"
11+
"github.com/onkernel/hypeman-go/option"
1212
"github.com/tidwall/gjson"
1313
"github.com/urfave/cli/v3"
1414
)

0 commit comments

Comments
 (0)