Documentation ¶
Index ¶
- type ConfigStore
- type DashboardsStore
- func (s *DashboardsStore) Add(context.Context, cmp.Dashboard) (cmp.Dashboard, error)
- func (s *DashboardsStore) All(context.Context) ([]cmp.Dashboard, error)
- func (s *DashboardsStore) Delete(context.Context, cmp.Dashboard) error
- func (s *DashboardsStore) Get(ctx context.Context, ID cmp.DashboardID) (cmp.Dashboard, error)
- func (s *DashboardsStore) Update(context.Context, cmp.Dashboard) error
- type LayoutsStore
- func (s *LayoutsStore) Add(context.Context, cmp.Layout) (cmp.Layout, error)
- func (s *LayoutsStore) All(context.Context) ([]cmp.Layout, error)
- func (s *LayoutsStore) Delete(context.Context, cmp.Layout) error
- func (s *LayoutsStore) Get(ctx context.Context, ID string) (cmp.Layout, error)
- func (s *LayoutsStore) Update(context.Context, cmp.Layout) error
- type MappingsStore
- func (s *MappingsStore) Add(context.Context, *cmp.Mapping) (*cmp.Mapping, error)
- func (s *MappingsStore) All(context.Context) ([]cmp.Mapping, error)
- func (s *MappingsStore) Delete(context.Context, *cmp.Mapping) error
- func (s *MappingsStore) Get(ctx context.Context, ID string) (*cmp.Mapping, error)
- func (s *MappingsStore) Update(context.Context, *cmp.Mapping) error
- type OrganizationConfigStore
- type OrganizationsStore
- func (s *OrganizationsStore) Add(context.Context, *cmp.Organization) (*cmp.Organization, error)
- func (s *OrganizationsStore) All(context.Context) ([]cmp.Organization, error)
- func (s *OrganizationsStore) CreateDefault(context.Context) error
- func (s *OrganizationsStore) DefaultOrganization(context.Context) (*cmp.Organization, error)
- func (s *OrganizationsStore) Delete(context.Context, *cmp.Organization) error
- func (s *OrganizationsStore) Get(ctx context.Context, q cmp.OrganizationQuery) (*cmp.Organization, error)
- func (s *OrganizationsStore) Update(context.Context, *cmp.Organization) error
- type ServersStore
- func (s *ServersStore) Add(context.Context, cmp.Server) (cmp.Server, error)
- func (s *ServersStore) All(context.Context) ([]cmp.Server, error)
- func (s *ServersStore) Delete(context.Context, cmp.Server) error
- func (s *ServersStore) Get(ctx context.Context, ID int) (cmp.Server, error)
- func (s *ServersStore) Update(context.Context, cmp.Server) error
- type SourcesStore
- func (s *SourcesStore) Add(context.Context, cmp.Source) (cmp.Source, error)
- func (s *SourcesStore) All(context.Context) ([]cmp.Source, error)
- func (s *SourcesStore) Delete(context.Context, cmp.Source) error
- func (s *SourcesStore) Get(ctx context.Context, ID int) (cmp.Source, error)
- func (s *SourcesStore) Update(context.Context, cmp.Source) error
- type UsersStore
- func (s *UsersStore) Add(context.Context, *cmp.User) (*cmp.User, error)
- func (s *UsersStore) All(context.Context) ([]cmp.User, error)
- func (s *UsersStore) Delete(context.Context, *cmp.User) error
- func (s *UsersStore) Get(ctx context.Context, q cmp.UserQuery) (*cmp.User, error)
- func (s *UsersStore) Num(context.Context) (int, error)
- func (s *UsersStore) Update(context.Context, *cmp.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigStore ¶
type ConfigStore struct{}
ConfigStore ...
func (*ConfigStore) Initialize ¶
func (s *ConfigStore) Initialize(context.Context) error
Initialize : TODO(desa): this really should be removed
type DashboardsStore ¶
type DashboardsStore struct{}
DashboardsStore ...
func (*DashboardsStore) Get ¶
func (s *DashboardsStore) Get(ctx context.Context, ID cmp.DashboardID) (cmp.Dashboard, error)
Get ...
type LayoutsStore ¶
type LayoutsStore struct{}
LayoutsStore ...
type MappingsStore ¶
type MappingsStore struct{}
MappingsStore ...
type OrganizationConfigStore ¶
type OrganizationConfigStore struct{}
OrganizationConfigStore ...
func (*OrganizationConfigStore) FindOrCreate ¶
func (s *OrganizationConfigStore) FindOrCreate(context.Context, string) (*cmp.OrganizationConfig, error)
FindOrCreate ...
func (*OrganizationConfigStore) Put ¶
func (s *OrganizationConfigStore) Put(context.Context, *cmp.OrganizationConfig) error
Put ...
type OrganizationsStore ¶
type OrganizationsStore struct{}
OrganizationsStore ...
func (*OrganizationsStore) Add ¶
func (s *OrganizationsStore) Add(context.Context, *cmp.Organization) (*cmp.Organization, error)
Add ...
func (*OrganizationsStore) All ¶
func (s *OrganizationsStore) All(context.Context) ([]cmp.Organization, error)
All ...
func (*OrganizationsStore) CreateDefault ¶
func (s *OrganizationsStore) CreateDefault(context.Context) error
CreateDefault ...
func (*OrganizationsStore) DefaultOrganization ¶
func (s *OrganizationsStore) DefaultOrganization(context.Context) (*cmp.Organization, error)
DefaultOrganization ...
func (*OrganizationsStore) Delete ¶
func (s *OrganizationsStore) Delete(context.Context, *cmp.Organization) error
Delete ...
func (*OrganizationsStore) Get ¶
func (s *OrganizationsStore) Get(ctx context.Context, q cmp.OrganizationQuery) (*cmp.Organization, error)
Get ...
func (*OrganizationsStore) Update ¶
func (s *OrganizationsStore) Update(context.Context, *cmp.Organization) error
Update ...
type ServersStore ¶
type ServersStore struct{}
ServersStore ...
type SourcesStore ¶
type SourcesStore struct{}
SourcesStore ...
Click to show internal directories.
Click to hide internal directories.