- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 244 for Negate (0.1 sec)
-
pkg/features/client_adapter.go
// clientAdapter adapts a k8s.io/component-base/featuregate.MutableFeatureGate to client-go's // feature Gate and Registry interfaces. The component-base types Feature, FeatureSpec, and // prerelease, and the component-base prerelease constants, are duplicated by parallel types and // constants in client-go. The parallel types exist to allow the feature gate mechanism to be used
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jan 16 17:51:00 UTC 2024 - 2.4K bytes - Viewed (0) -
hack/verify-test-featuregates.sh
# This script checks whether mutable global feature gate is invocated correctly # in `*_test.go` files. # Usage: `hack/verify-test-featuregates.sh`. set -o errexit set -o nounset set -o pipefail KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. source "${KUBE_ROOT}/hack/lib/init.sh" cd "${KUBE_ROOT}" rc=0 # find test files accessing the mutable global feature gate or interface
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 1.8K bytes - Viewed (0) -
test/stress/runstress.go
log.Fatalf("stressExec: exec output = %q; want %q", out, wantOutput) } Println("did exec") } func stressExec() { gate := make(chan bool, 10) // max execs at once for { gate <- true go func() { doAnExec() <-gate }() } } func ringf(in <-chan int, out chan<- int, donec chan bool) { for { var n int select { case <-donec: return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:21:35 UTC 2024 - 3.6K bytes - Viewed (0) -
pkg/kubelet/apis/config/validation/validation_test.go
}, { name: "enableSystemLogQuery is enabled without NodeLogQuery feature gate", configure: func(conf *kubeletconfig.KubeletConfiguration) *kubeletconfig.KubeletConfiguration { conf.EnableSystemLogQuery = true return conf }, errMsg: "invalid configuration: NodeLogQuery feature gate is required for enableSystemLogHandler", }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 21:10:42 UTC 2024 - 28.7K bytes - Viewed (0) -
pkg/kubelet/apis/config/validation/validation.go
} if !localFeatureGate.Enabled(features.CPUCFSQuotaPeriod) && kc.CPUCFSQuotaPeriod != defaultCFSQuota { allErrors = append(allErrors, fmt.Errorf("invalid configuration: cpuCFSQuotaPeriod (--cpu-cfs-quota-period) %v requires feature gate CustomCPUCFSQuotaPeriod", kc.CPUCFSQuotaPeriod)) } if localFeatureGate.Enabled(features.CPUCFSQuotaPeriod) && utilvalidation.IsInRange(int(kc.CPUCFSQuotaPeriod.Duration), int(1*time.Millisecond), int(time.Second)) != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 17:13:59 UTC 2024 - 18.2K bytes - Viewed (0) -
internal/s3select/sql/parser.go
type OpUnaryTerm struct { Op string `parser:"@(\"*\" | \"/\" | \"%\")"` Right *UnaryTerm `parser:"@@"` } // UnaryTerm represents a single negated term or a primary term type UnaryTerm struct { Negated *NegatedTerm `parser:" @@"` Primary *PrimaryTerm `parser:"| @@"` } // NegatedTerm has a leading minus sign. type NegatedTerm struct { Term *PrimaryTerm `parser:"\"-\" @@"` }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 12.9K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/schedulinggates/scheduling_gates.go
if len(p.Spec.SchedulingGates) == 0 { return nil } gates := make([]string, 0, len(p.Spec.SchedulingGates)) for _, gate := range p.Spec.SchedulingGates { gates = append(gates, gate.Name) } return framework.NewStatus(framework.UnschedulableAndUnresolvable, fmt.Sprintf("waiting for scheduling gates: %v", gates)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 3.2K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/feature/feature.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package feature // Features carries feature gate values used by various plugins. // This struct allows us to break the dependency of the plugins on // the internal k8s features pkg. type Features struct { EnableDynamicResourceAllocation bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 1.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/feature/feature_gate.go
DefaultMutableFeatureGate featuregate.MutableFeatureGate = featuregate.NewFeatureGate() // DefaultFeatureGate is a shared global FeatureGate. // Top-level commands/options setup that needs to modify this feature gate should use DefaultMutableFeatureGate. DefaultFeatureGate featuregate.FeatureGate = DefaultMutableFeatureGate
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 1.3K bytes - Viewed (0) -
pkg/features/kube_features.go
// We want to avoid a proliferation of feature gates. This feature gate: // - will guard *a group* of cpumanager options whose quality level is alpha. // - will never graduate to beta or stable. // See https://groups.google.com/g/kubernetes-sig-architecture/c/Nxsc7pfe5rw/m/vF2djJh0BAAJ // for details about the removal of this feature gate. CPUManagerPolicyAlphaOptions featuregate.Feature = "CPUManagerPolicyAlphaOptions"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 22:51:23 UTC 2024 - 45.2K bytes - Viewed (0)