storage

package
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeatureLastUsedLister

type FeatureLastUsedLister interface {
	ListFeatureLastUsedInfo(
		ctx context.Context,
		pageSize int,
		cursor, environmentNamespace string,
		filters ...*storage.Filter,
	) ([]*proto.FeatureLastUsedInfo, string, error)
}

func NewFeatureLastUsedInfoLister

func NewFeatureLastUsedInfoLister(client storage.Querier) FeatureLastUsedLister

type FeatureLastUsedStorage

type FeatureLastUsedStorage interface {
	GetFeatureLastUsedInfos(
		ctx context.Context,
		ids []string,
		environmentNamespace string,
	) ([]*domain.FeatureLastUsedInfo, error)
	UpsertFeatureLastUsedInfos(
		ctx context.Context,
		featureLastUsedInfos []*domain.FeatureLastUsedInfo,
		environmentNamespace string,
	) error
}

func NewFeatureLastUsedInfoStorage

func NewFeatureLastUsedInfoStorage(client storage.GetPutter) FeatureLastUsedStorage

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
v2
mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL