package etcd
import "k8s.io/kubernetes/pkg/registry/service/etcd"
Index ¶
Functions ¶
func NewREST ¶
func NewREST(opts generic.RESTOptions) (*REST, *StatusREST)
NewREST returns a RESTStorage object that will work against services.
Types ¶
type REST ¶
type StatusREST ¶
type StatusREST struct {
// contains filtered or unexported fields
}
StatusREST implements the REST endpoint for changing the status of a service.
func (*StatusREST) Get ¶
Get retrieves the object from the storage. It is required to support Patch.
func (*StatusREST) New ¶
func (r *StatusREST) New() runtime.Object
func (*StatusREST) Update ¶
func (r *StatusREST) Update(ctx api.Context, name string, objInfo rest.UpdatedObjectInfo) (runtime.Object, bool, error)
Update alters the status subset of an object.
Source Files ¶
etcd.go
- Version
- v1.4.0-beta.5
- Published
- Sep 15, 2016
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 4 minutes ago –
Tools for package owners.