clonrv1

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClonrService_Ping_FullMethodName                  = "/clonr.v1.ClonrService/Ping"
	ClonrService_SaveRepo_FullMethodName              = "/clonr.v1.ClonrService/SaveRepo"
	ClonrService_RepoExistsByURL_FullMethodName       = "/clonr.v1.ClonrService/RepoExistsByURL"
	ClonrService_RepoExistsByPath_FullMethodName      = "/clonr.v1.ClonrService/RepoExistsByPath"
	ClonrService_InsertRepoIfNotExists_FullMethodName = "/clonr.v1.ClonrService/InsertRepoIfNotExists"
	ClonrService_GetAllRepos_FullMethodName           = "/clonr.v1.ClonrService/GetAllRepos"
	ClonrService_GetRepos_FullMethodName              = "/clonr.v1.ClonrService/GetRepos"
	ClonrService_SetFavoriteByURL_FullMethodName      = "/clonr.v1.ClonrService/SetFavoriteByURL"
	ClonrService_UpdateRepoTimestamp_FullMethodName   = "/clonr.v1.ClonrService/UpdateRepoTimestamp"
	ClonrService_RemoveRepoByURL_FullMethodName       = "/clonr.v1.ClonrService/RemoveRepoByURL"
	ClonrService_GetConfig_FullMethodName             = "/clonr.v1.ClonrService/GetConfig"
	ClonrService_SaveConfig_FullMethodName            = "/clonr.v1.ClonrService/SaveConfig"
	ClonrService_SaveProfile_FullMethodName           = "/clonr.v1.ClonrService/SaveProfile"
	ClonrService_GetProfile_FullMethodName            = "/clonr.v1.ClonrService/GetProfile"
	ClonrService_GetActiveProfile_FullMethodName      = "/clonr.v1.ClonrService/GetActiveProfile"
	ClonrService_SetActiveProfile_FullMethodName      = "/clonr.v1.ClonrService/SetActiveProfile"
	ClonrService_ListProfiles_FullMethodName          = "/clonr.v1.ClonrService/ListProfiles"
	ClonrService_DeleteProfile_FullMethodName         = "/clonr.v1.ClonrService/DeleteProfile"
	ClonrService_ProfileExists_FullMethodName         = "/clonr.v1.ClonrService/ProfileExists"
	ClonrService_SaveWorkspace_FullMethodName         = "/clonr.v1.ClonrService/SaveWorkspace"
	ClonrService_GetWorkspace_FullMethodName          = "/clonr.v1.ClonrService/GetWorkspace"
	ClonrService_GetActiveWorkspace_FullMethodName    = "/clonr.v1.ClonrService/GetActiveWorkspace"
	ClonrService_SetActiveWorkspace_FullMethodName    = "/clonr.v1.ClonrService/SetActiveWorkspace"
	ClonrService_ListWorkspaces_FullMethodName        = "/clonr.v1.ClonrService/ListWorkspaces"
	ClonrService_DeleteWorkspace_FullMethodName       = "/clonr.v1.ClonrService/DeleteWorkspace"
	ClonrService_WorkspaceExists_FullMethodName       = "/clonr.v1.ClonrService/WorkspaceExists"
	ClonrService_GetReposByWorkspace_FullMethodName   = "/clonr.v1.ClonrService/GetReposByWorkspace"
	ClonrService_UpdateRepoWorkspace_FullMethodName   = "/clonr.v1.ClonrService/UpdateRepoWorkspace"
)
View Source
const (
	StandaloneService_Authenticate_FullMethodName   = "/clonr.v1.StandaloneService/Authenticate"
	StandaloneService_RefreshToken_FullMethodName   = "/clonr.v1.StandaloneService/RefreshToken"
	StandaloneService_Ping_FullMethodName           = "/clonr.v1.StandaloneService/Ping"
	StandaloneService_GetStatus_FullMethodName      = "/clonr.v1.StandaloneService/GetStatus"
	StandaloneService_SyncProfiles_FullMethodName   = "/clonr.v1.StandaloneService/SyncProfiles"
	StandaloneService_SyncWorkspaces_FullMethodName = "/clonr.v1.StandaloneService/SyncWorkspaces"
	StandaloneService_SyncRepos_FullMethodName      = "/clonr.v1.StandaloneService/SyncRepos"
	StandaloneService_SyncConfig_FullMethodName     = "/clonr.v1.StandaloneService/SyncConfig"
	StandaloneService_FullSync_FullMethodName       = "/clonr.v1.StandaloneService/FullSync"
)

Variables

View Source
var ClonrService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "clonr.v1.ClonrService",
	HandlerType: (*ClonrServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Ping",
			Handler:    _ClonrService_Ping_Handler,
		},
		{
			MethodName: "SaveRepo",
			Handler:    _ClonrService_SaveRepo_Handler,
		},
		{
			MethodName: "RepoExistsByURL",
			Handler:    _ClonrService_RepoExistsByURL_Handler,
		},
		{
			MethodName: "RepoExistsByPath",
			Handler:    _ClonrService_RepoExistsByPath_Handler,
		},
		{
			MethodName: "InsertRepoIfNotExists",
			Handler:    _ClonrService_InsertRepoIfNotExists_Handler,
		},
		{
			MethodName: "GetAllRepos",
			Handler:    _ClonrService_GetAllRepos_Handler,
		},
		{
			MethodName: "GetRepos",
			Handler:    _ClonrService_GetRepos_Handler,
		},
		{
			MethodName: "SetFavoriteByURL",
			Handler:    _ClonrService_SetFavoriteByURL_Handler,
		},
		{
			MethodName: "UpdateRepoTimestamp",
			Handler:    _ClonrService_UpdateRepoTimestamp_Handler,
		},
		{
			MethodName: "RemoveRepoByURL",
			Handler:    _ClonrService_RemoveRepoByURL_Handler,
		},
		{
			MethodName: "GetConfig",
			Handler:    _ClonrService_GetConfig_Handler,
		},
		{
			MethodName: "SaveConfig",
			Handler:    _ClonrService_SaveConfig_Handler,
		},
		{
			MethodName: "SaveProfile",
			Handler:    _ClonrService_SaveProfile_Handler,
		},
		{
			MethodName: "GetProfile",
			Handler:    _ClonrService_GetProfile_Handler,
		},
		{
			MethodName: "GetActiveProfile",
			Handler:    _ClonrService_GetActiveProfile_Handler,
		},
		{
			MethodName: "SetActiveProfile",
			Handler:    _ClonrService_SetActiveProfile_Handler,
		},
		{
			MethodName: "ListProfiles",
			Handler:    _ClonrService_ListProfiles_Handler,
		},
		{
			MethodName: "DeleteProfile",
			Handler:    _ClonrService_DeleteProfile_Handler,
		},
		{
			MethodName: "ProfileExists",
			Handler:    _ClonrService_ProfileExists_Handler,
		},
		{
			MethodName: "SaveWorkspace",
			Handler:    _ClonrService_SaveWorkspace_Handler,
		},
		{
			MethodName: "GetWorkspace",
			Handler:    _ClonrService_GetWorkspace_Handler,
		},
		{
			MethodName: "GetActiveWorkspace",
			Handler:    _ClonrService_GetActiveWorkspace_Handler,
		},
		{
			MethodName: "SetActiveWorkspace",
			Handler:    _ClonrService_SetActiveWorkspace_Handler,
		},
		{
			MethodName: "ListWorkspaces",
			Handler:    _ClonrService_ListWorkspaces_Handler,
		},
		{
			MethodName: "DeleteWorkspace",
			Handler:    _ClonrService_DeleteWorkspace_Handler,
		},
		{
			MethodName: "WorkspaceExists",
			Handler:    _ClonrService_WorkspaceExists_Handler,
		},
		{
			MethodName: "GetReposByWorkspace",
			Handler:    _ClonrService_GetReposByWorkspace_Handler,
		},
		{
			MethodName: "UpdateRepoWorkspace",
			Handler:    _ClonrService_UpdateRepoWorkspace_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "v1/clonr.proto",
}

ClonrService_ServiceDesc is the grpc.ServiceDesc for ClonrService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_v1_clonr_proto protoreflect.FileDescriptor
View Source
var File_v1_common_proto protoreflect.FileDescriptor
View Source
var File_v1_config_proto protoreflect.FileDescriptor
View Source
var File_v1_profile_proto protoreflect.FileDescriptor
View Source
var File_v1_repository_proto protoreflect.FileDescriptor
View Source
var File_v1_standalone_proto protoreflect.FileDescriptor
View Source
var File_v1_workspace_proto protoreflect.FileDescriptor
View Source
var StandaloneService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "clonr.v1.StandaloneService",
	HandlerType: (*StandaloneServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Authenticate",
			Handler:    _StandaloneService_Authenticate_Handler,
		},
		{
			MethodName: "RefreshToken",
			Handler:    _StandaloneService_RefreshToken_Handler,
		},
		{
			MethodName: "Ping",
			Handler:    _StandaloneService_Ping_Handler,
		},
		{
			MethodName: "GetStatus",
			Handler:    _StandaloneService_GetStatus_Handler,
		},
		{
			MethodName: "SyncConfig",
			Handler:    _StandaloneService_SyncConfig_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "SyncProfiles",
			Handler:       _StandaloneService_SyncProfiles_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SyncWorkspaces",
			Handler:       _StandaloneService_SyncWorkspaces_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SyncRepos",
			Handler:       _StandaloneService_SyncRepos_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "FullSync",
			Handler:       _StandaloneService_FullSync_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "v1/standalone.proto",
}

StandaloneService_ServiceDesc is the grpc.ServiceDesc for StandaloneService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterClonrServiceServer

func RegisterClonrServiceServer(s grpc.ServiceRegistrar, srv ClonrServiceServer)

func RegisterStandaloneServiceServer

func RegisterStandaloneServiceServer(s grpc.ServiceRegistrar, srv StandaloneServiceServer)

Types

type AuthenticateRequest

