mirror of
https://github.com/rancher/norman.git
synced 2025-09-12 13:26:13 +00:00
More initial dev
This commit is contained in:
19
clientbase/client.go
Normal file
19
clientbase/client.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package clientbase
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/rancher/norman/types"
|
||||
)
|
||||
|
||||
type APIBaseClient struct {
|
||||
Ops *APIOperations
|
||||
Opts *ClientOpts
|
||||
Types map[string]types.Schema
|
||||
}
|
||||
|
||||
type APIOperations struct {
|
||||
Opts *ClientOpts
|
||||
Types map[string]types.Schema
|
||||
Client *http.Client
|
||||
}
|
Reference in New Issue
Block a user