Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for could (0.17 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    	expDate, err := time.Parse(time.RFC3339, cert.ExpirationTime)
    	if err != nil {
    		log.Errorf("certificate timestamp (%v) could not be parsed: %v", cert.ExpirationTime, err)
    		return false
    	}
    	fromDate, err := time.Parse(time.RFC3339, cert.ValidFrom)
    	if err != nil {
    		log.Errorf("certificate timestamp (%v) could not be parsed: %v", cert.ValidFrom, err)
    		return false
    	}
    	if today.After(fromDate) && today.Before(expDate) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 16:38:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. cni/pkg/repair/netns.go

    //
    // Instead, we traverse the procfs. Comments on this method are inline.
    func getPodNetNs(pod *corev1.Pod) (string, error) {
    	// First, find the network namespace id by looking the interface with the given Pod IP.
    	// This could break on some platforms if they do not have an interface-per-pod.
    	wantID, err := findNetworkIDByIP(pod.Status.PodIP)
    	if err != nil {
    		return "", fmt.Errorf("network id: %v", err)
    	}
    	fs, err := procfs.NewFS("/host/proc")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest-diff.go

    	renameResources, selectResources, ignoreResources string,
    ) (bool, error) {
    	a, err := os.ReadFile(args[0])
    	if err != nil {
    		return false, fmt.Errorf("could not read %q: %v", args[0], err)
    	}
    	b, err := os.ReadFile(args[1])
    	if err != nil {
    		return false, fmt.Errorf("could not read %q: %v", args[1], err)
    	}
    
    	diff, err := compare.ManifestDiffWithRenameSelectIgnore(string(a), string(b), renameResources, selectResources,
    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)
  4. cni/pkg/repair/repair.go

    	if !cfg.Enabled {
    		repairLog.Info("CNI repair is disable.")
    		return
    	}
    	repairLog.Info("Start CNI race condition repair.")
    
    	client, err := clientSetup()
    	if err != nil {
    		repairLog.Fatalf("CNI repair could not construct clientSet: %s", err)
    	}
    
    	rc, err := NewRepairController(client, cfg)
    	if err != nil {
    		repairLog.Fatalf("Fatal error constructing repair controller: %+v", err)
    	}
    	go rc.Run(ctx.Done())
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  5. istioctl/cmd/istioctl/main.go

    	_ "k8s.io/client-go/plugin/pkg/client/auth"
    
    	"istio.io/istio/istioctl/cmd"
    	"istio.io/istio/pkg/log"
    )
    
    func main() {
    	if err := cmd.ConfigAndEnvProcessing(); err != nil {
    		fmt.Fprintf(os.Stderr, "Could not initialize: %v\n", err)
    		exitCode := cmd.GetExitCode(err)
    		os.Exit(exitCode)
    	}
    
    	rootCmd := cmd.GetRootCmd(os.Args[1:])
    
    	log.EnableKlogWithCobra()
    
    	if err := rootCmd.Execute(); err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/informers.go

    	s.pods.AddEventHandler(controllers.FromEventHandler(func(o controllers.Event) {
    		s.queue.Add(o)
    	}))
    
    	// Namespaces could be anything though, so we watch all of those
    	//
    	// NOTE that we are requeueing namespaces here explicitly to work around
    	// test flakes with the fake kube client in `pkg/kube/client.go` -
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  7. 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 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
  8. common/config/.golangci-format.yml

      - gofumpt
      - gci
      fast: false
    linters-settings:
      gci:
        sections:
          - standard # Captures all standard packages if they do not match another section.
          - default # Contains all imports that could not be matched to another section type.
          - prefix(istio.io/) # Groups all imports with the specified Prefix.
      goimports:
        # put imports beginning with prefix after 3rd-party packages;
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 05 03:02:37 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/events/v1/generated.proto

      // Maximal length of the note is 1kB, but libraries should be prepared to
      // handle values up to 64kB.
      // +optional
      optional string note = 10;
    
      // type is the type of this event (Normal, Warning), new types could be added in the future.
      // It is machine-readable.
      // This field cannot be empty for new Events.
      optional string type = 11;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  10. operator/cmd/mesh/operator-common.go

    	imagePullSecrets []string
    	// operatorNamespace is the namespace the operator controller is installed into.
    	operatorNamespace string
    	// watchedNamespaces is the namespaces the operator controller watches, could be namespace list separated by comma.
    	watchedNamespaces string
    	// istioNamespace is deprecated, use watchedNamespaces instead.
    	istioNamespace 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)
Back to top