Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for listCollection (0.17 sec)

  1. pkg/controller/namespace/deletion/namespaced_resources_deleter.go

    	return true, err
    }
    
    // listCollection will list the items in the specified namespace
    // it returns the following:
    //
    //	the list of items in the collection (if found)
    //	a boolean if the operation is supported
    //	an error if the operation is supported but could not be completed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 07:34:23 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  2. pkg/ctrlz/topics/collection.go

    type listContext struct {
    	Collection string
    	Keys       []string
    	Error      string
    }
    
    func (c *collectionTopic) handleCollection(w http.ResponseWriter, _ *http.Request, collection string) {
    	k, err := c.listCollection(collection)
    	context := listContext{}
    	if err == nil {
    		context.Collection = collection
    		context.Keys = k
    	} else {
    		context.Error = err.Error()
    	}
    	fw.RenderHTML(w, c.listTmpl, context)
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top