Documentation ¶
Index ¶
- type AdmissionHookFunc
- type REST
- func (r *REST) Create(ctx context.Context, obj runtime.Object, _ rest.ValidateObjectFunc, ...) (runtime.Object, error)
- func (r *REST) Destroy()
- func (r *REST) GetSingularName() string
- func (r *REST) GroupVersionKind(_ schema.GroupVersion) schema.GroupVersionKind
- func (r *REST) NamespaceScoped() bool
- func (r *REST) New() runtime.Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdmissionHookFunc ¶
type AdmissionHookFunc func(req *admission.AdmissionRequest) *admission.AdmissionResponse
type REST ¶
type REST struct {
// contains filtered or unexported fields
}
func NewREST ¶
func NewREST(hookFn AdmissionHookFunc) *REST
func (*REST) GetSingularName ¶ added in v0.29.1
func (*REST) GroupVersionKind ¶
func (r *REST) GroupVersionKind(_ schema.GroupVersion) schema.GroupVersionKind
func (*REST) NamespaceScoped ¶
Click to show internal directories.
Click to hide internal directories.