infoblox

package
v0.0.0-...-81d5e5d Latest Latest
Warning

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

Go to latest
Published: May 7, 2019 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateResource

func CreateResource(name string, resource *schema.Resource, d *schema.ResourceData, m interface{}) error

CreateResource - Creates a new resource provided its resource schema

func DeleteResource

func DeleteResource(d *schema.ResourceData, m interface{}) error

DeleteResource - Deletes a resource

func GetClient

func GetClient() *skyinfoblox.Client

GetClient - get a skyinfoblox client..

func GetValue

func GetValue(attr ResourceAttr) interface{}

GetValue - returns the value of an attribute id does some transformations for specific types

func Provider

func Provider() terraform.ResourceProvider

Provider : The infoblox terraform provider

func ReadResource

func ReadResource(resource *schema.Resource, d *schema.ResourceData, m interface{}) error

ReadResource - Reads a resource provided its resource schema

func TestAccCheckDestroy

func TestAccCheckDestroy(objType, key, value string) error

TestAccCheckDestroy - checks that no object of a given type and with a given key/value pair exists

func TestAccCheckExists

func TestAccCheckExists(objType, key, value string) error

TestAccCheckExists - checks that object of a given type and with a given key/value pair exists

func UpdateResource

func UpdateResource(resource *schema.Resource, d *schema.ResourceData, m interface{}) error

UpdateResource - Updates a resource provided its schema

Types

type ResourceAttr

type ResourceAttr struct {
	Name  string
	Type  schema.ValueType
	Value interface{}
}

ResourceAttr - attribute metadata

func GetAttrs

func GetAttrs(resource *schema.Resource) []ResourceAttr

GetAttrs - returns the list of attributes names and types

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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