Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackstageSource ¶
func NewBackstageSource ¶
func NewBackstageSource(cfg *config.BackstageSourceConfig) *BackstageSource
func (*BackstageSource) Name ¶
func (s *BackstageSource) Name() string
type ExecSource ¶
func NewExecSource ¶
func NewExecSource(command string, args []string) *ExecSource
func (*ExecSource) Name ¶
func (s *ExecSource) Name() string
type GitHubSource ¶
type GitHubSource struct {
Token string
Owner string
Repos []string
Files []string
Ref string
IncludeArchived bool
}
func NewGitHubSource ¶
func NewGitHubSource(cfg *config.GitHubSourceConfig) *GitHubSource
func (*GitHubSource) Name ¶
func (s *GitHubSource) Name() string
type GraphQLSource ¶
type GraphQLSource struct {
URL string
Query string
Headers map[string]string
Result string
Paginate *config.PaginateConfig
}
func NewGraphQLSource ¶
func NewGraphQLSource(cfg *config.GraphQLSourceConfig) *GraphQLSource
func (*GraphQLSource) Name ¶
func (s *GraphQLSource) Name() string
type HTTPSource ¶
type HTTPSource struct {
URL string
Method string
Headers map[string]string
Body string
Result string
}
func NewHTTPSource ¶
func NewHTTPSource(cfg *config.HTTPSourceConfig) *HTTPSource
func (*HTTPSource) Name ¶
func (s *HTTPSource) Name() string
type InlineSource ¶
func NewInlineSource ¶
func NewInlineSource(entries []map[string]any) *InlineSource
func (*InlineSource) Name ¶
func (s *InlineSource) Name() string
type LocalSource ¶
func NewLocalSource ¶
func NewLocalSource(files []string, baseDir string) *LocalSource
func (*LocalSource) Name ¶
func (s *LocalSource) Name() string
type Source ¶
func FromConfig ¶
func FromConfig(cfg config.SourceConfig, baseDir string) (Source, error)
type URLSource ¶
func NewURLSource ¶
func NewURLSource(cfg *config.URLSourceConfig) *URLSource
Click to show internal directories.
Click to hide internal directories.