type AuthenticateRequest struct {
	ApiKey     string `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`             // Base58-encoded API key from standalone key
	ClientId   string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`       // Unique ID of the destination instance
	ClientName string `protobuf:"bytes,3,opt,name=client_name,json=clientName,proto3" json:"client_name,omitempty"` // Human-readable name of the destination
	// contains filtered or unexported fields
}

AuthenticateRequest is sent by the destination to authenticate with the source.

func (*AuthenticateRequest) Descriptor deprecated

func (*AuthenticateRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateRequest.ProtoReflect.Descriptor instead.

func (*AuthenticateRequest) GetApiKey

func (x *AuthenticateRequest) GetApiKey() string

func (*AuthenticateRequest) GetClientId

func (x *AuthenticateRequest) GetClientId() string

func (*AuthenticateRequest) GetClientName

func (x *AuthenticateRequest) GetClientName() string

func (*AuthenticateRequest) ProtoMessage

func (*AuthenticateRequest) ProtoMessage()

func (*AuthenticateRequest) ProtoReflect

func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message

func (*AuthenticateRequest) Reset

func (x *AuthenticateRequest) Reset()

func (*AuthenticateRequest) String

func (x *AuthenticateRequest) String() string

type AuthenticateResponse

type AuthenticateResponse struct {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	SessionToken string `protobuf:"bytes,2,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"` // JWT or similar session token
	ExpiresAt    int64  `protobuf:"varint,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`         // Unix timestamp when token expires
	Error        string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`                                   // Error message if success is false
	// contains filtered or unexported fields
}

AuthenticateResponse contains the session token for subsequent requests.

func (*AuthenticateResponse) Descriptor deprecated

func (*AuthenticateResponse) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticateResponse.ProtoReflect.Descriptor instead.

func (*AuthenticateResponse) GetError

func (x *AuthenticateResponse) GetError() string

func (*AuthenticateResponse) GetExpiresAt

func (x *AuthenticateResponse) GetExpiresAt() int64

func (*AuthenticateResponse) GetSessionToken

func (x *AuthenticateResponse) GetSessionToken() string

func (*AuthenticateResponse) GetSuccess

func (x *AuthenticateResponse) GetSuccess() bool

func (*AuthenticateResponse) ProtoMessage

func (*AuthenticateResponse) ProtoMessage()

func (*AuthenticateResponse) ProtoReflect

func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message

func (*AuthenticateResponse) Reset

func (x *AuthenticateResponse) Reset()

func (*AuthenticateResponse) String

func (x *AuthenticateResponse) String() string

type ClonrServiceClient

type ClonrServiceClient interface {
	// Health check - corresponds to Ping()
	Ping(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
	// Repository operations
	SaveRepo(ctx context.Context, in *SaveRepoRequest, opts ...grpc.CallOption) (*SaveRepoResponse, error)
	RepoExistsByURL(ctx context.Context, in *RepoExistsByURLRequest, opts ...grpc.CallOption) (*RepoExistsByURLResponse, error)
	RepoExistsByPath(ctx context.Context, in *RepoExistsByPathRequest, opts ...grpc.CallOption) (*RepoExistsByPathResponse, error)
	InsertRepoIfNotExists(ctx context.Context, in *InsertRepoIfNotExistsRequest, opts ...grpc.CallOption) (*InsertRepoIfNotExistsResponse, error)
	GetAllRepos(ctx context.Context, in *GetAllReposRequest, opts ...grpc.CallOption) (*GetAllReposResponse, error)
	GetRepos(ctx context.Context, in *GetReposRequest, opts ...grpc.CallOption) (*GetReposResponse, error)
	SetFavoriteByURL(ctx context.Context, in *SetFavoriteRequest, opts ...grpc.CallOption) (*SetFavoriteResponse, error)
	UpdateRepoTimestamp(ctx context.Context, in *UpdateRepoTimestampRequest, opts ...grpc.CallOption) (*UpdateRepoTimestampResponse, error)
	RemoveRepoByURL(ctx context.Context, in *RemoveRepoByURLRequest, opts ...grpc.CallOption) (*RemoveRepoByURLResponse, error)
	// Configuration operations
	GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*GetConfigResponse, error)
	SaveConfig(ctx context.Context, in *SaveConfigRequest, opts ...grpc.CallOption) (*SaveConfigResponse, error)
	// Profile operations
	SaveProfile(ctx context.Context, in *SaveProfileRequest, opts ...grpc.CallOption) (*SaveProfileResponse, error)
	GetProfile(ctx context.Context, in *GetProfileRequest, opts ...grpc.CallOption) (*GetProfileResponse, error)
	GetActiveProfile(ctx context.Context, in *GetActiveProfileRequest, opts ...grpc.CallOption) (*GetActiveProfileResponse, error)
	SetActiveProfile(ctx context.Context, in *SetActiveProfileRequest, opts ...grpc.CallOption) (*SetActiveProfileResponse, error)
	ListProfiles(ctx context.Context, in *ListProfilesRequest, opts ...grpc.CallOption) (*ListProfilesResponse, error)
	DeleteProfile(ctx context.Context, in *DeleteProfileRequest, opts ...grpc.CallOption) (*DeleteProfileResponse, error)
	ProfileExists(ctx context.Context, in *ProfileExistsRequest, opts ...grpc.CallOption) (*ProfileExistsResponse, error)
	// Workspace operations
	SaveWorkspace(ctx context.Context, in *SaveWorkspaceRequest, opts ...grpc.CallOption) (*SaveWorkspaceResponse, error)
	GetWorkspace(ctx context.Context, in *GetWorkspaceRequest, opts ...grpc.CallOption) (*GetWorkspaceResponse, error)
	GetActiveWorkspace(ctx context.Context, in *GetActiveWorkspaceRequest, opts ...grpc.CallOption) (*GetActiveWorkspaceResponse, error)
	SetActiveWorkspace(ctx context.Context, in *SetActiveWorkspaceRequest, opts ...grpc.CallOption) (*SetActiveWorkspaceResponse, error)
	ListWorkspaces(ctx context.Context, in *ListWorkspacesRequest, opts ...grpc.CallOption) (*ListWorkspacesResponse, error)
	DeleteWorkspace(ctx context.Context, in *DeleteWorkspaceRequest, opts ...grpc.CallOption) (*DeleteWorkspaceResponse, error)
	WorkspaceExists(ctx context.Context, in *WorkspaceExistsRequest, opts ...grpc.CallOption) (*WorkspaceExistsResponse, error)
	GetReposByWorkspace(ctx context.Context, in *GetReposByWorkspaceRequest, opts ...grpc.CallOption) (*GetReposByWorkspaceResponse, error)
	UpdateRepoWorkspace(ctx context.Context, in *UpdateRepoWorkspaceRequest, opts ...grpc.CallOption) (*UpdateRepoWorkspaceResponse, error)
}

ClonrServiceClient is the client API for ClonrService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

ClonrService defines all database operations for Clonr

type ClonrServiceServer

type ClonrServiceServer interface {
	// Health check - corresponds to Ping()
	Ping(context.Context, *Empty) (*Empty, error)
	// Repository operations
	SaveRepo(context.Context, *SaveRepoRequest) (*SaveRepoResponse, error)
	RepoExistsByURL(context.Context, *RepoExistsByURLRequest) (*RepoExistsByURLResponse, error)
	RepoExistsByPath(context.Context, *RepoExistsByPathRequest) (*RepoExistsByPathResponse, error)
	InsertRepoIfNotExists(context.Context, *InsertRepoIfNotExistsRequest) (*InsertRepoIfNotExistsResponse, error)
	GetAllRepos(context.Context, *GetAllReposRequest) (*GetAllReposResponse, error)
	GetRepos(context.Context, *GetReposRequest) (*GetReposResponse, error)
	SetFavoriteByURL(context.Context, *SetFavoriteRequest) (*SetFavoriteResponse, error)
	UpdateRepoTimestamp(context.Context, *UpdateRepoTimestampRequest) (*UpdateRepoTimestampResponse, error)
	RemoveRepoByURL(context.Context, *RemoveRepoByURLRequest) (*RemoveRepoByURLResponse, error)
	// Configuration operations
	GetConfig(context.Context, *GetConfigRequest) (*GetConfigResponse, error)
	SaveConfig(context.Context, *SaveConfigRequest) (*SaveConfigResponse, error)
	// Profile operations
	SaveProfile(context.Context, *SaveProfileRequest) (*SaveProfileResponse, error)
	GetProfile(context.Context, *GetProfileRequest) (*GetProfileResponse, error)
	GetActiveProfile(context.Context, *GetActiveProfileRequest) (*GetActiveProfileResponse, error)
	SetActiveProfile(context.Context, *SetActiveProfileRequest) (*SetActiveProfileResponse, error)
	ListProfiles(context.Context, *ListProfilesRequest) (*ListProfilesResponse, error)
	DeleteProfile(context.Context, *DeleteProfileRequest) (*DeleteProfileResponse, error)
	ProfileExists(context.Context, *ProfileExistsRequest) (*ProfileExistsResponse, error)
	// Workspace operations
	SaveWorkspace(context.Context, *SaveWorkspaceRequest) (*SaveWorkspaceResponse, error)
	GetWorkspace(context.Context, *GetWorkspaceRequest) (*GetWorkspaceResponse, error)
	GetActiveWorkspace(context.Context, *GetActiveWorkspaceRequest) (*GetActiveWorkspaceResponse, error)
	SetActiveWorkspace(context.Context, *SetActiveWorkspaceRequest) (*SetActiveWorkspaceResponse, error)
	ListWorkspaces(context.Context, *ListWorkspacesRequest) (*ListWorkspacesResponse, error)
	DeleteWorkspace(context.Context, *DeleteWorkspaceRequest) (*DeleteWorkspaceResponse, error)
	WorkspaceExists(context.Context, *WorkspaceExistsRequest) (*WorkspaceExistsResponse, error)
	GetReposByWorkspace(context.Context, *GetReposByWorkspaceRequest) (*GetReposByWorkspaceResponse, error)
	UpdateRepoWorkspace(context.Context, *UpdateRepoWorkspaceRequest) (*UpdateRepoWorkspaceResponse, error)
	// contains filtered or unexported methods
}

ClonrServiceServer is the server API for ClonrService service. All implementations must embed UnimplementedClonrServiceServer for forward compatibility.

ClonrService defines all database operations for Clonr

type Config

type Config struct {
	DefaultCloneDir string `protobuf:"bytes,1,opt,name=default_clone_dir,json=defaultCloneDir,proto3" json:"default_clone_dir,omitempty"`
	Editor          string `protobuf:"bytes,2,opt,name=editor,proto3" json:"editor,omitempty"`
	Terminal        string `protobuf:"bytes,3,opt,name=terminal,proto3" json:"terminal,omitempty"`
	MonitorInterval int32  `protobuf:"varint,4,opt,name=monitor_interval,json=monitorInterval,proto3" json:"monitor_interval,omitempty"`
	ServerPort      int32  `protobuf:"varint,5,opt,name=server_port,json=serverPort,proto3" json:"server_port,omitempty"`
	// contains filtered or unexported fields
}

Config represents application configuration

func (*Config) Descriptor deprecated

func (*Config) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetDefaultCloneDir

func (x *Config) GetDefaultCloneDir() string

func (*Config) GetEditor

func (x *Config) GetEditor() string

func (*Config) GetMonitorInterval

func (x *Config) GetMonitorInterval() int32

func (*Config) GetServerPort

func (x *Config) GetServerPort() int32

func (*Config) GetTerminal

func (x *Config) GetTerminal() string

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

func (x *Config) ProtoReflect() protoreflect.Message

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type ConnectedClient

type ConnectedClient struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	IpAddress   string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
	ConnectedAt int64  `protobuf:"varint,4,opt,name=connected_at,json=connectedAt,proto3" json:"connected_at,omitempty"`
	LastSeen    int64  `protobuf:"varint,5,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"`
	SyncCount   int32  `protobuf:"varint,6,opt,name=sync_count,json=syncCount,proto3" json:"sync_count,omitempty"`
	// contains filtered or unexported fields
}

ConnectedClient represents a connected destination instance.

func (*ConnectedClient) Descriptor deprecated

func (*ConnectedClient) Descriptor() ([]byte, []int)

Deprecated: Use ConnectedClient.ProtoReflect.Descriptor instead.

func (*ConnectedClient) GetConnectedAt

func (x *ConnectedClient) GetConnectedAt() int64

func (*ConnectedClient) GetId

func (x *ConnectedClient) GetId() string

func (*ConnectedClient) GetIpAddress

func (x *ConnectedClient) GetIpAddress() string

func (*ConnectedClient) GetLastSeen

func (x *ConnectedClient) GetLastSeen() int64

func (*ConnectedClient) GetName

func (x *ConnectedClient) GetName() string

func (*ConnectedClient) GetSyncCount

func (x *ConnectedClient) GetSyncCount() int32

func (*ConnectedClient) ProtoMessage

func (*ConnectedClient) ProtoMessage()

func (*ConnectedClient) ProtoReflect

func (x *ConnectedClient) ProtoReflect() protoreflect.Message

func (*ConnectedClient) Reset

func (x *ConnectedClient) Reset()

func (*ConnectedClient) String

func (x *ConnectedClient) String() string

type DeleteProfileRequest

type DeleteProfileRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteProfile RPC messages

func (*DeleteProfileRequest) Descriptor deprecated

func (*DeleteProfileRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProfileRequest.ProtoReflect.Descriptor instead.

func (*DeleteProfileRequest) GetName

func (x *DeleteProfileRequest) GetName() string

func (*DeleteProfileRequest) ProtoMessage

func (*DeleteProfileRequest) ProtoMessage()

func (*DeleteProfileRequest) ProtoReflect

func (x *DeleteProfileRequest) ProtoReflect() protoreflect.Message

func (*DeleteProfileRequest) Reset

func (x *DeleteProfileRequest) Reset()

func (*DeleteProfileRequest) String

func (x *DeleteProfileRequest) String() string

type DeleteProfileResponse

type DeleteProfileResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteProfileResponse) Descriptor deprecated

func (*DeleteProfileResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProfileResponse.ProtoReflect.Descriptor instead.

func (*DeleteProfileResponse) GetSuccess

func (x *DeleteProfileResponse) GetSuccess() bool

func (*DeleteProfileResponse) ProtoMessage

func (*DeleteProfileResponse) ProtoMessage()

func (*DeleteProfileResponse) ProtoReflect

func (x *DeleteProfileResponse) ProtoReflect() protoreflect.Message

func (*DeleteProfileResponse) Reset

func (x *DeleteProfileResponse) Reset()

func (*DeleteProfileResponse) String

func (x *DeleteProfileResponse) String() string

type DeleteWorkspaceRequest

type DeleteWorkspaceRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteWorkspace RPC messages

func (*DeleteWorkspaceRequest) Descriptor deprecated

func (*DeleteWorkspaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteWorkspaceRequest.ProtoReflect.Descriptor instead.

func (*DeleteWorkspaceRequest) GetName

func (x *DeleteWorkspaceRequest) GetName() string

func (*DeleteWorkspaceRequest) ProtoMessage

func (*DeleteWorkspaceRequest) ProtoMessage()

func (*DeleteWorkspaceRequest) ProtoReflect

func (x *DeleteWorkspaceRequest) ProtoReflect() protoreflect.Message

func (*DeleteWorkspaceRequest) Reset

func (x *DeleteWorkspaceRequest) Reset()

func (*DeleteWorkspaceRequest) String

func (x *DeleteWorkspaceRequest) String() string

type DeleteWorkspaceResponse

type DeleteWorkspaceResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteWorkspaceResponse) Descriptor deprecated

func (*DeleteWorkspaceResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteWorkspaceResponse.ProtoReflect.Descriptor instead.

func (*DeleteWorkspaceResponse) GetSuccess

func (x *DeleteWorkspaceResponse) GetSuccess() bool

func (*DeleteWorkspaceResponse) ProtoMessage

func (*DeleteWorkspaceResponse) ProtoMessage()

func (*DeleteWorkspaceResponse) ProtoReflect

func (x *DeleteWorkspaceResponse) ProtoReflect() protoreflect.Message

func (*DeleteWorkspaceResponse) Reset

func (x *DeleteWorkspaceResponse) Reset()

func (*DeleteWorkspaceResponse) String

func (x *DeleteWorkspaceResponse) String() string

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

Empty message for RPCs that don't need a request/response body

func (*Empty) Descriptor deprecated

func (*Empty) Descriptor() ([]byte, []int)

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type EncryptedData

type EncryptedData struct {
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                            // Item identifier
	Type          string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`                                        // "profile", "workspace", "repo", "config"
	EncryptedData []byte `protobuf:"bytes,3,opt,name=encrypted_data,json=encryptedData,proto3" json:"encrypted_data,omitempty"` // AES-256-GCM encrypted JSON
	Nonce         []byte `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"`                                      // GCM nonce
	UpdatedAt     int64  `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`            // Unix timestamp of last update
	// contains filtered or unexported fields
}

