comments

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildFlagComment

func BuildFlagComment(buildComment FlagComments, flagsRef refs.ReferenceSummary, existingComment *github.IssueComment) string

func GithubNoFlagComment

func GithubNoFlagComment() *github.IssueComment

Types

type Comment

type Comment struct {
	FlagKey            string
	FlagName           string
	Archived           bool
	ArchivedAt         time.Time
	Deprecated         bool
	DeprecatedAt       time.Time
	Added              bool
	Removed            bool
	Extinct            bool
	Aliases            []string
	ChangeType         string
	Primary            ldapi.FeatureFlagConfig
	LDInstance         string
	ExtinctionsEnabled bool
}

type FlagComments

type FlagComments struct {
	CommentsAdded   []string
	CommentsRemoved []string
}

func ProcessFlags

func ProcessFlags(flagsRef refs.ReferenceSummary, flags []ldapi.FeatureFlag, config *lcr.Config) FlagComments

Jump to

Keyboard shortcuts

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