Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 301 for flowcontrolv1 (0.16 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/match_test.go

    		Subjects: []flowcontrol.Subject{{Kind: flowcontrol.SubjectKindUser,
    			User: &flowcontrol.UserSubject{Name: "goodu"}}},
    		NonResourceRules: []flowcontrol.NonResourcePolicyRule{{
    			Verbs:           []string{"badverb"},
    			NonResourceURLs: []string{"/openapi/v2"}}}}, {
    		Subjects: []flowcontrol.Subject{{Kind: flowcontrol.SubjectKindUser,
    			User: &flowcontrol.UserSubject{Name: "goodu"}}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  2. pkg/apis/flowcontrol/v1beta3/zz_generated.conversion.go

    	out.Type = flowcontrol.PriorityLevelEnablement(in.Type)
    	out.Limited = (*flowcontrol.LimitedPriorityLevelConfiguration)(unsafe.Pointer(in.Limited))
    	out.Exempt = (*flowcontrol.ExemptPriorityLevelConfiguration)(unsafe.Pointer(in.Exempt))
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:41 UTC 2023
    - 53.1K bytes
    - Viewed (0)
  3. pkg/apis/flowcontrol/v1/zz_generated.conversion.go

    // Code generated by conversion-gen. DO NOT EDIT.
    
    package v1
    
    import (
    	unsafe "unsafe"
    
    	v1 "k8s.io/api/flowcontrol/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	conversion "k8s.io/apimachinery/pkg/conversion"
    	runtime "k8s.io/apimachinery/pkg/runtime"
    	flowcontrol "k8s.io/kubernetes/pkg/apis/flowcontrol"
    )
    
    func init() {
    	localSchemeBuilder.Register(RegisterConversions)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:41 UTC 2023
    - 52.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/gen_test.go

    func genPL(rng *rand.Rand, name string) *flowcontrol.PriorityLevelConfiguration {
    	plc := &flowcontrol.PriorityLevelConfiguration{
    		ObjectMeta: metav1.ObjectMeta{Name: name},
    		Spec: flowcontrol.PriorityLevelConfigurationSpec{
    			Type: flowcontrol.PriorityLevelEnablementLimited,
    			Limited: &flowcontrol.LimitedPriorityLevelConfiguration{
    				NominalConcurrencyShares: ptr.To(int32(rng.Int31n(100) + 1)),
    				LimitResponse: flowcontrol.LimitResponse{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/apihelpers/helpers.go

    limitations under the License.
    */
    
    package apihelpers
    
    import (
    	"sort"
    
    	flowcontrol "k8s.io/api/flowcontrol/v1"
    )
    
    // SetFlowSchemaCondition sets conditions.
    func SetFlowSchemaCondition(flowSchema *flowcontrol.FlowSchema, newCondition flowcontrol.FlowSchemaCondition) {
    	existingCondition := GetFlowSchemaConditionByType(flowSchema, newCondition.Type)
    	if existingCondition == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. pkg/apis/flowcontrol/v1beta1/conversion_test.go

    					Type: v1beta1.LimitResponseTypeReject,
    				},
    			},
    			expected: &flowcontrol.LimitedPriorityLevelConfiguration{
    				NominalConcurrencyShares: 100,
    				LimitResponse: flowcontrol.LimitResponse{
    					Type: flowcontrol.LimitResponseTypeReject,
    				},
    			},
    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			out := &flowcontrol.LimitedPriorityLevelConfiguration{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 26 19:34:10 UTC 2022
    - 3K bytes
    - Viewed (0)
  7. pkg/registry/flowcontrol/flowschema/strategy.go

    	fields := map[fieldpath.APIVersion]*fieldpath.Set{
    		"flowcontrol.apiserver.k8s.io/v1beta1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"flowcontrol.apiserver.k8s.io/v1beta2": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"flowcontrol.apiserver.k8s.io/v1beta3": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"flowcontrol.apiserver.k8s.io/v1": fieldpath.NewSet(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 11:48:22 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/apis/flowcontrol/bootstrap/default.go

    		flowcontrol.FlowDistinguisherMethodByNamespaceType,
    		flowcontrol.PolicyRulesWithSubjects{
    			Subjects: kubeSystemServiceAccount(flowcontrol.NameAll),
    			ResourceRules: []flowcontrol.ResourcePolicyRule{resourceRule(
    				[]string{flowcontrol.VerbAll},
    				[]string{flowcontrol.APIGroupAll},
    				[]string{flowcontrol.ResourceAll},
    				[]string{flowcontrol.NamespaceEvery},
    				true)},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  9. pkg/apis/flowcontrol/v1beta1/zz_generated.conversion.go

    */
    
    // Code generated by conversion-gen. DO NOT EDIT.
    
    package v1beta1
    
    import (
    	unsafe "unsafe"
    
    	v1beta1 "k8s.io/api/flowcontrol/v1beta1"
    	conversion "k8s.io/apimachinery/pkg/conversion"
    	runtime "k8s.io/apimachinery/pkg/runtime"
    	flowcontrol "k8s.io/kubernetes/pkg/apis/flowcontrol"
    )
    
    func init() {
    	localSchemeBuilder.Register(RegisterConversions)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:00:06 UTC 2023
    - 53.5K bytes
    - Viewed (0)
  10. pkg/apis/flowcontrol/v1beta2/zz_generated.conversion.go

    */
    
    // Code generated by conversion-gen. DO NOT EDIT.
    
    package v1beta2
    
    import (
    	unsafe "unsafe"
    
    	v1beta2 "k8s.io/api/flowcontrol/v1beta2"
    	conversion "k8s.io/apimachinery/pkg/conversion"
    	runtime "k8s.io/apimachinery/pkg/runtime"
    	flowcontrol "k8s.io/kubernetes/pkg/apis/flowcontrol"
    )
    
    func init() {
    	localSchemeBuilder.Register(RegisterConversions)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:00:06 UTC 2023
    - 53.5K bytes
    - Viewed (0)
Back to top