setup

package
v0.0.0-...-860e413 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Flags

func Flags(cmd *cobra.Command)

func New

func New() *cobra.Command

func Setup

func Setup(config *Config, steps *Steps, masterKey string)

Types

type AssetTable

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

func (*AssetTable) Execute

func (mig *AssetTable) Execute(ctx context.Context) error

func (*AssetTable) String

func (mig *AssetTable) String() string

type Config

type Config struct {
	Database        database.Config
	SystemDefaults  systemdefaults.SystemDefaults
	InternalAuthZ   authz.Config
	ExternalDomain  string
	ExternalPort    uint16
	ExternalSecure  bool
	Log             *logging.Config
	EncryptionKeys  *encryptionKeyConfig
	DefaultInstance command.InstanceSetup
	Machine         *id.Config
}

func MustNewConfig

func MustNewConfig(v *viper.Viper) *Config

type EventstoreIndexes

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

func (*EventstoreIndexes) Execute

func (mig *EventstoreIndexes) Execute(ctx context.Context) error

func (*EventstoreIndexes) String

func (mig *EventstoreIndexes) String() string

type FirstInstance

type FirstInstance struct {
	InstanceName    string
	DefaultLanguage language.Tag
	Org             command.OrgSetup
	// contains filtered or unexported fields
}

func (*FirstInstance) Execute

func (mig *FirstInstance) Execute(ctx context.Context) error

func (*FirstInstance) String

func (mig *FirstInstance) String() string

type ProjectionTable

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

func (*ProjectionTable) Execute

func (mig *ProjectionTable) Execute(ctx context.Context) error

func (*ProjectionTable) String

func (mig *ProjectionTable) String() string

type Steps

type Steps struct {
	FirstInstance *FirstInstance
	// contains filtered or unexported fields
}

func MustNewSteps

func MustNewSteps(v *viper.Viper) *Steps

Jump to

Keyboard shortcuts

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