translator

package
v0.1.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Copyright (c) 2023 the go-mongr8 Authors and Contributors [@see Authors file]

Licensed under the MIT License (https://opensource.org/licenses/MIT)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

type Processor struct {
	ProcessorIf,
	Ctx *context.Context
	Init bool
}

func (Processor) Consolidate

func (p Processor) Consolidate(collections []collection.Collection, dbCollections []collection.Collection, migrations []migrator.Migration)

func (Processor) Generate

func (p Processor) Generate(collections []collection.Collection, migrations []migrator.Migration) dt.Pair[[]si.Action, []si.Action]

func (Processor) GetApi

func (p Processor) GetApi(migrations []migrator.Migration, dbSchemas []collection.Collection) []ai.SubActionApi

type ProcessorIf

type ProcessorIf interface {
	GetApi(migrations []migrator.Migration, dbSchemas []collection.Collection) []ai.SubActionApi
	Generate(collections []collection.Collection, migrations []migrator.Migration) dt.Pair[[]si.Action, []si.Action]
	Consolidate(collections []collection.Collection, dbCollections []collection.Collection, migrations []migrator.Migration)
	// contains filtered or unexported methods
}

func NewProcessor

func NewProcessor(ctx *context.Context) ProcessorIf

Directories

Path Synopsis
mongodb

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL