aci

package
v0.0.0-...-d4be686 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteAciResource

func DeleteAciResource(d *schema.ResourceData, del func(id string) error) error

func GetBaseFieldMap

func GetBaseFieldMap() map[string]string

func GetBaseSchema

func GetBaseSchema() map[string]*schema.Schema

func MergeSchemaMaps

func MergeSchemaMaps(maps ...map[string]*schema.Schema) map[string]*schema.Schema

func MergeStringMaps

func MergeStringMaps(maps ...map[string]string) map[string]string

func Provider

func Provider() terraform.ResourceProvider

func ValidateAndFetchTenant

func ValidateAndFetchTenant(d *schema.ResourceData, meta interface{}) (*models.Tenant, error)

Types

type AciConfig

type AciConfig struct {
	Username      string
	Password      string
	Domain        string
	Url           string
	AllowInsecure bool
}

type AciResource

type AciResource struct {
	*schema.ResourceData
}

func (*AciResource) ConvertToBaseMap

func (d *AciResource) ConvertToBaseMap(obj *models.ResourceAttributes) map[string]interface{}

func (*AciResource) CreateSDKResource

func (d *AciResource) CreateSDKResource(obj interface{}) interface{}

func (*AciResource) MapFields

func (d *AciResource) MapFields(fields map[string]string, obj interface{})

func (*AciResource) MapFieldsToAci

func (d *AciResource) MapFieldsToAci(fields map[string]string, obj interface{})

func (*AciResource) SetIdArray

func (d *AciResource) SetIdArray(key string, items []*models.ResourceAttributes)

Jump to

Keyboard shortcuts

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