Documentation ¶
Overview ¶
Package pubmanager manages the publishing of the trust bundle to external stores through the configured BundlePublisher plugins.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager is the manager for bundle publishing. It implements the PubManager interface.
func NewManager ¶
func NewManager(c *ManagerConfig) (*Manager, error)
NewManager creates a new bundle publishing manager.
func (*Manager) BundleUpdated ¶
func (m *Manager) BundleUpdated()
BundleUpdated tells the bundle publishing manager that the bundle has been updated and forces a PublishBundle operation on all the plugins.
type ManagerConfig ¶
type ManagerConfig struct { BundlePublishers []bundlepublisher.BundlePublisher DataStore datastore.DataStore Clock clock.Clock Log logrus.FieldLogger TrustDomain spiffeid.TrustDomain }
ManagerConfig is the config for the bundle publishing manager.
Click to show internal directories.
Click to hide internal directories.