Add kubeconfig to account api
This commit is contained in:
@ -1,15 +1,14 @@
|
||||
/// This file has messages for describing environments
|
||||
syntax = "proto3";
|
||||
package accounts;
|
||||
import "google/protobuf/empty.proto";
|
||||
option go_package = "git.badhouseplants.net/softplayer/softplayer-go-proto/pkg/accounts";
|
||||
|
||||
/**
|
||||
* Service for handling environments
|
||||
*/
|
||||
service Accounts {
|
||||
rpc SignUp (AccountWithPassword) returns (AccountFull) {}
|
||||
rpc SignIn (AccountWithPassword) returns (google.protobuf.Empty) {}
|
||||
rpc SignUp (AccountWithPassword) returns (AccountFullWithToken) {}
|
||||
rpc SignIn (AccountWithPassword) returns (AccountFullWithToken) {}
|
||||
}
|
||||
|
||||
/**
|
||||
@ -39,7 +38,9 @@ message AccountFull {
|
||||
AccountData data = 2;
|
||||
}
|
||||
|
||||
message AccountWithKubeConfig {
|
||||
|
||||
message AccountFullWithToken {
|
||||
AccountId id = 1;
|
||||
AccountData data = 2;
|
||||
string Token = 3;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user