Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for handleClose (0.14 sec)

  1. pkg/test/framework/integration/component.go

    type component struct {
    	name        string
    	id          resource.ID
    	handleClose func(*component)
    }
    
    func (c *component) ID() resource.ID {
    	return c.id
    }
    
    func (c *component) Close() error {
    	if c.handleClose != nil {
    		c.handleClose(c)
    	}
    	return nil
    }
    
    func newComponent(ctx resource.Context, name string, handleClose func(*component)) *component {
    	c := &component{
    		name:        name,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 1.1K bytes
    - Viewed (0)
Back to top