liquidweb

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrSecretNotSet = fmt.Errorf("liquidweb secret not set")
View Source
var ErrUsernameNotSet = fmt.Errorf("liquidweb username not set")

Functions

func GetConfig

func GetConfig() (interface{}, error)

GetConfig handles mapping configuration between Terraform & Liquid Web's Liquidweb API configuration.

func Provider

func Provider() *schema.Provider

Provider implements the provider definition.

Types

type Config

type Config struct {
	LWAPI *lwgoapi.API

	URL            string
	Timeout        int
	TracingEnabled bool
	// contains filtered or unexported fields
}

Config holds all of the metadata for the provider and the Liquidweb API client.

func NewConfig

func NewConfig(username string, password string, url string, timeout int, nClient *lwgoapi.API) (*Config, error)

NewConfig accepts configuration parameters and returns a Config.

Jump to

Keyboard shortcuts

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