Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for resourceNames (0.14 sec)

  1. pilot/pkg/model/push_context.go

    // secret access.
    func (ps *PushContext) ReferenceAllowed(kind config.GroupVersionKind, resourceName string, namespace string) bool {
    	// Currently, only Secret has reference policy, and only implemented by Gateway API controller.
    	switch kind {
    	case gvk.Secret:
    		if ps.GatewayAPIController != nil {
    			return ps.GatewayAPIController.SecretAllowed(resourceName, namespace)
    		}
    	default:
    	}
    	return false
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    				{
    					Name: "test",
    				},
    			},
    		},
    		Status: corev1.NodeStatus{
    			Allocatable: map[corev1.ResourceName]resource.Quantity{
    				"cpu": {
    					Format: "500m",
    				},
    			},
    			Capacity: map[corev1.ResourceName]resource.Quantity{
    				"cpu": {
    					Format: "500m",
    				},
    			},
    			Images: []corev1.ContainerImage{
    				{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  3. pkg/controller/endpointslice/endpointslice_controller_test.go

    			}
    		})
    	}
    }
    
    func TestUpdateNode(t *testing.T) {
    	nodeReadyStatus := v1.NodeStatus{
    		Allocatable: map[v1.ResourceName]resource.Quantity{
    			v1.ResourceCPU: resource.MustParse("100m"),
    		},
    		Conditions: []v1.NodeCondition{
    			{
    				Type:   v1.NodeReady,
    				Status: v1.ConditionTrue,
    			},
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
Back to top