Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Feature ¶
type Feature string
Feature represents a feature of nats-operator.
const ( // ClusterScoped is used to indicate whether nats-operator should operate at the namespace or cluster level. ClusterScoped Feature = "ClusterScoped" )
type FeatureMap ¶
FeatureMap is a mapping between features of nats-operator and their current status.
func ParseFeatureMap ¶
func ParseFeatureMap(str string) (FeatureMap, error)
ParseFeatureMap parses the specified string into a feature map.
func (FeatureMap) IsEnabled ¶
func (m FeatureMap) IsEnabled(feature Feature) bool
IsEnabled returns a value indicating whether the specified feature is enabled.
Click to show internal directories.
Click to hide internal directories.