Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
Config ModuleConfig
}
func NewModule ¶
func NewModule(config ModuleConfig) Module
func (Module) OptionsOrCache ¶
type ModuleConfig ¶
type ModuleConfig struct { // Name is used to override the default module name Name string `yaml:"name,omitempty"` // DisplayName is a template string to render a custom display name DisplayName string `yaml:"display-name"` // StartDirectory is a template string that defines the start directory StartDirectory string `yaml:"start-directory"` // Host is the Backstage hostname or IP address Host string `yaml:"host"` // BearerToken is the token used to authenticate against the Backstage API (see https://backstage.io/docs/auth/service-to-service-auth/#static-tokens) BearerToken string `yaml:"bearer-token,omitempty"` // AttributeMapping is a list of field mappings used to map additional attributes to context fields AttributeMapping []types.FieldMapping `yaml:"attribute-mapping"` // Jql is the Jira Query Language query to filter issues Jql string `yaml:"jql"` }
Click to show internal directories.
Click to hide internal directories.