Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStrategy ¶
func NewStrategy(typer runtime.ObjectTyper, namespaceScoped bool, kind schema.GroupVersionKind, validator *validate.SchemaValidator) customResourceDefinitionStorageStrategy
Types ¶
type REST ¶
type REST struct {
*genericregistry.Store
}
REST implements a RESTStorage for API services against etcd
func NewREST ¶
func NewREST(resource schema.GroupResource, listKind schema.GroupVersionKind, strategy customResourceDefinitionStorageStrategy, optsGetter generic.RESTOptionsGetter) *REST
NewREST returns a RESTStorage object that will work against API services.
func (*REST) Get ¶ added in v1.8.15
func (r *REST) Get(ctx genericapirequest.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
func (*REST) List ¶ added in v1.8.15
func (e *REST) List(ctx genericapirequest.Context, options *metainternalversion.ListOptions) (runtime.Object, error)
List returns a list of items matching labels and field according to the store's PredicateFunc.
Click to show internal directories.
Click to hide internal directories.