Documentation
¶
Overview ¶
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Index ¶
Constants ¶
View Source
const ( RootPsName = "root-ps" PreviewFamName = "preview-family" WorkerPoolFamName = "worker-pool-family" FoldersFamName = "folders-family" ProfileFamName = "profile-family" CascadeFamName = "cascade-family" SamplingFamName = "sampling-family" TextualInteractionFamName = "textual-family" )
View Source
const MagickPsName = "magick-ps"
Variables ¶
View Source
var (
Version = strings.TrimSpace(version)
)
TODO: The version.txt should be updated in ci to contain the version number associated with the applied tag. Currently not yet defined in this template.
Functions ¶
Types ¶
type Bootstrap ¶
type Bootstrap struct {
Container *assistant.CobraContainer
OptionsInfo ConfigureOptionsInfo
Configs *common.Configs
Vfs storage.VirtualFS
Logger *slog.Logger
Presentation common.PresentationOptions
Observers common.Observers
Notifications common.LifecycleNotifications
}
Bootstrap represents construct that performs start up of the cli without resorting to the use of Go's init() mechanism and minimal use of package global variables.
type ConfigureOptionFn ¶
type ConfigureOptionFn func(*ConfigureOptionsInfo)
type ConfigureOptionsInfo ¶
type ConfigureOptionsInfo struct {
Detector LocaleDetector
Config *common.ConfigInfo
Runner common.ConfigRunner
}
type LocaleDetector ¶
Click to show internal directories.
Click to hide internal directories.