featuregates

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleFunc

func HandleFunc() http.HandlerFunc

HandleFunc returns the function which can handle queries issued by 'antctl get featuregates' command. The handler function populates Antrea Agent feature gates information to the response. For now, it will return all feature gates included in features.DefaultAntreaFeatureGates for agent We need to exclude any new feature gates which is not consumed by agent in the future.

Types

type Response

type Response struct {
	Component string `json:"component,omitempty"`
	Name      string `json:"name,omitempty"`
	Status    string `json:"status,omitempty"`
	Version   string `json:"version,omitempty"`
}

Jump to

Keyboard shortcuts

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