Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultPollingMinDelaySeconds int64 = 60 DefaultPollingMaxDelaySeconds int64 = 120 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bundle ¶
type Bundle struct { Name string Logger logger.Logger Store store.Store Webhooks []string Subscribers []string Publishers []publisher.Publisher Deployers []deployer.Deployer Config *config.Bundle // contains filtered or unexported fields }
func (*Bundle) Activate ¶
Activate sets up the bundle, performs the initial build, and by default starts polling the store and rebuilding periodically
func (*Bundle) Deactivate ¶
Deactivate stops the polling loop and sets the bundle to deactivated
func (*Bundle) Rebuild ¶
Rebuild rebuilds the bundle. Becuase requests to this function are made asynchronously At most 1 call be will queued up during execution. This ensures that any calls made to rebuild during a rebuild operation will still be processed but will be combined into a single queued up rebuild instead of n-rebuilds
Click to show internal directories.
Click to hide internal directories.