aviatrix

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: MPL-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const FQDNVendorType = "fqdn_gateway"

Variables

This section is empty.

Functions

func DiffSuppressFuncDistributedFirewallingPolicyPortRangeHi

func DiffSuppressFuncDistributedFirewallingPolicyPortRangeHi(k, old, new string, d *schema.ResourceData) bool

DiffSuppressFuncDistributedFirewallingPolicyPortRangeHi suppresses a diff in a distributed firewalling policy's port range when hi is not set and hi returned from the API is equal to lo,

func DiffSuppressFuncGCPVpcId

func DiffSuppressFuncGCPVpcId(k, old, new string, d *schema.ResourceData) bool

func DiffSuppressFuncGatewayVpcId

func DiffSuppressFuncGatewayVpcId(k, old, new string, d *schema.ResourceData) bool

func DiffSuppressFuncIgnoreSpaceInString

func DiffSuppressFuncIgnoreSpaceInString(k, old, new string, d *schema.ResourceData) bool

func DiffSuppressFuncIgnoreSpaceOnlyInString

func DiffSuppressFuncIgnoreSpaceOnlyInString(k, old, new string, d *schema.ResourceData) bool

func DiffSuppressFuncNatInterface

func DiffSuppressFuncNatInterface(k, old, new string, d *schema.ResourceData) bool

func DiffSuppressFuncString

func DiffSuppressFuncString(k, old, new string, d *schema.ResourceData) bool

func GetAviatrixSamlEndpointInput

func GetAviatrixSamlEndpointInput(d *schema.ResourceData) (*goaviatrix.SamlEndpoint, error)

func Provider

func Provider() *schema.Provider

Provider returns a schema.Provider for Aviatrix.

func TagsMapToJson

func TagsMapToJson(tagsMap map[string]string) (string, error)

Types

type Config

type Config struct {
	Username     string
	Password     string
	ControllerIP string
	VerifyCert   bool
	PathToCACert string
	IgnoreTags   *goaviatrix.IgnoreTagsConfig
}

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)

Source Files

Jump to

Keyboard shortcuts

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