Documentation
¶
Index ¶
- type ConfluencePage
- type ConfluencePageContent
- type ConfluencePageResponse
- type ConfluencePageResult
- type ConfluencePlugin
- func (p *ConfluencePlugin) DefineCommandLineArgs(cmd *cobra.Command) error
- func (p *ConfluencePlugin) GetCredentials() (string, string)
- func (p *ConfluencePlugin) GetItems(items chan Item, errs chan error, wg *sync.WaitGroup)
- func (p *ConfluencePlugin) Initialize(cmd *cobra.Command) error
- func (p *ConfluencePlugin) IsEnabled() bool
- type ConfluenceSpaceResponse
- type ConfluenceSpaceResult
- type DiscordPlugin
- type IPlugin
- type Item
- type Plugin
- type RepositoryPlugin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfluencePage ¶ added in v1.1.0
type ConfluencePageContent ¶ added in v1.2.0
type ConfluencePageResponse ¶ added in v1.2.0
type ConfluencePageResponse struct {
Results ConfluencePageResult `json:"page"`
}
type ConfluencePageResult ¶ added in v1.1.0
type ConfluencePageResult struct {
Pages []ConfluencePage `json:"results"`
}
type ConfluencePlugin ¶ added in v1.1.0
type ConfluencePlugin struct {
Plugin
URL string
Token string
Username string
Spaces []string
History bool
}
func (*ConfluencePlugin) DefineCommandLineArgs ¶ added in v1.1.0
func (p *ConfluencePlugin) DefineCommandLineArgs(cmd *cobra.Command) error
func (*ConfluencePlugin) GetCredentials ¶ added in v1.2.1
func (p *ConfluencePlugin) GetCredentials() (string, string)
func (*ConfluencePlugin) GetItems ¶ added in v1.1.0
func (p *ConfluencePlugin) GetItems(items chan Item, errs chan error, wg *sync.WaitGroup)
func (*ConfluencePlugin) Initialize ¶ added in v1.1.0
func (p *ConfluencePlugin) Initialize(cmd *cobra.Command) error
func (*ConfluencePlugin) IsEnabled ¶ added in v1.1.0
func (p *ConfluencePlugin) IsEnabled() bool
type ConfluenceSpaceResponse ¶ added in v1.1.0
type ConfluenceSpaceResponse struct {
Results []ConfluenceSpaceResult `json:"results"`
Size int `json:"size"`
}
type ConfluenceSpaceResult ¶ added in v1.1.0
type DiscordPlugin ¶ added in v1.4.0
type DiscordPlugin struct {
Enabled bool
Token string
Guilds []string
Channels []string
Count int
BackwardDuration time.Duration
Session *discordgo.Session
// contains filtered or unexported fields
}
func (*DiscordPlugin) DefineCommandLineArgs ¶ added in v1.4.0
func (p *DiscordPlugin) DefineCommandLineArgs(cmd *cobra.Command) error
func (*DiscordPlugin) GetItems ¶ added in v1.4.0
func (p *DiscordPlugin) GetItems(itemsChan chan Item, errChan chan error, wg *sync.WaitGroup)
func (*DiscordPlugin) Initialize ¶ added in v1.4.0
func (p *DiscordPlugin) Initialize(cmd *cobra.Command) error
func (*DiscordPlugin) IsEnabled ¶ added in v1.4.0
func (p *DiscordPlugin) IsEnabled() bool
type RepositoryPlugin ¶ added in v1.3.0
func (*RepositoryPlugin) DefineCommandLineArgs ¶ added in v1.3.0
func (p *RepositoryPlugin) DefineCommandLineArgs(cmd *cobra.Command) error
func (*RepositoryPlugin) GetItems ¶ added in v1.3.0
func (p *RepositoryPlugin) GetItems(items chan Item, errs chan error, wg *sync.WaitGroup)
func (*RepositoryPlugin) Initialize ¶ added in v1.3.0
func (p *RepositoryPlugin) Initialize(cmd *cobra.Command) error
func (*RepositoryPlugin) IsEnabled ¶ added in v1.3.0
func (p *RepositoryPlugin) IsEnabled() bool
Click to show internal directories.
Click to hide internal directories.