Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultPolicyGetter ¶
func (*DefaultPolicyGetter) GetValidatingAdmissionPolicy ¶
func (g *DefaultPolicyGetter) GetValidatingAdmissionPolicy(ctx context.Context, name string) (*admissionregistration.ValidatingAdmissionPolicy, error)
type PolicyGetter ¶
type PolicyGetter interface { // GetValidatingAdmissionPolicy returns a GetValidatingAdmissionPolicy // by its name. There is no namespace because it is cluster-scoped. GetValidatingAdmissionPolicy(ctx context.Context, name string) (*admissionregistration.ValidatingAdmissionPolicy, 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.