chrecipe

package
v0.0.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustSource

func MustSource(opts ...Option) *model.ChSource

func MustTarget

func MustTarget(opts ...Option) *model.ChDestination

func Prepare

func Prepare(params ContainerParams) error

func Source

func Source(opts ...Option) (*model.ChSource, error)

func Target

func Target(opts ...Option) (*model.ChDestination, error)

Types

type ContainerParams

type ContainerParams struct {
	// contains filtered or unexported fields
}

type Option

type Option func(c *ContainerParams)

func WithDatabase

func WithDatabase(db string) Option

func WithInitDir

func WithInitDir(dir string) Option

func WithInitFile

func WithInitFile(file string) Option

func WithPrefix

func WithPrefix(prefix string) Option

func WithUser

func WithUser(user string) Option

Jump to

Keyboard shortcuts

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