rcredential

package
v0.0.0-...-36d6306 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateService

func CreateService(srv CredentialRPC, options []connect.HandlerOption) (*api.Service, error)

Types

type CredentialAnthropicEvent

type CredentialAnthropicEvent struct {
	Type   string
	Secret *credentialv1.CredentialAnthropic
}

type CredentialAnthropicTopic

type CredentialAnthropicTopic struct {
	WorkspaceID idwrap.IDWrap
}

type CredentialEvent

type CredentialEvent struct {
	Type       string
	Credential *credentialv1.Credential
}

type CredentialGeminiEvent

type CredentialGeminiEvent struct {
	Type   string
	Secret *credentialv1.CredentialGemini
}

type CredentialGeminiTopic

type CredentialGeminiTopic struct {
	WorkspaceID idwrap.IDWrap
}

type CredentialOpenAiEvent

type CredentialOpenAiEvent struct {
	Type   string
	Secret *credentialv1.CredentialOpenAi
}

type CredentialOpenAiTopic

type CredentialOpenAiTopic struct {
	WorkspaceID idwrap.IDWrap
}

type CredentialRPC

type CredentialRPC struct {
	DB *sql.DB
	// contains filtered or unexported fields
}

func New

func (*CredentialRPC) CredentialDelete

func (*CredentialRPC) CredentialInsert

func (*CredentialRPC) CredentialSync

func (*CredentialRPC) CredentialUpdate

type CredentialRPCDeps

type CredentialRPCDeps struct {
	DB        *sql.DB
	Services  CredentialRPCServices
	Readers   CredentialRPCReaders
	Streamers CredentialRPCStreamers
	Publisher mutation.Publisher // Unified publisher for cascade delete events
}

func (*CredentialRPCDeps) Validate

func (d *CredentialRPCDeps) Validate() error

type CredentialRPCReaders

type CredentialRPCReaders struct {
	Credential *scredential.CredentialReader
}

func (*CredentialRPCReaders) Validate

func (r *CredentialRPCReaders) Validate() error

type CredentialRPCServices

type CredentialRPCServices struct {
	Credential scredential.CredentialService
	User       suser.UserService
	Workspace  sworkspace.WorkspaceService
}

func (*CredentialRPCServices) Validate

func (s *CredentialRPCServices) Validate() error

type CredentialTopic

type CredentialTopic struct {
	WorkspaceID idwrap.IDWrap
}

Jump to

Keyboard shortcuts

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