Compare commits
5 Commits
f2baff2f93
...
main
Author | SHA1 | Date | |
---|---|---|---|
19468be271 | |||
eb82a632ce | |||
165fe024d9 | |||
5635779253 | |||
9569f69afc |
@ -25,7 +25,7 @@ steps:
|
|||||||
- ssh-add ~/.ssh/id_ed25519
|
- ssh-add ~/.ssh/id_ed25519
|
||||||
- git config --global user.email "allanger@badhouseplants.net"
|
- git config --global user.email "allanger@badhouseplants.net"
|
||||||
- git config --global user.name "Softplayer Bot"
|
- git config --global user.name "Softplayer Bot"
|
||||||
- git clone git@git.badhouseplants.net:softplayer/softplayer-proto.git /tmp/repo
|
- git clone git@gitea.badhouseplants.net:softplayer/softplayer-proto.git /tmp/repo
|
||||||
- git -C /tmp/repo checkout generated-documentation
|
- git -C /tmp/repo checkout generated-documentation
|
||||||
- mv README.md /tmp/repo/README.md
|
- mv README.md /tmp/repo/README.md
|
||||||
- git -C /tmp/repo add .
|
- git -C /tmp/repo add .
|
||||||
|
@ -162,6 +162,7 @@ This file has messages for describing environments
|
|||||||
| kubernetes | [Kubernetes](#environments-Kubernetes) | | |
|
| kubernetes | [Kubernetes](#environments-Kubernetes) | | |
|
||||||
| server_type | [ServerType](#environments-ServerType) | | |
|
| server_type | [ServerType](#environments-ServerType) | | |
|
||||||
| server_location | [Location](#environments-Location) | | |
|
| server_location | [Location](#environments-Location) | | |
|
||||||
|
| disk_size | [int32](#int32) | | |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -449,6 +450,7 @@ Service for handling environments
|
|||||||
| ----------- | ------------ | ------------- | ------------|
|
| ----------- | ------------ | ------------- | ------------|
|
||||||
| SignUp | [AccountWithPassword](#accounts-AccountWithPassword) | [AccountFullWithToken](#accounts-AccountFullWithToken) | |
|
| SignUp | [AccountWithPassword](#accounts-AccountWithPassword) | [AccountFullWithToken](#accounts-AccountFullWithToken) | |
|
||||||
| SignIn | [AccountWithPassword](#accounts-AccountWithPassword) | [AccountFullWithToken](#accounts-AccountFullWithToken) | |
|
| SignIn | [AccountWithPassword](#accounts-AccountWithPassword) | [AccountFullWithToken](#accounts-AccountFullWithToken) | |
|
||||||
|
| ResetPassword | [AccountData](#accounts-AccountData) | [.google.protobuf.Empty](#google-protobuf-Empty) | |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
/// This file has messages for describing environments
|
/// This file has messages for describing environments
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package accounts;
|
package accounts;
|
||||||
option go_package = "git.badhouseplants.net/softplayer/softplayer-go-proto/pkg/accounts";
|
import "google/protobuf/empty.proto";
|
||||||
|
option go_package = "gitea.badhouseplants.net/softplayer/softplayer-go-proto/pkg/accounts";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Service for handling environments
|
* Service for handling environments
|
||||||
@ -9,9 +10,14 @@ option go_package = "git.badhouseplants.net/softplayer/softplayer-go-proto/pkg/a
|
|||||||
service Accounts {
|
service Accounts {
|
||||||
rpc SignUp (AccountWithPassword) returns (AccountFullWithToken) {}
|
rpc SignUp (AccountWithPassword) returns (AccountFullWithToken) {}
|
||||||
rpc SignIn (AccountWithPassword) returns (AccountFullWithToken) {}
|
rpc SignIn (AccountWithPassword) returns (AccountFullWithToken) {}
|
||||||
|
rpc ResetPassword (AccountData) returns (google.protobuf.Empty) {}
|
||||||
|
rpc NewPassword (AccountWithPasswordAndCode) returns (google.protobuf.Empty) {}
|
||||||
|
rpc IsEmailVerified (AccountData) returns (EmailVerified) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message EmailVerified {
|
||||||
|
bool verified = 1;
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Represents a environment UUID only
|
* Represents a environment UUID only
|
||||||
*/
|
*/
|
||||||
@ -34,6 +40,13 @@ message AccountWithPassword {
|
|||||||
AccountPassword password = 2;
|
AccountPassword password = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message AccountWithPasswordAndCode {
|
||||||
|
AccountData data = 1;
|
||||||
|
AccountPassword password = 2;
|
||||||
|
string code = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
message AccountFull {
|
message AccountFull {
|
||||||
AccountId id = 1;
|
AccountId id = 1;
|
||||||
AccountData data = 2;
|
AccountData data = 2;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package applications;
|
package applications;
|
||||||
import "google/protobuf/empty.proto";
|
import "google/protobuf/empty.proto";
|
||||||
option go_package = "git.badhouseplants.net/softplayer/softplayer-go-proto/pkg/applications";
|
option go_package = "gitea.badhouseplants.net/softplayer/softplayer-go-proto/pkg/applications";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Service for handling applications
|
* Service for handling applications
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package email;
|
package email;
|
||||||
import "google/protobuf/empty.proto";
|
import "google/protobuf/empty.proto";
|
||||||
option go_package = "git.badhouseplants.net/softplayer/softplayer-go-proto/pkg/email";
|
option go_package = "gitea.badhouseplants.net/softplayer/softplayer-go-proto/pkg/email";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* A service that should handle email validation
|
* A service that should handle email validation
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package environments;
|
package environments;
|
||||||
import "google/protobuf/empty.proto";
|
import "google/protobuf/empty.proto";
|
||||||
option go_package = "git.badhouseplants.net/softplayer/softplayer-go-proto/pkg/environments";
|
option go_package = "gitea.badhouseplants.net/softplayer/softplayer-go-proto/pkg/environments";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Service for handling environments
|
* Service for handling environments
|
||||||
|
Reference in New Issue
Block a user