Documentation ¶
Overview ¶
Package deployconfig provides Registry interface and its RESTStorage implementation for storing DeploymentConfig api objects.
Index ¶
- type REST
- func (s *REST) Create(ctx kapi.Context, obj runtime.Object) (runtime.Object, error)
- func (s *REST) Delete(ctx kapi.Context, id string) (runtime.Object, error)
- func (s *REST) Get(ctx kapi.Context, id string) (runtime.Object, error)
- func (s *REST) List(ctx kapi.Context, label labels.Selector, field fields.Selector) (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)
- func (s *REST) Watch(ctx kapi.Context, label labels.Selector, field fields.Selector, ...) (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 is an implementation of RESTStorage for the api server.
func (*REST) List ¶
func (s *REST) List(ctx kapi.Context, label labels.Selector, field fields.Selector) (runtime.Object, error)
List obtains a list of DeploymentConfigs that match selector.
type Registry ¶
type Registry interface { ListDeploymentConfigs(ctx kapi.Context, label labels.Selector, field fields.Selector) (*deployapi.DeploymentConfigList, error) WatchDeploymentConfigs(ctx kapi.Context, label labels.Selector, field fields.Selector, resourceVersion string) (watch.Interface, error) GetDeploymentConfig(ctx kapi.Context, id string) (*deployapi.DeploymentConfig, error) CreateDeploymentConfig(ctx kapi.Context, deploymentConfig *deployapi.DeploymentConfig) error UpdateDeploymentConfig(ctx kapi.Context, deploymentConfig *deployapi.DeploymentConfig) error DeleteDeploymentConfig(ctx kapi.Context, id string) error }
Registry is an interface for things that know how to store DeploymentConfigs.
Click to show internal directories.
Click to hide internal directories.