provider

package
v3.0.0-...-bcda2dc Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCloudFormationCustomResource

func NewCloudFormationCustomResource(resourceType string, logger *zerolog.Logger) (gof.Resource, error)

NewCloudFormationCustomResource returns a new gof.Resource for the given custom resource type. There is no guarnatee that a resource exists for resourceType

func RegisterCustomResourceProvider

func RegisterCustomResourceProvider(provider CustomResourceProvider)

RegisterCustomResourceProvider registers a custom resource provider with go-cloudformation. Multiple providers may be registered. The first provider that returns a non-nil interface will be used and there is no check for a uniquely registered resource type.

Types

type CustomResourceProvider

type CustomResourceProvider func(customResourceType string) gof.Resource

CustomResourceProvider allows extend the NewResourceByType factory method with their own resource types.

Jump to

Keyboard shortcuts

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