Documentation ¶
Index ¶
- type Config
- type ProfileList
- type Storage
- func (st *Storage) FindProfileIDs(ctx context.Context, params *storage.FindProfilesParams) ([]profile.ID, error)
- func (st *Storage) FindProfiles(ctx context.Context, params *storage.FindProfilesParams) ([]profile.Meta, error)
- func (st *Storage) ListProfiles(ctx context.Context, pids []profile.ID) (storage.ProfileList, error)
- func (st *Storage) ListServices(ctx context.Context) ([]string, error)
- func (st *Storage) WriteProfile(ctx context.Context, params *storage.WriteProfileParams, r io.Reader) (profile.Meta, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Dir string ProfileTTL time.Duration GCInterval time.Duration GCDiscardRatio float64 }
func (*Config) CreateStorage ¶
func (*Config) RegisterFlags ¶
type ProfileList ¶
type ProfileList struct {
// contains filtered or unexported fields
}
func (*ProfileList) Close ¶
func (pl *ProfileList) Close() error
func (*ProfileList) Next ¶
func (pl *ProfileList) Next() bool
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func (*Storage) FindProfileIDs ¶
func (*Storage) FindProfiles ¶
func (*Storage) ListProfiles ¶
func (*Storage) ListServices ¶
Click to show internal directories.
Click to hide internal directories.