Documentation ¶
Index ¶
- Variables
- func Factory(ctx context.Context, conf *logical.BackendConfig) (logical.Backend, error)
- func GetTrdlChannelsConfig(gitRepo *git.Repository, trdlChannelsPath string) (*config.TrdlChannels, error)
- func NewErrIncorrectChannelName(chnl string) error
- func NewErrPublishingNonExistingReleases(releases []string) error
- func ValidatePublishConfig(ctx context.Context, publisher publisher.Interface, ...) error
- func ValidateReleaseVersion(releaseVersion string) error
- type Backend
- type BackendModuleInterface
- type BackendPeriodicInterface
Constants ¶
This section is empty.
Variables ¶
View Source
var SystemClock util.Clock = util.NewSystemClock()
Functions ¶
func GetTrdlChannelsConfig ¶
func GetTrdlChannelsConfig(gitRepo *git.Repository, trdlChannelsPath string) (*config.TrdlChannels, error)
func ValidatePublishConfig ¶
func ValidatePublishConfig(ctx context.Context, publisher publisher.Interface, publisherRepository publisher.RepositoryInterface, config *config.TrdlChannels, logger hclog.Logger) error
func ValidateReleaseVersion ¶
Types ¶
type Backend ¶
type Backend struct { *framework.Backend TasksManager tasks_manager.ActionsInterface Publisher publisher.Interface BackendPeriodic BackendPeriodicInterface }
func NewBackend ¶
func (*Backend) InitPaths ¶
func (b *Backend) InitPaths(modules ...BackendModuleInterface)
func (*Backend) InitPeriodicFunc ¶
func (b *Backend) InitPeriodicFunc(modules ...BackendModuleInterface)
type BackendModuleInterface ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.