init

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FillCtx

func FillCtx(initCtx *InitCtx)

FillCtx initializes init context.

func Run

func Run(initCtx *InitCtx) error

Run creates tt environment config for the application in current dir.

Types

type InitCtx

type InitCtx struct {
	// SkipConfig - if set, disables cartridge & tarantoolctl config analysis,
	// so init does not try to get directories information from exitsting config files.
	SkipConfig bool
	// ForceMode, if set, tt config is re-written without a question.
	ForceMode bool

	// Tarantool executable path.
	TarantoolExecutable string
	// contains filtered or unexported fields
}

InitCtx contains information for tt config creation.

Jump to

Keyboard shortcuts

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