Documentation ¶
Index ¶
- type REST
- func (c *REST) ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*metav1.Table, error)
- func (s *REST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
- func (s *REST) List(ctx context.Context, options *metainternalversion.ListOptions) (runtime.Object, error)
- func (s *REST) NamespaceScoped() bool
- func (s *REST) New() runtime.Object
- func (*REST) NewList() runtime.Object
- func (s *REST) Watch(ctx context.Context, options *metainternalversion.ListOptions) (watch.Interface, error)
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
}
func NewREST ¶
func NewREST( client clientset.Interface, lister cache.ClusterLister, clusterCache *cache.ClusterCache, clusterLister clusterv1lister.ManagedClusterLister, clusterRoleLister rbaclisters.ClusterRoleLister, ) *REST
NewREST returns a RESTStorage object that will work against ManagedCluster resources
func (*REST) ConvertToTable ¶
func (*REST) Get ¶
func (s *REST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
Get retrieves a managedCluster by name
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) NamespaceScoped ¶
func (*REST) Watch ¶
func (s *REST) Watch(ctx context.Context, options *metainternalversion.ListOptions) (watch.Interface, error)
Click to show internal directories.
Click to hide internal directories.