Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyDocumentResource ¶
type PolicyDocumentResource struct { Version string Statement []PolicyDocumentResourceStatementEntry }
type Provisioner ¶
type Provisioner[T any] interface { Create(ctx context.Context) (T, error) Destroy(ctx context.Context) error }
Provisioner is the interface that wraps the Create and Destroy methods.
func NewProvisioner ¶
func NewProvisioner[T any](create func(ctx context.Context) (T, error), destroy func(ctx context.Context) error) Provisioner[T]
NewProvisioner returns a new Provisioner.
Click to show internal directories.
Click to hide internal directories.