Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Manifold ¶
func Manifold(config ManifoldConfig) dependency.Manifold
Manifold returns a manifold whose worker wraps an S3 Session.
Types ¶
type ManifoldConfig ¶
type ManifoldConfig struct { // AgentName is the name of the Agent resource that supplies // connection information. AgentName string // APIConfigWatcherName identifies a resource that will be // invalidated when api configuration changes. It's not really // fundamental, because it's not used directly, except to create // Inputs; it would be perfectly reasonable to wrap a Manifold // to report an extra Input instead. APIConfigWatcherName string APICallerName string NewS3Client func(apiConn api.Connection, logger s3client.Logger) (s3client.Session, error) // Filter is used to specialize responses to connection errors // made on behalf of different kinds of agent. Filter dependency.FilterFunc // Logger is used to write logging statements for the worker. Logger s3client.Logger }
ManifoldConfig defines a Manifold's dependencies.
Click to show internal directories.
Click to hide internal directories.