Add accounts RPCs
This commit is contained in:
parent
9060b308bd
commit
21bcac2583
18
README.md
18
README.md
@ -17,6 +17,7 @@
|
|||||||
- [AccountFull](#accounts-AccountFull)
|
- [AccountFull](#accounts-AccountFull)
|
||||||
- [AccountId](#accounts-AccountId)
|
- [AccountId](#accounts-AccountId)
|
||||||
- [AccountPassword](#accounts-AccountPassword)
|
- [AccountPassword](#accounts-AccountPassword)
|
||||||
|
- [AccountWithKubeConfig](#accounts-AccountWithKubeConfig)
|
||||||
- [AccountWithPassword](#accounts-AccountWithPassword)
|
- [AccountWithPassword](#accounts-AccountWithPassword)
|
||||||
|
|
||||||
- [Accounts](#accounts-Accounts)
|
- [Accounts](#accounts-Accounts)
|
||||||
@ -181,6 +182,16 @@ Represents a environment UUID only
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a name="accounts-AccountWithKubeConfig"></a>
|
||||||
|
|
||||||
|
### AccountWithKubeConfig
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a name="accounts-AccountWithPassword"></a>
|
<a name="accounts-AccountWithPassword"></a>
|
||||||
|
|
||||||
### AccountWithPassword
|
### AccountWithPassword
|
||||||
@ -210,11 +221,8 @@ Service for handling environments
|
|||||||
|
|
||||||
| Method Name | Request Type | Response Type | Description |
|
| Method Name | Request Type | Response Type | Description |
|
||||||
| ----------- | ------------ | ------------- | ------------|
|
| ----------- | ------------ | ------------- | ------------|
|
||||||
| Create | [AccountData](#accounts-AccountData) | [AccountFull](#accounts-AccountFull) | |
|
| SignUp | [AccountWithPassword](#accounts-AccountWithPassword) | [AccountFull](#accounts-AccountFull) | |
|
||||||
| Update | [AccountFull](#accounts-AccountFull) | [AccountFull](#accounts-AccountFull) | |
|
| SignIn | [AccountWithPassword](#accounts-AccountWithPassword) | [.google.protobuf.Empty](#google-protobuf-Empty) | |
|
||||||
| Delete | [AccountFull](#accounts-AccountFull) | [.google.protobuf.Empty](#google-protobuf-Empty) | |
|
|
||||||
| Get | [AccountId](#accounts-AccountId) | [AccountFull](#accounts-AccountFull) | |
|
|
||||||
| List | [.google.protobuf.Empty](#google-protobuf-Empty) | [AccountFull](#accounts-AccountFull) stream | |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -7,12 +7,9 @@ option go_package = "git.badhouseplants.net/softplayer/softplayer-go-proto/pkg/a
|
|||||||
/**
|
/**
|
||||||
* Service for handling environments
|
* Service for handling environments
|
||||||
*/
|
*/
|
||||||
service Accounts {
|
service Accounts {
|
||||||
rpc Create(AccountData) returns (AccountFull) {}
|
rpc SignUp (AccountWithPassword) returns (AccountFull) {}
|
||||||
rpc Update(AccountFull) returns (AccountFull) {}
|
rpc SignIn (AccountWithPassword) returns (google.protobuf.Empty) {}
|
||||||
rpc Delete(AccountFull) returns (google.protobuf.Empty) {}
|
|
||||||
rpc Get(AccountId) returns (AccountFull) {}
|
|
||||||
rpc List(google.protobuf.Empty) returns (stream AccountFull) {}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -40,3 +37,8 @@ message AccountFull {
|
|||||||
AccountId id = 1;
|
AccountId id = 1;
|
||||||
AccountData data = 2;
|
AccountData data = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message AccountWithKubeConfig {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user