provider

package
v3.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Overview

This file provides shared functionality between `resource_string` and `resource_password`. There is no intent to permanently couple their implementations Over time they could diverge, or one becomes deprecated

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateID

func CreateID(d *schema.ResourceData, meta interface{}) error

func CreateInteger

func CreateInteger(d *schema.ResourceData, meta interface{}) error

func CreatePet

func CreatePet(d *schema.ResourceData, meta interface{}) error

func CreateShuffle

func CreateShuffle(d *schema.ResourceData, _ interface{}) error

func CreateUuid

func CreateUuid(d *schema.ResourceData, meta interface{}) error

func ImportID

func ImportID(d *schema.ResourceData, meta interface{}) ([]*schema.ResourceData, error)

func ImportInteger

func ImportInteger(d *schema.ResourceData, meta interface{}) ([]*schema.ResourceData, error)

func ImportUuid

func ImportUuid(d *schema.ResourceData, meta interface{}) ([]*schema.ResourceData, error)

func New

func New() *schema.Provider

New returns a *schema.Provider.

func NewRand

func NewRand(seed string) *rand.Rand

NewRand returns a seeded random number generator, using a seed derived from the provided string.

If the seed string is empty, the current time is used as a seed.

func RepopulateEncodings

func RepopulateEncodings(d *schema.ResourceData, _ interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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