Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
21518d1
initial commit
Feb 13, 2026
87ab92a
change folder structure
Feb 16, 2026
71a4085
add migrations action to proto and gRPC server
Feb 19, 2026
cde4d02
add service discovery to gRPC and proto
Feb 20, 2026
f249ae2
change get_service_address to take instance url instead of dirpath
Feb 23, 2026
2feb15c
add GetModels action to proto messages and adjust message naming
Feb 23, 2026
44e5576
add better proto message type use in actions scripts
Feb 23, 2026
dd8177d
add GetCollection to proto and adjust the script to use message types
Feb 23, 2026
ce38ccf
fix stats field handling
Feb 24, 2026
a86397c
add GetCollection gRPC endpoint
Feb 24, 2026
936f62c
adjust k8s health action and helpers for gRPC server integration
Feb 26, 2026
6077d17
adjust setup/config for gRPC integration and add server endpoints
Feb 26, 2026
ea48ab3
adjust scale/updateBackendmanage for gRPC integration and add server …
Feb 27, 2026
5f62707
adjust k8s start/stop for gRPC integration, add proto messages and se…
Mar 2, 2026
07d2fe4
adjust create/remove for gRPC integration, add proto messages and ser…
Mar 3, 2026
525f1cc
fix scale.go server endpoint parameter bug
Mar 3, 2026
6ed9d34
fix namespace extraction bug in scale.go ScaleService
Mar 3, 2026
c49602c
health and start/update_instance give same response, adjust update_in…
Mar 3, 2026
d1cf205
move create instance password checks into exported function
Mar 5, 2026
b29bf97
add SendManageAction to proto definitions and add gRPC server endpoin…
Mar 6, 2026
d0bcdb3
feature: add configs param to NewConfig function allowing configs sen…
Mar 11, 2026
f95c265
add migrations migrate/finalize status strings to constants.go
Mar 12, 2026
757b3e5
add stop condition to migrations migrate/finalize to account for diff…
Mar 12, 2026
01a0aa2
add stopCondition to gRPC server endpoint for migrations
Mar 12, 2026
ec41d53
Merge branch 'main' into feature/add-gRPC-server
Mar 13, 2026
c1c03ce
add --clean flag to setup/config cli and proto that wipes stack folde…
Mar 13, 2026
2ff7e53
add pruneOrphans method that removes resources from namespace not in …
Mar 13, 2026
347cd9d
adjust gRPC server implementation for flexible IP:Port assignment and…
Mar 17, 2026
722757e
update openslides-go to v0.0.0-20260317105801-e0e5c62bd3b1 and adjust…
Mar 17, 2026
7e295bd
remove backendmanage revert flag and field in proto
Mar 19, 2026
5784ff0
add namespace exists check to k8s actions and grpc
Mar 31, 2026
413c8ed
Add label based filtering of resources
Apr 15, 2026
0ec55bd
Add instance status grpc server implementation for osctl status check
Apr 30, 2026
25b1c90
Add missing proto files
Apr 30, 2026
ccbae28
Fix linter issues
Apr 30, 2026
61f64fc
Add host and port flag checks for gRPC server
May 8, 2026
45d61a5
Update go version and dependencies
May 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cmd/osmanage/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"fmt"
"os"

grpcServer "github.com/OpenSlides/openslides-cli/internal/grpc/server"
"github.com/OpenSlides/openslides-cli/internal/instance/config"
"github.com/OpenSlides/openslides-cli/internal/instance/create"
"github.com/OpenSlides/openslides-cli/internal/instance/remove"
Expand Down Expand Up @@ -81,6 +82,8 @@ func RootCmd() *cobra.Command {
k8sActions.UpdateInstanceCmd(),
k8sActions.ScaleCmd(),
k8sActions.GetServiceAddressCmd(),
k8sActions.GetNamespaceExistsCmd(),
k8sActions.GetInstanceStatusCmd(),
)

