/// 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) {} } /** * Represents a environment UUID only */ message AccountId { string id = 1; // Contour ID: UUID } message AccountPassword { string Password = 1; } message AccountData { string name = 1; // Account name } message AccountWithPassword { AccountData data = 1; AccountPassword AccountPassword = 2; } message AccountFull { AccountId id = 1; AccountData data = 2; } message AccountWithKubeConfig { }