Documentation
¶
Index ¶
Constants ¶
View Source
const TokenEnvVar = "LINODE_TOKEN"
Variables ¶
This section is empty.
Functions ¶
func ErrorHelper ¶
func ErrorHelper(state multistep.StateBag, ui packersdk.Ui, prefix string, err error) multistep.StepAction
errorHelper is a helper function to reduce the amount of bloat and complexity caused by redundant error handling logic.
func NewLinodeClient ¶
Types ¶
type LinodeCommon ¶
type LinodeCommon struct {
// The Linode API token required for provision Linode resources.
// This can also be specified in LINODE_TOKEN environment variable.
PersonalAccessToken string `mapstructure:"linode_token"`
}
The common configuration options related to Linode services
Click to show internal directories.
Click to hide internal directories.