comment_formatter

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const MR_COMMENT_FORMAT = `
### Terraform Cloud
%s
`
View Source
const MR_RUN_DETAILS_FORMAT = `
### Terraform Cloud
**Workspace**: ` + "`%s`" + `<br>
**Command**: %s <br>
**Status**: ` + "`%s`" + `<br>
**Run URL**: [%s](%s) <br>
`
View Source
const OLD_RUN_BLOCK = `
### Previous TFC URLS

| Run ID | Status | Created at |
| ------ | ------ | ---------- |
%s`

Variables

This section is empty.

Functions

func FormatRunStatusCommentBody

func FormatRunStatusCommentBody(tfc tfc_api.ApiClient, run *tfe.Run, rmd runstream.RunMetadata) (main, toplevel string, resolve bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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