Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SanitizeMany ¶
SanitizeMany sanitizes flagsets provided and returns the list of errors
Types ¶
type FeaturesBySet ¶
type FeaturesBySet struct {
// contains filtered or unexported fields
}
func Difference ¶
func Difference(one FeaturesBySet, two FeaturesBySet) FeaturesBySet
func NewFeaturesBySet ¶
func NewFeaturesBySet(featureFlags []dtos.SplitDTO) FeaturesBySet
func (*FeaturesBySet) Add ¶
func (f *FeaturesBySet) Add(set string, flag string)
func (*FeaturesBySet) FlagsFromSet ¶
func (f *FeaturesBySet) FlagsFromSet(set string) []string
func (*FeaturesBySet) IsFlagInSet ¶
func (f *FeaturesBySet) IsFlagInSet(set string, flag string) bool
func (*FeaturesBySet) RemoveFlagFromSet ¶
func (f *FeaturesBySet) RemoveFlagFromSet(set string, flag string)
func (*FeaturesBySet) Sets ¶
func (f *FeaturesBySet) Sets() []string
type FlagSetFilter ¶
type FlagSetFilter struct {
// contains filtered or unexported fields
}
func NewFlagSetFilter ¶
func NewFlagSetFilter(configFlagSets []string) FlagSetFilter
func (*FlagSetFilter) Instersect ¶
func (f *FlagSetFilter) Instersect(flagSets []string) bool
func (*FlagSetFilter) IsPresent ¶
func (f *FlagSetFilter) IsPresent(flagSet string) bool
Click to show internal directories.
Click to hide internal directories.