HandleFunc returns the function which can handle queries issued by 'antctl get featuregates' command.
The handler function populates Antrea featuregates information to the response.
type Config struct {
// FeatureGates is a map of feature names to bools that enable or disable experimental features. FeatureGates map[string]bool `yaml:"featureGates,omitempty"`
}
type Response struct {
Component string `json:"component,omitempty"`
Name string `json:"name,omitempty"`
Status string `json:"status,omitempty"`
Version string `json:"version,omitempty"`
}