Documentation ¶
Index ¶
- func CreateResource(name string, resource *schema.Resource, d *schema.ResourceData, m interface{}) error
- func DeleteResource(d *schema.ResourceData, m interface{}) error
- func GetClient() *skyinfoblox.Client
- func GetValue(attr ResourceAttr) interface{}
- func Provider() terraform.ResourceProvider
- func ReadResource(resource *schema.Resource, d *schema.ResourceData, m interface{}) error
- func TestAccCheckDestroy(objType, key, value string) error
- func TestAccCheckExists(objType, key, value string) error
- func UpdateResource(resource *schema.Resource, d *schema.ResourceData, m interface{}) error
- type ResourceAttr
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 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 ¶
TestAccCheckDestroy - checks that no object of a given type and with a given key/value pair exists
func TestAccCheckExists ¶
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 ¶
ResourceAttr - attribute metadata
func GetAttrs ¶
func GetAttrs(resource *schema.Resource) []ResourceAttr
GetAttrs - returns the list of attributes names and types
Source Files ¶
- getClient.go
- provider.go
- resource.go
- resource_a_record.go
- resource_admin_group.go
- resource_admin_role.go
- resource_adminuser.go
- resource_cname_record.go
- resource_dhcp_range.go
- resource_dnsview.go
- resource_mx_record.go
- resource_network.go
- resource_ns_record.go
- resource_nsgroup_delegation.go
- resource_nsgroup_forward.go
- resource_nsgroup_forward_stub.go
- resource_nsgroup_stub.go
- resource_permission.go
- resource_srv_record.go
- resource_txt_record.go
- resource_zone_auth.go
- resource_zone_delegated.go
- resource_zone_forward.go
- resource_zone_stub.go
- schema.go
- testacc_checks.go
Click to show internal directories.
Click to hide internal directories.