Documentation ¶
Index ¶
- type API
- func (a *API) CleanKVStore() error
- func (a *API) GetMattermostUser(mattermostUserID string) (*model.User, error)
- func (a *API) GetMattermostUserByUsername(mattermostUsername string) (*model.User, error)
- func (a *API) GetMattermostUserStatus(mattermostUserID string) (*model.Status, error)
- func (a *API) GetMattermostUserStatusesByIds(mattermostUserIDs []string) ([]*model.Status, error)
- func (a *API) GetPost(postID string) (*model.Post, error)
- func (a *API) IsSysAdmin(mattermostUserID string) (bool, error)
- func (a *API) SendEphemeralPost(channelID, mattermostUserID, message string)
- func (a *API) UpdateMattermostUserStatus(mattermostUserID, status string) (*model.Status, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) CleanKVStore ¶
func (*API) GetMattermostUser ¶
func (*API) GetMattermostUserByUsername ¶
func (*API) GetMattermostUserStatus ¶
func (*API) GetMattermostUserStatusesByIds ¶
func (*API) IsSysAdmin ¶
IsSysAdmin returns true if the user is authorized to use the workflow plugin's admin-level APIs/commands.
func (*API) SendEphemeralPost ¶
Click to show internal directories.
Click to hide internal directories.