Documentation
¶
Index ¶
- func ConnectionToProto(m domain.ExternalConnectionMeta) *pb.ExternalConnectionInfo
- type ExternalConnectionsImpl
- func (e *ExternalConnectionsImpl) AddAnthropicConnection(ctx context.Context, req *pb.AddAnthropicConnection_Request) (*pb.AddAnthropicConnection_Response, error)
- func (e *ExternalConnectionsImpl) AddCouchDBConnection(ctx context.Context, req *pb.AddCouchDBConnection_Request) (*pb.AddCouchDBConnection_Response, error)
- func (e *ExternalConnectionsImpl) AddEmailConnection(ctx context.Context, req *pb.AddEmailConnection_Request) (*pb.AddEmailConnection_Response, error)
- func (e *ExternalConnectionsImpl) AddGenericConnection(ctx context.Context, req *pb.AddGenericConnection_Request) (*pb.AddGenericConnection_Response, error)
- func (e *ExternalConnectionsImpl) AddGitlabConnection(ctx context.Context, req *pb.AddGitlabConnection_Request) (*pb.AddGitlabConnection_Response, error)
- func (e *ExternalConnectionsImpl) AddOpenAIConnection(ctx context.Context, req *pb.AddOpenAIConnection_Request) (*pb.AddOpenAIConnection_Response, error)
- func (e *ExternalConnectionsImpl) AddPostgresConnection(ctx context.Context, req *pb.AddPostgresConnection_Request) (*pb.AddPostgresConnection_Response, error)
- func (e *ExternalConnectionsImpl) AddS3Connection(ctx context.Context, req *pb.AddS3Connection_Request) (*pb.AddS3Connection_Response, error)
- func (e *ExternalConnectionsImpl) AddSpreadsheet(ctx context.Context, req *pb.AddSpreadsheet_Request) (*pb.AddSpreadsheet_Response, error)
- func (e *ExternalConnectionsImpl) AddTelegramConnection(ctx context.Context, req *pb.AddTelegramConnection_Request) (*pb.AddTelegramConnection_Response, error)
- func (e *ExternalConnectionsImpl) AddTrelloConnection(ctx context.Context, req *pb.AddTrelloConnection_Request) (*pb.AddTrelloConnection_Response, error)
- func (e *ExternalConnectionsImpl) CheckAnthropicConnection(ctx context.Context, req *pb.CheckAnthropicConnection_Request) (*pb.CheckAnthropicConnection_Response, error)
- func (e *ExternalConnectionsImpl) CheckCouchDBConnection(ctx context.Context, req *pb.CheckCouchDBConnection_Request) (*pb.CheckCouchDBConnection_Response, error)
- func (e *ExternalConnectionsImpl) CheckEmailConnection(ctx context.Context, req *pb.CheckEmailConnection_Request) (*pb.CheckEmailConnection_Response, error)
- func (e *ExternalConnectionsImpl) CheckGitlabConnection(ctx context.Context, req *pb.CheckGitlabConnection_Request) (*pb.CheckGitlabConnection_Response, error)
- func (e *ExternalConnectionsImpl) CheckOpenAIConnection(ctx context.Context, req *pb.CheckOpenAIConnection_Request) (*pb.CheckOpenAIConnection_Response, error)
- func (e *ExternalConnectionsImpl) CheckPostgresConnection(ctx context.Context, req *pb.CheckPostgresConnection_Request) (*pb.CheckPostgresConnection_Response, error)
- func (e *ExternalConnectionsImpl) CheckS3Connection(ctx context.Context, req *pb.CheckS3Connection_Request) (*pb.CheckS3Connection_Response, error)
- func (e *ExternalConnectionsImpl) CheckTelegramConnection(ctx context.Context, req *pb.CheckTelegramConnection_Request) (*pb.CheckTelegramConnection_Response, error)
- func (e *ExternalConnectionsImpl) CheckTrelloConnection(ctx context.Context, req *pb.CheckTrelloConnection_Request) (*pb.CheckTrelloConnection_Response, error)
- func (e *ExternalConnectionsImpl) DisconnectConnection(ctx context.Context, req *pb.DisconnectConnection_Request) (*pb.DisconnectConnection_Response, error)
- func (e *ExternalConnectionsImpl) DisconnectProvider(ctx context.Context, req *pb.DisconnectProvider_Request) (*pb.DisconnectProvider_Response, error)
- func (e *ExternalConnectionsImpl) Gateway(ctx context.Context, endpoint string, opts ...grpc.DialOption) (string, http.Handler)
- func (e *ExternalConnectionsImpl) GenerateGitlabWebhookSecret(ctx context.Context, _ *pb.GenerateGitlabWebhookSecret_Request) (*pb.GenerateGitlabWebhookSecret_Response, error)
- func (e *ExternalConnectionsImpl) GetGooglePickerToken(ctx context.Context, _ *pb.GooglePickerToken_Request) (*pb.GooglePickerToken_Response, error)
- func (e *ExternalConnectionsImpl) HandleGoogleExchange(w http.ResponseWriter, r *http.Request)
- func (e *ExternalConnectionsImpl) InitiateGoogleOAuth(ctx context.Context, req *pb.InitiateGoogleOAuth_Request) (*pb.InitiateGoogleOAuth_Response, error)
- func (e *ExternalConnectionsImpl) ListConnections(ctx context.Context, _ *pb.ListConnections_Request) (*pb.ListConnections_Response, error)
- func (e *ExternalConnectionsImpl) ListMailServerSuggestions(ctx context.Context, req *pb.ListMailServerSuggestions_Request) (*pb.ListMailServerSuggestions_Response, error)
- func (e *ExternalConnectionsImpl) ListSpreadsheets(ctx context.Context, _ *pb.ListSpreadsheets_Request) (*pb.ListSpreadsheets_Response, error)
- func (e *ExternalConnectionsImpl) Register(srv grpc.ServiceRegistrar)
- func (e *ExternalConnectionsImpl) RemoveSpreadsheet(ctx context.Context, req *pb.RemoveSpreadsheet_Request) (*pb.RemoveSpreadsheet_Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectionToProto ¶
func ConnectionToProto(m domain.ExternalConnectionMeta) *pb.ExternalConnectionInfo
Types ¶
type ExternalConnectionsImpl ¶
type ExternalConnectionsImpl struct {
pb.UnimplementedExternalConnectionsAPIServer
// contains filtered or unexported fields
}
func New ¶
func New(svc service.ExternalConnectionService) *ExternalConnectionsImpl
func (*ExternalConnectionsImpl) AddAnthropicConnection ¶
func (e *ExternalConnectionsImpl) AddAnthropicConnection( ctx context.Context, req *pb.AddAnthropicConnection_Request, ) (*pb.AddAnthropicConnection_Response, error)
func (*ExternalConnectionsImpl) AddCouchDBConnection ¶
func (e *ExternalConnectionsImpl) AddCouchDBConnection( ctx context.Context, req *pb.AddCouchDBConnection_Request, ) (*pb.AddCouchDBConnection_Response, error)
func (*ExternalConnectionsImpl) AddEmailConnection ¶
func (e *ExternalConnectionsImpl) AddEmailConnection( ctx context.Context, req *pb.AddEmailConnection_Request, ) (*pb.AddEmailConnection_Response, error)
func (*ExternalConnectionsImpl) AddGenericConnection ¶
func (e *ExternalConnectionsImpl) AddGenericConnection( ctx context.Context, req *pb.AddGenericConnection_Request, ) (*pb.AddGenericConnection_Response, error)
func (*ExternalConnectionsImpl) AddGitlabConnection ¶
func (e *ExternalConnectionsImpl) AddGitlabConnection( ctx context.Context, req *pb.AddGitlabConnection_Request, ) (*pb.AddGitlabConnection_Response, error)
func (*ExternalConnectionsImpl) AddOpenAIConnection ¶
func (e *ExternalConnectionsImpl) AddOpenAIConnection( ctx context.Context, req *pb.AddOpenAIConnection_Request, ) (*pb.AddOpenAIConnection_Response, error)
func (*ExternalConnectionsImpl) AddPostgresConnection ¶ added in v1.0.15
func (e *ExternalConnectionsImpl) AddPostgresConnection( ctx context.Context, req *pb.AddPostgresConnection_Request, ) (*pb.AddPostgresConnection_Response, error)
func (*ExternalConnectionsImpl) AddS3Connection ¶
func (e *ExternalConnectionsImpl) AddS3Connection( ctx context.Context, req *pb.AddS3Connection_Request, ) (*pb.AddS3Connection_Response, error)
func (*ExternalConnectionsImpl) AddSpreadsheet ¶
func (e *ExternalConnectionsImpl) AddSpreadsheet( ctx context.Context, req *pb.AddSpreadsheet_Request, ) (*pb.AddSpreadsheet_Response, error)
func (*ExternalConnectionsImpl) AddTelegramConnection ¶
func (e *ExternalConnectionsImpl) AddTelegramConnection( ctx context.Context, req *pb.AddTelegramConnection_Request, ) (*pb.AddTelegramConnection_Response, error)
func (*ExternalConnectionsImpl) AddTrelloConnection ¶
func (e *ExternalConnectionsImpl) AddTrelloConnection( ctx context.Context, req *pb.AddTrelloConnection_Request, ) (*pb.AddTrelloConnection_Response, error)
func (*ExternalConnectionsImpl) CheckAnthropicConnection ¶
func (e *ExternalConnectionsImpl) CheckAnthropicConnection( ctx context.Context, req *pb.CheckAnthropicConnection_Request, ) (*pb.CheckAnthropicConnection_Response, error)
func (*ExternalConnectionsImpl) CheckCouchDBConnection ¶
func (e *ExternalConnectionsImpl) CheckCouchDBConnection( ctx context.Context, req *pb.CheckCouchDBConnection_Request, ) (*pb.CheckCouchDBConnection_Response, error)
func (*ExternalConnectionsImpl) CheckEmailConnection ¶
func (e *ExternalConnectionsImpl) CheckEmailConnection( ctx context.Context, req *pb.CheckEmailConnection_Request, ) (*pb.CheckEmailConnection_Response, error)
func (*ExternalConnectionsImpl) CheckGitlabConnection ¶
func (e *ExternalConnectionsImpl) CheckGitlabConnection( ctx context.Context, req *pb.CheckGitlabConnection_Request, ) (*pb.CheckGitlabConnection_Response, error)
func (*ExternalConnectionsImpl) CheckOpenAIConnection ¶
func (e *ExternalConnectionsImpl) CheckOpenAIConnection( ctx context.Context, req *pb.CheckOpenAIConnection_Request, ) (*pb.CheckOpenAIConnection_Response, error)
func (*ExternalConnectionsImpl) CheckPostgresConnection ¶ added in v1.0.15
func (e *ExternalConnectionsImpl) CheckPostgresConnection( ctx context.Context, req *pb.CheckPostgresConnection_Request, ) (*pb.CheckPostgresConnection_Response, error)
func (*ExternalConnectionsImpl) CheckS3Connection ¶
func (e *ExternalConnectionsImpl) CheckS3Connection( ctx context.Context, req *pb.CheckS3Connection_Request, ) (*pb.CheckS3Connection_Response, error)
func (*ExternalConnectionsImpl) CheckTelegramConnection ¶
func (e *ExternalConnectionsImpl) CheckTelegramConnection( ctx context.Context, req *pb.CheckTelegramConnection_Request, ) (*pb.CheckTelegramConnection_Response, error)
func (*ExternalConnectionsImpl) CheckTrelloConnection ¶
func (e *ExternalConnectionsImpl) CheckTrelloConnection( ctx context.Context, req *pb.CheckTrelloConnection_Request, ) (*pb.CheckTrelloConnection_Response, error)
func (*ExternalConnectionsImpl) DisconnectConnection ¶
func (e *ExternalConnectionsImpl) DisconnectConnection( ctx context.Context, req *pb.DisconnectConnection_Request, ) (*pb.DisconnectConnection_Response, error)
func (*ExternalConnectionsImpl) DisconnectProvider ¶
func (e *ExternalConnectionsImpl) DisconnectProvider( ctx context.Context, req *pb.DisconnectProvider_Request, ) (*pb.DisconnectProvider_Response, error)
func (*ExternalConnectionsImpl) Gateway ¶
func (e *ExternalConnectionsImpl) Gateway( ctx context.Context, endpoint string, opts ...grpc.DialOption, ) (string, http.Handler)
func (*ExternalConnectionsImpl) GenerateGitlabWebhookSecret ¶
func (e *ExternalConnectionsImpl) GenerateGitlabWebhookSecret( ctx context.Context, _ *pb.GenerateGitlabWebhookSecret_Request, ) (*pb.GenerateGitlabWebhookSecret_Response, error)
func (*ExternalConnectionsImpl) GetGooglePickerToken ¶
func (e *ExternalConnectionsImpl) GetGooglePickerToken( ctx context.Context, _ *pb.GooglePickerToken_Request, ) (*pb.GooglePickerToken_Response, error)
func (*ExternalConnectionsImpl) HandleGoogleExchange ¶
func (e *ExternalConnectionsImpl) HandleGoogleExchange(w http.ResponseWriter, r *http.Request)
func (*ExternalConnectionsImpl) InitiateGoogleOAuth ¶
func (e *ExternalConnectionsImpl) InitiateGoogleOAuth( ctx context.Context, req *pb.InitiateGoogleOAuth_Request, ) (*pb.InitiateGoogleOAuth_Response, error)
func (*ExternalConnectionsImpl) ListConnections ¶
func (e *ExternalConnectionsImpl) ListConnections( ctx context.Context, _ *pb.ListConnections_Request, ) (*pb.ListConnections_Response, error)
func (*ExternalConnectionsImpl) ListMailServerSuggestions ¶
func (e *ExternalConnectionsImpl) ListMailServerSuggestions( ctx context.Context, req *pb.ListMailServerSuggestions_Request, ) (*pb.ListMailServerSuggestions_Response, error)
func (*ExternalConnectionsImpl) ListSpreadsheets ¶
func (e *ExternalConnectionsImpl) ListSpreadsheets( ctx context.Context, _ *pb.ListSpreadsheets_Request, ) (*pb.ListSpreadsheets_Response, error)
func (*ExternalConnectionsImpl) Register ¶
func (e *ExternalConnectionsImpl) Register(srv grpc.ServiceRegistrar)
func (*ExternalConnectionsImpl) RemoveSpreadsheet ¶
func (e *ExternalConnectionsImpl) RemoveSpreadsheet( ctx context.Context, req *pb.RemoveSpreadsheet_Request, ) (*pb.RemoveSpreadsheet_Response, error)
Source Files
¶
- add_anthropic.go
- add_couchdb.go
- add_email.go
- add_generic.go
- add_gitlab.go
- add_openai.go
- add_postgres.go
- add_s3.go
- add_telegram.go
- add_trello.go
- callback.go
- check_anthropic.go
- check_couchdb.go
- check_email.go
- check_gitlab.go
- check_openai.go
- check_postgres.go
- check_s3.go
- check_telegram.go
- check_trello.go
- disconnect.go
- disconnect_connection.go
- generate_gitlab_webhook_secret.go
- impl.go
- initiate.go
- list.go
- list_mail_suggestions.go
- picker_token.go
- spreadsheets.go
- to_proto.go
Click to show internal directories.
Click to hide internal directories.