Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PackageConfig ¶
PackageConfig defines the update configuration reader / writer
func NewPackageConfig ¶
func NewPackageConfig(fs afero.Fs) (PackageConfig, error)
NewPackageConfig creates a new instance of PackageConfig
type UpdateConnector ¶
type UpdateConnector interface { // NeedsUpdate returns true if the connector needs to updated NeedsUpdate(tag string) (bool, error) // Do updates the connector Do(tag string) error }
UpdateConnector is an interface to handing updating the connector files
func New ¶
func New(githubSlug, connectorName, dir string, fs afero.Fs, fakeMainLogger logger.MainLogger) (UpdateConnector, error)
New returns an instance of the UpdateConnector
Click to show internal directories.
Click to hide internal directories.