comments

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 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 {
	Flag       ldapi.FeatureFlag
	ArchivedAt time.Time
	Added      bool
	Extinct    bool
	Aliases    []string
	ChangeType string
	Primary    ldapi.FeatureFlagConfig
	LDInstance string
}

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