- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for withError (0.12 sec)
-
staging/src/k8s.io/cli-runtime/pkg/resource/builder.go
} if len(b.names) != 0 { return result.withError(fmt.Errorf("name cannot be provided when a selector is specified")) } if len(b.resourceTuples) != 0 { return result.withError(fmt.Errorf("selectors and the all flag cannot be used when passing resource/name arguments")) } if len(b.resources) == 0 { return result.withError(fmt.Errorf("at least one resource must be specified to use a selector")) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 10:17:56 UTC 2023 - 37.2K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/portstatus.go
b.Protocol = &value return b } // WithError sets the Error field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Error field is set to the value of the last call. func (b *PortStatusApplyConfiguration) WithError(value string) *PortStatusApplyConfiguration { b.Error = &value return b
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 04 18:31:34 UTC 2021 - 2.3K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/componentcondition.go
b.Message = &value return b } // WithError sets the Error field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Error field is set to the value of the last call. func (b *ComponentConditionApplyConfiguration) WithError(value string) *ComponentConditionApplyConfiguration { b.Error = &value
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 04 18:31:34 UTC 2021 - 3K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeconfigstatus.go
b.LastKnownGood = value return b } // WithError sets the Error field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Error field is set to the value of the last call. func (b *NodeConfigStatusApplyConfiguration) WithError(value string) *NodeConfigStatusApplyConfiguration { b.Error = &value
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 04 18:31:34 UTC 2021 - 3.1K bytes - Viewed (0) -
pkg/scheduler/schedule_one.go
defer func() { metrics.SchedulingAlgorithmLatency.Observe(metrics.SinceInSeconds(start)) }() if err == ErrNoNodesAvailable { status := framework.NewStatus(framework.UnschedulableAndUnresolvable).WithError(err) return ScheduleResult{nominatingInfo: clearNominatedNode}, podInfo, status } fitError, ok := err.(*framework.FitError) if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 13:28:08 UTC 2024 - 43.4K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/result.go
singleItemImplied bool targetsSingleItems bool mapper *mapper ignoreErrors []utilerrors.Matcher // populated by a call to Infos info []*Info } // withError allows a fluent style for internal result code. func (r *Result) withError(err error) *Result { r.err = err return r } // TargetsSingleItems returns true if any of the builder arguments pointed
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 23:00:24 UTC 2019 - 7.3K bytes - Viewed (0) -
pkg/scheduler/scheduler_test.go
if err != nil { t.Fatal(err) } testPodInfo := &framework.QueuedPodInfo{PodInfo: mustNewPodInfo(t, testPod)} s.FailureHandler(ctx, fwk, testPodInfo, framework.NewStatus(framework.Unschedulable).WithError(fmt.Errorf("binding rejected: timeout")), nil, time.Now()) pod := getPodFromPriorityQueue(queue, testPod) if pod != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 42K bytes - Viewed (0) -
pkg/scheduler/framework/interface.go
// plugin is an optional field that records the plugin name causes this status. // It's set by the framework when code is Unschedulable, UnschedulableAndUnresolvable or Pending. plugin string } func (s *Status) WithError(err error) *Status { s.err = err return s } // Code returns code of the Status. func (s *Status) Code() Code { if s == nil { return Success } return s.code }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 35.4K bytes - Viewed (0) -
analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/resolver/FirIdeNormalAnalysisScriptSourceModuleResolveCallTestGenerated.java
@TestDataPath("$PROJECT_ROOT") public class WithErrors { @Test public void testAllFilesPresentInWithErrors() { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/resolver/singleByPsi/arrayAccess/withErrors"), Pattern.compile("^(.+)\\.kts$"), null, true); } } }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 19:03:00 UTC 2024 - 33.5K bytes - Viewed (0) -
analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/resolver/FirIdeNormalAnalysisScriptSourceModuleResolveReferenceTestGenerated.java
@TestDataPath("$PROJECT_ROOT") public class WithErrors { @Test public void testAllFilesPresentInWithErrors() { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/resolver/singleByPsi/arrayAccess/withErrors"), Pattern.compile("^(.+)\\.kts$"), null, true); } } }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 19:03:01 UTC 2024 - 33.6K bytes - Viewed (0)