planmodifiers

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImageDigestModifier

func ImageDigestModifier() planmodifier.String

ImageDigestModifier returns an attribute plan modifier that checks the digest of the source image and adds it to the plan. If the source digest doesn't match with what we have in the state, it will trigger a replacement.

Types

type ImageDigest

type ImageDigest struct{}

func (ImageDigest) Description

func (r ImageDigest) Description(ctx context.Context) string

func (ImageDigest) MarkdownDescription

func (r ImageDigest) MarkdownDescription(ctx context.Context) string

func (ImageDigest) PlanModifyString

func (r ImageDigest) PlanModifyString(ctx context.Context, req planmodifier.StringRequest, resp *planmodifier.StringResponse)

Jump to

Keyboard shortcuts

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