universe

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultProviderName ...
	DefaultProviderName = "universe"
	// EnvProviderNameVar - Name of the OS env var to override provider name
	EnvProviderNameVar = "TERRAFORM_UNIVERSE_PROVIDERNAME"
)

Variables

This section is empty.

Functions

func Provider

func Provider() *schema.Provider

Provider ...

Types

type ResourceLike

type ResourceLike interface {
	Id() string
	SetId(v string)
	Set(key string, value interface{}) error
	GetOk(key string) (interface{}, bool)
	Get(key string) interface{}
}

ResourceLike - An interface with the schema.ResourceData methods actually used in the provider

func NewMockResource

func NewMockResource() ResourceLike

NewMockResource - Make Fake

Jump to

Keyboard shortcuts

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