Documentation ¶
Index ¶
Constants ¶
View Source
const (
// HonorWaitForFirstConsumer - if enabled will not schedule worker pods on a storage with WaitForFirstConsumer binding mode
HonorWaitForFirstConsumer = "HonorWaitForFirstConsumer"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CDIConfigFeatureGates ¶
type CDIConfigFeatureGates struct {
// contains filtered or unexported fields
}
CDIConfigFeatureGates is a util for determining whether an optional feature is enabled or not.
func NewFeatureGates ¶
func NewFeatureGates(c client.Client) *CDIConfigFeatureGates
NewFeatureGates creates a new instance of the feature gates
func (*CDIConfigFeatureGates) HonorWaitForFirstConsumerEnabled ¶
func (f *CDIConfigFeatureGates) HonorWaitForFirstConsumerEnabled() (bool, error)
HonorWaitForFirstConsumerEnabled - see the HonorWaitForFirstConsumer const
type FeatureGates ¶
type FeatureGates interface { // HonorWaitForFirstConsumerEnabled - see the HonorWaitForFirstConsumer const HonorWaitForFirstConsumerEnabled() (bool, error) }
FeatureGates is a util for determining whether an optional feature is enabled or not.
Click to show internal directories.
Click to hide internal directories.