Documentation ¶
Index ¶
- func ToJSON(ctx context.Context, reader ImageGetter, studioReader studio.Finder, ...) (*jsonschema.Movie, error)
- type ImageGetter
- type ImageUpdater
- type Importer
- func (i *Importer) Create(ctx context.Context) (*int, error)
- func (i *Importer) FindExistingID(ctx context.Context) (*int, error)
- func (i *Importer) Name() string
- func (i *Importer) PostImport(ctx context.Context, id int) error
- func (i *Importer) PreImport(ctx context.Context) error
- func (i *Importer) Update(ctx context.Context, id int) error
- type NameFinderCreator
- type NameFinderCreatorUpdater
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ImageGetter ¶ added in v0.17.0
type ImageUpdater ¶ added in v0.20.0
type Importer ¶
type Importer struct { ReaderWriter NameFinderCreatorUpdater StudioWriter studio.NameFinderCreator Input jsonschema.Movie MissingRefBehaviour models.ImportMissingRefEnum // contains filtered or unexported fields }
func (*Importer) FindExistingID ¶
type NameFinderCreator ¶ added in v0.17.0
type NameFinderCreatorUpdater ¶ added in v0.17.0
type NameFinderCreatorUpdater interface { NameFinderCreator UpdateFull(ctx context.Context, updatedMovie models.Movie) (*models.Movie, error) ImageUpdater }
Click to show internal directories.
Click to hide internal directories.