imports

package
v1.0.0-beta.74 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ImportLogger hclog.Logger = logger.HcLog().Named("import")

Functions

func GetBuildFilePath

func GetBuildFilePath(projectPath, targetOs string, fileName string) string

func PreRun

func PreRun(projectPath string) error

func Run

func Run(logFlags *cli.LogFlags, flags *Flags, projectPath string) error

Types

type Flags

type Flags struct {
	RpcOnly            bool
	RolesOnly          bool
	ModelsOnly         bool
	StoragesOnly       bool
	PolicyOnly         bool
	AllowedSchema      string
	GenerateController bool
	ForceImport        bool
	DryRun             bool
}

func (*Flags) Bind

func (f *Flags) Bind(cmd *cobra.Command)

func (*Flags) LoadAll

func (f *Flags) LoadAll() bool

Jump to

Keyboard shortcuts

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