Documentation ¶
Index ¶
- func NewProxyStore(clientGetter ClientGetter) types.Store
- type AddAPIVersionKind
- type ClientFactory
- type ClientGetter
- type Store
- func (s *Store) ByID(apiOp *types.APIRequest, schema *types.Schema, id string) (types.APIObject, error)
- func (s *Store) Create(apiOp *types.APIRequest, schema *types.Schema, params types.APIObject) (types.APIObject, error)
- func (s *Store) Delete(apiOp *types.APIRequest, schema *types.Schema, id string) (types.APIObject, error)
- func (s *Store) List(apiOp *types.APIRequest, schema *types.Schema, opt *types.QueryOptions) (types.APIObject, error)
- func (s *Store) Update(apiOp *types.APIRequest, schema *types.Schema, params types.APIObject, ...) (types.APIObject, error)
- func (s *Store) Watch(apiOp *types.APIRequest, schema *types.Schema, w types.WatchRequest) (chan types.APIEvent, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProxyStore ¶
func NewProxyStore(clientGetter ClientGetter) types.Store
Types ¶
type AddAPIVersionKind ¶
func (AddAPIVersionKind) FromInternal ¶
func (d AddAPIVersionKind) FromInternal(data data.Object)
func (AddAPIVersionKind) ModifySchema ¶
func (AddAPIVersionKind) ToInternal ¶
func (d AddAPIVersionKind) ToInternal(data data.Object) error
type ClientFactory ¶
type ClientFactory struct {
// contains filtered or unexported fields
}
func NewClientFactory ¶
func NewClientFactory(cfg *rest.Config) *ClientFactory
func (*ClientFactory) Client ¶
func (p *ClientFactory) Client(ctx *types.APIRequest, schema *types.Schema) (dynamic.ResourceInterface, error)
func (*ClientFactory) Register ¶
func (p *ClientFactory) Register(schema *types.Schema, gvr schema.GroupVersionResource)
type ClientGetter ¶
type ClientGetter interface {
Client(ctx *types.APIRequest, schema *types.Schema) (dynamic.ResourceInterface, error)
}
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) List ¶
func (s *Store) List(apiOp *types.APIRequest, schema *types.Schema, opt *types.QueryOptions) (types.APIObject, error)
Click to show internal directories.
Click to hide internal directories.