Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 135 of 135 for SetMode (0.2 sec)

  1. pkg/kubelet/kubelet_node_status_test.go

    			defer testKubelet.Cleanup()
    			kubelet := testKubelet.kubelet
    			// Ensure we capture actions on the heartbeat client only.
    			// We don't set it to nil or GetNode() doesn't read from nodeLister.
    			kubelet.kubeClient = &fake.Clientset{}
    			kubeClient := testKubelet.fakeKubeClient
    
    			node := &v1.Node{
    				ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods.go

    				// when the pod specifies an fsGroup, and if the directory is not created here, Docker will
    				// later auto-create it with the incorrect mode 0750
    				// Make extra care not to escape the volume!
    				perm, err := hu.GetMode(volumePath)
    				if err != nil {
    					return nil, cleanupAction, err
    				}
    				if err := subpather.SafeMakeDir(subPath, volumePath, perm); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  3. pkg/config/validation/validation.go

    		return errs.Unwrap()
    	})
    
    func validateSidecarOutboundTrafficPolicy(tp *networking.OutboundTrafficPolicy) (errs error) {
    	if tp == nil {
    		return
    	}
    	mode := tp.GetMode()
    	if tp.EgressProxy != nil {
    		if mode != networking.OutboundTrafficPolicy_ALLOW_ANY {
    			errs = appendErrors(errs, fmt.Errorf("sidecar: egress_proxy must be set only with ALLOW_ANY outbound_traffic_policy mode"))
    			return
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/podtopologyspread/filtering_test.go

    				}
    			}
    		})
    	}
    }
    
    func TestPreFilterDisabled(t *testing.T) {
    	pod := &v1.Pod{}
    	nodeInfo := framework.NewNodeInfo()
    	node := v1.Node{}
    	nodeInfo.SetNode(&node)
    	_, ctx := ktesting.NewTestContext(t)
    	p := plugintesting.SetupPlugin(ctx, t, topologySpreadFunc, &config.PodTopologySpreadArgs{DefaultingType: config.ListDefaulting}, cache.NewEmptySnapshot())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 143.1K bytes
    - Viewed (0)
  5. operator/pkg/apis/istio/v1alpha1/values_types.pb.go

    func (*OutboundTrafficPolicyConfig) Descriptor() ([]byte, []int) {
    	return file_pkg_apis_istio_v1alpha1_values_types_proto_rawDescGZIP(), []int{20}
    }
    
    func (x *OutboundTrafficPolicyConfig) GetMode() OutboundTrafficPolicyConfig_Mode {
    	if x != nil {
    		return x.Mode
    	}
    	return OutboundTrafficPolicyConfig_ALLOW_ANY
    }
    
    // Configuration for Pilot.
    type PilotConfig struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 329.6K bytes
    - Viewed (0)
Back to top