Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 251 for command (0.41 sec)

  1. operator/cmd/mesh/manifest.go

    	"github.com/spf13/cobra"
    
    	"istio.io/istio/istioctl/pkg/cli"
    )
    
    // ManifestCmd is a group of commands related to manifest generation, installation, diffing and migration.
    func ManifestCmd(ctx cli.Context) *cobra.Command {
    	mc := &cobra.Command{
    		Use:   "manifest",
    		Short: "Commands related to Istio manifests",
    		Long:  "The manifest command generates and diffs Istio manifests.",
    	}
    
    	mgcArgs := &ManifestGenerateArgs{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. istioctl/pkg/validate/validate.go

    			_, _ = fmt.Fprintf(writer, "%q is valid\n", fname)
    		}
    	}
    
    	return nil
    }
    
    // NewValidateCommand creates a new command for validating Istio k8s resources.
    func NewValidateCommand(ctx cli.Context) *cobra.Command {
    	var filenames []string
    	var referential bool
    
    	c := &cobra.Command{
    		Use:     "validate -f FILENAME [options]",
    		Aliases: []string{"v"},
    		Short:   "Validate Istio policy and rules files",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  3. operator/cmd/mesh/operator-init.go

    		l.LogAndPrintf("Upgrading operator controller in namespace: %s using image: %s/operator:%s",
    			oiArgs.common.operatorNamespace, oiArgs.common.hub, oiArgs.common.tag)
    	} else {
    		l.LogAndPrintf("Installing operator controller in namespace: %s using image: %s/operator:%s",
    			oiArgs.common.operatorNamespace, oiArgs.common.hub, oiArgs.common.tag)
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. istioctl/pkg/util/testutil/util.go

    	ExpectedRegexp *regexp.Regexp // Expected regexp output
    	GoldenFilename string         // Expected output stored in golden file
    
    	WantException bool
    }
    
    func VerifyOutput(t *testing.T, cmd *cobra.Command, c TestCase) {
    	t.Helper()
    
    	cmd.SetArgs(c.Args)
    
    	var out bytes.Buffer
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    	cmd.SilenceUsage = true
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2K bytes
    - Viewed (0)
  5. istioctl/pkg/workload/testdata/vmconfig/ipv6/meshconfig.yaml

    defaultConfig:
      proxyMetadata:
        # should be overridden by the command
        ISTIO_META_DNS_CAPTURE: "false"
        # should be overridden by the annotation on the WorkloadGroup
        PROXY_CONFIG_ANNOT_VALUE: "foo"
        # should be in the final cluster.env/mesh.yaml
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 300 bytes
    - Viewed (0)
  6. istioctl/pkg/kubeinject/kubeinject.go

    	defaultWebhookName             = "sidecar-injector.istio.io"
    )
    
    func InjectCommand(cliContext cli.Context) *cobra.Command {
    	var opts clioptions.ControlPlaneOptions
    	var centralOpts clioptions.CentralControlPlaneOptions
    
    	injectCmd := &cobra.Command{
    		Use:   "kube-inject",
    		Short: "Inject Istio sidecar into Kubernetes pod resources",
    		Long: `
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  7. istioctl/pkg/completion/completion.go

    			podsName = append(podsName, pod.Name)
    		}
    	}
    
    	return podsName, nil
    }
    
    func ValidPodsNameArgs(ctx cli.Context) func(_ *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
    	return func(_ *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
    		if len(args) != 0 {
    			return nil, cobra.ShellCompDirectiveNoFileComp
    		}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  8. istioctl/pkg/admin/istiodconfig.go

    	validationPattern   = `^\w+:(debug|error|warn|info|debug)`
    )
    
    func istiodLogCmd(ctx cli.Context) *cobra.Command {
    	var controlzPort int
    	var opts clioptions.ControlPlaneOptions
    	outputLogLevel := ""
    	stackTraceLevel := ""
    
    	// output format (yaml or short)
    	outputFormat := "short"
    
    	logCmd := &cobra.Command{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  9. operator/cmd/mesh/operator-common.go

    	watchedNamespaces string
    	// istioNamespace is deprecated, use watchedNamespaces instead.
    	istioNamespace string
    	// manifestsPath is a path to a charts and profiles directory in the local filesystem with a release tgz.
    	manifestsPath string
    	// revision is the Istio control plane revision the command targets.
    	revision string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Dec 17 02:25:04 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  10. istioctl/pkg/admin/istiodconfig_test.go

    	}{
    		{
    			name: "given --reset flag return reset command",
    			args: args{
    				ctrzClient:      ctrzClient,
    				reset:           true,
    				outputLogLevel:  "",
    				stackTraceLevel: "",
    				outputFormat:    "",
    			},
    			want: &istiodConfigLog{state: &resetState{
    				client: ctrzClient,
    			}},
    		},
    		{
    			name: "given --level flag return outputLogLevel command",
    			args: args{
    				ctrzClient:      ctrzClient,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 6.2K bytes
    - Viewed (0)
Back to top