package
Version:
v1.4.0-beta.3
Opens a new window with list of versions in this module.
Published: Sep 12, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewREST(opts generic.RESTOptions) (*REST, *StatusREST, *ApprovalREST)
NewREST returns a registry which will store CertificateSigningRequest in the given helper
type ApprovalREST struct {
}
ApprovalREST implements the REST endpoint for changing the approval state of a CSR.
func (r *ApprovalREST) New() runtime.Object
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 struct {
*registry.Store
}
REST implements a RESTStorage for CertificateSigningRequest against etcd
type StatusREST struct {
}
StatusREST implements the REST endpoint for changing the status of a CSR.
func (r *StatusREST) New() runtime.Object
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
¶
Click to show internal directories.
Click to hide internal directories.