Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultPolicyGetter ¶
func (*DefaultPolicyGetter) GetMutatingAdmissionPolicy ¶
func (g *DefaultPolicyGetter) GetMutatingAdmissionPolicy(ctx context.Context, name string) (*admissionregistration.MutatingAdmissionPolicy, error)
type PolicyGetter ¶
type PolicyGetter interface { // GetMutatingAdmissionPolicy returns a GetMutatingAdmissionPolicy // by its name. There is no namespace because it is cluster-scoped. GetMutatingAdmissionPolicy(ctx context.Context, name string) (*admissionregistration.MutatingAdmissionPolicy, error) }
type REST ¶
type REST struct {
*genericregistry.Store
}
REST implements a RESTStorage for policyBinding against etcd
func NewREST ¶
func NewREST(optsGetter generic.RESTOptionsGetter, authorizer authorizer.Authorizer, policyGetter PolicyGetter, resourceResolver resolver.ResourceResolver) (*REST, error)
NewREST returns a RESTStorage object that will work against policyBinding.
func (*REST) Categories ¶
Categories implements the CategoriesProvider interface. Returns a list of categories a resource is part of.
Click to show internal directories.
Click to hide internal directories.