Documentation
¶
Index ¶
- type StoreCache
- func (f *StoreCache) GetEntitlement(ctx context.Context, id string) (*v2.Entitlement, error)
- func (f *StoreCache) GetGrant(ctx context.Context, id string) (*v2.Grant, error)
- func (f *StoreCache) GetResource(ctx context.Context, id *v2.ResourceId) (*v2.Resource, error)
- func (f *StoreCache) GetResourceType(ctx context.Context, id string) (*v2.ResourceType, error)
- func (f *StoreCache) Store() connectorstore.Reader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StoreCache ¶
type StoreCache struct {
// contains filtered or unexported fields
}
func NewStoreCache ¶
func NewStoreCache(ctx context.Context, store connectorstore.Reader) *StoreCache
func (*StoreCache) GetEntitlement ¶
func (f *StoreCache) GetEntitlement(ctx context.Context, id string) (*v2.Entitlement, error)
func (*StoreCache) GetResource ¶
func (f *StoreCache) GetResource(ctx context.Context, id *v2.ResourceId) (*v2.Resource, error)
func (*StoreCache) GetResourceType ¶
func (f *StoreCache) GetResourceType(ctx context.Context, id string) (*v2.ResourceType, error)
func (*StoreCache) Store ¶ added in v0.0.3
func (f *StoreCache) Store() connectorstore.Reader
Click to show internal directories.
Click to hide internal directories.