Filip Troníček d54bd04999
Enteprise onboarding settings (#20508)
* UI reorg

* generated stuffs

* Make it woooooooork

* Classier placeholder

* Remove unneeded fragment

* Introduce `enterprise_onboarding_enabled` flag

* move things properly

* add ipv6 localhost
2025-01-08 11:05:23 -05:00

640 lines
23 KiB
Go

// Copyright (c) 2025 Gitpod GmbH. All rights reserved.
// Licensed under the GNU Affero General Public License (AGPL).
// See License.AGPL.txt in the project root for license information.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: gitpod/v1/ssh.proto
package v1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type SSHPublicKey struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
Fingerprint string `protobuf:"bytes,4,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
CreationTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
LastUsedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_used_time,json=lastUsedTime,proto3" json:"last_used_time,omitempty"`
}
func (x *SSHPublicKey) Reset() {
*x = SSHPublicKey{}
if protoimpl.UnsafeEnabled {
mi := &file_gitpod_v1_ssh_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SSHPublicKey) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHPublicKey) ProtoMessage() {}
func (x *SSHPublicKey) ProtoReflect() protoreflect.Message {
mi := &file_gitpod_v1_ssh_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHPublicKey.ProtoReflect.Descriptor instead.
func (*SSHPublicKey) Descriptor() ([]byte, []int) {
return file_gitpod_v1_ssh_proto_rawDescGZIP(), []int{0}
}
func (x *SSHPublicKey) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *SSHPublicKey) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *SSHPublicKey) GetKey() string {
if x != nil {
return x.Key
}
return ""
}
func (x *SSHPublicKey) GetFingerprint() string {
if x != nil {
return x.Fingerprint
}
return ""
}
func (x *SSHPublicKey) GetCreationTime() *timestamppb.Timestamp {
if x != nil {
return x.CreationTime
}
return nil
}
func (x *SSHPublicKey) GetLastUsedTime() *timestamppb.Timestamp {
if x != nil {
return x.LastUsedTime
}
return nil
}
type ListSSHPublicKeysRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Pagination *PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (x *ListSSHPublicKeysRequest) Reset() {
*x = ListSSHPublicKeysRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_gitpod_v1_ssh_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListSSHPublicKeysRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSSHPublicKeysRequest) ProtoMessage() {}
func (x *ListSSHPublicKeysRequest) ProtoReflect() protoreflect.Message {
mi := &file_gitpod_v1_ssh_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListSSHPublicKeysRequest.ProtoReflect.Descriptor instead.
func (*ListSSHPublicKeysRequest) Descriptor() ([]byte, []int) {
return file_gitpod_v1_ssh_proto_rawDescGZIP(), []int{1}
}
func (x *ListSSHPublicKeysRequest) GetPagination() *PaginationRequest {
if x != nil {
return x.Pagination
}
return nil
}
type ListSSHPublicKeysResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SshKeys []*SSHPublicKey `protobuf:"bytes,1,rep,name=ssh_keys,json=sshKeys,proto3" json:"ssh_keys,omitempty"`
Pagination *PaginationRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (x *ListSSHPublicKeysResponse) Reset() {
*x = ListSSHPublicKeysResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_gitpod_v1_ssh_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListSSHPublicKeysResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSSHPublicKeysResponse) ProtoMessage() {}
func (x *ListSSHPublicKeysResponse) ProtoReflect() protoreflect.Message {
mi := &file_gitpod_v1_ssh_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListSSHPublicKeysResponse.ProtoReflect.Descriptor instead.
func (*ListSSHPublicKeysResponse) Descriptor() ([]byte, []int) {
return file_gitpod_v1_ssh_proto_rawDescGZIP(), []int{2}
}
func (x *ListSSHPublicKeysResponse) GetSshKeys() []*SSHPublicKey {
if x != nil {
return x.SshKeys
}
return nil
}
func (x *ListSSHPublicKeysResponse) GetPagination() *PaginationRequest {
if x != nil {
return x.Pagination
}
return nil
}
type CreateSSHPublicKeyRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
}
func (x *CreateSSHPublicKeyRequest) Reset() {
*x = CreateSSHPublicKeyRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_gitpod_v1_ssh_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateSSHPublicKeyRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateSSHPublicKeyRequest) ProtoMessage() {}
func (x *CreateSSHPublicKeyRequest) ProtoReflect() protoreflect.Message {
mi := &file_gitpod_v1_ssh_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateSSHPublicKeyRequest.ProtoReflect.Descriptor instead.
func (*CreateSSHPublicKeyRequest) Descriptor() ([]byte, []int) {
return file_gitpod_v1_ssh_proto_rawDescGZIP(), []int{3}
}
func (x *CreateSSHPublicKeyRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CreateSSHPublicKeyRequest) GetKey() string {
if x != nil {
return x.Key
}
return ""
}
type CreateSSHPublicKeyResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SshKey *SSHPublicKey `protobuf:"bytes,1,opt,name=ssh_key,json=sshKey,proto3" json:"ssh_key,omitempty"`
}
func (x *CreateSSHPublicKeyResponse) Reset() {
*x = CreateSSHPublicKeyResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_gitpod_v1_ssh_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateSSHPublicKeyResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateSSHPublicKeyResponse) ProtoMessage() {}
func (x *CreateSSHPublicKeyResponse) ProtoReflect() protoreflect.Message {
mi := &file_gitpod_v1_ssh_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateSSHPublicKeyResponse.ProtoReflect.Descriptor instead.
func (*CreateSSHPublicKeyResponse) Descriptor() ([]byte, []int) {
return file_gitpod_v1_ssh_proto_rawDescGZIP(), []int{4}
}
func (x *CreateSSHPublicKeyResponse) GetSshKey() *SSHPublicKey {
if x != nil {
return x.SshKey
}
return nil
}
type DeleteSSHPublicKeyRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SshKeyId string `protobuf:"bytes,1,opt,name=ssh_key_id,json=sshKeyId,proto3" json:"ssh_key_id,omitempty"`
}
func (x *DeleteSSHPublicKeyRequest) Reset() {
*x = DeleteSSHPublicKeyRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_gitpod_v1_ssh_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteSSHPublicKeyRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteSSHPublicKeyRequest) ProtoMessage() {}
func (x *DeleteSSHPublicKeyRequest) ProtoReflect() protoreflect.Message {
mi := &file_gitpod_v1_ssh_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteSSHPublicKeyRequest.ProtoReflect.Descriptor instead.
func (*DeleteSSHPublicKeyRequest) Descriptor() ([]byte, []int) {
return file_gitpod_v1_ssh_proto_rawDescGZIP(), []int{5}
}
func (x *DeleteSSHPublicKeyRequest) GetSshKeyId() string {
if x != nil {
return x.SshKeyId
}
return ""
}
type DeleteSSHPublicKeyResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *DeleteSSHPublicKeyResponse) Reset() {
*x = DeleteSSHPublicKeyResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_gitpod_v1_ssh_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteSSHPublicKeyResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteSSHPublicKeyResponse) ProtoMessage() {}
func (x *DeleteSSHPublicKeyResponse) ProtoReflect() protoreflect.Message {
mi := &file_gitpod_v1_ssh_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteSSHPublicKeyResponse.ProtoReflect.Descriptor instead.
func (*DeleteSSHPublicKeyResponse) Descriptor() ([]byte, []int) {
return file_gitpod_v1_ssh_proto_rawDescGZIP(), []int{6}
}
var File_gitpod_v1_ssh_proto protoreflect.FileDescriptor
var file_gitpod_v1_ssh_proto_rawDesc = []byte{
0x0a, 0x13, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x73, 0x68, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31,
0x1a, 0x1a, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x67, 0x69,
0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f,
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69,
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe9, 0x01,
0x0a, 0x0c, 0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x0e,
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12,
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
0x03, 0x6b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72,
0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x69, 0x6e, 0x67, 0x65,
0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x12, 0x3f, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f,
0x75, 0x73, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x6c, 0x61, 0x73,
0x74, 0x55, 0x73, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x58, 0x0a, 0x18, 0x4c, 0x69, 0x73,
0x74, 0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x70,
0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x22, 0x8d, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x48, 0x50,
0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x12, 0x32, 0x0a, 0x08, 0x73, 0x73, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e,
0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x07, 0x73, 0x73,
0x68, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x70,
0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x22, 0x41, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x48,
0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x4e, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x07, 0x73, 0x73, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x18,
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76,
0x31, 0x2e, 0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x06,
0x73, 0x73, 0x68, 0x4b, 0x65, 0x79, 0x22, 0x39, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x0a, 0x73, 0x73, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69,
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x73, 0x68, 0x4b, 0x65, 0x79, 0x49,
0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x53, 0x48, 0x50, 0x75,
0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32,
0xb8, 0x02, 0x0a, 0x0a, 0x53, 0x53, 0x48, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x60,
0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b,
0x65, 0x79, 0x73, 0x12, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e,
0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79,
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f,
0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c,
0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x12, 0x63, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x48, 0x50, 0x75, 0x62,
0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e,
0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c,
0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67,
0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53,
0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53,
0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x24, 0x2e, 0x67, 0x69,
0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x53,
0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65,
0x6c, 0x65, 0x74, 0x65, 0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x51, 0x0a, 0x16, 0x69, 0x6f,
0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x61, 0x70,
0x69, 0x2e, 0x76, 0x31, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f,
0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x70, 0x75, 0x62,
0x6c, 0x69, 0x63, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_gitpod_v1_ssh_proto_rawDescOnce sync.Once
file_gitpod_v1_ssh_proto_rawDescData = file_gitpod_v1_ssh_proto_rawDesc
)
func file_gitpod_v1_ssh_proto_rawDescGZIP() []byte {
file_gitpod_v1_ssh_proto_rawDescOnce.Do(func() {
file_gitpod_v1_ssh_proto_rawDescData = protoimpl.X.CompressGZIP(file_gitpod_v1_ssh_proto_rawDescData)
})
return file_gitpod_v1_ssh_proto_rawDescData
}
var file_gitpod_v1_ssh_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_gitpod_v1_ssh_proto_goTypes = []interface{}{
(*SSHPublicKey)(nil), // 0: gitpod.v1.SSHPublicKey
(*ListSSHPublicKeysRequest)(nil), // 1: gitpod.v1.ListSSHPublicKeysRequest
(*ListSSHPublicKeysResponse)(nil), // 2: gitpod.v1.ListSSHPublicKeysResponse
(*CreateSSHPublicKeyRequest)(nil), // 3: gitpod.v1.CreateSSHPublicKeyRequest
(*CreateSSHPublicKeyResponse)(nil), // 4: gitpod.v1.CreateSSHPublicKeyResponse
(*DeleteSSHPublicKeyRequest)(nil), // 5: gitpod.v1.DeleteSSHPublicKeyRequest
(*DeleteSSHPublicKeyResponse)(nil), // 6: gitpod.v1.DeleteSSHPublicKeyResponse
(*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp
(*PaginationRequest)(nil), // 8: gitpod.v1.PaginationRequest
}
var file_gitpod_v1_ssh_proto_depIdxs = []int32{
7, // 0: gitpod.v1.SSHPublicKey.creation_time:type_name -> google.protobuf.Timestamp
7, // 1: gitpod.v1.SSHPublicKey.last_used_time:type_name -> google.protobuf.Timestamp
8, // 2: gitpod.v1.ListSSHPublicKeysRequest.pagination:type_name -> gitpod.v1.PaginationRequest
0, // 3: gitpod.v1.ListSSHPublicKeysResponse.ssh_keys:type_name -> gitpod.v1.SSHPublicKey
8, // 4: gitpod.v1.ListSSHPublicKeysResponse.pagination:type_name -> gitpod.v1.PaginationRequest
0, // 5: gitpod.v1.CreateSSHPublicKeyResponse.ssh_key:type_name -> gitpod.v1.SSHPublicKey
1, // 6: gitpod.v1.SSHService.ListSSHPublicKeys:input_type -> gitpod.v1.ListSSHPublicKeysRequest
3, // 7: gitpod.v1.SSHService.CreateSSHPublicKey:input_type -> gitpod.v1.CreateSSHPublicKeyRequest
5, // 8: gitpod.v1.SSHService.DeleteSSHPublicKey:input_type -> gitpod.v1.DeleteSSHPublicKeyRequest
2, // 9: gitpod.v1.SSHService.ListSSHPublicKeys:output_type -> gitpod.v1.ListSSHPublicKeysResponse
4, // 10: gitpod.v1.SSHService.CreateSSHPublicKey:output_type -> gitpod.v1.CreateSSHPublicKeyResponse
6, // 11: gitpod.v1.SSHService.DeleteSSHPublicKey:output_type -> gitpod.v1.DeleteSSHPublicKeyResponse
9, // [9:12] is the sub-list for method output_type
6, // [6:9] is the sub-list for method input_type
6, // [6:6] is the sub-list for extension type_name
6, // [6:6] is the sub-list for extension extendee
0, // [0:6] is the sub-list for field type_name
}
func init() { file_gitpod_v1_ssh_proto_init() }
func file_gitpod_v1_ssh_proto_init() {
if File_gitpod_v1_ssh_proto != nil {
return
}
file_gitpod_v1_pagination_proto_init()
if !protoimpl.UnsafeEnabled {
file_gitpod_v1_ssh_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SSHPublicKey); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_gitpod_v1_ssh_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListSSHPublicKeysRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_gitpod_v1_ssh_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListSSHPublicKeysResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_gitpod_v1_ssh_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateSSHPublicKeyRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_gitpod_v1_ssh_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateSSHPublicKeyResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_gitpod_v1_ssh_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteSSHPublicKeyRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_gitpod_v1_ssh_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteSSHPublicKeyResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_gitpod_v1_ssh_proto_rawDesc,
NumEnums: 0,
NumMessages: 7,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_gitpod_v1_ssh_proto_goTypes,
DependencyIndexes: file_gitpod_v1_ssh_proto_depIdxs,
MessageInfos: file_gitpod_v1_ssh_proto_msgTypes,
}.Build()
File_gitpod_v1_ssh_proto = out.File
file_gitpod_v1_ssh_proto_rawDesc = nil
file_gitpod_v1_ssh_proto_goTypes = nil
file_gitpod_v1_ssh_proto_depIdxs = nil
}