Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckNodeSupportNetworkQoS ¶
func CheckNodeSupportNetworkQoS() error
func IsUnsupportedError ¶
Types ¶
type FeatureGate ¶
type FeatureGate interface { // Enabled returns true if the key is enabled. Enabled(key Feature, c *api.ColocationConfig) (bool, error) // Supported returns nil if the key is supported, return error with the reason why not supported Supported(key Feature, cfg *config.Configuration) error }
FeatureGate indicates whether a given feature is enabled or not
var ( // DefaultFeatureGate is a shared global FeatureGate. DefaultFeatureGate FeatureGate = &featureGate{} )
type UnsupportedError ¶
type UnsupportedError string
func (UnsupportedError) Error ¶
func (s UnsupportedError) Error() string
Click to show internal directories.
Click to hide internal directories.