Help us shape the future of Go! Take the 2026 Go Developer Survey

terraform

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteState

func DeleteState(ctx *context.Context)

DeleteState deletes the specific file of a terraform package. Fails if the state is locked

func DeleteStateBySerial

func DeleteStateBySerial(ctx *context.Context)

DeleteStateBySerial deletes the specific serial of a terraform package as long as it's not the latest one.

func GetTerraformState

func GetTerraformState(ctx *context.Context)

GetTerraformState serves the latest version of the state

func GetTerraformStateBySerial

func GetTerraformStateBySerial(ctx *context.Context)

GetTerraformStateBySerial serves a specific version of terraform state.

func LockState

func LockState(ctx *context.Context)

LockState locks the specific terraform state. Internally, it adds a property to the package with the lock information Caveat being that it allocates a package if one doesn't exist to attach the property

func UnlockState

func UnlockState(ctx *context.Context)

UnlockState unlock the specific terraform state. Internally, it clears the package property

func UploadState

func UploadState(ctx *context.Context)

UploadState uploads the specific terraform package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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