Add accounts RPCs

This commit is contained in:
2024-03-18 12:16:30 +01:00
parent 9060b308bd
commit 21bcac2583
2 changed files with 21 additions and 11 deletions

View File

@ -7,12 +7,9 @@ option go_package = "git.badhouseplants.net/softplayer/softplayer-go-proto/pkg/a
/**
* Service for handling environments
*/
service Accounts {
rpc Create(AccountData) returns (AccountFull) {}
rpc Update(AccountFull) returns (AccountFull) {}
rpc Delete(AccountFull) returns (google.protobuf.Empty) {}
rpc Get(AccountId) returns (AccountFull) {}
rpc List(google.protobuf.Empty) returns (stream AccountFull) {}
service Accounts {
rpc SignUp (AccountWithPassword) returns (AccountFull) {}
rpc SignIn (AccountWithPassword) returns (google.protobuf.Empty) {}
}
/**
@ -40,3 +37,8 @@ message AccountFull {
AccountId id = 1;
AccountData data = 2;
}
message AccountWithKubeConfig {
}