Documentation ¶
Index ¶
- type REST
- func (s *REST) Create(ctx kapi.Context, obj runtime.Object) (runtime.Object, error)
- func (s *REST) Delete(ctx kapi.Context, name string) (runtime.Object, error)
- func (s *REST) Get(ctx kapi.Context, name string) (runtime.Object, error)
- func (s *REST) List(ctx kapi.Context, options *unversioned.ListOptions) (runtime.Object, error)
- func (s *REST) New() runtime.Object
- func (*REST) NewList() runtime.Object
- func (s *REST) Update(ctx kapi.Context, obj runtime.Object) (runtime.Object, bool, 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 kclient.NamespaceInterface, lister projectauth.Lister) *REST
NewREST returns a RESTStorage object that will work against Project resources
func (*REST) List ¶
func (s *REST) List(ctx kapi.Context, options *unversioned.ListOptions) (runtime.Object, error)
List retrieves a list of Projects that match label.
Click to show internal directories.
Click to hide internal directories.