Documentation
¶
Overview ¶
contextstore allows to manage and track context per controllers, stored at the different levels of the controller hierarchy: APIServiceExport - schemas and permissionClaims - each schema runs its own gvr controller and each permissionClaim runs its own controller. Context are stored at the APIServiceExport level.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface {
Get(key Key) (SyncContext, bool)
ListPrefixed(prefix Key) []SyncContext
Set(key Key, value SyncContext)
Delete(key Key)
BulkDeletePrefixed(prefix Key) []SyncContext
}
type SyncContext ¶
type SyncContext struct {
Generation int64
Cancel func()
// contains filtered or unexported fields
}
func (*SyncContext) Key ¶
func (c *SyncContext) Key() Key
Click to show internal directories.
Click to hide internal directories.