- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for Diag (0.04 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Diag.java
import org.codehaus.plexus.components.secdispatcher.SecDispatcher; import static org.apache.maven.cling.invoker.mvnenc.DefaultEncryptInvoker.OK; /** * The "diag" goal. */ @Singleton @Named("diag") public class Diag extends ConfiguredGoalSupport { @Inject public Diag(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) { super(messageBuilderFactory, secDispatcher); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze_test.go
"istio.io/istio/istioctl/pkg/util/testutil" "istio.io/istio/pkg/config/analysis/diag" ) func TestErrorOnIssuesFound(t *testing.T) { g := NewWithT(t) msgs := []diag.Message{ diag.NewMessage( diag.NewMessageType(diag.Error, "B1", "Template: %q"), nil, "", ), diag.NewMessage( diag.NewMessageType(diag.Warning, "A1", "Template: %q"), nil, "", ), }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 1.8K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
} minor, err := strconv.Atoi(minors) if err != nil { return nil, fmt.Errorf("minor version is not a number: %v", minors) } var messages diag.Messages = make([]diag.Message, 0) if minor <= 21 { // ENHANCED_RESOURCE_SCOPING if err := checkPilot(cli, ctx.IstioNamespace(), &messages); err != nil { return nil, err } } if minor <= 21 {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 02:31:32 UTC 2024 - 15.3K bytes - Viewed (0) -
istioctl/pkg/util/formatting/formatter_test.go
g := NewWithT(t) firstMsg := diag.NewMessage( diag.NewMessageType(diag.Error, "B1", "Explosion accident: %v"), diag.MockResource("SoapBubble"), "the bubble is too big", ) secondMsg := diag.NewMessage( diag.NewMessageType(diag.Warning, "C1", "Collapse danger: %v"), diag.MockResource("GrandCastle"), "the castle is too old", ) msgs := diag.Messages{firstMsg, secondMsg}
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 4.1K bytes - Viewed (0) -
istioctl/pkg/util/formatting/formatter.go
} func printYAML(ms diag.Messages) (string, error) { yamlOutput, err := yaml.Marshal(ms) return string(yamlOutput), err } // Formatting options for Message var ( colorPrefixes = map[diag.Level]string{ diag.Info: "", // no special color for info messages diag.Warning: "\033[33m", // yellow diag.Error: "\033[1;31m", // bold red } )
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 11 02:41:45 UTC 2023 - 3.1K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
return FileParseString } var ( listAnalyzers bool useKube bool failureThreshold = formatting.MessageThreshold{Level: diag.Error} // messages at least this level will generate an error exit code outputThreshold = formatting.MessageThreshold{Level: diag.Info} // messages at least this level will be included in the output colorize bool msgOutputFormat string meshCfgFile string
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 31 06:53:50 UTC 2024 - 17.6K bytes - Viewed (0) -
src/cmd/asm/main.go
flags.D = append(flags.D, "GOEXPERIMENT_"+exp) } } var ok, diag bool var failedFile string for _, f := range flag.Args() { lexer := lex.NewLexer(f) parser := asm.NewParser(ctxt, architecture, lexer) ctxt.DiagFunc = func(format string, args ...interface{}) { diag = true log.Printf(format, args...) } if *flags.SymABIs { ok = parser.ParseSymABIs(buf) } else {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Jun 21 19:58:04 UTC 2024 - 2.9K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck_test.go
cmdutil "k8s.io/kubectl/pkg/cmd/util" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/pkg/config/analysis/diag" "istio.io/istio/pkg/config/analysis/msg" "istio.io/istio/pkg/kube" ) type testCase struct { version string revision string expectedOutput diag.Messages expectedError error } func Test_checkFromVersion(t *testing.T) { cases := []testCase{ {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 09 12:01:22 UTC 2024 - 3.9K bytes - Viewed (0) -
istioctl/pkg/tag/tag.go
return err } sa.AddRunningKubeSourceWithRevision(k, revision, false) res, err := sa.Analyze(make(chan struct{})) if err != nil { return err } relevantMessages := diag.Messages{} for _, msg := range res.Messages.FilterOutLowerThan(diag.Error) { if msg.Resource.Metadata.FullName.Name == resource.LocalName(name) { relevantMessages = append(relevantMessages, msg) } } if len(relevantMessages) > 0 {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 22 15:40:30 UTC 2024 - 16.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java
.builder() .warning( "Maven4 SecDispatcher disabled; Maven3 fallback may still work, use `mvnenc diag` to check") .build()); secDispatcher.writeConfiguration(config); return OK; } config.setDefaultDispatcher(result.get("defaultDispatcher").getResult());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0)