helper

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

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

func NewLinodeClient(token string) linodego.Client

Types

type LinodeCommon

type LinodeCommon struct {
	// The Linode API token. This can also be specified in LINODE_TOKEN environment variable
	PersonalAccessToken string `mapstructure:"linode_token"`
}

The common configuration options related to Linode services

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL