Documentation
¶
Index ¶
- type DuplicationError
- type Store
- func (s *Store) AlterEventsTable() error
- func (s *Store) AlterKeysTable() error
- func (s *Store) AlterProviderSettingsTable() error
- func (s *Store) CreateCustomProvider(provider *custom.Provider) (*custom.Provider, error)
- func (s *Store) CreateCustomProvidersTable() error
- func (s *Store) CreateEventsTable() error
- func (s *Store) CreateKey(rk *key.RequestKey) (*key.ResponseKey, error)
- func (s *Store) CreateKeysTable() error
- func (s *Store) CreateProviderSetting(setting *provider.Setting) (*provider.Setting, error)
- func (s *Store) CreateProviderSettingsTable() error
- func (s *Store) DeleteKey(id string) error
- func (s *Store) DropCustomProvidersTable() error
- func (s *Store) DropEventsTable() error
- func (s *Store) DropKeysTable() error
- func (s *Store) DropProviderSettingsTable() error
- func (s *Store) GetAllKeys() ([]*key.ResponseKey, error)
- func (s *Store) GetCustomProvider(id string) (*custom.Provider, error)
- func (s *Store) GetCustomProviderByName(name string) (*custom.Provider, error)
- func (s *Store) GetCustomProviders() ([]*custom.Provider, error)
- func (s *Store) GetEventDataPoints(start, end, increment int64, tags, keyIds []string, filters []string) ([]*event.DataPoint, error)
- func (s *Store) GetEvents(customId string) ([]*event.Event, error)
- func (s *Store) GetKey(keyId string) (*key.ResponseKey, error)
- func (s *Store) GetKeys(tags []string, provider string) ([]*key.ResponseKey, error)
- func (s *Store) GetLatencyPercentiles(start, end int64, tags, keyIds []string) ([]float64, error)
- func (s *Store) GetProviderSetting(id string) (*provider.Setting, error)
- func (s *Store) GetProviderSettings(withSecret bool) ([]*provider.Setting, error)
- func (s *Store) GetUpdatedCustomProviders(updatedAt int64) ([]*custom.Provider, error)
- func (s *Store) GetUpdatedKeys(updatedAt int64) ([]*key.ResponseKey, error)
- func (s *Store) GetUpdatedProviderSettings(updatedAt int64) ([]*provider.Setting, error)
- func (s *Store) InsertEvent(e *event.Event) error
- func (s *Store) UpdateCustomProvider(id string, provider *custom.UpdateProvider) (*custom.Provider, error)
- func (s *Store) UpdateKey(id string, uk *key.UpdateKey) (*key.ResponseKey, error)
- func (s *Store) UpdateProviderSetting(id string, setting *provider.Setting) (*provider.Setting, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DuplicationError ¶
type DuplicationError struct {
// contains filtered or unexported fields
}
func NewDuplicationError ¶
func NewDuplicationError(msg string) *DuplicationError
func (*DuplicationError) Duplication ¶
func (de *DuplicationError) Duplication()
func (*DuplicationError) Error ¶
func (de *DuplicationError) Error() string
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) AlterEventsTable ¶ added in v1.0.4
func (*Store) AlterKeysTable ¶ added in v1.0.0
func (*Store) AlterProviderSettingsTable ¶ added in v1.1.1
func (*Store) CreateCustomProvider ¶ added in v1.3.0
func (*Store) CreateCustomProvidersTable ¶ added in v1.3.0
func (*Store) CreateEventsTable ¶ added in v0.0.9
func (*Store) CreateKey ¶
func (s *Store) CreateKey(rk *key.RequestKey) (*key.ResponseKey, error)
func (*Store) CreateKeysTable ¶
func (*Store) CreateProviderSetting ¶ added in v1.0.0
func (*Store) CreateProviderSettingsTable ¶ added in v1.0.0
func (*Store) DropCustomProvidersTable ¶ added in v1.3.0
func (*Store) DropEventsTable ¶ added in v0.0.9
func (*Store) DropKeysTable ¶
func (*Store) DropProviderSettingsTable ¶ added in v1.0.0
func (*Store) GetAllKeys ¶
func (s *Store) GetAllKeys() ([]*key.ResponseKey, error)
func (*Store) GetCustomProvider ¶ added in v1.3.0
func (*Store) GetCustomProviderByName ¶ added in v1.3.0
func (*Store) GetCustomProviders ¶ added in v1.3.0
func (*Store) GetEventDataPoints ¶ added in v0.0.9
func (*Store) GetKey ¶ added in v0.0.7
func (s *Store) GetKey(keyId string) (*key.ResponseKey, error)
func (*Store) GetLatencyPercentiles ¶ added in v0.0.9
func (*Store) GetProviderSetting ¶ added in v1.0.0
func (*Store) GetProviderSettings ¶ added in v1.2.0
func (*Store) GetUpdatedCustomProviders ¶ added in v1.3.0
func (*Store) GetUpdatedKeys ¶
func (s *Store) GetUpdatedKeys(updatedAt int64) ([]*key.ResponseKey, error)
func (*Store) GetUpdatedProviderSettings ¶ added in v1.0.0
func (*Store) UpdateCustomProvider ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.