Documentation ¶
Index ¶
- func DeleteUserCronJobIds(pluginAPI plugin.API, userId string)
- func GetCalendarHomeSet(pluginAPI plugin.API, userId string) string
- func GetEvents(pluginAPI plugin.API, userId string) []dto.Event
- func GetSettings(pluginAPI plugin.API, userId string) *dto.Settings
- func GetState(pluginAPI plugin.API, userId string) *dto.State
- func GetUserCalendarLastUpdate(pluginAPI plugin.API, userId string) *time.Time
- func GetUserCronJobIds(pluginAPI plugin.API, userId string) (*int, *int)
- func SaveCalendarHomeSet(pluginAPI plugin.API, userId string, calendarHomeSet string)
- func SaveEventCronJob(pluginAPI plugin.API, userId string, eventCronJonId int)
- func SaveEvents(pluginAPI plugin.API, userId string, events []dto.Event)
- func SaveLastUpdate(pluginAPI plugin.API, userId string, lastUpdate time.Time)
- func SaveSettings(pluginAPI plugin.API, userId string, settings dto.Settings)
- func SaveState(pluginAPI plugin.API, userId string, state dto.State)
- func SaveUpdateCronJob(pluginAPI plugin.API, userId string, updateCronJonId int)
- type CredentialsRepo
- type WorkspaceRepo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteUserCronJobIds ¶
func SaveCalendarHomeSet ¶
func SaveEventCronJob ¶
func SaveLastUpdate ¶
Types ¶
type CredentialsRepo ¶
type CredentialsRepo struct {
// contains filtered or unexported fields
}
func NewCredentialsRepo ¶
func NewCredentialsRepo(logger *util.Logger, plugin plugin.API) *CredentialsRepo
func (*CredentialsRepo) GetCredentials ¶
func (cr *CredentialsRepo) GetCredentials(userId string) *dto.Credentials
func (*CredentialsRepo) SaveCredentials ¶
func (cr *CredentialsRepo) SaveCredentials(userId string, credentials dto.Credentials)
type WorkspaceRepo ¶
type WorkspaceRepo struct {
// contains filtered or unexported fields
}
func NewWorkspaceRepo ¶
func NewWorkspaceRepo(logger *util.Logger, plugin plugin.API) *WorkspaceRepo
func (*WorkspaceRepo) DeleteUser ¶
func (wr *WorkspaceRepo) DeleteUser(userId string)
func (*WorkspaceRepo) GetUserIds ¶
func (wr *WorkspaceRepo) GetUserIds() *map[string]bool
func (*WorkspaceRepo) SaveUserIds ¶
func (wr *WorkspaceRepo) SaveUserIds(userIds map[string]bool)
Click to show internal directories.
Click to hide internal directories.