Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 315 for Perron (0.17 sec)

  1. cni/pkg/iptables/nldeps.go

    type NetlinkDependencies interface {
    	AddInpodMarkIPRule(cfg *Config) error
    	DelInpodMarkIPRule(cfg *Config) error
    	AddLoopbackRoutes(cfg *Config) error
    	DelLoopbackRoutes(cfg *Config) error
    }
    
    func RealNlDeps() NetlinkDependencies {
    	return &realDeps{}
    }
    
    type realDeps struct{}
    
    func (r *realDeps) AddInpodMarkIPRule(cfg *Config) error {
    	return AddInpodMarkIPRule(cfg)
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  2. cni/pkg/ipset/nldeps_unspecified.go

    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) flush(name string) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) clearEntriesWithComment(name, comment string) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) clearEntriesWithIP(name string, ip netip.Addr) error {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. cni/pkg/iptables/iptables_linux.go

    		}
    	}
    
    	return nil
    }
    
    func AddLoopbackRoutes(cfg *Config) error {
    	return forEachLoopbackRoute(cfg, netlink.RouteReplace)
    }
    
    func DelLoopbackRoutes(cfg *Config) error {
    	return forEachLoopbackRoute(cfg, netlink.RouteDel)
    }
    
    func forEachLoopbackRoute(cfg *Config, f func(*netlink.Route) error) error {
    	loopbackLink, err := netlink.LinkByName("lo")
    	if err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  4. istioctl/pkg/dashboard/dashboard_test.go

    			ExpectedOutput: "Error: no pods found with selector app.kubernetes.io/name=grafana\n",
    			WantException:  true,
    		},
    		{ // case 7
    			Args:           strings.Split("jaeger --browser=false", " "),
    			ExpectedOutput: "Error: no pods found with selector app=jaeger\n",
    			WantException:  true,
    		},
    		{ // case 8
    			Args:           strings.Split("kiali --browser=false", " "),
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Nov 21 01:17:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/tag.go

    without manual relabeling of the "istio.io/rev" tag.
    `,
    		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(tagSetCommand(ctx))
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/util.go

    func GetWebhookRevision(wh admitv1.MutatingWebhookConfiguration) (string, error) {
    	if tagName, ok := wh.ObjectMeta.Labels[label.IoIstioRev.Name]; ok {
    		return tagName, nil
    	}
    	return "", fmt.Errorf("could not extract tag revision from webhook")
    }
    
    // DeleteTagWebhooks deletes the given webhooks.
    func DeleteTagWebhooks(ctx context.Context, client kubernetes.Interface, tag string) error {
    	webhooks, err := GetWebhooksWithTag(ctx, client, tag)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
  7. istioctl/pkg/util/formatting/formatter_test.go

    	output, _ := Print(msgs, LogFormat, false)
    
    	g.Expect(output).To(Equal(
    		"Error [B1] (SoapBubble) Explosion accident: the bubble is too big\n" +
    			"Warning [C1] (GrandCastle) Collapse danger: the castle is too old",
    	))
    }
    
    func TestFormatter_PrintLogWithColor(t *testing.T) {
    	g := NewWithT(t)
    
    	firstMsg := diag.NewMessage(
    		diag.NewMessageType(diag.Error, "B1", "Explosion accident: %v"),
    		diag.MockResource("SoapBubble"),
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  8. istioctl/pkg/waypoint/waypoint.go

    		Args: func(cmd *cobra.Command, args []string) error {
    			if deleteAll && len(args) > 0 {
    				return fmt.Errorf("cannot specify waypoint names when deleting all waypoints")
    			}
    			if !deleteAll && len(args) == 0 {
    				return fmt.Errorf("must either specify a waypoint name or delete all using --all")
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			kubeClient, err := ctx.CLIClient()
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:40 GMT 2024
    - 15K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/compare/sds/util.go

    func (s *secretItemBuilder) Build() (SecretItem, error) {
    	result := SecretItem{
    		Name:        s.name,
    		Data:        s.data,
    		Source:      s.source,
    		Destination: s.dest,
    		State:       s.state,
    	}
    
    	var meta SecretMeta
    	var err error
    	if s.data != "" {
    		meta, err = secretMetaFromCert([]byte(s.data))
    		if err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  10. istioctl/cmd/sysexits_test.go

    	"istio.io/istio/istioctl/pkg/analyze"
    	"istio.io/istio/istioctl/pkg/util"
    )
    
    var KnownErrorCode = map[error]int{
    	errors.New("unknown command"):                                  ExitIncorrectUsage,
    	errors.New("unexpected error"):                                 ExitUnknownError,
    	util.CommandParseError{Err: errors.New("command parse error")}: ExitIncorrectUsage,
    	analyze.FileParseError{}:                                       ExitDataError,
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.3K bytes
    - Viewed (0)
Back to top