rootCmd.AddCommand(
Expand All @@ -96,6 +99,7 @@ func RootCmd() *cobra.Command {
action.Cmd(),
migrations.Cmd(),
k8sCmd,
grpcServer.Cmd(),
)

return rootCmd
Expand Down
73 changes: 43 additions & 30 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,67 +1,80 @@
module github.com/OpenSlides/openslides-cli

go 1.25.1
go 1.26.0

require (
github.com/OpenSlides/openslides-go v0.0.0-20251104124242-d8e4b15bb11e
github.com/OpenSlides/openslides-go v0.0.0-20260507150803-595ed9da8e06
github.com/schollz/progressbar/v3 v3.19.0
github.com/shopspring/decimal v1.4.0
github.com/spf13/cobra v1.10.2
golang.org/x/text v0.35.0
k8s.io/api v0.35.2
k8s.io/apimachinery v0.35.2
k8s.io/client-go v0.35.2
golang.org/x/text v0.36.0
google.golang.org/grpc v1.81.0
google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af
k8s.io/api v0.36.0
k8s.io/apimachinery v0.36.0
k8s.io/client-go v0.36.0
sigs.k8s.io/yaml v1.6.0
)

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/emicklei/go-restful/v3 v3.12.2 // indirect
github.com/fxamacker/cbor/v2 v2.9.0 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/emicklei/go-restful/v3 v3.13.0 // indirect
github.com/fxamacker/cbor/v2 v2.9.2 // indirect
github.com/go-logr/logr v1.4.3 // indirect
github.com/go-openapi/jsonpointer v0.21.0 // indirect
github.com/go-openapi/jsonreference v0.20.2 // indirect
github.com/go-openapi/swag v0.23.0 // indirect
github.com/google/gnostic-models v0.7.0 // indirect
github.com/go-openapi/jsonpointer v0.23.1 // indirect
github.com/go-openapi/jsonreference v0.21.5 // indirect
github.com/go-openapi/swag v0.26.0 // indirect
github.com/go-openapi/swag/cmdutils v0.26.0 // indirect
github.com/go-openapi/swag/conv v0.26.0 // indirect
github.com/go-openapi/swag/fileutils v0.26.0 // indirect
github.com/go-openapi/swag/jsonname v0.26.0 // indirect
github.com/go-openapi/swag/jsonutils v0.26.0 // indirect
github.com/go-openapi/swag/loading v0.26.0 // indirect
github.com/go-openapi/swag/mangling v0.26.0 // indirect
github.com/go-openapi/swag/netutils v0.26.0 // indirect
github.com/go-openapi/swag/stringutils v0.26.0 // indirect
github.com/go-openapi/swag/typeutils v0.26.0 // indirect
github.com/go-openapi/swag/yamlutils v0.26.0 // indirect
github.com/google/gnostic-models v0.7.1 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/pgx/v5 v5.7.6 // indirect
github.com/jackc/pgx/v5 v5.9.2 // indirect
github.com/jackc/puddle/v2 v2.2.2 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-isatty v0.0.22 // indirect
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/rs/zerolog v1.35.1 // indirect
github.com/x448/float16 v0.8.4 // indirect
go.yaml.in/yaml/v2 v2.4.3 // indirect
go.yaml.in/yaml/v2 v2.4.4 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
golang.org/x/crypto v0.44.0 // indirect
golang.org/x/net v0.47.0 // indirect
golang.org/x/oauth2 v0.30.0 // indirect
golang.org/x/net v0.53.0 // indirect
golang.org/x/oauth2 v0.36.0 // indirect
golang.org/x/sync v0.20.0 // indirect
golang.org/x/sys v0.38.0 // indirect
golang.org/x/term v0.37.0 // indirect
golang.org/x/time v0.9.0 // indirect
google.golang.org/protobuf v1.36.8 // indirect
golang.org/x/sys v0.44.0 // indirect
golang.org/x/term v0.42.0 // indirect
golang.org/x/time v0.15.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20260504160031-60b97b32f348 // indirect
gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/klog/v2 v2.130.1 // indirect
k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912 // indirect
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4 // indirect
k8s.io/klog/v2 v2.140.0 // indirect
k8s.io/kube-openapi v0.0.0-20260507235316-19c3011e7fa0 // indirect
k8s.io/utils v0.0.0-20260507154919-ff6756f316d2 // indirect
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
sigs.k8s.io/randfill v1.0.0 // indirect
sigs.k8s.io/structured-merge-diff/v6 v6.3.0 // indirect
sigs.k8s.io/structured-merge-diff/v6 v6.4.0 // indirect
)

require (
dario.cat/mergo v1.0.2
github.com/ghodss/yaml v1.0.0
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/spf13/pflag v1.0.9 // indirect
github.com/spf13/pflag v1.0.10 // indirect
)
Loading
Loading