Documentation ¶
Index ¶
- type View
- func (v *View) ApplicationByOIDCClientID(ctx context.Context, clientID string) (*query.App, error)
- func (v *View) ApplicationByProjecIDAndAppName(ctx context.Context, projectID, appName string) (_ *query.App, err error)
- func (v *View) DeleteSessionTokens(agentID, userID, instanceID string, event *models.Event) error
- func (v *View) DeleteToken(tokenID, instanceID string, event *models.Event) error
- func (v *View) GetLatestTokenFailedEvent(sequence uint64, instanceID string) (*repository.FailedEvent, error)
- func (v *View) GetLatestTokenSequence(instanceID string) (*repository.CurrentSequence, error)
- func (v *View) Health() (err error)
- func (v *View) ProcessedTokenFailedEvent(failedEvent *repository.FailedEvent) error
- func (v *View) ProcessedTokenSequence(event *models.Event) error
- func (v *View) PutToken(token *usr_view_model.TokenView, event *models.Event) error
- func (v *View) TokenByIDs(tokenID, userID, instanceID string) (*usr_view_model.TokenView, error)
- func (v *View) UpdateTokenSpoolerRunTimestamp() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type View ¶
func (*View) ApplicationByOIDCClientID ¶
func (*View) ApplicationByProjecIDAndAppName ¶
func (*View) DeleteSessionTokens ¶
func (*View) DeleteToken ¶
func (*View) GetLatestTokenFailedEvent ¶
func (v *View) GetLatestTokenFailedEvent(sequence uint64, instanceID string) (*repository.FailedEvent, error)
func (*View) GetLatestTokenSequence ¶
func (v *View) GetLatestTokenSequence(instanceID string) (*repository.CurrentSequence, error)
func (*View) ProcessedTokenFailedEvent ¶
func (v *View) ProcessedTokenFailedEvent(failedEvent *repository.FailedEvent) error
func (*View) ProcessedTokenSequence ¶
func (*View) TokenByIDs ¶
func (v *View) TokenByIDs(tokenID, userID, instanceID string) (*usr_view_model.TokenView, error)
func (*View) UpdateTokenSpoolerRunTimestamp ¶
Click to show internal directories.
Click to hide internal directories.