aviatrix

package
v2.24.4 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MPL-2.0 Imports: 26 Imported by: 1

Documentation

Index

Constants

View Source
const FQDNVendorType = "fqdn_gateway"

Variables

This section is empty.

Functions

func DiffSuppressFuncGCPVpcId added in v2.22.0

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

func DiffSuppressFuncGatewayVpcId added in v2.20.0

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 DiffSuppressFuncMicrosegPolicyPortRangeHi added in v2.22.0

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

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

func DiffSuppressFuncNatInterface added in v2.22.0

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 added in v2.19.5

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