Documentation ¶
Index ¶
- type ClusterPolicyBindingRegistry
- func (r *ClusterPolicyBindingRegistry) CreateClusterPolicyBinding(ctx apirequest.Context, policyBinding *authorizationapi.ClusterPolicyBinding) error
- func (r *ClusterPolicyBindingRegistry) DeleteClusterPolicyBinding(ctx apirequest.Context, id string) error
- func (r *ClusterPolicyBindingRegistry) Get(name string) (*authorizationapi.ClusterPolicyBinding, error)
- func (r *ClusterPolicyBindingRegistry) GetClusterPolicyBinding(ctx apirequest.Context, id string, options *metav1.GetOptions) (*authorizationapi.ClusterPolicyBinding, error)
- func (r *ClusterPolicyBindingRegistry) List(label labels.Selector) ([]*authorizationapi.ClusterPolicyBinding, error)
- func (r *ClusterPolicyBindingRegistry) ListClusterPolicyBindings(ctx apirequest.Context, options *metainternal.ListOptions) (*authorizationapi.ClusterPolicyBindingList, error)
- func (r *ClusterPolicyBindingRegistry) UpdateClusterPolicyBinding(ctx apirequest.Context, policyBinding *authorizationapi.ClusterPolicyBinding) error
- func (r *ClusterPolicyBindingRegistry) WatchClusterPolicyBindings(ctx apirequest.Context, options *metainternal.ListOptions) (watch.Interface, error)
- type ClusterPolicyRegistry
- func (r *ClusterPolicyRegistry) CreateClusterPolicy(ctx apirequest.Context, policy *authorizationapi.ClusterPolicy) error
- func (r *ClusterPolicyRegistry) DeleteClusterPolicy(ctx apirequest.Context, id string) error
- func (r *ClusterPolicyRegistry) Get(name string) (*authorizationapi.ClusterPolicy, error)
- func (r *ClusterPolicyRegistry) GetClusterPolicy(ctx apirequest.Context, id string, options *metav1.GetOptions) (*authorizationapi.ClusterPolicy, error)
- func (r *ClusterPolicyRegistry) List(label labels.Selector) ([]*authorizationapi.ClusterPolicy, error)
- func (r *ClusterPolicyRegistry) ListClusterPolicies(ctx apirequest.Context, options *metainternal.ListOptions) (*authorizationapi.ClusterPolicyList, error)
- func (r *ClusterPolicyRegistry) UpdateClusterPolicy(ctx apirequest.Context, policy *authorizationapi.ClusterPolicy) error
- func (r *ClusterPolicyRegistry) WatchClusterPolicies(ctx apirequest.Context, options *metainternal.ListOptions) (watch.Interface, error)
- type PolicyBindingRegistry
- func (r *PolicyBindingRegistry) CreatePolicyBinding(ctx apirequest.Context, policyBinding *authorizationapi.PolicyBinding) error
- func (r *PolicyBindingRegistry) DeletePolicyBinding(ctx apirequest.Context, id string) error
- func (r *PolicyBindingRegistry) GetPolicyBinding(ctx apirequest.Context, id string, options *metav1.GetOptions) (*authorizationapi.PolicyBinding, error)
- func (r *PolicyBindingRegistry) List(_ labels.Selector) ([]*authorizationapi.PolicyBinding, error)
- func (r *PolicyBindingRegistry) ListPolicyBindings(ctx apirequest.Context, options *metainternal.ListOptions) (*authorizationapi.PolicyBindingList, error)
- func (r *PolicyBindingRegistry) PolicyBindings(namespace string) authorizationlister.PolicyBindingNamespaceLister
- func (r *PolicyBindingRegistry) UpdatePolicyBinding(ctx apirequest.Context, policyBinding *authorizationapi.PolicyBinding) error
- func (r *PolicyBindingRegistry) WatchPolicyBindings(ctx apirequest.Context, options *metainternal.ListOptions) (watch.Interface, error)
- type PolicyRegistry
- func (r *PolicyRegistry) CreatePolicy(ctx apirequest.Context, policy *authorizationapi.Policy) error
- func (r *PolicyRegistry) DeletePolicy(ctx apirequest.Context, id string) error
- func (r *PolicyRegistry) GetPolicy(ctx apirequest.Context, id string, options *metav1.GetOptions) (*authorizationapi.Policy, error)
- func (r *PolicyRegistry) List(_ labels.Selector) ([]*authorizationapi.Policy, error)
- func (r *PolicyRegistry) ListPolicies(ctx apirequest.Context, options *metainternal.ListOptions) (*authorizationapi.PolicyList, error)
- func (r *PolicyRegistry) Policies(namespace string) authorizationlister.PolicyNamespaceLister
- func (r *PolicyRegistry) UpdatePolicy(ctx apirequest.Context, policy *authorizationapi.Policy) error
- func (r *PolicyRegistry) WatchPolicies(ctx apirequest.Context, options *metainternal.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterPolicyBindingRegistry ¶ added in v0.5.1
type ClusterPolicyBindingRegistry struct { Err error // contains filtered or unexported fields }
func NewClusterPolicyBindingRegistry ¶ added in v0.5.1
func NewClusterPolicyBindingRegistry(bindings []authorizationapi.ClusterPolicyBinding, err error) *ClusterPolicyBindingRegistry
func (*ClusterPolicyBindingRegistry) CreateClusterPolicyBinding ¶ added in v0.5.1
func (r *ClusterPolicyBindingRegistry) CreateClusterPolicyBinding(ctx apirequest.Context, policyBinding *authorizationapi.ClusterPolicyBinding) error
CreateClusterPolicyBinding creates a new policyBinding.
func (*ClusterPolicyBindingRegistry) DeleteClusterPolicyBinding ¶ added in v0.5.1
func (r *ClusterPolicyBindingRegistry) DeleteClusterPolicyBinding(ctx apirequest.Context, id string) error
DeleteClusterPolicyBinding deletes a policyBinding.
func (*ClusterPolicyBindingRegistry) Get ¶ added in v1.3.0
func (r *ClusterPolicyBindingRegistry) Get(name string) (*authorizationapi.ClusterPolicyBinding, error)
func (*ClusterPolicyBindingRegistry) GetClusterPolicyBinding ¶ added in v0.5.1
func (r *ClusterPolicyBindingRegistry) GetClusterPolicyBinding(ctx apirequest.Context, id string, options *metav1.GetOptions) (*authorizationapi.ClusterPolicyBinding, error)
GetClusterPolicyBinding retrieves a specific policyBinding.
func (*ClusterPolicyBindingRegistry) List ¶ added in v1.3.0
func (r *ClusterPolicyBindingRegistry) List(label labels.Selector) ([]*authorizationapi.ClusterPolicyBinding, error)
func (*ClusterPolicyBindingRegistry) ListClusterPolicyBindings ¶ added in v0.5.1
func (r *ClusterPolicyBindingRegistry) ListClusterPolicyBindings(ctx apirequest.Context, options *metainternal.ListOptions) (*authorizationapi.ClusterPolicyBindingList, error)
ListClusterPolicyBindings obtains list of clusterPolicyBindings that match a selector.
func (*ClusterPolicyBindingRegistry) UpdateClusterPolicyBinding ¶ added in v0.5.1
func (r *ClusterPolicyBindingRegistry) UpdateClusterPolicyBinding(ctx apirequest.Context, policyBinding *authorizationapi.ClusterPolicyBinding) error
UpdateClusterPolicyBinding updates a policyBinding.
func (*ClusterPolicyBindingRegistry) WatchClusterPolicyBindings ¶ added in v0.5.1
func (r *ClusterPolicyBindingRegistry) WatchClusterPolicyBindings(ctx apirequest.Context, options *metainternal.ListOptions) (watch.Interface, error)
type ClusterPolicyRegistry ¶ added in v0.5.1
type ClusterPolicyRegistry struct { Err error // contains filtered or unexported fields }
func NewClusterPolicyRegistry ¶ added in v0.5.1
func NewClusterPolicyRegistry(policies []authorizationapi.ClusterPolicy, err error) *ClusterPolicyRegistry
func (*ClusterPolicyRegistry) CreateClusterPolicy ¶ added in v0.5.1
func (r *ClusterPolicyRegistry) CreateClusterPolicy(ctx apirequest.Context, policy *authorizationapi.ClusterPolicy) error
CreateClusterPolicy creates a new policy.
func (*ClusterPolicyRegistry) DeleteClusterPolicy ¶ added in v0.5.1
func (r *ClusterPolicyRegistry) DeleteClusterPolicy(ctx apirequest.Context, id string) error
DeleteClusterPolicy deletes a policy.
func (*ClusterPolicyRegistry) Get ¶ added in v1.3.0
func (r *ClusterPolicyRegistry) Get(name string) (*authorizationapi.ClusterPolicy, error)
func (*ClusterPolicyRegistry) GetClusterPolicy ¶ added in v0.5.1
func (r *ClusterPolicyRegistry) GetClusterPolicy(ctx apirequest.Context, id string, options *metav1.GetOptions) (*authorizationapi.ClusterPolicy, error)
GetClusterPolicy retrieves a specific policy.
func (*ClusterPolicyRegistry) List ¶ added in v1.3.0
func (r *ClusterPolicyRegistry) List(label labels.Selector) ([]*authorizationapi.ClusterPolicy, error)
func (*ClusterPolicyRegistry) ListClusterPolicies ¶ added in v0.5.1
func (r *ClusterPolicyRegistry) ListClusterPolicies(ctx apirequest.Context, options *metainternal.ListOptions) (*authorizationapi.ClusterPolicyList, error)
ListClusterPolicies obtains list of ListClusterPolicy that match a selector.
func (*ClusterPolicyRegistry) UpdateClusterPolicy ¶ added in v0.5.1
func (r *ClusterPolicyRegistry) UpdateClusterPolicy(ctx apirequest.Context, policy *authorizationapi.ClusterPolicy) error
UpdateClusterPolicy updates a policy.
func (*ClusterPolicyRegistry) WatchClusterPolicies ¶ added in v0.5.1
func (r *ClusterPolicyRegistry) WatchClusterPolicies(ctx apirequest.Context, options *metainternal.ListOptions) (watch.Interface, error)
type PolicyBindingRegistry ¶
type PolicyBindingRegistry struct { Err error // contains filtered or unexported fields }
func NewPolicyBindingRegistry ¶ added in v0.3.2
func NewPolicyBindingRegistry(bindings []authorizationapi.PolicyBinding, err error) *PolicyBindingRegistry
func (*PolicyBindingRegistry) CreatePolicyBinding ¶
func (r *PolicyBindingRegistry) CreatePolicyBinding(ctx apirequest.Context, policyBinding *authorizationapi.PolicyBinding) error
CreatePolicyBinding creates a new policyBinding.
func (*PolicyBindingRegistry) DeletePolicyBinding ¶
func (r *PolicyBindingRegistry) DeletePolicyBinding(ctx apirequest.Context, id string) error
DeletePolicyBinding deletes a policyBinding.
func (*PolicyBindingRegistry) GetPolicyBinding ¶
func (r *PolicyBindingRegistry) GetPolicyBinding(ctx apirequest.Context, id string, options *metav1.GetOptions) (*authorizationapi.PolicyBinding, error)
GetPolicyBinding retrieves a specific policyBinding.
func (*PolicyBindingRegistry) List ¶
func (r *PolicyBindingRegistry) List(_ labels.Selector) ([]*authorizationapi.PolicyBinding, error)
func (*PolicyBindingRegistry) ListPolicyBindings ¶
func (r *PolicyBindingRegistry) ListPolicyBindings(ctx apirequest.Context, options *metainternal.ListOptions) (*authorizationapi.PolicyBindingList, error)
ListPolicyBindings obtains a list of policyBinding that match a selector.
func (*PolicyBindingRegistry) PolicyBindings ¶
func (r *PolicyBindingRegistry) PolicyBindings(namespace string) authorizationlister.PolicyBindingNamespaceLister
func (*PolicyBindingRegistry) UpdatePolicyBinding ¶
func (r *PolicyBindingRegistry) UpdatePolicyBinding(ctx apirequest.Context, policyBinding *authorizationapi.PolicyBinding) error
UpdatePolicyBinding updates a policyBinding.
func (*PolicyBindingRegistry) WatchPolicyBindings ¶ added in v0.3.1
func (r *PolicyBindingRegistry) WatchPolicyBindings(ctx apirequest.Context, options *metainternal.ListOptions) (watch.Interface, error)
type PolicyRegistry ¶
type PolicyRegistry struct { Err error // contains filtered or unexported fields }
func NewPolicyRegistry ¶ added in v0.3.2
func NewPolicyRegistry(policies []authorizationapi.Policy, err error) *PolicyRegistry
func (*PolicyRegistry) CreatePolicy ¶
func (r *PolicyRegistry) CreatePolicy(ctx apirequest.Context, policy *authorizationapi.Policy) error
CreatePolicy creates a new policy.
func (*PolicyRegistry) DeletePolicy ¶
func (r *PolicyRegistry) DeletePolicy(ctx apirequest.Context, id string) error
DeletePolicy deletes a policy.
func (*PolicyRegistry) GetPolicy ¶
func (r *PolicyRegistry) GetPolicy(ctx apirequest.Context, id string, options *metav1.GetOptions) (*authorizationapi.Policy, error)
GetPolicy retrieves a specific policy.
func (*PolicyRegistry) List ¶
func (r *PolicyRegistry) List(_ labels.Selector) ([]*authorizationapi.Policy, error)
func (*PolicyRegistry) ListPolicies ¶
func (r *PolicyRegistry) ListPolicies(ctx apirequest.Context, options *metainternal.ListOptions) (*authorizationapi.PolicyList, error)
ListPolicies obtains a list of policies that match a selector.
func (*PolicyRegistry) Policies ¶
func (r *PolicyRegistry) Policies(namespace string) authorizationlister.PolicyNamespaceLister
func (*PolicyRegistry) UpdatePolicy ¶
func (r *PolicyRegistry) UpdatePolicy(ctx apirequest.Context, policy *authorizationapi.Policy) error
UpdatePolicy updates a policy.
func (*PolicyRegistry) WatchPolicies ¶ added in v0.3.1
func (r *PolicyRegistry) WatchPolicies(ctx apirequest.Context, options *metainternal.ListOptions) (watch.Interface, error)