Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,685 for FRAMEWORK (0.14 sec)

  1. tests/integration/security/util/framework.go

    	"istio.io/istio/pkg/config/protocol"
    	"istio.io/istio/pkg/test/echo/common"
    	"istio.io/istio/pkg/test/env"
    	"istio.io/istio/pkg/test/framework/components/echo"
    	"istio.io/istio/pkg/test/framework/components/echo/match"
    	"istio.io/istio/pkg/test/framework/components/namespace"
    	"istio.io/istio/pkg/test/framework/resource"
    )
    
    const (
    	ASvc             = "a"
    	BSvc             = "b"
    	CSvc             = "c"
    	DSvc             = "d"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/antMigration/fileDeps/groovy/libs/awesome-framework-2.0.jar

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 198 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/antMigration/fileDeps/kotlin/libs/awesome-framework-2.0.jar

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 198 bytes
    - Viewed (0)
  4. pkg/scheduler/testing/framework/fake_plugins.go

    func (pl *FalseFilterPlugin) Filter(_ context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status {
    	return framework.NewStatus(framework.Unschedulable, ErrReasonFake)
    }
    
    // NewFalseFilterPlugin initializes a FalseFilterPlugin and returns it.
    func NewFalseFilterPlugin(_ context.Context, _ runtime.Object, _ framework.Handle) (framework.Plugin, error) {
    	return &FalseFilterPlugin{}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/examples/multipoint/multipoint.go

    }
    
    func (s *stateData) Clone() framework.StateData {
    	copy := &stateData{
    		data: s.data,
    	}
    	return copy
    }
    
    // Reserve is the function invoked by the framework at "reserve" extension point.
    func (mc CommunicatingPlugin) Reserve(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeName string) *framework.Status {
    	if pod == nil {
    		return framework.NewStatus(framework.Error, "pod cannot be nil")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 03:43:17 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/runtime/instrumented_plugins.go

    	"k8s.io/kubernetes/pkg/scheduler/framework"
    )
    
    type instrumentedFilterPlugin struct {
    	framework.FilterPlugin
    
    	metric compbasemetrics.CounterMetric
    }
    
    var _ framework.FilterPlugin = &instrumentedFilterPlugin{}
    
    func (p *instrumentedFilterPlugin) Filter(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status {
    	p.metric.Inc()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/nodeports/node_ports.go

    	wantPorts, err := getPreFilterState(cycleState)
    	if err != nil {
    		return framework.AsStatus(err)
    	}
    
    	fits := fitsPorts(wantPorts, nodeInfo)
    	if !fits {
    		return framework.NewStatus(framework.Unschedulable, ErrReason)
    	}
    
    	return nil
    }
    
    // Fits checks if the pod fits the node.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 10:53:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/autoscaler_contract/framework_contract_test.go

    )
    
    type frameworkContract interface {
    	RunPreFilterPlugins(ctx context.Context, state *framework.CycleState, pod *v1.Pod) (*framework.PreFilterResult, *framework.Status)
    	RunFilterPlugins(context.Context, *framework.CycleState, *v1.Pod, *framework.NodeInfo) *framework.Status
    }
    
    func TestFrameworkContract(t *testing.T) {
    	var f framework.Framework
    	var c frameworkContract = f
    	assert.Nil(t, c)
    }
    
    func TestNewFramework(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 23 02:17:34 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/nodename/node_name.go

    // EventsToRegister returns the possible events that may make a Pod
    // failed by this plugin schedulable.
    func (pl *NodeName) EventsToRegister() []framework.ClusterEventWithHint {
    	return []framework.ClusterEventWithHint{
    		{Event: framework.ClusterEvent{Resource: framework.Node, ActionType: framework.Add | framework.Update}},
    	}
    }
    
    // Name returns name of the plugin. It is used in logs, etc.
    func (pl *NodeName) Name() string {
    	return Name
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 20 09:49:54 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. pkg/scheduler/internal/cache/snapshot.go

    	nodeInfoList []*framework.NodeInfo
    	// havePodsWithAffinityNodeInfoList is the list of nodes with at least one pod declaring affinity terms.
    	havePodsWithAffinityNodeInfoList []*framework.NodeInfo
    	// havePodsWithRequiredAntiAffinityNodeInfoList is the list of nodes with at least one pod declaring
    	// required anti-affinity terms.
    	havePodsWithRequiredAntiAffinityNodeInfoList []*framework.NodeInfo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top