Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bootstrapper ¶
type Bootstrapper interface { Execute() error WithCommandRunner(CommandRunner) Bootstrapper WithResourceDeployer(ResourceDeployer) Bootstrapper }
func NewDefaultBoostrapper ¶
func NewDefaultBoostrapper(logger hclog.Logger, bootstrapData *mmds.MMDSBootstrap) Bootstrapper
type CommandRunner ¶
type CommandRunner interface {
Execute(commands.Run, rootfs.ClientProvider) error
}
func NewShellCommandRunner ¶
func NewShellCommandRunner(logger hclog.Logger) CommandRunner
type ResourceDeployer ¶
type ResourceDeployer interface { Add(commands.Add, rootfs.ClientProvider) error Copy(commands.Copy, rootfs.ClientProvider) error }
func NewExecutingResourceDeployer ¶
func NewExecutingResourceDeployer(logger hclog.Logger) ResourceDeployer
Click to show internal directories.
Click to hide internal directories.