style

package
v0.49.4 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AheadVersion added in v0.27.0

func AheadVersion(s any) string

func Author added in v0.48.0

func Author(s any) string

func BehindVersion added in v0.27.0

func BehindVersion(s any) string

func Code

func Code(s any) string

Code is for code snippets, commands, yaml properties, or any technical text that is not a resource name

func DiagnosticGroup

func DiagnosticGroup(s any) string

DiagnosticGroup is for the header of a diagnostic section

func DiagnosticHeader

func DiagnosticHeader(s any) string

DiagnosticHeader is for the header of a diagnostic

func DiagnosticLabel

func DiagnosticLabel(s any) string

DiagnosticLabel is for the label of a diagnostic item

func DiffAfter

func DiffAfter(s any) string

DiffAfter is for text that is being added in a diff

func DiffBefore

func DiffBefore(s any) string

DiffBefore is for text that is being removed in a diff

func DirtyVersion added in v0.27.0

func DirtyVersion(s any) string

func InSyncRelease added in v0.21.0

func InSyncRelease(s any) string

func InSyncReleaseVersion added in v0.21.0

func InSyncReleaseVersion(s any) string

func InSyncVersion added in v0.27.0

func InSyncVersion(s any) string
func Link(s any) string

Link is for URLs and other links

func Notice added in v0.47.8

func Notice(s any) string

func OK

func OK(s any) string

OK is for items that are in expected state, such as a release that is in sync with other environments

func OutOfSyncRelease added in v0.21.0

func OutOfSyncRelease(s any) string

func ReleaseInSync

func ReleaseInSync(s any) string

ReleaseInSync is for releases that are in sync across environments

func ReleaseNotAvailable

func ReleaseNotAvailable(s any) string

ReleaseNotAvailable is for releases that are not existing in an environment or have not version specified

func ReleaseOutOfSync

func ReleaseOutOfSync(s any) string

ReleaseOutOfSync is for releases that are not in sync across environments

func Resource

func Resource(s any) string

Resource is for the name of resources and entities such as releases, projects, environments, clusters, etc.

func ResourceEnvPrefix

func ResourceEnvPrefix(s any) string

ResourceEnvPrefix is for the environment prefix in front of a resource name (eg: `staging` in `staging/<release-name>`)

func ResourceKind

func ResourceKind(s any) string

ResourceKind is for a kind of resource (eg: `Release`, `Project`, `Environment`)

func SecondaryInfo

func SecondaryInfo(s any) string

SecondaryInfo is for text that should be less prominent than the main text

func Version

func Version(s any) string

Version is for release versions within messages (not tables)

func Warning

func Warning(s any) string

Warning is for text that is a warning or an error, such as a missing/unsynched release or an uncommitted change

Types

This section is empty.

Jump to

Keyboard shortcuts

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