Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestStatefulSetStatusStrategy (0.3 sec)

  1. pkg/registry/apps/statefulset/strategy_test.go

    	errs = Strategy.ValidateUpdate(ctx, validPs, ps)
    	if len(errs) == 0 {
    		t.Errorf("expected a validation error since updates are disallowed on statefulsets.")
    	}
    }
    
    func TestStatefulSetStatusStrategy(t *testing.T) {
    	ctx := genericapirequest.NewDefaultContext()
    	if !StatusStrategy.NamespaceScoped() {
    		t.Errorf("StatefulSet must be namespace scoped")
    	}
    	if StatusStrategy.AllowCreateOnUpdate() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top