Documentation ¶
Index ¶
- type ApplicationPackagesRegistry
- func (r ApplicationPackagesRegistry) GetAssociation(ctx context.Context, ids ttnpb.ApplicationPackageAssociationIdentifiers, ...) (*ttnpb.ApplicationPackageAssociation, error)
- func (r ApplicationPackagesRegistry) GetDefaultAssociation(ctx context.Context, ids ttnpb.ApplicationPackageDefaultAssociationIdentifiers, ...) (*ttnpb.ApplicationPackageDefaultAssociation, error)
- func (r ApplicationPackagesRegistry) ListAssociations(ctx context.Context, ids ttnpb.EndDeviceIdentifiers, paths []string) ([]*ttnpb.ApplicationPackageAssociation, error)
- func (r ApplicationPackagesRegistry) ListDefaultAssociations(ctx context.Context, ids ttnpb.ApplicationIdentifiers, paths []string) ([]*ttnpb.ApplicationPackageDefaultAssociation, error)
- func (r ApplicationPackagesRegistry) SetAssociation(ctx context.Context, ids ttnpb.ApplicationPackageAssociationIdentifiers, ...) (*ttnpb.ApplicationPackageAssociation, error)
- func (r ApplicationPackagesRegistry) SetDefaultAssociation(ctx context.Context, ids ttnpb.ApplicationPackageDefaultAssociationIdentifiers, ...) (*ttnpb.ApplicationPackageDefaultAssociation, error)
- func (r ApplicationPackagesRegistry) WithPagination(ctx context.Context, limit, page uint32, total *int64) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationPackagesRegistry ¶
ApplicationPackagesRegistry is a Redis application packages registry.
func (ApplicationPackagesRegistry) GetAssociation ¶
func (r ApplicationPackagesRegistry) GetAssociation(ctx context.Context, ids ttnpb.ApplicationPackageAssociationIdentifiers, paths []string) (*ttnpb.ApplicationPackageAssociation, error)
GetAssociation implements applicationpackages.AssociationRegistry.
func (ApplicationPackagesRegistry) GetDefaultAssociation ¶
func (r ApplicationPackagesRegistry) GetDefaultAssociation(ctx context.Context, ids ttnpb.ApplicationPackageDefaultAssociationIdentifiers, paths []string) (*ttnpb.ApplicationPackageDefaultAssociation, error)
GetDefaultAssociation implements applicationpackages.AssociationRegistry.
func (ApplicationPackagesRegistry) ListAssociations ¶
func (r ApplicationPackagesRegistry) ListAssociations(ctx context.Context, ids ttnpb.EndDeviceIdentifiers, paths []string) ([]*ttnpb.ApplicationPackageAssociation, error)
ListAssociations implements applicationpackages.AssociationRegistry.
func (ApplicationPackagesRegistry) ListDefaultAssociations ¶
func (r ApplicationPackagesRegistry) ListDefaultAssociations(ctx context.Context, ids ttnpb.ApplicationIdentifiers, paths []string) ([]*ttnpb.ApplicationPackageDefaultAssociation, error)
ListDefaultAssociations implements applicationpackages.AssociationRegistry.
func (ApplicationPackagesRegistry) SetAssociation ¶
func (r ApplicationPackagesRegistry) SetAssociation(ctx context.Context, ids ttnpb.ApplicationPackageAssociationIdentifiers, gets []string, f func(*ttnpb.ApplicationPackageAssociation) (*ttnpb.ApplicationPackageAssociation, []string, error)) (*ttnpb.ApplicationPackageAssociation, error)
SetAssociation implements applicationpackages.AssociationRegistry.
func (ApplicationPackagesRegistry) SetDefaultAssociation ¶
func (r ApplicationPackagesRegistry) SetDefaultAssociation(ctx context.Context, ids ttnpb.ApplicationPackageDefaultAssociationIdentifiers, gets []string, f func(*ttnpb.ApplicationPackageDefaultAssociation) (*ttnpb.ApplicationPackageDefaultAssociation, []string, error)) (*ttnpb.ApplicationPackageDefaultAssociation, error)
SetDefaultAssociation implements applicationpackages.AssociationRegistry.
func (ApplicationPackagesRegistry) WithPagination ¶
func (r ApplicationPackagesRegistry) WithPagination(ctx context.Context, limit, page uint32, total *int64) context.Context
WithPagination implements applicationpackages.AssociationRegistry.
Click to show internal directories.
Click to hide internal directories.