Documentation
¶
Index ¶
Constants ¶
View Source
const ( TypeName = "go2chef.step.install.linux.apt" GetTypeName = "go2chef.step.install.linux.apt_get" )
TypeNames for each variant of this step plugin
Variables ¶
View Source
var (
// DefaultPackageName is the default package name to use for Chef installation
DefaultPackageName = "chef"
)
Functions ¶
func LoaderForBinary ¶
func LoaderForBinary(binary string) go2chef.StepLoader
LoaderForBinary provides an instantiation function for this step plugin specific to the passed binary
Types ¶
type Step ¶
type Step struct {
StepName string `mapstructure:"name"`
APTBinary string `mapstructure:"apt_binary"`
DPKGBinary string `mapstructure:"dpkg_binary"`
PackageName string `mapstructure:"package_name"`
Version string `mapstructure:"version"`
DpkgCheckTimeoutSeconds int `mapstructure:"dpkg_check_timeout_seconds"`
InstallTimeoutSeconds int `mapstructure:"install_timeout_seconds"`
// contains filtered or unexported fields
}
Step implements Chef installation via Debian/Ubuntu Apt/apt-get
Click to show internal directories.
Click to hide internal directories.