Documentation ¶
Overview ¶
Package controller provides Registry interface and it's RESTStorage implementation for storing ReplicationController api objects.
Index ¶
- type PodLister
- type REST
- func (rs *REST) Create(obj runtime.Object) (<-chan runtime.Object, error)
- func (rs *REST) Delete(id string) (<-chan runtime.Object, error)
- func (rs *REST) Get(id string) (runtime.Object, error)
- func (rs *REST) List(selector labels.Selector) (runtime.Object, error)
- func (*REST) New() runtime.Object
- func (rs *REST) Update(obj runtime.Object) (<-chan runtime.Object, error)
- func (rs *REST) Watch(label, field labels.Selector, resourceVersion uint64) (watch.Interface, error)
- type Registry
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 apiserver.RESTStorage for the replication controller service.
type Registry ¶
type Registry interface { ListControllers() (*api.ReplicationControllerList, error) WatchControllers(resourceVersion uint64) (watch.Interface, error) GetController(controllerID string) (*api.ReplicationController, error) CreateController(controller *api.ReplicationController) error UpdateController(controller *api.ReplicationController) error DeleteController(controllerID string) error }
Registry is an interface for things that know how to store ReplicationControllers.
Click to show internal directories.
Click to hide internal directories.