- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for checkDeprecation (0.21 sec)
-
pkg/test/framework/components/echo/kube/workload.go
w.forwarder.Close() w.forwarder = nil } if w.ctx.Settings().FailOnDeprecation && w.sidecar != nil { err = multierror.Append(err, w.checkDeprecation()).ErrorOrNil() w.sidecar = nil } return err } func (w *workload) checkDeprecation() error { logs, err := w.sidecar.Logs() if err != nil { return fmt.Errorf("could not get sidecar logs to inspect for deprecation messages: %v", err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Oct 25 19:46:28 UTC 2023 - 7.4K bytes - Viewed (0) -
src/cmd/go/internal/modload/modfile.go
return message } // CheckDeprecation returns a deprecation message from the go.mod file of the // latest version of the given module. Deprecation messages are comments // before or on the same line as the module directives that start with // "Deprecated:" and run until the end of the paragraph. // // CheckDeprecation returns an error if the message can't be loaded.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 26 17:53:40 UTC 2023 - 26.7K bytes - Viewed (0) -
src/cmd/go/internal/modload/build.go
// author. m.Error is set if there's an error loading deprecation information. func addDeprecation(ctx context.Context, m *modinfo.ModulePublic) { deprecation, err := CheckDeprecation(ctx, module.Version{Path: m.Path, Version: m.Version}) var noVersionErr *NoMatchingVersionError if errors.Is(err, fs.ErrNotExist) || errors.As(err, &noVersionErr) { // Ignore "not found" and "no matching version" errors.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 16:56:39 UTC 2024 - 13.3K bytes - Viewed (0) -
src/cmd/go/internal/modget/get.go
} } sort.Slice(deprecations, func(i, j int) bool { return deprecations[i].m.Path < deprecations[j].m.Path }) for i := range deprecations { i := i r.work.Add(func() { deprecation, err := modload.CheckDeprecation(ctx, deprecations[i].m) if err != nil || deprecation == "" { return } deprecations[i].message = modload.ShortMessage(deprecation, "") }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:26:32 UTC 2024 - 66.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ResultAssertion.java
boolean expectStackTraces, boolean checkDeprecations, boolean checkJdkWarnings ) { this.expectedGenericDeprecationWarnings = expectedGenericDeprecationWarnings; this.expectedDeprecationWarnings = new ArrayList<>(expectedDeprecationWarnings); this.expectStackTraces = expectStackTraces; this.checkDeprecations = checkDeprecations; this.checkJdkWarnings = checkJdkWarnings; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.4K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
qrs, err := modload.QueryPackages(ctx, patterns[0], version, noneSelected, allowed) if err != nil { return nil, fmt.Errorf("%s: %w", args[0], err) } rootMod := qrs[0].Mod deprecation, err := modload.CheckDeprecation(ctx, rootMod) if err != nil { return nil, fmt.Errorf("%s: %w", args[0], err) } if deprecation != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java
protected boolean interactive; protected boolean noExplicitNativeServicesDir; private boolean fullDeprecationStackTrace; private boolean checkDeprecations = true; private boolean checkDaemonCrash = true; private TestFile tmpDir; private DurationMeasurement durationMeasurement;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 55.1K bytes - Viewed (0)