Documentation
¶
Index ¶
- Constants
- Variables
- func CreateStartupScripts(siteState *api.SiteState, platform types.Platform) error
- func CreateSystemdServices(siteState *api.SiteState) error
- func GetBundleStrategy(strategyFlag string) string
- func IsValidBundle(strategy string) bool
- type BundleGenerator
- type BundleStrategy
- type SelfExtractingBundle
- type SiteStateRenderer
- type TarballBundle
Constants ¶
View Source
const (
BundleEnv = "SKUPPER_BUNDLE"
)
Variables ¶
View Source
var ( //go:embed router_free_port.py FreePortScript string )
Functions ¶
func CreateStartupScripts ¶
func CreateSystemdServices ¶
func GetBundleStrategy ¶
GetBundleStrategy returns the provided strategy (argument) if it is a valid strategy. If not, it returns the SKUPPER_BUNDLE environment variable's value if it is valid, or empty otherwise.
func IsValidBundle ¶
Types ¶
type BundleGenerator ¶
type BundleStrategy ¶
type BundleStrategy string
var ( BundleStrategyExtract BundleStrategy = "bundle" BundleStrategyTarball BundleStrategy = "tarball" )
type SelfExtractingBundle ¶
func (*SelfExtractingBundle) Generate ¶
func (s *SelfExtractingBundle) Generate(tarBall *utils.Tarball, defaultPlatform string) error
func (*SelfExtractingBundle) InstallFile ¶
func (s *SelfExtractingBundle) InstallFile() string
type SiteStateRenderer ¶
type SiteStateRenderer struct { Strategy BundleStrategy Platform types.Platform // contains filtered or unexported fields }
type TarballBundle ¶
func (*TarballBundle) Generate ¶
func (s *TarballBundle) Generate(tarBall *utils.Tarball, defaultPlatform string) error
func (*TarballBundle) InstallFile ¶
func (s *TarballBundle) InstallFile() string
Click to show internal directories.
Click to hide internal directories.