package etcd
import "k8s.io/kubernetes/pkg/registry/certificates/etcd"
Index ¶
- func NewREST(opts generic.RESTOptions) (*REST, *StatusREST, *ApprovalREST)
- type ApprovalREST
- func (r *ApprovalREST) New() runtime.Object
- func (r *ApprovalREST) Update(ctx api.Context, name string, objInfo rest.UpdatedObjectInfo) (runtime.Object, bool, error)
- type REST
- type StatusREST
Functions ¶
func NewREST ¶
func NewREST(opts generic.RESTOptions) (*REST, *StatusREST, *ApprovalREST)
NewREST returns a registry which will store CertificateSigningRequest in the given helper
Types ¶
type ApprovalREST ¶
type ApprovalREST struct {
// contains filtered or unexported fields
}
ApprovalREST implements the REST endpoint for changing the approval state of a CSR.
func (*ApprovalREST) New ¶
func (r *ApprovalREST) New() runtime.Object
func (*ApprovalREST) Update ¶
func (r *ApprovalREST) Update(ctx api.Context, name string, objInfo rest.UpdatedObjectInfo) (runtime.Object, bool, error)
Update alters the approval subset of an object.
type REST ¶
REST implements a RESTStorage for CertificateSigningRequest against etcd
type StatusREST ¶
type StatusREST struct {
// contains filtered or unexported fields
}
StatusREST implements the REST endpoint for changing the status of a CSR.
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
- 11 packages
- Last checked
- 11 minutes ago –
Tools for package owners.