Documentation ¶
Index ¶
- type REST
- func (r *REST) Categories() []string
- func (c *REST) ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*metav1.Table, error)
- func (s *REST) List(ctx context.Context, options *metainternalversion.ListOptions) (runtime.Object, error)
- func (s *REST) NewList() runtime.Object
- func (c *REST) Watch(ctx context.Context, options *metainternalversion.ListOptions) (watch.Interface, error)
- type ResourceStorage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type REST ¶
type REST struct {
// contains filtered or unexported fields
}
REST implements a RESTStorage for API services against etcd
func (*REST) Categories ¶
Categories implements the CategoriesProvider interface. Returns a list of categories a resource is part of.
func (*REST) ConvertToTable ¶
func (*REST) List ¶
func (s *REST) List(ctx context.Context, options *metainternalversion.ListOptions) (runtime.Object, error)
List retrieves a list of managedCluster that match label.
func (*REST) Watch ¶
func (c *REST) Watch(ctx context.Context, options *metainternalversion.ListOptions) (watch.Interface, error)
type ResourceStorage ¶
type ResourceStorage struct {
Resource *REST
}
ResourceStorage includes dummy storage for CustomResources, and their Status and Scale subresources.
func NewStorage ¶
func NewStorage(gvr schema.GroupVersionResource, seachClient search.Client, tableConverter search.ConverterFunc) ResourceStorage
Click to show internal directories.
Click to hide internal directories.