- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 109 for xargs (0.48 sec)
-
common/Makefile.common.mk
XARGS = xargs -0 -r lint-dockerfiles: @${FINDFILES} -name 'Dockerfile*' -print0 | ${XARGS} hadolint -c ./common/config/.hadolint.yml lint-scripts: @${FINDFILES} -name '*.sh' -print0 | ${XARGS} -n 256 shellcheck lint-yaml: @${FINDFILES} \( -name '*.yml' -o -name '*.yaml' \) -not -exec grep -q -e "{{" {} \; -print0 | ${XARGS} yamllint -c ./common/config/.yamllint.yml lint-helm:
Plain Text - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Mar 02 20:07:36 GMT 2024 - 5.9K bytes - Viewed (0) -
Makefile.core.mk
endif MARKDOWN_LINT_ALLOWLIST=localhost:8080,storage.googleapis.com/istio-artifacts/pilot/,http://ratings.default.svc.cluster.local:9080/ratings lint-helm-global: find manifests -name 'Chart.yaml' -print0 | ${XARGS} -L 1 dirname | xargs -r helm lint lint: lint-python lint-copyright-banner lint-scripts lint-go lint-dockerfiles lint-markdown lint-yaml lint-licenses lint-helm-global check-agent-deps ## Runs all linters. @bin/check_samples.sh
Plain Text - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Apr 26 19:45:17 GMT 2024 - 22.5K bytes - Viewed (0) -
istioctl/pkg/wait/wait_test.go
{ execClientConfig: cannedResponseMap, args: strings.Split("--generation=2 --timeout=20ms virtual-service foo.default", " "), wantException: true, }, { execClientConfig: cannedResponseMap, args: strings.Split("--generation=1 virtual-service foo.default", " "), wantException: false, }, { execClientConfig: cannedResponseMap,
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 6.8K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug_test.go
) type execTestCase struct { args []string revision string noIstiod bool // Typically use one of the three expectedOutput string // Expected constant output expectedString string // String output is expected to contain wantException bool } func TestInternalDebug(t *testing.T) { cases := []execTestCase{ { // case 0, no args args: []string{}, noIstiod: true,
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 4.5K bytes - Viewed (0) -
operator/cmd/mesh/profile.go
} pdArgs := &profileDumpArgs{} plArgs := &profileListArgs{} pdfArgs := &profileDiffArgs{} args := &RootArgs{} plc := profileListCmd(plArgs) pdc := profileDumpCmd(pdArgs) pdfc := profileDiffCmd(pdfArgs) addFlags(pc, args) addFlags(plc, args) addFlags(pdc, args) addFlags(pdfc, args) addProfileDumpFlags(pdc, pdArgs) addProfileListFlags(plc, plArgs) addProfileDiffFlags(pdfc, pdfArgs)
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 1.5K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
# Reset levels of all the loggers to default value (warning) for a specific Ztunnel pod. istioctl x ztunnel-config log <pod-name[.namespace]> -r `, Aliases: []string{"o"}, Args: func(cmd *cobra.Command, args []string) error { if err := common.validateArgs(cmd, args); err != nil { return err } if reset && loggerLevelString != "" { cmd.Println(cmd.UsageString())
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed May 01 13:11:40 GMT 2024 - 22.2K bytes - Viewed (0) -
istioctl/pkg/authz/authz_test.go
) func TestAuthz(t *testing.T) { cases := []testutil.TestCase{ { Args: []string{"-f fake.yaml"}, ExpectedOutput: "Error: failed to get config dump from file fake.yaml: open fake.yaml: no such file or directory\n", WantException: true, }, { Args: []string{"-f", "testdata/configdump.yaml"}, ExpectedOutput: `ACTION AuthorizationPolicy RULES
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Jun 21 14:20:23 GMT 2023 - 1.4K bytes - Viewed (0) -
istioctl/cmd/root.go
`, } rootCmd.SetArgs(args) flags := rootCmd.PersistentFlags() rootOptions := cli.AddRootFlags(flags) ctx := cli.NewCLIContext(rootOptions) _ = rootCmd.RegisterFlagCompletionFunc(cli.FlagIstioNamespace, func( cmd *cobra.Command, args []string, toComplete string, ) ([]string, cobra.ShellCompDirective) { return completion.ValidNamespaceArgs(cmd, ctx, args, toComplete) })
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Apr 11 20:51:30 GMT 2024 - 10K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
Example: ` istioctl experimental injector list`, Args: func(cmd *cobra.Command, args []string) error { if len(args) != 0 { return fmt.Errorf("unknown subcommand %q", args[0]) } return nil }, RunE: func(cmd *cobra.Command, args []string) error { cmd.HelpFunc()(cmd, args) return nil }, } cmd.AddCommand(injectorListCommand(cliContext)) return cmd }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Jan 04 03:08:06 GMT 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/metrics/metrics_test.go
} func TestMetricsNoPrometheus(t *testing.T) { cases := []testutil.TestCase{ { // case 0 Args: []string{}, ExpectedRegexp: regexp.MustCompile("Error: metrics requires workload name\n"), WantException: true, }, { // case 1 Args: strings.Split("details", " "), ExpectedOutput: "Error: no Prometheus pods found\n", WantException: true, }, }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Oct 25 02:07:44 GMT 2023 - 7.9K bytes - Viewed (0)