wallarm

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: MPL-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ClientID of the Provider User communicating with
	// the Wallarm Cloud
	ClientID int
)

Functions

func ImportAsExistsError

func ImportAsExistsError(resourceName, id string) error

ImportAsExistsError returns an error when a resource exists in API on time of executing a module and should be imported beforehand to work within Terraform. It accepts resource name with its resource identificator. Generally, ID is something like `/6039/4123/93830`

func Provider

func Provider() terraform.ResourceProvider

Provider returns a terraform.ResourceProvider

Types

type Config

type Config struct {
	Options []wallarm.Option
	// contains filtered or unexported fields
}

Config specifies client related parameters used within calls.

func (*Config) Client

func (c *Config) Client() (wallarm.API, error)

Client returns a new client to access the Wallarm Cloud.

Jump to

Keyboard shortcuts

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