Documentation
¶
Index ¶
- func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST)
- type REST
- type StatusREST
- func (r *StatusREST) Get(ctx genericapirequest.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
- func (r *StatusREST) New() runtime.Object
- func (r *StatusREST) Update(ctx genericapirequest.Context, name string, objInfo rest.UpdatedObjectInfo, ...) (runtime.Object, bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type REST ¶
type REST struct {
*genericregistry.Store
}
func (*REST) Categories ¶ added in v1.7.0
func (r *REST) Categories() []string
Categories implements the CategoriesProvider interface. Returns a list of categories a resource is part of.
func (*REST) ShortNames ¶
func (r *REST) ShortNames() []string
ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource.
type StatusREST ¶
type StatusREST struct {
// contains filtered or unexported fields
}
StatusREST implements the REST endpoint for changing the status of a service.
Click to show internal directories.
Click to hide internal directories.