packer

package
v1.27.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 87

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoMapper

type AutoMapper func(field reflect.StructField, thing reflect.Value) map[string]interface{}

type PackFunc

type PackFunc func(repo interface{}, d *schema.ResourceData) error

func Compose

func Compose(packers ...PackFunc) PackFunc

func Default

func Default(skeema map[string]*schema.Schema) PackFunc

func Universal

func Universal(predicate predicate.HclPredicate) PackFunc

Universal consider making this a function that takes a predicate of what to include and returns a function that does the job. This would allow for the legacy code to specify which keys to keep and not

Jump to

Keyboard shortcuts

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