aviatrix

package
v1.14.15 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2019 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() terraform.ResourceProvider

Provider returns a schema.Provider for Aviatrix.

Types

type Config

type Config struct {
	Username     string
	Password     string
	ControllerIP string
}

Config contains the configuration for the Aviatrix provider (Username, Password, and Controller IP)

func (*Config) Client

func (c *Config) Client() (*goaviatrix.Client, error)

Client gets the Aviatrix client to access the Controller Arguments:

None

Returns:

the aviatrix client (from goaviatrix)
error (if any)

Jump to

Keyboard shortcuts

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