Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for write (0.13 sec)

  1. cni/pkg/repair/repaircontroller.go

    		Preconditions: preconditions,
    	})
    	if err != nil {
    		c.events.Write(pod, corev1.EventTypeWarning, ReasonDeleteBrokenPod, "pod detected as broken, but failed to delete: %v", err)
    		m.With(resultLabel.Value(resultFail)).Increment()
    		return err
    	}
    	c.events.Write(pod, corev1.EventTypeWarning, ReasonDeleteBrokenPod, "pod detected as broken, deleted")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/tag.go

    }
    
    // listTags lists existing revision.
    func listTags(ctx context.Context, kubeClient kubernetes.Interface, writer io.Writer) error {
    	tagWebhooks, err := GetRevisionWebhooks(ctx, kubeClient)
    	if err != nil {
    		return fmt.Errorf("failed to retrieve revision tags: %v", err)
    	}
    	if len(tagWebhooks) == 0 {
    		fmt.Fprintf(writer, "No Istio revision tag MutatingWebhookConfigurations to list\n")
    		return nil
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  3. istioctl/pkg/admin/istiodconfig.go

    				return err
    			}
    		}
    		_, err = out.Write(outputBytes)
    		return err
    	default:
    		return fmt.Errorf("output format %q not supported", ga.outputFormat)
    	}
    }
    
    type istiodConfigLog struct {
    	state flagState
    }
    
    func (id *istiodConfigLog) execute(out io.Writer) error {
    	return id.state.run(out)
    }
    
    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)
  4. common-protos/k8s.io/api/networking/v1/generated.proto

      // (whether or not they contain an ingress section) are assumed to affect ingress.
      // If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ].
      // Likewise, if you want to write a policy that specifies that no egress is allowed,
      // you must specify a policyTypes value that include "Egress" (since such a policy would not include
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  5. cni/pkg/plugin/plugin_test.go

    		cniAddServerCalled = true
    		if serverErr {
    			res.WriteHeader(http.StatusInternalServerError)
    			res.Write([]byte("server not happy"))
    			return
    		}
    		res.WriteHeader(http.StatusOK)
    		res.Write([]byte("server happy"))
    	}))
    
    	return testServer.URL, func() bool {
    		testServer.Close()
    		return cniAddServerCalled
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  6. cni/pkg/install/install.go

    		return copiedFiles, fmt.Errorf("write kubeconfig: %v", err)
    	}
    
    	// Install CNI netdir config (if needed) - we write/update this in the shared node CNI netdir,
    	// which may be watched by other CNIs, and so we don't want to trigger writes to this file
    	// unless it's missing or the contents are not what we expect.
    	if err := checkValidCNIConfig(in.cfg, in.cniConfigFilepath); err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  7. cni/pkg/install/cniconfig.go

    		if err != nil {
    			return "", err
    		}
    	}
    
    	if err = file.AtomicWrite(cniConfigFilepath, cniConfig, os.FileMode(0o644)); err != nil {
    		installLog.Errorf("Failed to write CNI config file %v: %v", cniConfigFilepath, err)
    		return cniConfigFilepath, err
    	}
    
    	if cfg.chainedCNIPlugin && strings.HasSuffix(cniConfigFilepath, ".conf") {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  8. cni/test/install_cni.go

    	data, err := os.ReadFile(src)
    	if err != nil {
    		t.Fatalf("Failed to read file %v, err: %v", src, err)
    	}
    	if err = os.WriteFile(dest, data, os.FileMode(defaultFileMode)); err != nil {
    		t.Fatalf("Failed to write file %v, err: %v", dest, err)
    	}
    }
    
    func rmDir(dir string, t *testing.T) {
    	t.Helper()
    	err := os.RemoveAll(dir)
    	if err != nil {
    		t.Fatalf("Failed to remove dir %v, err: %v", dir, err)
    	}
    }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  9. istioctl/pkg/waypoint/waypoint.go

    				List(context.Background(), metav1.ListOptions{})
    			if err != nil {
    				return err
    			}
    			if len(gws.Items) == 0 {
    				fmt.Fprintln(writer, "No waypoints found.")
    				return nil
    			}
    			w := new(tabwriter.Writer).Init(writer, 0, 8, 5, ' ', 0)
    			slices.SortFunc(gws.Items, func(i, j gateway.Gateway) int {
    				if r := cmp.Compare(i.Namespace, j.Namespace); r != 0 {
    					return r
    				}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/authorization/v1beta1/generated.proto

      //  "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups.
      // +optional
      repeated string resources = 3;
    
      // ResourceNames is an optional white list of names that the rule applies to.  An empty set means that everything is allowed.  "*" means all.
      // +optional
      repeated string resourceNames = 4;
    }
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
Back to top