Documentation
¶
Overview ¶
*
- File : authentication.go
- Author : Alexandre Saison <alexandre.saison@inarix.com>
- Date : 21.03.2021
- Last Modified Date: 24.03.2021
- Last Modified By : Alexandre Saison <alexandre.saison@inarix.com>
*
- File : functions.go
- Author : Alexandre Saison <alexandre.saison@inarix.com>
- Date : 24.03.2021
- Last Modified Date: 30.03.2021
- Last Modified By : Alexandre Saison <alexandre.saison@inarix.com>
* * File : main.go * Author : Alexandre Saison <alexandre.saison@inarix.com> * Date : 21.03.2021 * Last Modified Date: 03.04.2021 * Last Modified By : Alexandre Saison <alexandre.saison@inarix.com>
*
- File : structs.go
- Author : Alexandre Saison <alexandre.saison@inarix.com>
- Date : 21.03.2021
- Last Modified Date: 01.04.2021
- Last Modified By : Alexandre Saison <alexandre.saison@inarix.com>
*
- File : views.go
- Author : Alexandre Saison <alexandre.saison@inarix.com>
- Date : 01.04.2021
- Last Modified Date: 05.04.2021
- Last Modified By : Alexandre Saison <alexandre.saison@inarix.com>
Index ¶
- Constants
- func AddHomeView(userId string) slack.HomeTabViewRequest
- func AppHomeEntered() []slack.Block
- func AppHomeHeader() slack.HeaderBlock
- func AppHomeModelActions() slack.ActionBlock
- func DevOpsActions() slack.ActionBlock
- func FromEnv(key string) string
- func NewAppHomeModelBlock(modelName string) slack.SectionBlock
- type Config
- type Server
- type SlackEvent
Constants ¶
View Source
const ( APP_HOME_CALLBACK = "hometab_callback" APP_HOME_EXTERNAL_PREFIX = "hometab_opened_" )
View Source
const ( APP_MENTION_EVENT = "APP_MENTION_EVENT" APP_DEFAULT_EVENT = "APP_DEFAULT_EVENT" APP_HOME_EVENT = "APP_HOME_EVENT" APP_DIRECT_MESSAGE = "APP_DIRECT_MESSAGE" )
View Source
const ( ACTION_HELP = "ask_help" ACTION_CREATE_MIGRATION = "create_migration" ACTION_CREATE_SEED = "create_seed" ACTION_DEPLOY_MODEL = "deploy_model" ACTION_ACCESS_KUBEFLOW_2 = "access_kubeflow_v2" ACTION_ACCESS_FOREST_ADMIN = "access_forest_admin" ACTION_ACCESS_ASANA = "access_asana" )
Variables ¶
This section is empty.
Functions ¶
func AddHomeView ¶ added in v0.1.12
func AddHomeView(userId string) slack.HomeTabViewRequest
func AppHomeEntered ¶ added in v0.1.5
func AppHomeHeader ¶ added in v0.1.8
func AppHomeHeader() slack.HeaderBlock
func AppHomeModelActions ¶ added in v0.1.8
func AppHomeModelActions() slack.ActionBlock
func DevOpsActions ¶ added in v1.0.1
func DevOpsActions() slack.ActionBlock
func NewAppHomeModelBlock ¶ added in v0.1.8
func NewAppHomeModelBlock(modelName string) slack.SectionBlock
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) Expose ¶ added in v0.1.2
func (server *Server) Expose() http.HandlerFunc
func (*Server) PublishHome ¶ added in v1.0.0
type SlackEvent ¶
type SlackEvent struct {
// contains filtered or unexported fields
}
func NewSlackEvent ¶
Click to show internal directories.
Click to hide internal directories.