Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for topLevelScopes (0.12 sec)

  1. pkg/test/framework/testcontext.go

    			fn()
    			return nil
    		}, noskip: true})
    	default:
    		// No cleanup.
    		return
    	}
    }
    
    // topLevelScopes walks up the tree to find all "top level" or "container"
    // scopes. We always want to dump the resources created at the "top level" when
    // their descendant scopes fail.
    func (c *testContext) topLevelScopes() []*scope {
    	var out []*scope
    	current := c.scope.parent
    	for current != nil {
    		if current.topLevel {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top