Documentation ¶
Index ¶
- type InvocationDB
- func (d *InvocationDB) DeleteInvocation(ctx context.Context, invocationID string) error
- func (d *InvocationDB) DeleteInvocationWithPermsCheck(ctx context.Context, authenticatedUser *interfaces.UserInfo, ...) error
- func (d *InvocationDB) FillCounts(ctx context.Context, stat *telpb.TelemetryStat) error
- func (d *InvocationDB) InsertOrUpdateInvocation(ctx context.Context, ti *tables.Invocation) error
- func (d *InvocationDB) LookupExpiredInvocations(ctx context.Context, cutoffTime time.Time, limit int) ([]*tables.Invocation, error)
- func (d *InvocationDB) LookupGroupFromInvocation(ctx context.Context, invocationID string) (*tables.Group, error)
- func (d *InvocationDB) LookupInvocation(ctx context.Context, invocationID string) (*tables.Invocation, error)
- func (d *InvocationDB) UpdateInvocationACL(ctx context.Context, authenticatedUser *interfaces.UserInfo, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InvocationDB ¶
type InvocationDB struct {
// contains filtered or unexported fields
}
func NewInvocationDB ¶
func NewInvocationDB(env environment.Env, h *db.DBHandle) *InvocationDB
func (*InvocationDB) DeleteInvocation ¶
func (d *InvocationDB) DeleteInvocation(ctx context.Context, invocationID string) error
func (*InvocationDB) DeleteInvocationWithPermsCheck ¶
func (d *InvocationDB) DeleteInvocationWithPermsCheck(ctx context.Context, authenticatedUser *interfaces.UserInfo, invocationID string) error
func (*InvocationDB) FillCounts ¶
func (d *InvocationDB) FillCounts(ctx context.Context, stat *telpb.TelemetryStat) error
func (*InvocationDB) InsertOrUpdateInvocation ¶
func (d *InvocationDB) InsertOrUpdateInvocation(ctx context.Context, ti *tables.Invocation) error
func (*InvocationDB) LookupExpiredInvocations ¶
func (d *InvocationDB) LookupExpiredInvocations(ctx context.Context, cutoffTime time.Time, limit int) ([]*tables.Invocation, error)
func (*InvocationDB) LookupGroupFromInvocation ¶
func (*InvocationDB) LookupInvocation ¶
func (d *InvocationDB) LookupInvocation(ctx context.Context, invocationID string) (*tables.Invocation, error)
func (*InvocationDB) UpdateInvocationACL ¶
func (d *InvocationDB) UpdateInvocationACL(ctx context.Context, authenticatedUser *interfaces.UserInfo, invocationID string, acl *aclpb.ACL) error
Click to show internal directories.
Click to hide internal directories.