Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 215 for kwargs (0.92 sec)

  1. operator/cmd/mesh/operator-remove.go

    		Args: func(cmd *cobra.Command, args []string) error {
    			if orArgs.revision == "" && !orArgs.purge {
    				return fmt.Errorf("at least one of the --revision or --purge flags must be set")
    			}
    			if len(args) > 0 {
    				return fmt.Errorf("istioctl operator remove does not take arguments")
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			client, err := ctx.CLIClient()
    			if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. 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)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  3. operator/cmd/mesh/operator-init.go

    	already, _ := isControllerInstalled(kubeClient.Kube(), oiArgs.common.operatorNamespace, oiArgs.common.revision)
    	if already {
    		l.LogAndPrintf("Operator controller is already installed in %s namespace.", oiArgs.common.operatorNamespace)
    		l.LogAndPrintf("Upgrading operator controller in namespace: %s using image: %s/operator:%s",
    			oiArgs.common.operatorNamespace, oiArgs.common.hub, oiArgs.common.tag)
    	} else {
    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. operator/cmd/mesh/manifest-generate.go

    	manifests, _, err := manifest.GenManifests(mgArgs.InFilenames, applyFlagAliases(mgArgs.Set, mgArgs.ManifestsPath, mgArgs.Revision),
    		mgArgs.Force, mgArgs.Filter, kubeClient, l)
    	if err != nil {
    		return err
    	}
    
    	if len(mgArgs.Components) != 0 {
    		filteredManifests := name.ManifestMap{}
    		for _, cArg := range mgArgs.Components {
    			componentName := name.ComponentName(cArg)
    			if cManifests, ok := manifests[componentName]; ok {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  5. operator/cmd/mesh/profile-list.go

    		Long:  "The list subcommand lists the available Istio configuration profiles.",
    		Args:  cobra.ExactArgs(0),
    		RunE: func(cmd *cobra.Command, args []string) error {
    			return profileList(cmd, plArgs)
    		},
    	}
    }
    
    // profileList list all the builtin profiles.
    func profileList(cmd *cobra.Command, plArgs *profileListArgs) error {
    	profiles, err := helm.ListProfiles(plArgs.manifestsPath)
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  6. operator/cmd/mesh/profile-dump.go

    }
    
    func profileDump(args []string, pdArgs *profileDumpArgs, l clog.Logger) error {
    	if len(args) == 1 && pdArgs.inFilenames != nil {
    		return fmt.Errorf("cannot specify both profile name and filename flag")
    	}
    
    	if err := validateProfileOutputFormatFlag(pdArgs.outputFormat); err != nil {
    		return err
    	}
    
    	setFlags := applyFlagAliases(make([]string, 0), pdArgs.manifestsPath, "")
    	if len(args) == 1 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  7. operator/cmd/mesh/profile-diff.go

    func profileDiff(cmd *cobra.Command, pfArgs *profileDiffArgs, args []string) (bool, error) {
    	l := clog.NewConsoleLogger(cmd.OutOrStdout(), cmd.OutOrStderr(), nil)
    	setFlags := make([]string, 0)
    	if pfArgs.manifestsPath != "" {
    		setFlags = append(setFlags, fmt.Sprintf("installPackagePath=%s", pfArgs.manifestsPath))
    	}
    	return profileDiffInternal(args[0], args[1], setFlags, cmd.OutOrStdout(), l)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. cni/pkg/plugin/plugin_cni_conformance.go

    		t.Fatalf("LoadArgs failed with error: %v", err)
    	}
    
    	if string(k8sArgs.K8S_POD_NAMESPACE) == "" || string(k8sArgs.K8S_POD_NAME) == "" {
    		t.Fatalf("LoadArgs didn't convert args properly, K8S_POD_NAME=\"%s\";K8S_POD_NAMESPACE=\"%s\"",
    			string(k8sArgs.K8S_POD_NAME), string(k8sArgs.K8S_POD_NAMESPACE))
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  9. cni/pkg/plugin/plugin.go

    	// Determine if running under k8s by checking the CNI args
    	k8sArgs := K8sArgs{}
    	if err := types.LoadArgs(args.Args, &k8sArgs); err != nil {
    		return err
    	}
    
    	// Check if the workload is running under Kubernetes.
    	podNamespace := string(k8sArgs.K8S_POD_NAMESPACE)
    	podName := string(k8sArgs.K8S_POD_NAME)
    	log := log.WithLabels("pod", podNamespace+"/"+podName)
    	if podNamespace == "" || podName == "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. operator/cmd/mesh/install.go

    			warnMarker, operatorVer.OperatorCodeBaseVersion)
    	}
    
    	setFlags := applyFlagAliases(iArgs.Set, iArgs.ManifestsPath, iArgs.Revision)
    
    	_, iop, err := manifest.GenerateConfig(iArgs.InFilenames, setFlags, iArgs.Force, kubeClient, l)
    	if err != nil {
    		return fmt.Errorf("generate config: %v", err)
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
Back to top