bootstrap

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadSourceConfig

func LoadSourceConfig(boot *Bootstrap) (*config.SourceConfig, error)

Types

type Bootstrap

type Bootstrap struct {
	WorkDir    string
	ConfigPath string
	Env        string
	Daemon     bool
}

func DefaultBootstrap

func DefaultBootstrap() Bootstrap

func NewBootstrap added in v0.0.3

func NewBootstrap(dir, path string) Bootstrap

type Flags

type Flags struct {
	ID          string
	Version     string
	ServiceName string
	StartTime   time.Time
	Metadata    map[string]string
}

func DefaultFlags

func DefaultFlags() Flags

func NewFlags

func NewFlags(name string, version string) Flags

func (Flags) ServiceID

func (f Flags) ServiceID() string

Jump to

Keyboard shortcuts

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