Documentation
¶
Index ¶
- Constants
- type Adapter
- func (a *Adapter) Configure(cfg sources.AdapterConfig)
- func (a *Adapter) CredentialFields() []sources.CredentialField
- func (a *Adapter) DownloadFile(ctx context.Context, file sources.FileInfo, dst io.Writer, ...) error
- func (a *Adapter) FetchDeliveries(_ context.Context, productID string) ([]sources.DeliveryInfo, error)
- func (a *Adapter) FetchFiles(_ context.Context, productID, deliveryID string) ([]sources.FileInfo, error)
- func (a *Adapter) FetchProducts(_ context.Context) ([]sources.ProductInfo, error)
- func (a *Adapter) ID() string
- func (a *Adapter) Name() string
- func (a *Adapter) SetCredentials(creds map[string]string)
- func (a *Adapter) ValidateCredentials(ctx context.Context) error
Constants ¶
View Source
const ( SourceID = "dpma-connect-plus" SourceName = "DPMA Connect Plus" DefaultWeeksToFetch = 8 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
Adapter implements the sources.Adapter interface for DPMA Connect Plus.
func (*Adapter) Configure ¶
func (a *Adapter) Configure(cfg sources.AdapterConfig)
func (*Adapter) CredentialFields ¶
func (a *Adapter) CredentialFields() []sources.CredentialField
func (*Adapter) DownloadFile ¶
func (*Adapter) FetchDeliveries ¶
func (*Adapter) FetchFiles ¶
func (*Adapter) FetchProducts ¶
func (*Adapter) SetCredentials ¶
Click to show internal directories.
Click to hide internal directories.