Documentation ¶
Index ¶
- type ResourceGetter
- func (r ResourceGetter) Add(resource string, getter v1alpha2.Interface)
- func (r *ResourceGetter) GetResource(namespace, resource, name string) (interface{}, error)
- func (r *ResourceGetter) ListResources(namespace, resource string, conditions *params.Conditions, orderBy string, ...) (*models.PageableResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceGetter ¶
type ResourceGetter struct {
// contains filtered or unexported fields
}
func NewResourceGetter ¶
func NewResourceGetter(factory informers.InformerFactory) *ResourceGetter
func (*ResourceGetter) GetResource ¶
func (r *ResourceGetter) GetResource(namespace, resource, name string) (interface{}, error)
func (*ResourceGetter) ListResources ¶
func (r *ResourceGetter) ListResources(namespace, resource string, conditions *params.Conditions, orderBy string, reverse bool, limit, offset int) (*models.PageableResponse, error)
Click to show internal directories.
Click to hide internal directories.