mirror of
https://github.com/niusmallnan/steve.git
synced 2025-09-09 09:00:31 +00:00
Improve counts and columns
This commit is contained in:
@@ -24,6 +24,10 @@ func NewFactory(cfg *rest.Config) (*Factory, error) {
|
||||
}, nil
|
||||
}
|
||||
|
||||
func (p *Factory) DynamicClient() dynamic.Interface {
|
||||
return p.client
|
||||
}
|
||||
|
||||
func (p *Factory) Client(ctx *types.APIRequest, s *types.Schema) (dynamic.ResourceInterface, error) {
|
||||
gvr := attributes.GVR(s)
|
||||
if len(ctx.Namespaces) > 0 {
|
||||
|
Reference in New Issue
Block a user