EncryptedData represents a single encrypted item.

func (*EncryptedData) Descriptor deprecated

func (*EncryptedData) Descriptor() ([]byte, []int)

Deprecated: Use EncryptedData.ProtoReflect.Descriptor instead.

func (*EncryptedData) GetEncryptedData

func (x *EncryptedData) GetEncryptedData() []byte

func (*EncryptedData) GetId

func (x *EncryptedData) GetId() string

func (*EncryptedData) GetNonce

func (x *EncryptedData) GetNonce() []byte

func (*EncryptedData) GetType

func (x *EncryptedData) GetType() string

func (*EncryptedData) GetUpdatedAt

func (x *EncryptedData) GetUpdatedAt() int64

func (*EncryptedData) ProtoMessage

func (*EncryptedData) ProtoMessage()

func (*EncryptedData) ProtoReflect

func (x *EncryptedData) ProtoReflect() protoreflect.Message

func (*EncryptedData) Reset

func (x *EncryptedData) Reset()

func (*EncryptedData) String

func (x *EncryptedData) String() string

type GetActiveProfileRequest

type GetActiveProfileRequest struct {
	// contains filtered or unexported fields
}

GetActiveProfile RPC messages

func (*GetActiveProfileRequest) Descriptor deprecated

func (*GetActiveProfileRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetActiveProfileRequest.ProtoReflect.Descriptor instead.

func (*GetActiveProfileRequest) ProtoMessage

func (*GetActiveProfileRequest) ProtoMessage()

func (*GetActiveProfileRequest) ProtoReflect

func (x *GetActiveProfileRequest) ProtoReflect() protoreflect.Message

func (*GetActiveProfileRequest) Reset

func (x *GetActiveProfileRequest) Reset()

func (*GetActiveProfileRequest) String

func (x *GetActiveProfileRequest) String() string

type GetActiveProfileResponse

type GetActiveProfileResponse struct {
	Profile *Profile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
	// contains filtered or unexported fields
}

func (*GetActiveProfileResponse) Descriptor deprecated

func (*GetActiveProfileResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetActiveProfileResponse.ProtoReflect.Descriptor instead.

func (*GetActiveProfileResponse) GetProfile

func (x *GetActiveProfileResponse) GetProfile() *Profile

func (*GetActiveProfileResponse) ProtoMessage

func (*GetActiveProfileResponse) ProtoMessage()

func (*GetActiveProfileResponse) ProtoReflect

func (x *GetActiveProfileResponse) ProtoReflect() protoreflect.Message

func (*GetActiveProfileResponse) Reset

func (x *GetActiveProfileResponse) Reset()

func (*GetActiveProfileResponse) String

func (x *GetActiveProfileResponse) String() string

type GetActiveWorkspaceRequest

type GetActiveWorkspaceRequest struct {
	// contains filtered or unexported fields
}

GetActiveWorkspace RPC messages

func (*GetActiveWorkspaceRequest) Descriptor deprecated

func (*GetActiveWorkspaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetActiveWorkspaceRequest.ProtoReflect.Descriptor instead.

func (*GetActiveWorkspaceRequest) ProtoMessage

func (*GetActiveWorkspaceRequest) ProtoMessage()

func (*GetActiveWorkspaceRequest) ProtoReflect

func (*GetActiveWorkspaceRequest) Reset

func (x *GetActiveWorkspaceRequest) Reset()

func (*GetActiveWorkspaceRequest) String

func (x *GetActiveWorkspaceRequest) String() string

type GetActiveWorkspaceResponse

type GetActiveWorkspaceResponse struct {
	Workspace *Workspace `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// contains filtered or unexported fields
}

func (*GetActiveWorkspaceResponse) Descriptor deprecated

func (*GetActiveWorkspaceResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetActiveWorkspaceResponse.ProtoReflect.Descriptor instead.

func (*GetActiveWorkspaceResponse) GetWorkspace

func (x *GetActiveWorkspaceResponse) GetWorkspace() *Workspace

func (*GetActiveWorkspaceResponse) ProtoMessage

func (*GetActiveWorkspaceResponse) ProtoMessage()

func (*GetActiveWorkspaceResponse) ProtoReflect

func (*GetActiveWorkspaceResponse) Reset

func (x *GetActiveWorkspaceResponse) Reset()

func (*GetActiveWorkspaceResponse) String

func (x *GetActiveWorkspaceResponse) String() string

type GetAllReposRequest

type GetAllReposRequest struct {
	// contains filtered or unexported fields
}

GetAllRepos RPC messages

func (*GetAllReposRequest) Descriptor deprecated

func (*GetAllReposRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAllReposRequest.ProtoReflect.Descriptor instead.

func (*GetAllReposRequest) ProtoMessage

func (*GetAllReposRequest) ProtoMessage()

func (*GetAllReposRequest) ProtoReflect

func (x *GetAllReposRequest) ProtoReflect() protoreflect.Message

func (*GetAllReposRequest) Reset

func (x *GetAllReposRequest) Reset()

func (*GetAllReposRequest) String

func (x *GetAllReposRequest) String() string

type GetAllReposResponse

type GetAllReposResponse struct {
	Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllReposResponse) Descriptor deprecated

func (*GetAllReposResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAllReposResponse.ProtoReflect.Descriptor instead.

func (*GetAllReposResponse) GetRepositories

func (x *GetAllReposResponse) GetRepositories() []*Repository

func (*GetAllReposResponse) ProtoMessage

func (*GetAllReposResponse) ProtoMessage()

func (*GetAllReposResponse) ProtoReflect

func (x *GetAllReposResponse) ProtoReflect() protoreflect.Message

func (*GetAllReposResponse) Reset

func (x *GetAllReposResponse) Reset()

func (*GetAllReposResponse) String

func (x *GetAllReposResponse) String() string

type GetConfigRequest

type GetConfigRequest struct {
	// contains filtered or unexported fields
}

GetConfig RPC messages

func (*GetConfigRequest) Descriptor deprecated

func (*GetConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead.

func (*GetConfigRequest) ProtoMessage

func (*GetConfigRequest) ProtoMessage()

func (*GetConfigRequest) ProtoReflect

func (x *GetConfigRequest) ProtoReflect() protoreflect.Message

func (*GetConfigRequest) Reset

func (x *GetConfigRequest) Reset()

func (*GetConfigRequest) String

func (x *GetConfigRequest) String() string

type GetConfigResponse

type GetConfigResponse struct {
	Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConfigResponse) Descriptor deprecated

func (*GetConfigResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetConfigResponse.ProtoReflect.Descriptor instead.

func (*GetConfigResponse) GetConfig

func (x *GetConfigResponse) GetConfig() *Config

func (*GetConfigResponse) ProtoMessage

func (*GetConfigResponse) ProtoMessage()

func (*GetConfigResponse) ProtoReflect

func (x *GetConfigResponse) ProtoReflect() protoreflect.Message

func (*GetConfigResponse) Reset

func (x *GetConfigResponse) Reset()

func (*GetConfigResponse) String

func (x *GetConfigResponse) String() string

type GetProfileRequest

type GetProfileRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetProfile RPC messages

func (*GetProfileRequest) Descriptor deprecated

func (*GetProfileRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetProfileRequest.ProtoReflect.Descriptor instead.

func (*GetProfileRequest) GetName

func (x *GetProfileRequest) GetName() string

func (*GetProfileRequest) ProtoMessage

func (*GetProfileRequest) ProtoMessage()

func (*GetProfileRequest) ProtoReflect

func (x *GetProfileRequest) ProtoReflect() protoreflect.Message

func (*GetProfileRequest) Reset

func (x *GetProfileRequest) Reset()

func (*GetProfileRequest) String

func (x *GetProfileRequest) String() string

type GetProfileResponse

type GetProfileResponse struct {
	Profile *Profile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProfileResponse) Descriptor deprecated

func (*GetProfileResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetProfileResponse.ProtoReflect.Descriptor instead.

func (*GetProfileResponse) GetProfile

func (x *GetProfileResponse) GetProfile() *Profile

func (*GetProfileResponse) ProtoMessage

func (*GetProfileResponse) ProtoMessage()

func (*GetProfileResponse) ProtoReflect

func (x *GetProfileResponse) ProtoReflect() protoreflect.Message

func (*GetProfileResponse) Reset

func (x *GetProfileResponse) Reset()

func (*GetProfileResponse) String

func (x *GetProfileResponse) String() string

type GetReposByWorkspaceRequest

type GetReposByWorkspaceRequest struct {
	Workspace string `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// contains filtered or unexported fields
}

GetReposByWorkspace RPC messages

func (*GetReposByWorkspaceRequest) Descriptor deprecated

func (*GetReposByWorkspaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetReposByWorkspaceRequest.ProtoReflect.Descriptor instead.

func (*GetReposByWorkspaceRequest) GetWorkspace

func (x *GetReposByWorkspaceRequest) GetWorkspace() string

func (*GetReposByWorkspaceRequest) ProtoMessage

func (*GetReposByWorkspaceRequest) ProtoMessage()

func (*GetReposByWorkspaceRequest) ProtoReflect

func (*GetReposByWorkspaceRequest) Reset

func (x *GetReposByWorkspaceRequest) Reset()

func (*GetReposByWorkspaceRequest) String

func (x *GetReposByWorkspaceRequest) String() string

type GetReposByWorkspaceResponse

type GetReposByWorkspaceResponse struct {
	Urls []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"`
	// contains filtered or unexported fields
}

func (*GetReposByWorkspaceResponse) Descriptor deprecated

func (*GetReposByWorkspaceResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetReposByWorkspaceResponse.ProtoReflect.Descriptor instead.

func (*GetReposByWorkspaceResponse) GetUrls

func (x *GetReposByWorkspaceResponse) GetUrls() []string

func (*GetReposByWorkspaceResponse) ProtoMessage

func (*GetReposByWorkspaceResponse) ProtoMessage()

func (*GetReposByWorkspaceResponse) ProtoReflect

func (*GetReposByWorkspaceResponse) Reset

func (x *GetReposByWorkspaceResponse) Reset()

func (*GetReposByWorkspaceResponse) String

func (x *GetReposByWorkspaceResponse) String() string

type GetReposRequest

type GetReposRequest struct {
	FavoritesOnly bool   `protobuf:"varint,1,opt,name=favorites_only,json=favoritesOnly,proto3" json:"favorites_only,omitempty"`
	Workspace     string `protobuf:"bytes,2,opt,name=workspace,proto3" json:"workspace,omitempty"` // empty = all workspaces
	// contains filtered or unexported fields
}

GetRepos RPC messages

func (*GetReposRequest) Descriptor deprecated

func (*GetReposRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetReposRequest.ProtoReflect.Descriptor instead.

func (*GetReposRequest) GetFavoritesOnly

func (x *GetReposRequest) GetFavoritesOnly() bool

func (*GetReposRequest) GetWorkspace

func (x *GetReposRequest) GetWorkspace() string

func (*GetReposRequest) ProtoMessage

func (*GetReposRequest) ProtoMessage()

func (*GetReposRequest) ProtoReflect

func (x *GetReposRequest) ProtoReflect() protoreflect.Message

func (*GetReposRequest) Reset

func (x *GetReposRequest) Reset()

func (*GetReposRequest) String

func (x *GetReposRequest) String() string

type GetReposResponse

type GetReposResponse struct {
	Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"`
	// contains filtered or unexported fields
}

func (*GetReposResponse) Descriptor deprecated

func (*GetReposResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetReposResponse.ProtoReflect.Descriptor instead.

func (*GetReposResponse) GetRepositories

func (x *GetReposResponse) GetRepositories() []*Repository

func (*GetReposResponse) ProtoMessage

func (*GetReposResponse) ProtoMessage()

func (*GetReposResponse) ProtoReflect

func (x *GetReposResponse) ProtoReflect() protoreflect.Message

func (*GetReposResponse) Reset

func (x *GetReposResponse) Reset()

func (*GetReposResponse) String

func (x *GetReposResponse) String() string

type GetStatusRequest

type GetStatusRequest struct {
	SessionToken string `protobuf:"bytes,1,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
	// contains filtered or unexported fields
}

GetStatusRequest retrieves sync status.

func (*GetStatusRequest) Descriptor deprecated

func (*GetStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStatusRequest.ProtoReflect.Descriptor instead.

func (*GetStatusRequest) GetSessionToken

func (x *GetStatusRequest) GetSessionToken() string

func (*GetStatusRequest) ProtoMessage

func (*GetStatusRequest) ProtoMessage()

func (*GetStatusRequest) ProtoReflect

func (x *GetStatusRequest) ProtoReflect() protoreflect.Message

func (*GetStatusRequest) Reset

func (x *GetStatusRequest) Reset()

func (*GetStatusRequest) String

func (x *GetStatusRequest) String() string

type GetStatusResponse

type GetStatusResponse struct {
	InstanceId        string             `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	StandaloneEnabled bool               `protobuf:"varint,2,opt,name=standalone_enabled,json=standaloneEnabled,proto3" json:"standalone_enabled,omitempty"`
	LastSync          int64              `protobuf:"varint,3,opt,name=last_sync,json=lastSync,proto3" json:"last_sync,omitempty"` // Unix timestamp of last sync
	Stats             *SyncStats         `protobuf:"bytes,4,opt,name=stats,proto3" json:"stats,omitempty"`
	Clients           []*ConnectedClient `protobuf:"bytes,5,rep,name=clients,proto3" json:"clients,omitempty"`
	// contains filtered or unexported fields
}

GetStatusResponse provides current sync status.

func (*GetStatusResponse) Descriptor deprecated

func (*GetStatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetStatusResponse.ProtoReflect.Descriptor instead.

func (*GetStatusResponse) GetClients

func (x *GetStatusResponse) GetClients() []*ConnectedClient

func (*GetStatusResponse) GetInstanceId

func (x *GetStatusResponse) GetInstanceId() string

func (*GetStatusResponse) GetLastSync

func (x *GetStatusResponse) GetLastSync() int64

func (*GetStatusResponse) GetStandaloneEnabled

func (x *GetStatusResponse) GetStandaloneEnabled() bool

func (*GetStatusResponse) GetStats

func (x *GetStatusResponse) GetStats() *SyncStats

func (*GetStatusResponse) ProtoMessage

func (*GetStatusResponse) ProtoMessage()

func (*GetStatusResponse) ProtoReflect

func (x *GetStatusResponse) ProtoReflect() protoreflect.Message

func (*GetStatusResponse) Reset

func (x *GetStatusResponse) Reset()

func (*GetStatusResponse) String

func (x *GetStatusResponse) String() string

type GetWorkspaceRequest

type GetWorkspaceRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetWorkspace RPC messages

func (*GetWorkspaceRequest) Descriptor deprecated

func (*GetWorkspaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetWorkspaceRequest.ProtoReflect.Descriptor instead.

func (*GetWorkspaceRequest) GetName

func (x *GetWorkspaceRequest) GetName() string

func (*GetWorkspaceRequest) ProtoMessage

func (*GetWorkspaceRequest) ProtoMessage()

func (*GetWorkspaceRequest) ProtoReflect

func (x *GetWorkspaceRequest) ProtoReflect() protoreflect.Message

func (*GetWorkspaceRequest) Reset

func (x *GetWorkspaceRequest) Reset()

func (*GetWorkspaceRequest) String

func (x *GetWorkspaceRequest) String() string

type GetWorkspaceResponse

type GetWorkspaceResponse struct {
	Workspace *Workspace `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWorkspaceResponse) Descriptor deprecated

func (*GetWorkspaceResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetWorkspaceResponse.ProtoReflect.Descriptor instead.

func (*GetWorkspaceResponse) GetWorkspace

func (x *GetWorkspaceResponse) GetWorkspace() *Workspace

func (*GetWorkspaceResponse) ProtoMessage

func (*GetWorkspaceResponse) ProtoMessage()

func (*GetWorkspaceResponse) ProtoReflect

func (x *GetWorkspaceResponse) ProtoReflect() protoreflect.Message

func (*GetWorkspaceResponse) Reset

func (x *GetWorkspaceResponse) Reset()

func (*GetWorkspaceResponse) String

func (x *GetWorkspaceResponse) String() string

type InsertRepoIfNotExistsRequest

type InsertRepoIfNotExistsRequest struct {
	Url  string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

InsertRepoIfNotExists RPC messages

func (*InsertRepoIfNotExistsRequest) Descriptor deprecated

func (*InsertRepoIfNotExistsRequest) Descriptor() ([]byte, []int)

Deprecated: Use InsertRepoIfNotExistsRequest.ProtoReflect.Descriptor instead.

func (*InsertRepoIfNotExistsRequest) GetPath

func (x *InsertRepoIfNotExistsRequest) GetPath() string

func (*InsertRepoIfNotExistsRequest) GetUrl

func (*InsertRepoIfNotExistsRequest) ProtoMessage

func (*InsertRepoIfNotExistsRequest) ProtoMessage()

func (*InsertRepoIfNotExistsRequest) ProtoReflect

func (*InsertRepoIfNotExistsRequest) Reset

func (x *InsertRepoIfNotExistsRequest) Reset()

func (*InsertRepoIfNotExistsRequest) String

type InsertRepoIfNotExistsResponse

type InsertRepoIfNotExistsResponse struct {
	Inserted bool `protobuf:"varint,1,opt,name=inserted,proto3" json:"inserted,omitempty"`
	// contains filtered or unexported fields
}

func (*InsertRepoIfNotExistsResponse) Descriptor deprecated

func (*InsertRepoIfNotExistsResponse) Descriptor() ([]byte, []int)

Deprecated: Use InsertRepoIfNotExistsResponse.ProtoReflect.Descriptor instead.

func (*InsertRepoIfNotExistsResponse) GetInserted

func (x *InsertRepoIfNotExistsResponse) GetInserted() bool

func (*InsertRepoIfNotExistsResponse) ProtoMessage

func (*InsertRepoIfNotExistsResponse) ProtoMessage()

func (*InsertRepoIfNotExistsResponse) ProtoReflect

func (*InsertRepoIfNotExistsResponse) Reset

func (x *InsertRepoIfNotExistsResponse) Reset()

func (*InsertRepoIfNotExistsResponse) String

type ListProfilesRequest

type ListProfilesRequest struct {
	// contains filtered or unexported fields
}

ListProfiles RPC messages

func (*ListProfilesRequest) Descriptor deprecated

func (*ListProfilesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListProfilesRequest.ProtoReflect.Descriptor instead.

func (*ListProfilesRequest) ProtoMessage

func (*ListProfilesRequest) ProtoMessage()

func (*ListProfilesRequest) ProtoReflect

func (x *ListProfilesRequest) ProtoReflect() protoreflect.Message

func (*ListProfilesRequest) Reset

func (x *ListProfilesRequest) Reset()

func (*ListProfilesRequest) String

func (x *ListProfilesRequest) String() string

type ListProfilesResponse

type ListProfilesResponse struct {
	Profiles []*Profile `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProfilesResponse) Descriptor deprecated

func (*ListProfilesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListProfilesResponse.ProtoReflect.Descriptor instead.

func (*ListProfilesResponse) GetProfiles

func (x *ListProfilesResponse) GetProfiles() []*Profile

func (*ListProfilesResponse) ProtoMessage

func (*ListProfilesResponse) ProtoMessage()

func (*ListProfilesResponse) ProtoReflect

func (x *ListProfilesResponse) ProtoReflect() protoreflect.Message

func (*ListProfilesResponse) Reset

func (x *ListProfilesResponse) Reset()

func (*ListProfilesResponse) String

func (x *ListProfilesResponse) String() string

type ListWorkspacesRequest

type ListWorkspacesRequest struct {
	// contains filtered or unexported fields
}

ListWorkspaces RPC messages

func (*ListWorkspacesRequest) Descriptor deprecated

func (*ListWorkspacesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListWorkspacesRequest.ProtoReflect.Descriptor instead.

func (*ListWorkspacesRequest) ProtoMessage

func (*ListWorkspacesRequest) ProtoMessage()

func (*ListWorkspacesRequest) ProtoReflect

func (x *ListWorkspacesRequest) ProtoReflect() protoreflect.Message

func (*ListWorkspacesRequest) Reset

func (x *ListWorkspacesRequest) Reset()

func (*ListWorkspacesRequest) String

func (x *ListWorkspacesRequest) String() string

type ListWorkspacesResponse

type ListWorkspacesResponse struct {
	Workspaces []*Workspace `protobuf:"bytes,1,rep,name=workspaces,proto3" json:"workspaces,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWorkspacesResponse) Descriptor deprecated

func (*ListWorkspacesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListWorkspacesResponse.ProtoReflect.Descriptor instead.

func (*ListWorkspacesResponse) GetWorkspaces

func (x *ListWorkspacesResponse) GetWorkspaces() []*Workspace

func (*ListWorkspacesResponse) ProtoMessage

func (*ListWorkspacesResponse) ProtoMessage()

func (*ListWorkspacesResponse) ProtoReflect

func (x *ListWorkspacesResponse) ProtoReflect() protoreflect.Message

func (*ListWorkspacesResponse) Reset

func (x *ListWorkspacesResponse) Reset()

func (*ListWorkspacesResponse) String

func (x *ListWorkspacesResponse) String() string

type PingResponse

type PingResponse struct {
	InstanceId   string   `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	ServerTime   int64    `protobuf:"varint,2,opt,name=server_time,json=serverTime,proto3" json:"server_time,omitempty"` // Unix timestamp
	Version      string   `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`                          // Server version
	Capabilities []string `protobuf:"bytes,4,rep,name=capabilities,proto3" json:"capabilities,omitempty"`                // Supported capabilities
	// contains filtered or unexported fields
}

PingResponse provides basic connectivity info.

func (*PingResponse) Descriptor deprecated

func (*PingResponse) Descriptor() ([]byte, []int)

Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.

func (*PingResponse) GetCapabilities

func (x *PingResponse) GetCapabilities() []string

func (*PingResponse) GetInstanceId

func (x *PingResponse) GetInstanceId() string

func (*PingResponse) GetServerTime

func (x *PingResponse) GetServerTime() int64

func (*PingResponse) GetVersion

func (x *PingResponse) GetVersion() string

func (*PingResponse) ProtoMessage

func (*PingResponse) ProtoMessage()

func (*PingResponse) ProtoReflect

func (x *PingResponse) ProtoReflect() protoreflect.Message

func (*PingResponse) Reset

func (x *PingResponse) Reset()

func (*PingResponse) String

func (x *PingResponse) String() string

type Profile

type Profile struct {
	Name           string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Host           string                 `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
	User           string                 `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
	TokenStorage   string                 `protobuf:"bytes,4,opt,name=token_storage,json=tokenStorage,proto3" json:"token_storage,omitempty"`
	Scopes         []string               `protobuf:"bytes,5,rep,name=scopes,proto3" json:"scopes,omitempty"`
	Active         bool                   `protobuf:"varint,6,opt,name=active,proto3" json:"active,omitempty"`
	EncryptedToken []byte                 `protobuf:"bytes,7,opt,name=encrypted_token,json=encryptedToken,proto3" json:"encrypted_token,omitempty"`
	CreatedAt      *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	LastUsedAt     *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_used_at,json=lastUsedAt,proto3" json:"last_used_at,omitempty"`
	Workspace      string                 `protobuf:"bytes,10,opt,name=workspace,proto3" json:"workspace,omitempty"` // Associated workspace name
	// contains filtered or unexported fields
}

Profile represents a GitHub authentication profile

func (*Profile) Descriptor deprecated

func (*Profile) Descriptor() ([]byte, []int)

Deprecated: Use Profile.ProtoReflect.Descriptor instead.

func (*Profile) GetActive

func (x *Profile) GetActive() bool

func (*Profile) GetCreatedAt

func (x *Profile) GetCreatedAt() *timestamppb.Timestamp

func (*Profile) GetEncryptedToken

func (x *Profile) GetEncryptedToken() []byte

func (*Profile) GetHost

func (x *Profile) GetHost() string

func (*Profile) GetLastUsedAt

func (x *Profile) GetLastUsedAt() *timestamppb.Timestamp

func (*Profile) GetName

func (x *Profile) GetName() string

func (*Profile) GetScopes

func (x *Profile) GetScopes() []string

func (*Profile) GetTokenStorage

func (x *Profile) GetTokenStorage() string

func (*Profile) GetUser

func (x *Profile) GetUser() string

func (*Profile) GetWorkspace

func (x *Profile) GetWorkspace() string

func (*Profile) ProtoMessage

func (*Profile) ProtoMessage()

func (*Profile) ProtoReflect

func (x *Profile) ProtoReflect() protoreflect.Message

func (*Profile) Reset

func (x *Profile) Reset()

func (*Profile) String

func (x *Profile) String() string

type ProfileExistsRequest

type ProfileExistsRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

ProfileExists RPC messages

func (*ProfileExistsRequest) Descriptor deprecated

func (*ProfileExistsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProfileExistsRequest.ProtoReflect.Descriptor instead.

func (*ProfileExistsRequest) GetName

func (x *ProfileExistsRequest) GetName() string

func (*ProfileExistsRequest) ProtoMessage

func (*ProfileExistsRequest) ProtoMessage()

func (*ProfileExistsRequest) ProtoReflect

func (x *ProfileExistsRequest) ProtoReflect() protoreflect.Message

func (*ProfileExistsRequest) Reset

func (x *ProfileExistsRequest) Reset()

func (*ProfileExistsRequest) String

func (x *ProfileExistsRequest) String() string

type ProfileExistsResponse

type ProfileExistsResponse struct {
	Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
	// contains filtered or unexported fields
}

func (*ProfileExistsResponse) Descriptor deprecated

func (*ProfileExistsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProfileExistsResponse.ProtoReflect.Descriptor instead.

func (*ProfileExistsResponse) GetExists

func (x *ProfileExistsResponse) GetExists() bool

func (*ProfileExistsResponse) ProtoMessage

func (*ProfileExistsResponse) ProtoMessage()

func (*ProfileExistsResponse) ProtoReflect

func (x *ProfileExistsResponse) ProtoReflect() protoreflect.Message

func (*ProfileExistsResponse) Reset

func (x *ProfileExistsResponse) Reset()

func (*ProfileExistsResponse) String

func (x *ProfileExistsResponse) String() string

type RefreshTokenRequest

type RefreshTokenRequest struct {
	RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // The refresh token from standalone key
	SessionToken string `protobuf:"bytes,2,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"` // Current session token
	// contains filtered or unexported fields
}

RefreshTokenRequest is used to refresh an expiring session.

func (*RefreshTokenRequest) Descriptor deprecated

func (*RefreshTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use RefreshTokenRequest.ProtoReflect.Descriptor instead.

func (*RefreshTokenRequest) GetRefreshToken

func (x *RefreshTokenRequest) GetRefreshToken() string

func (*RefreshTokenRequest) GetSessionToken

func (x *RefreshTokenRequest) GetSessionToken() string

func (*RefreshTokenRequest) ProtoMessage

func (*RefreshTokenRequest) ProtoMessage()

func (*RefreshTokenRequest) ProtoReflect

func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message

func (*RefreshTokenRequest) Reset

func (x *RefreshTokenRequest) Reset()

func (*RefreshTokenRequest) String

func (x *RefreshTokenRequest) String() string

type RefreshTokenResponse

type RefreshTokenResponse struct {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	SessionToken string `protobuf:"bytes,2,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
	ExpiresAt    int64  `protobuf:"varint,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	Error        string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

RefreshTokenResponse contains the new session token.

func (*RefreshTokenResponse) Descriptor deprecated

func (*RefreshTokenResponse) Descriptor() ([]byte, []int)

Deprecated: Use RefreshTokenResponse.ProtoReflect.Descriptor instead.

func (*RefreshTokenResponse) GetError

func (x *RefreshTokenResponse) GetError() string

func (*RefreshTokenResponse) GetExpiresAt

func (x *RefreshTokenResponse) GetExpiresAt() int64

func (*RefreshTokenResponse) GetSessionToken

func (x *RefreshTokenResponse) GetSessionToken() string

func (*RefreshTokenResponse) GetSuccess

func (x *RefreshTokenResponse) GetSuccess() bool

func (*RefreshTokenResponse) ProtoMessage

func (*RefreshTokenResponse) ProtoMessage()

func (*RefreshTokenResponse) ProtoReflect

func (x *RefreshTokenResponse) ProtoReflect() protoreflect.Message

func (*RefreshTokenResponse) Reset

func (x *RefreshTokenResponse) Reset()

func (*RefreshTokenResponse) String

func (x *RefreshTokenResponse) String() string

type RemoveRepoByURLRequest

type RemoveRepoByURLRequest struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

RemoveRepoByURL RPC messages

func (*RemoveRepoByURLRequest) Descriptor deprecated

func (*RemoveRepoByURLRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveRepoByURLRequest.ProtoReflect.Descriptor instead.

func (*RemoveRepoByURLRequest) GetUrl

func (x *RemoveRepoByURLRequest) GetUrl() string

func (*RemoveRepoByURLRequest) ProtoMessage

func (*RemoveRepoByURLRequest) ProtoMessage()

func (*RemoveRepoByURLRequest) ProtoReflect

func (x *RemoveRepoByURLRequest) ProtoReflect() protoreflect.Message

func (*RemoveRepoByURLRequest) Reset

func (x *RemoveRepoByURLRequest) Reset()

func (*RemoveRepoByURLRequest) String

func (x *RemoveRepoByURLRequest) String() string

type RemoveRepoByURLResponse

type RemoveRepoByURLResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveRepoByURLResponse) Descriptor deprecated

func (*RemoveRepoByURLResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveRepoByURLResponse.ProtoReflect.Descriptor instead.

func (*RemoveRepoByURLResponse) GetSuccess

func (x *RemoveRepoByURLResponse) GetSuccess() bool

func (*RemoveRepoByURLResponse) ProtoMessage

func (*RemoveRepoByURLResponse) ProtoMessage()

func (*RemoveRepoByURLResponse) ProtoReflect

func (x *RemoveRepoByURLResponse) ProtoReflect() protoreflect.Message

func (*RemoveRepoByURLResponse) Reset

func (x *RemoveRepoByURLResponse) Reset()

func (*RemoveRepoByURLResponse) String

func (x *RemoveRepoByURLResponse) String() string

type RepoExistsByPathRequest

type RepoExistsByPathRequest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

RepoExistsByPath RPC messages

func (*RepoExistsByPathRequest) Descriptor deprecated

func (*RepoExistsByPathRequest) Descriptor() ([]byte, []int)

Deprecated: Use RepoExistsByPathRequest.ProtoReflect.Descriptor instead.

func (*RepoExistsByPathRequest) GetPath

func (x *RepoExistsByPathRequest) GetPath() string

func (*RepoExistsByPathRequest) ProtoMessage

func (*RepoExistsByPathRequest) ProtoMessage()

func (*RepoExistsByPathRequest) ProtoReflect

func (x *RepoExistsByPathRequest) ProtoReflect() protoreflect.Message

func (*RepoExistsByPathRequest) Reset

func (x *RepoExistsByPathRequest) Reset()

func (*RepoExistsByPathRequest) String

func (x *RepoExistsByPathRequest) String() string

type RepoExistsByPathResponse

type RepoExistsByPathResponse struct {
	Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
	// contains filtered or unexported fields
}

func (*RepoExistsByPathResponse) Descriptor deprecated

func (*RepoExistsByPathResponse) Descriptor() ([]byte, []int)

Deprecated: Use RepoExistsByPathResponse.ProtoReflect.Descriptor instead.

func (*RepoExistsByPathResponse) GetExists

func (x *RepoExistsByPathResponse) GetExists() bool

func (*RepoExistsByPathResponse) ProtoMessage

func (*RepoExistsByPathResponse) ProtoMessage()

func (*RepoExistsByPathResponse) ProtoReflect

func (x *RepoExistsByPathResponse) ProtoReflect() protoreflect.Message

func (*RepoExistsByPathResponse) Reset

func (x *RepoExistsByPathResponse) Reset()

func (*RepoExistsByPathResponse) String

func (x *RepoExistsByPathResponse) String() string

type RepoExistsByURLRequest

type RepoExistsByURLRequest struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

RepoExistsByURL RPC messages

func (*RepoExistsByURLRequest) Descriptor deprecated

func (*RepoExistsByURLRequest) Descriptor() ([]byte, []int)

Deprecated: Use RepoExistsByURLRequest.ProtoReflect.Descriptor instead.

func (*RepoExistsByURLRequest) GetUrl

func (x *RepoExistsByURLRequest) GetUrl() string

func (*RepoExistsByURLRequest) ProtoMessage

func (*RepoExistsByURLRequest) ProtoMessage()

func (*RepoExistsByURLRequest) ProtoReflect

func (x *RepoExistsByURLRequest) ProtoReflect() protoreflect.Message

func (*RepoExistsByURLRequest) Reset

func (x *RepoExistsByURLRequest) Reset()

func (*RepoExistsByURLRequest) String

func (x *RepoExistsByURLRequest) String() string

type RepoExistsByURLResponse

type RepoExistsByURLResponse struct {
	Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
	// contains filtered or unexported fields
}

func (*RepoExistsByURLResponse) Descriptor deprecated

func (*RepoExistsByURLResponse) Descriptor() ([]byte, []int)

Deprecated: Use RepoExistsByURLResponse.ProtoReflect.Descriptor instead.

func (*RepoExistsByURLResponse) GetExists

func (x *RepoExistsByURLResponse) GetExists() bool

func (*RepoExistsByURLResponse) ProtoMessage

func (*RepoExistsByURLResponse) ProtoMessage()

func (*RepoExistsByURLResponse) ProtoReflect

func (x *RepoExistsByURLResponse) ProtoReflect() protoreflect.Message

func (*RepoExistsByURLResponse) Reset

func (x *RepoExistsByURLResponse) Reset()

func (*RepoExistsByURLResponse) String

func (x *RepoExistsByURLResponse) String() string

type Repository

type Repository struct {
	Id          uint32                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uid         string                 `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	Url         string                 `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	Path        string                 `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	Favorite    bool                   `protobuf:"varint,5,opt,name=favorite,proto3" json:"favorite,omitempty"`
	ClonedAt    *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=cloned_at,json=clonedAt,proto3" json:"cloned_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	LastChecked *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=last_checked,json=lastChecked,proto3" json:"last_checked,omitempty"`
	Workspace   string                 `protobuf:"bytes,9,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// contains filtered or unexported fields
}

Repository represents a managed Git repository

func (*Repository) Descriptor deprecated

func (*Repository) Descriptor() ([]byte, []int)

Deprecated: Use Repository.ProtoReflect.Descriptor instead.

func (*Repository) GetClonedAt

func (x *Repository) GetClonedAt() *timestamppb.Timestamp

func (*Repository) GetFavorite

func (x *Repository) GetFavorite() bool

func (*Repository) GetId

func (x *Repository) GetId() uint32

func (*Repository) GetLastChecked

func (x *Repository) GetLastChecked() *timestamppb.Timestamp

func (*Repository) GetPath

func (x *Repository) GetPath() string

func (*Repository) GetUid

func (x *Repository) GetUid() string

func (*Repository) GetUpdatedAt

func (x *Repository) GetUpdatedAt() *timestamppb.Timestamp

func (*Repository) GetUrl

func (x *Repository) GetUrl() string

func (*Repository) GetWorkspace

func (x *Repository) GetWorkspace() string

func (*Repository) ProtoMessage

func (*Repository) ProtoMessage()

func (*Repository) ProtoReflect

func (x *Repository) ProtoReflect() protoreflect.Message

func (*Repository) Reset

func (x *Repository) Reset()

func (*Repository) String

func (x *Repository) String() string

type SaveConfigRequest

type SaveConfigRequest struct {
	Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

SaveConfig RPC messages

func (*SaveConfigRequest) Descriptor deprecated

func (*SaveConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use SaveConfigRequest.ProtoReflect.Descriptor instead.

func (*SaveConfigRequest) GetConfig

func (x *SaveConfigRequest) GetConfig() *Config

func (*SaveConfigRequest) ProtoMessage

func (*SaveConfigRequest) ProtoMessage()

func (*SaveConfigRequest) ProtoReflect

func (x *SaveConfigRequest) ProtoReflect() protoreflect.Message

func (*SaveConfigRequest) Reset

func (x *SaveConfigRequest) Reset()

func (*SaveConfigRequest) String

func (x *SaveConfigRequest) String() string

type SaveConfigResponse

type SaveConfigResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveConfigResponse) Descriptor deprecated

func (*SaveConfigResponse) Descriptor() ([]byte, []int)

Deprecated: Use SaveConfigResponse.ProtoReflect.Descriptor instead.

func (*SaveConfigResponse) GetSuccess

func (x *SaveConfigResponse) GetSuccess() bool

func (*SaveConfigResponse) ProtoMessage

func (*SaveConfigResponse) ProtoMessage()

func (*SaveConfigResponse) ProtoReflect

func (x *SaveConfigResponse) ProtoReflect() protoreflect.Message

func (*SaveConfigResponse) Reset

func (x *SaveConfigResponse) Reset()

func (*SaveConfigResponse) String

func (x *SaveConfigResponse) String() string

type SaveProfileRequest

type SaveProfileRequest struct {
	Profile *Profile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
	// contains filtered or unexported fields
}

SaveProfile RPC messages

func (*SaveProfileRequest) Descriptor deprecated

func (*SaveProfileRequest) Descriptor() ([]byte, []int)

Deprecated: Use SaveProfileRequest.ProtoReflect.Descriptor instead.

func (*SaveProfileRequest) GetProfile

func (x *SaveProfileRequest) GetProfile() *Profile

func (*SaveProfileRequest) ProtoMessage

func (*SaveProfileRequest) ProtoMessage()

func (*SaveProfileRequest) ProtoReflect

func (x *SaveProfileRequest) ProtoReflect() protoreflect.Message

func (*SaveProfileRequest) Reset

func (x *SaveProfileRequest) Reset()

func (*SaveProfileRequest) String

func (x *SaveProfileRequest) String() string

type SaveProfileResponse

type SaveProfileResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveProfileResponse) Descriptor deprecated

func (*SaveProfileResponse) Descriptor() ([]byte, []int)

Deprecated: Use SaveProfileResponse.ProtoReflect.Descriptor instead.

func (*SaveProfileResponse) GetSuccess

func (x *SaveProfileResponse) GetSuccess() bool

func (*SaveProfileResponse) ProtoMessage

func (*SaveProfileResponse) ProtoMessage()

func (*SaveProfileResponse) ProtoReflect

func (x *SaveProfileResponse) ProtoReflect() protoreflect.Message

func (*SaveProfileResponse) Reset

func (x *SaveProfileResponse) Reset()

func (*SaveProfileResponse) String

func (x *SaveProfileResponse) String() string

type SaveRepoRequest

type SaveRepoRequest struct {
	Url       string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Path      string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Workspace string `protobuf:"bytes,3,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// contains filtered or unexported fields
}

SaveRepo RPC messages

func (*SaveRepoRequest) Descriptor deprecated

func (*SaveRepoRequest) Descriptor() ([]byte, []int)

Deprecated: Use SaveRepoRequest.ProtoReflect.Descriptor instead.

func (*SaveRepoRequest) GetPath

func (x *SaveRepoRequest) GetPath() string

func (*SaveRepoRequest) GetUrl

func (x *SaveRepoRequest) GetUrl() string

func (*SaveRepoRequest) GetWorkspace

func (x *SaveRepoRequest) GetWorkspace() string

func (*SaveRepoRequest) ProtoMessage

func (*SaveRepoRequest) ProtoMessage()

func (*SaveRepoRequest) ProtoReflect

func (x *SaveRepoRequest) ProtoReflect() protoreflect.Message

func (*SaveRepoRequest) Reset

func (x *SaveRepoRequest) Reset()

func (*SaveRepoRequest) String

func (x *SaveRepoRequest) String() string

type SaveRepoResponse

type SaveRepoResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveRepoResponse) Descriptor deprecated

func (*SaveRepoResponse) Descriptor() ([]byte, []int)

Deprecated: Use SaveRepoResponse.ProtoReflect.Descriptor instead.

func (*SaveRepoResponse) GetSuccess

func (x *SaveRepoResponse) GetSuccess() bool

func (*SaveRepoResponse) ProtoMessage

func (*SaveRepoResponse) ProtoMessage()

func (*SaveRepoResponse) ProtoReflect

func (x *SaveRepoResponse) ProtoReflect() protoreflect.Message

func (*SaveRepoResponse) Reset

func (x *SaveRepoResponse) Reset()

func (*SaveRepoResponse) String

func (x *SaveRepoResponse) String() string

type SaveWorkspaceRequest

type SaveWorkspaceRequest struct {
	Workspace *Workspace `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// contains filtered or unexported fields
}

SaveWorkspace RPC messages

func (*SaveWorkspaceRequest) Descriptor deprecated

func (*SaveWorkspaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use SaveWorkspaceRequest.ProtoReflect.Descriptor instead.

func (*SaveWorkspaceRequest) GetWorkspace

func (x *SaveWorkspaceRequest) GetWorkspace() *Workspace

func (*SaveWorkspaceRequest) ProtoMessage

func (*SaveWorkspaceRequest) ProtoMessage()

func (*SaveWorkspaceRequest) ProtoReflect

func (x *SaveWorkspaceRequest) ProtoReflect() protoreflect.Message

func (*SaveWorkspaceRequest) Reset

func (x *SaveWorkspaceRequest) Reset()

func (*SaveWorkspaceRequest) String

func (x *SaveWorkspaceRequest) String() string

type SaveWorkspaceResponse

type SaveWorkspaceResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveWorkspaceResponse) Descriptor deprecated

func (*SaveWorkspaceResponse) Descriptor() ([]byte, []int)

Deprecated: Use SaveWorkspaceResponse.ProtoReflect.Descriptor instead.

func (*SaveWorkspaceResponse) GetSuccess

func (x *SaveWorkspaceResponse) GetSuccess() bool

func (*SaveWorkspaceResponse) ProtoMessage

func (*SaveWorkspaceResponse) ProtoMessage()

func (*SaveWorkspaceResponse) ProtoReflect

func (x *SaveWorkspaceResponse) ProtoReflect() protoreflect.Message

func (*SaveWorkspaceResponse) Reset

func (x *SaveWorkspaceResponse) Reset()

func (*SaveWorkspaceResponse) String

func (x *SaveWorkspaceResponse) String() string

type SetActiveProfileRequest

type SetActiveProfileRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetActiveProfile RPC messages

func (*SetActiveProfileRequest) Descriptor deprecated

func (*SetActiveProfileRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetActiveProfileRequest.ProtoReflect.Descriptor instead.

func (*SetActiveProfileRequest) GetName

func (x *SetActiveProfileRequest) GetName() string

func (*SetActiveProfileRequest) ProtoMessage

func (*SetActiveProfileRequest) ProtoMessage()

func (*SetActiveProfileRequest) ProtoReflect

func (x *SetActiveProfileRequest) ProtoReflect() protoreflect.Message

func (*SetActiveProfileRequest) Reset

func (x *SetActiveProfileRequest) Reset()

func (*SetActiveProfileRequest) String

func (x *SetActiveProfileRequest) String() string

type SetActiveProfileResponse

type SetActiveProfileResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*SetActiveProfileResponse) Descriptor deprecated

func (*SetActiveProfileResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetActiveProfileResponse.ProtoReflect.Descriptor instead.

func (*SetActiveProfileResponse) GetSuccess

func (x *SetActiveProfileResponse) GetSuccess() bool

func (*SetActiveProfileResponse) ProtoMessage

func (*SetActiveProfileResponse) ProtoMessage()

func (*SetActiveProfileResponse) ProtoReflect

func (x *SetActiveProfileResponse) ProtoReflect() protoreflect.Message

func (*SetActiveProfileResponse) Reset

func (x *SetActiveProfileResponse) Reset()

func (*SetActiveProfileResponse) String

func (x *SetActiveProfileResponse) String() string

type SetActiveWorkspaceRequest

type SetActiveWorkspaceRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetActiveWorkspace RPC messages

func (*SetActiveWorkspaceRequest) Descriptor deprecated

func (*SetActiveWorkspaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetActiveWorkspaceRequest.ProtoReflect.Descriptor instead.

func (*SetActiveWorkspaceRequest) GetName

func (x *SetActiveWorkspaceRequest) GetName() string

func (*SetActiveWorkspaceRequest) ProtoMessage

func (*SetActiveWorkspaceRequest) ProtoMessage()

func (*SetActiveWorkspaceRequest) ProtoReflect

func (*SetActiveWorkspaceRequest) Reset

func (x *SetActiveWorkspaceRequest) Reset()

func (*SetActiveWorkspaceRequest) String

func (x *SetActiveWorkspaceRequest) String() string

type SetActiveWorkspaceResponse

type SetActiveWorkspaceResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*SetActiveWorkspaceResponse) Descriptor deprecated

func (*SetActiveWorkspaceResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetActiveWorkspaceResponse.ProtoReflect.Descriptor instead.

func (*SetActiveWorkspaceResponse) GetSuccess

func (x *SetActiveWorkspaceResponse) GetSuccess() bool

func (*SetActiveWorkspaceResponse) ProtoMessage

func (*SetActiveWorkspaceResponse) ProtoMessage()

func (*SetActiveWorkspaceResponse) ProtoReflect

func (*SetActiveWorkspaceResponse) Reset

func (x *SetActiveWorkspaceResponse) Reset()

func (*SetActiveWorkspaceResponse) String

func (x *SetActiveWorkspaceResponse) String() string

type SetFavoriteRequest

type SetFavoriteRequest struct {
	Url      string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Favorite bool   `protobuf:"varint,2,opt,name=favorite,proto3" json:"favorite,omitempty"`
	// contains filtered or unexported fields
}

SetFavorite RPC messages

func (*SetFavoriteRequest) Descriptor deprecated

func (*SetFavoriteRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetFavoriteRequest.ProtoReflect.Descriptor instead.

func (*SetFavoriteRequest) GetFavorite

func (x *SetFavoriteRequest) GetFavorite() bool

func (*SetFavoriteRequest) GetUrl

func (x *SetFavoriteRequest) GetUrl() string

func (*SetFavoriteRequest) ProtoMessage

func (*SetFavoriteRequest) ProtoMessage()

func (*SetFavoriteRequest) ProtoReflect

func (x *SetFavoriteRequest) ProtoReflect() protoreflect.Message

func (*SetFavoriteRequest) Reset

func (x *SetFavoriteRequest) Reset()

func (*SetFavoriteRequest) String

func (x *SetFavoriteRequest) String() string

type SetFavoriteResponse

type SetFavoriteResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*SetFavoriteResponse) Descriptor deprecated

func (*SetFavoriteResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetFavoriteResponse.ProtoReflect.Descriptor instead.

func (*SetFavoriteResponse) GetSuccess

func (x *SetFavoriteResponse) GetSuccess() bool

func (*SetFavoriteResponse) ProtoMessage

func (*SetFavoriteResponse) ProtoMessage()

func (*SetFavoriteResponse) ProtoReflect

func (x *SetFavoriteResponse) ProtoReflect() protoreflect.Message

func (*SetFavoriteResponse) Reset

func (x *SetFavoriteResponse) Reset()

func (*SetFavoriteResponse) String

func (x *SetFavoriteResponse) String() string

type StandaloneConfig

type StandaloneConfig struct {
	Enabled      bool     `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	InstanceId   string   `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	Port         int32    `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	ApiKeyHash   []byte   `protobuf:"bytes,4,opt,name=api_key_hash,json=apiKeyHash,proto3" json:"api_key_hash,omitempty"`
	RefreshToken []byte   `protobuf:"bytes,5,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	Salt         []byte   `protobuf:"bytes,6,opt,name=salt,proto3" json:"salt,omitempty"`
	CreatedAt    int64    `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	ExpiresAt    int64    `protobuf:"varint,8,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	Capabilities []string `protobuf:"bytes,9,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
	// contains filtered or unexported fields
}

StandaloneConfig represents the source instance configuration.

func (*StandaloneConfig) Descriptor deprecated

func (*StandaloneConfig) Descriptor() ([]byte, []int)

Deprecated: Use StandaloneConfig.ProtoReflect.Descriptor instead.

func (*StandaloneConfig) GetApiKeyHash

func (x *StandaloneConfig) GetApiKeyHash() []byte

func (*StandaloneConfig) GetCapabilities

func (x *StandaloneConfig) GetCapabilities() []string

func (*StandaloneConfig) GetCreatedAt

func (x *StandaloneConfig) GetCreatedAt() int64

func (*StandaloneConfig) GetEnabled

func (x *StandaloneConfig) GetEnabled() bool

func (*StandaloneConfig) GetExpiresAt

func (x *StandaloneConfig) GetExpiresAt() int64

func (*StandaloneConfig) GetInstanceId

func (x *StandaloneConfig) GetInstanceId() string

func (*StandaloneConfig) GetPort

func (x *StandaloneConfig) GetPort() int32

func (*StandaloneConfig) GetRefreshToken

func (x *StandaloneConfig) GetRefreshToken() []byte

func (*StandaloneConfig) GetSalt

func (x *StandaloneConfig) GetSalt() []byte

func (*StandaloneConfig) ProtoMessage

func (*StandaloneConfig) ProtoMessage()

func (*StandaloneConfig) ProtoReflect

func (x *StandaloneConfig) ProtoReflect() protoreflect.Message

func (*StandaloneConfig) Reset

func (x *StandaloneConfig) Reset()

func (*StandaloneConfig) String

func (x *StandaloneConfig) String() string

type StandaloneConnection

type StandaloneConnection struct {
	Name                  string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	InstanceId            string     `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	Host                  string     `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
	Port                  int32      `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
	ApiKeyEncrypted       []byte     `protobuf:"bytes,5,opt,name=api_key_encrypted,json=apiKeyEncrypted,proto3" json:"api_key_encrypted,omitempty"`
	RefreshTokenEncrypted []byte     `` /* 126-byte string literal not displayed */
	LocalPasswordHash     []byte     `protobuf:"bytes,7,opt,name=local_password_hash,json=localPasswordHash,proto3" json:"local_password_hash,omitempty"`
	LocalSalt             []byte     `protobuf:"bytes,8,opt,name=local_salt,json=localSalt,proto3" json:"local_salt,omitempty"`
	LastSync              int64      `protobuf:"varint,9,opt,name=last_sync,json=lastSync,proto3" json:"last_sync,omitempty"`
	SyncStatus            string     `protobuf:"bytes,10,opt,name=sync_status,json=syncStatus,proto3" json:"sync_status,omitempty"`
	SyncedItems           *SyncStats `protobuf:"bytes,11,opt,name=synced_items,json=syncedItems,proto3" json:"synced_items,omitempty"`
	CreatedAt             int64      `protobuf:"varint,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt             int64      `protobuf:"varint,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

StandaloneConnection represents a connection at the destination.

func (*StandaloneConnection) Descriptor deprecated

func (*StandaloneConnection) Descriptor() ([]byte, []int)

Deprecated: Use StandaloneConnection.ProtoReflect.Descriptor instead.

func (*StandaloneConnection) GetApiKeyEncrypted

func (x *StandaloneConnection) GetApiKeyEncrypted() []byte

func (*StandaloneConnection) GetCreatedAt

func (x *StandaloneConnection) GetCreatedAt() int64

func (*StandaloneConnection) GetHost

func (x *StandaloneConnection) GetHost() string

func (*StandaloneConnection) GetInstanceId

func (x *StandaloneConnection) GetInstanceId() string

func (*StandaloneConnection) GetLastSync

func (x *StandaloneConnection) GetLastSync() int64

func (*StandaloneConnection) GetLocalPasswordHash

func (x *StandaloneConnection) GetLocalPasswordHash() []byte

func (*StandaloneConnection) GetLocalSalt

func (x *StandaloneConnection) GetLocalSalt() []byte

func (*StandaloneConnection) GetName

func (x *StandaloneConnection) GetName() string

func (*StandaloneConnection) GetPort

func (x *StandaloneConnection) GetPort() int32

func (*StandaloneConnection) GetRefreshTokenEncrypted

func (x *StandaloneConnection) GetRefreshTokenEncrypted() []byte

func (*StandaloneConnection) GetSyncStatus

func (x *StandaloneConnection) GetSyncStatus() string

func (*StandaloneConnection) GetSyncedItems

func (x *StandaloneConnection) GetSyncedItems() *SyncStats

func (*StandaloneConnection) GetUpdatedAt

func (x *StandaloneConnection) GetUpdatedAt() int64

func (*StandaloneConnection) ProtoMessage

func (*StandaloneConnection) ProtoMessage()

func (*StandaloneConnection) ProtoReflect

func (x *StandaloneConnection) ProtoReflect() protoreflect.Message

func (*StandaloneConnection) Reset

func (x *StandaloneConnection) Reset()

func (*StandaloneConnection) String

func (x *StandaloneConnection) String() string

type StandaloneKey

type StandaloneKey struct {
	Version           int32    `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	InstanceId        string   `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	Host              string   `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
	Port              int32    `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
	ApiKey            string   `protobuf:"bytes,5,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`                                    // Base58-encoded
	RefreshToken      string   `protobuf:"bytes,6,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`                  // Base58-encoded
	EncryptionKeyHint string   `protobuf:"bytes,7,opt,name=encryption_key_hint,json=encryptionKeyHint,proto3" json:"encryption_key_hint,omitempty"` // For verification
	ExpiresAt         int64    `protobuf:"varint,8,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`                          // Unix timestamp
	CreatedAt         int64    `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`                          // Unix timestamp
	Capabilities      []string `protobuf:"bytes,10,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
	// contains filtered or unexported fields
}

StandaloneKey represents the key shared between instances. This is not transmitted over gRPC but used for initial setup.

func (*StandaloneKey) Descriptor deprecated

func (*StandaloneKey) Descriptor() ([]byte, []int)

Deprecated: Use StandaloneKey.ProtoReflect.Descriptor instead.

func (*StandaloneKey) GetApiKey

func (x *StandaloneKey) GetApiKey() string

func (*StandaloneKey) GetCapabilities

func (x *StandaloneKey) GetCapabilities() []string

func (*StandaloneKey) GetCreatedAt

func (x *StandaloneKey) GetCreatedAt() int64

func (*StandaloneKey) GetEncryptionKeyHint

func (x *StandaloneKey) GetEncryptionKeyHint() string

func (*StandaloneKey) GetExpiresAt

func (x *StandaloneKey) GetExpiresAt() int64

func (*StandaloneKey) GetHost

func (x *StandaloneKey) GetHost() string

func (*StandaloneKey) GetInstanceId

func (x *StandaloneKey) GetInstanceId() string

func (*StandaloneKey) GetPort

func (x *StandaloneKey) GetPort() int32

func (*StandaloneKey) GetRefreshToken

func (x *StandaloneKey) GetRefreshToken() string

func (*StandaloneKey) GetVersion

func (x *StandaloneKey) GetVersion() int32

func (*StandaloneKey) ProtoMessage

func (*StandaloneKey) ProtoMessage()

func (*StandaloneKey) ProtoReflect

func (x *StandaloneKey) ProtoReflect() protoreflect.Message

func (*StandaloneKey) Reset

func (x *StandaloneKey) Reset()

func (*StandaloneKey) String

func (x *StandaloneKey) String() string

type StandaloneServiceClient

type StandaloneServiceClient interface {
	// Authentication
	Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error)
	RefreshToken(ctx context.Context, in *RefreshTokenRequest, opts ...grpc.CallOption) (*RefreshTokenResponse, error)
	// Status
	Ping(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*PingResponse, error)
	GetStatus(ctx context.Context, in *GetStatusRequest, opts ...grpc.CallOption) (*GetStatusResponse, error)
	// Sync operations - streaming for large datasets
	SyncProfiles(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[EncryptedData], error)
	SyncWorkspaces(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[EncryptedData], error)
	SyncRepos(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[EncryptedData], error)
	SyncConfig(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*EncryptedData, error)
	// Full sync - all data in one stream
	FullSync(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SyncChunk], error)
}

StandaloneServiceClient is the client API for StandaloneService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

StandaloneService provides instance synchronization capabilities. This service is exposed on a separate port (default 50052) when standalone mode is enabled.

type StandaloneServiceServer

type StandaloneServiceServer interface {
	// Authentication
	Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
	RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
	// Status
	Ping(context.Context, *Empty) (*PingResponse, error)
	GetStatus(context.Context, *GetStatusRequest) (*GetStatusResponse, error)
	// Sync operations - streaming for large datasets
	SyncProfiles(*SyncRequest, grpc.ServerStreamingServer[EncryptedData]) error
	SyncWorkspaces(*SyncRequest, grpc.ServerStreamingServer[EncryptedData]) error
	SyncRepos(*SyncRequest, grpc.ServerStreamingServer[EncryptedData]) error
	SyncConfig(context.Context, *SyncRequest) (*EncryptedData, error)
	// Full sync - all data in one stream
	FullSync(*SyncRequest, grpc.ServerStreamingServer[SyncChunk]) error
	// contains filtered or unexported methods
}

StandaloneServiceServer is the server API for StandaloneService service. All implementations must embed UnimplementedStandaloneServiceServer for forward compatibility.

StandaloneService provides instance synchronization capabilities. This service is exposed on a separate port (default 50052) when standalone mode is enabled.

type StandaloneService_FullSyncClient

type StandaloneService_FullSyncClient = grpc.ServerStreamingClient[SyncChunk]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type StandaloneService_FullSyncServer

type StandaloneService_FullSyncServer = grpc.ServerStreamingServer[SyncChunk]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type StandaloneService_SyncProfilesClient

type StandaloneService_SyncProfilesClient = grpc.ServerStreamingClient[EncryptedData]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type StandaloneService_SyncProfilesServer

type StandaloneService_SyncProfilesServer = grpc.ServerStreamingServer[EncryptedData]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type StandaloneService_SyncReposClient

type StandaloneService_SyncReposClient = grpc.ServerStreamingClient[EncryptedData]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type StandaloneService_SyncReposServer

type StandaloneService_SyncReposServer = grpc.ServerStreamingServer[EncryptedData]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type StandaloneService_SyncWorkspacesClient

type StandaloneService_SyncWorkspacesClient = grpc.ServerStreamingClient[EncryptedData]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type StandaloneService_SyncWorkspacesServer

type StandaloneService_SyncWorkspacesServer = grpc.ServerStreamingServer[EncryptedData]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type SyncChunk

type SyncChunk struct {
	Type          string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // "profile", "workspace", "repo", "config"
	EncryptedData []byte `protobuf:"bytes,2,opt,name=encrypted_data,json=encryptedData,proto3" json:"encrypted_data,omitempty"`
	Nonce         []byte `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Sequence      int32  `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"` // Chunk sequence number
	Total         int32  `protobuf:"varint,5,opt,name=total,proto3" json:"total,omitempty"`       // Total chunks expected
	Id            string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"`              // Item identifier
	// contains filtered or unexported fields
}

SyncChunk is used for streaming full sync data.

func (*SyncChunk) Descriptor deprecated

func (*SyncChunk) Descriptor() ([]byte, []int)

Deprecated: Use SyncChunk.ProtoReflect.Descriptor instead.

func (*SyncChunk) GetEncryptedData

func (x *SyncChunk) GetEncryptedData() []byte

func (*SyncChunk) GetId

func (x *SyncChunk) GetId() string

func (*SyncChunk) GetNonce

func (x *SyncChunk) GetNonce() []byte

func (*SyncChunk) GetSequence

func (x *SyncChunk) GetSequence() int32

func (*SyncChunk) GetTotal

func (x *SyncChunk) GetTotal() int32

func (*SyncChunk) GetType

func (x *SyncChunk) GetType() string

func (*SyncChunk) ProtoMessage

func (*SyncChunk) ProtoMessage()

func (*SyncChunk) ProtoReflect

func (x *SyncChunk) ProtoReflect() protoreflect.Message

func (*SyncChunk) Reset

func (x *SyncChunk) Reset()

func (*SyncChunk) String

func (x *SyncChunk) String() string

type SyncRequest

type SyncRequest struct {
	SessionToken   string   `protobuf:"bytes,1,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
	SinceTimestamp int64    `protobuf:"varint,2,opt,name=since_timestamp,json=sinceTimestamp,proto3" json:"since_timestamp,omitempty"` // For incremental sync (0 = full sync)
	ItemTypes      []string `protobuf:"bytes,3,rep,name=item_types,json=itemTypes,proto3" json:"item_types,omitempty"`                 // Filter: ["profiles", "workspaces", "repos", "config"]
	// contains filtered or unexported fields
}

SyncRequest is the base request for sync operations.

func (*SyncRequest) Descriptor deprecated

func (*SyncRequest) Descriptor() ([]byte, []int)

Deprecated: Use SyncRequest.ProtoReflect.Descriptor instead.

func (*SyncRequest) GetItemTypes

func (x *SyncRequest) GetItemTypes() []string

func (*SyncRequest) GetSessionToken

func (x *SyncRequest) GetSessionToken() string

func (*SyncRequest) GetSinceTimestamp

func (x *SyncRequest) GetSinceTimestamp() int64

func (*SyncRequest) ProtoMessage

func (*SyncRequest) ProtoMessage()

func (*SyncRequest) ProtoReflect

func (x *SyncRequest) ProtoReflect() protoreflect.Message

func (*SyncRequest) Reset

func (x *SyncRequest) Reset()

func (*SyncRequest) String

func (x *SyncRequest) String() string

type SyncStats

type SyncStats struct {
	Profiles   int32 `protobuf:"varint,1,opt,name=profiles,proto3" json:"profiles,omitempty"`
	Workspaces int32 `protobuf:"varint,2,opt,name=workspaces,proto3" json:"workspaces,omitempty"`
	Repos      int32 `protobuf:"varint,3,opt,name=repos,proto3" json:"repos,omitempty"`
	Config     bool  `protobuf:"varint,4,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

SyncStats tracks sync statistics.

func (*SyncStats) Descriptor deprecated

func (*SyncStats) Descriptor() ([]byte, []int)

Deprecated: Use SyncStats.ProtoReflect.Descriptor instead.

func (*SyncStats) GetConfig

func (x *SyncStats) GetConfig() bool

func (*SyncStats) GetProfiles

func (x *SyncStats) GetProfiles() int32

func (*SyncStats) GetRepos

func (x *SyncStats) GetRepos() int32

func (*SyncStats) GetWorkspaces

func (x *SyncStats) GetWorkspaces() int32

func (*SyncStats) ProtoMessage

func (*SyncStats) ProtoMessage()

func (*SyncStats) ProtoReflect

func (x *SyncStats) ProtoReflect() protoreflect.Message

func (*SyncStats) Reset

func (x *SyncStats) Reset()

func (*SyncStats) String

func (x *SyncStats) String() string

type UnimplementedClonrServiceServer

type UnimplementedClonrServiceServer struct{}

UnimplementedClonrServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedClonrServiceServer) DeleteProfile

func (UnimplementedClonrServiceServer) DeleteWorkspace

func (UnimplementedClonrServiceServer) GetActiveProfile

func (UnimplementedClonrServiceServer) GetActiveWorkspace

func (UnimplementedClonrServiceServer) GetAllRepos

func (UnimplementedClonrServiceServer) GetConfig

func (UnimplementedClonrServiceServer) GetProfile

func (UnimplementedClonrServiceServer) GetRepos

func (UnimplementedClonrServiceServer) GetWorkspace

func (UnimplementedClonrServiceServer) ListProfiles

func (UnimplementedClonrServiceServer) ListWorkspaces

func (UnimplementedClonrServiceServer) Ping

func (UnimplementedClonrServiceServer) ProfileExists

func (UnimplementedClonrServiceServer) RemoveRepoByURL

func (UnimplementedClonrServiceServer) RepoExistsByPath

func (UnimplementedClonrServiceServer) RepoExistsByURL

func (UnimplementedClonrServiceServer) SaveConfig

func (UnimplementedClonrServiceServer) SaveProfile

func (UnimplementedClonrServiceServer) SaveRepo

func (UnimplementedClonrServiceServer) SaveWorkspace

func (UnimplementedClonrServiceServer) SetActiveProfile

func (UnimplementedClonrServiceServer) SetActiveWorkspace

func (UnimplementedClonrServiceServer) SetFavoriteByURL

func (UnimplementedClonrServiceServer) WorkspaceExists

type UnimplementedStandaloneServiceServer

type UnimplementedStandaloneServiceServer struct{}

UnimplementedStandaloneServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedStandaloneServiceServer) Authenticate

func (UnimplementedStandaloneServiceServer) FullSync

func (UnimplementedStandaloneServiceServer) GetStatus

func (UnimplementedStandaloneServiceServer) Ping

func (UnimplementedStandaloneServiceServer) RefreshToken

func (UnimplementedStandaloneServiceServer) SyncConfig

func (UnimplementedStandaloneServiceServer) SyncProfiles

func (UnimplementedStandaloneServiceServer) SyncRepos

func (UnimplementedStandaloneServiceServer) SyncWorkspaces

type UnsafeClonrServiceServer

type UnsafeClonrServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeClonrServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClonrServiceServer will result in compilation errors.

type UnsafeStandaloneServiceServer

type UnsafeStandaloneServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeStandaloneServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StandaloneServiceServer will result in compilation errors.

type UpdateRepoTimestampRequest

type UpdateRepoTimestampRequest struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

UpdateRepoTimestamp RPC messages

func (*UpdateRepoTimestampRequest) Descriptor deprecated

func (*UpdateRepoTimestampRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRepoTimestampRequest.ProtoReflect.Descriptor instead.

func (*UpdateRepoTimestampRequest) GetUrl

func (x *UpdateRepoTimestampRequest) GetUrl() string

func (*UpdateRepoTimestampRequest) ProtoMessage

func (*UpdateRepoTimestampRequest) ProtoMessage()

func (*UpdateRepoTimestampRequest) ProtoReflect

func (*UpdateRepoTimestampRequest) Reset

func (x *UpdateRepoTimestampRequest) Reset()

func (*UpdateRepoTimestampRequest) String

func (x *UpdateRepoTimestampRequest) String() string

type UpdateRepoTimestampResponse

type UpdateRepoTimestampResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRepoTimestampResponse) Descriptor deprecated

func (*UpdateRepoTimestampResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRepoTimestampResponse.ProtoReflect.Descriptor instead.

func (*UpdateRepoTimestampResponse) GetSuccess

func (x *UpdateRepoTimestampResponse) GetSuccess() bool

func (*UpdateRepoTimestampResponse) ProtoMessage

func (*UpdateRepoTimestampResponse) ProtoMessage()

func (*UpdateRepoTimestampResponse) ProtoReflect

func (*UpdateRepoTimestampResponse) Reset

func (x *UpdateRepoTimestampResponse) Reset()

func (*UpdateRepoTimestampResponse) String

func (x *UpdateRepoTimestampResponse) String() string

type UpdateRepoWorkspaceRequest

type UpdateRepoWorkspaceRequest struct {
	Url       string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Workspace string `protobuf:"bytes,2,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// contains filtered or unexported fields
}

UpdateRepoWorkspace RPC messages

func (*UpdateRepoWorkspaceRequest) Descriptor deprecated

func (*UpdateRepoWorkspaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRepoWorkspaceRequest.ProtoReflect.Descriptor instead.

func (*UpdateRepoWorkspaceRequest) GetUrl

func (x *UpdateRepoWorkspaceRequest) GetUrl() string

func (*UpdateRepoWorkspaceRequest) GetWorkspace

func (x *UpdateRepoWorkspaceRequest) GetWorkspace() string

func (*UpdateRepoWorkspaceRequest) ProtoMessage

func (*UpdateRepoWorkspaceRequest) ProtoMessage()

func (*UpdateRepoWorkspaceRequest) ProtoReflect

func (*UpdateRepoWorkspaceRequest) Reset

func (x *UpdateRepoWorkspaceRequest) Reset()

func (*UpdateRepoWorkspaceRequest) String

func (x *UpdateRepoWorkspaceRequest) String() string

type UpdateRepoWorkspaceResponse

type UpdateRepoWorkspaceResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRepoWorkspaceResponse) Descriptor deprecated

func (*UpdateRepoWorkspaceResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRepoWorkspaceResponse.ProtoReflect.Descriptor instead.

func (*UpdateRepoWorkspaceResponse) GetSuccess

func (x *UpdateRepoWorkspaceResponse) GetSuccess() bool

func (*UpdateRepoWorkspaceResponse) ProtoMessage

func (*UpdateRepoWorkspaceResponse) ProtoMessage()

func (*UpdateRepoWorkspaceResponse) ProtoReflect

func (*UpdateRepoWorkspaceResponse) Reset

func (x *UpdateRepoWorkspaceResponse) Reset()

func (*UpdateRepoWorkspaceResponse) String

func (x *UpdateRepoWorkspaceResponse) String() string

type Workspace

type Workspace struct {
	Name        string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string                 `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Path        string                 `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	Active      bool                   `protobuf:"varint,4,opt,name=active,proto3" json:"active,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

Workspace represents a logical grouping of repositories

func (*Workspace) Descriptor deprecated

func (*Workspace) Descriptor() ([]byte, []int)

Deprecated: Use Workspace.ProtoReflect.Descriptor instead.

func (*Workspace) GetActive

func (x *Workspace) GetActive() bool

func (*Workspace) GetCreatedAt

func (x *Workspace) GetCreatedAt() *timestamppb.Timestamp

func (*Workspace) GetDescription

func (x *Workspace) GetDescription() string

func (*Workspace) GetName

func (x *Workspace) GetName() string

func (*Workspace) GetPath

func (x *Workspace) GetPath() string

func (*Workspace) GetUpdatedAt

func (x *Workspace) GetUpdatedAt() *timestamppb.Timestamp

func (*Workspace) ProtoMessage

func (*Workspace) ProtoMessage()

func (*Workspace) ProtoReflect

func (x *Workspace) ProtoReflect() protoreflect.Message

func (*Workspace) Reset

func (x *Workspace) Reset()

func (*Workspace) String

func (x *Workspace) String() string

type WorkspaceExistsRequest

type WorkspaceExistsRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

WorkspaceExists RPC messages

func (*WorkspaceExistsRequest) Descriptor deprecated

func (*WorkspaceExistsRequest) Descriptor() ([]byte, []int)

Deprecated: Use WorkspaceExistsRequest.ProtoReflect.Descriptor instead.

func (*WorkspaceExistsRequest) GetName

func (x *WorkspaceExistsRequest) GetName() string

func (*WorkspaceExistsRequest) ProtoMessage

func (*WorkspaceExistsRequest) ProtoMessage()

func (*WorkspaceExistsRequest) ProtoReflect

func (x *WorkspaceExistsRequest) ProtoReflect() protoreflect.Message

func (*WorkspaceExistsRequest) Reset

func (x *WorkspaceExistsRequest) Reset()

func (*WorkspaceExistsRequest) String

func (x *WorkspaceExistsRequest) String() string

type WorkspaceExistsResponse

type WorkspaceExistsResponse struct {
	Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkspaceExistsResponse) Descriptor deprecated

func (*WorkspaceExistsResponse) Descriptor() ([]byte, []int)

Deprecated: Use WorkspaceExistsResponse.ProtoReflect.Descriptor instead.

func (*WorkspaceExistsResponse) GetExists

func (x *WorkspaceExistsResponse) GetExists() bool

func (*WorkspaceExistsResponse) ProtoMessage

func (*WorkspaceExistsResponse) ProtoMessage()

func (*WorkspaceExistsResponse) ProtoReflect

func (x *WorkspaceExistsResponse) ProtoReflect() protoreflect.Message

func (*WorkspaceExistsResponse) Reset

func (x *WorkspaceExistsResponse) Reset()

func (*WorkspaceExistsResponse) String

func (x *WorkspaceExistsResponse) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL