Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for Sombra (0.56 sec)

  1. istioctl/cmd/options.go

    }
    
    func optionsCommand(rootCmd *cobra.Command) *cobra.Command {
    	retval := &cobra.Command{
    		Use:   "options",
    		Short: "Displays istioctl global options",
    		Args:  cobra.ExactArgs(0),
    	}
    
    	retval.SetHelpFunc(func(c *cobra.Command, args []string) {
    		c.Printf("The following options can be passed to any command:\n")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest-diff.go

    			"e.g. Service:*:istiod->Service:*:istio-control - rename istiod service into istio-control")
    }
    
    func manifestDiffCmd(diffArgs *manifestDiffArgs) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "diff <file|dir> <file|dir>",
    		Short: "Compare manifests and generate diff",
    		Long: "The diff subcommand compares manifests from two files or directories. The output is a list of\n" +
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. istioctl/pkg/proxystatus/proxystatus.go

    	data, err := io.ReadAll(file)
    	if err != nil {
    		return nil, err
    	}
    	return data, nil
    }
    
    func StableXdsStatusCommand(ctx cli.Context) *cobra.Command {
    	cmd := XdsStatusCommand(ctx)
    	unstableFlags := []string{"xds-via-agents", "xds-via-agents-limit"}
    	cmd.PreRunE = func(cmd *cobra.Command, args []string) error {
    		for _, flag := range unstableFlags {
    			if cmd.PersistentFlags().Changed(flag) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. operator/cmd/mesh/operator.go

    // limitations under the License.
    
    package mesh
    
    import (
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/istioctl/pkg/cli"
    )
    
    // OperatorCmd is a group of commands related to installation and management of the operator controller.
    func OperatorCmd(ctx cli.Context) *cobra.Command {
    	oc := &cobra.Command{
    		Use:   "operator",
    		Short: "Commands related to Istio operator controller.",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  5. operator/cmd/mesh/profile-dump.go

    }
    
    func profileDumpCmd(pdArgs *profileDumpArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "dump [<profile>]",
    		Short: "Dumps an Istio configuration profile",
    		Long:  "The dump subcommand dumps the values in an Istio configuration profile.",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) > 1 {
    				return fmt.Errorf("too many positional arguments")
    			}
    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)
  6. istioctl/pkg/clioptions/central.go

    	GCPProject string
    
    	// Istiod address. For MCP may be different than Xds.
    	IstiodAddr string
    }
    
    // AttachControlPlaneFlags attaches control-plane flags to a Cobra command.
    // (Currently just --endpoint)
    func (o *CentralControlPlaneOptions) AttachControlPlaneFlags(cmd *cobra.Command) {
    	cmd.PersistentFlags().StringVar(&o.Xds, "xds-address", viper.GetString("XDS-ADDRESS"),
    		"XDS Endpoint")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jun 06 03:39:27 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  7. istioctl/pkg/checkinject/checkinject.go

    	"istio.io/istio/istioctl/pkg/util"
    	"istio.io/istio/istioctl/pkg/writer/table"
    	analyzer_util "istio.io/istio/pkg/config/analysis/analyzers/util"
    )
    
    var labelPairs string
    
    func Cmd(ctx cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "check-inject [<type>/]<name>[.<namespace>]",
    		Short: "Check the injection status or inject-ability of a given resource, explains why it is (or will be) injected or not",
    		Long: `
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  8. istioctl/pkg/internaldebug/internal-debug.go

    					"config_distribution?resource=VirtualService/default/bookinfo")
    			}
    		}
    	}
    	return nil, nil
    }
    
    func DebugCommand(ctx cli.Context) *cobra.Command {
    	var opts clioptions.ControlPlaneOptions
    	var centralOpts clioptions.CentralControlPlaneOptions
    
    	debugCommand := &cobra.Command{
    		Use:   "internal-debug [<type>/]<name>[.<namespace>]",
    		Short: "Retrieves the debug information of istio",
    		Long: `
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  9. operator/cmd/mesh/profile-diff_test.go

    			verifyProfileDiffCommandCaseOutput(t, c, output, fErr)
    		})
    	}
    }
    
    func TestProfileDiffDirect(t *testing.T) {
    	cases := []profileDiffTestcase{
    		{
    			// We won't be parsing with Cobra, but this is the command equivalent
    			args: "profile diff default openshift",
    			// This is just one of the many differences
    			expectedString: "+    profile: openshift",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  10. istioctl/pkg/completion/completion.go

    		return nil, cobra.ShellCompDirectiveNoFileComp
    	}
    	return nsName, cobra.ShellCompDirectiveNoFileComp
    }
    
    func ValidServiceAccountArgs(_ *cobra.Command, ctx cli.Context, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
    	if len(args) != 0 {
    		return nil, cobra.ShellCompDirectiveNoFileComp
    	}
    	client, err := ctx.CLIClient()
    	if err != nil {
    		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)
Back to top