Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupListOpts ¶
type GroupListOpts struct{}
GroupListOpts are the options for Group list action on the repository.
type GroupRepository ¶
type GroupRepository interface { GetGroup(ctx context.Context, id string) (*model.Group, error) ListGroups(ctx context.Context, opts GroupListOpts) (*GroupList, error) }
GroupRepository knows to retrieve resource groups.
type ResourceList ¶
ResourceList is a list of resources.
type ResourceListOpts ¶
type ResourceListOpts struct{}
ResourceListOpts are the options for Resource list action on the repository.
type ResourceRepository ¶
type ResourceRepository interface { GetResource(ctx context.Context, id string) (*model.Resource, error) ListResources(ctx context.Context, opts ResourceListOpts) (*ResourceList, error) }
ResourceRepository knows how to retrieve Resources.
Click to show internal directories.
Click to hide internal directories.