Documentation ¶
Index ¶
- type ClusterPolicyBindingRegistry
- func (r *ClusterPolicyBindingRegistry) CreateClusterPolicyBinding(ctx kapi.Context, policyBinding *authorizationapi.ClusterPolicyBinding) error
- func (r *ClusterPolicyBindingRegistry) DeleteClusterPolicyBinding(ctx kapi.Context, id string) error
- func (r *ClusterPolicyBindingRegistry) GetClusterPolicyBinding(ctx kapi.Context, id string) (*authorizationapi.ClusterPolicyBinding, error)
- func (r *ClusterPolicyBindingRegistry) ListClusterPolicyBindings(ctx kapi.Context, options *kapi.ListOptions) (*authorizationapi.ClusterPolicyBindingList, error)
- func (r *ClusterPolicyBindingRegistry) UpdateClusterPolicyBinding(ctx kapi.Context, policyBinding *authorizationapi.ClusterPolicyBinding) error
- func (r *ClusterPolicyBindingRegistry) WatchClusterPolicyBindings(ctx kapi.Context, options *kapi.ListOptions) (watch.Interface, error)
- type ClusterPolicyRegistry
- func (r *ClusterPolicyRegistry) CreateClusterPolicy(ctx kapi.Context, policy *authorizationapi.ClusterPolicy) error
- func (r *ClusterPolicyRegistry) DeleteClusterPolicy(ctx kapi.Context, id string) error
- func (r *ClusterPolicyRegistry) GetClusterPolicy(ctx kapi.Context, id string) (*authorizationapi.ClusterPolicy, error)
- func (r *ClusterPolicyRegistry) ListClusterPolicies(ctx kapi.Context, options *kapi.ListOptions) (*authorizationapi.ClusterPolicyList, error)
- func (r *ClusterPolicyRegistry) UpdateClusterPolicy(ctx kapi.Context, policy *authorizationapi.ClusterPolicy) error
- func (r *ClusterPolicyRegistry) WatchClusterPolicies(ctx kapi.Context, options *kapi.ListOptions) (watch.Interface, error)
- type PolicyBindingRegistry
- func (r *PolicyBindingRegistry) CreatePolicyBinding(ctx kapi.Context, policyBinding *authorizationapi.PolicyBinding) error
- func (r *PolicyBindingRegistry) DeletePolicyBinding(ctx kapi.Context, id string) error
- func (r *PolicyBindingRegistry) GetPolicyBinding(ctx kapi.Context, id string) (*authorizationapi.PolicyBinding, error)
- func (r *PolicyBindingRegistry) ListPolicyBindings(ctx kapi.Context, options *kapi.ListOptions) (*authorizationapi.PolicyBindingList, error)
- func (r *PolicyBindingRegistry) UpdatePolicyBinding(ctx kapi.Context, policyBinding *authorizationapi.PolicyBinding) error
- func (r *PolicyBindingRegistry) WatchPolicyBindings(ctx kapi.Context, options *kapi.ListOptions) (watch.Interface, error)
- type PolicyRegistry
- func (r *PolicyRegistry) CreatePolicy(ctx kapi.Context, policy *authorizationapi.Policy) error
- func (r *PolicyRegistry) DeletePolicy(ctx kapi.Context, id string) error
- func (r *PolicyRegistry) GetPolicy(ctx kapi.Context, id string) (*authorizationapi.Policy, error)
- func (r *PolicyRegistry) ListPolicies(ctx kapi.Context, options *kapi.ListOptions) (*authorizationapi.PolicyList, error)
- func (r *PolicyRegistry) UpdatePolicy(ctx kapi.Context, policy *authorizationapi.Policy) error
- func (r *PolicyRegistry) WatchPolicies(ctx kapi.Context, options *kapi.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterPolicyBindingRegistry ¶
type ClusterPolicyBindingRegistry struct { // ClusterPolicyBindings is a of namespace->name->ClusterPolicyBinding ClusterPolicyBindings map[string]map[string]authorizationapi.ClusterPolicyBinding Err error }
func NewClusterPolicyBindingRegistry ¶
func NewClusterPolicyBindingRegistry(bindings []authorizationapi.ClusterPolicyBinding, err error) *ClusterPolicyBindingRegistry
func (*ClusterPolicyBindingRegistry) CreateClusterPolicyBinding ¶
func (r *ClusterPolicyBindingRegistry) CreateClusterPolicyBinding(ctx kapi.Context, policyBinding *authorizationapi.ClusterPolicyBinding) error
CreateClusterPolicyBinding creates a new policyBinding.
func (*ClusterPolicyBindingRegistry) DeleteClusterPolicyBinding ¶
func (r *ClusterPolicyBindingRegistry) DeleteClusterPolicyBinding(ctx kapi.Context, id string) error
DeleteClusterPolicyBinding deletes a policyBinding.
func (*ClusterPolicyBindingRegistry) GetClusterPolicyBinding ¶
func (r *ClusterPolicyBindingRegistry) GetClusterPolicyBinding(ctx kapi.Context, id string) (*authorizationapi.ClusterPolicyBinding, error)
GetClusterPolicyBinding retrieves a specific policyBinding.
func (*ClusterPolicyBindingRegistry) ListClusterPolicyBindings ¶
func (r *ClusterPolicyBindingRegistry) ListClusterPolicyBindings(ctx kapi.Context, options *kapi.ListOptions) (*authorizationapi.ClusterPolicyBindingList, error)
ListClusterPolicyBindings obtains list of clusterPolicyBindings that match a selector.
func (*ClusterPolicyBindingRegistry) UpdateClusterPolicyBinding ¶
func (r *ClusterPolicyBindingRegistry) UpdateClusterPolicyBinding(ctx kapi.Context, policyBinding *authorizationapi.ClusterPolicyBinding) error
UpdateClusterPolicyBinding updates a policyBinding.
func (*ClusterPolicyBindingRegistry) WatchClusterPolicyBindings ¶
func (r *ClusterPolicyBindingRegistry) WatchClusterPolicyBindings(ctx kapi.Context, options *kapi.ListOptions) (watch.Interface, error)
type ClusterPolicyRegistry ¶
type ClusterPolicyRegistry struct { // ClusterPolicies is a of namespace->name->ClusterPolicy ClusterPolicies map[string]map[string]authorizationapi.ClusterPolicy Err error }
func NewClusterPolicyRegistry ¶
func NewClusterPolicyRegistry(policies []authorizationapi.ClusterPolicy, err error) *ClusterPolicyRegistry
func (*ClusterPolicyRegistry) CreateClusterPolicy ¶
func (r *ClusterPolicyRegistry) CreateClusterPolicy(ctx kapi.Context, policy *authorizationapi.ClusterPolicy) error
CreateClusterPolicy creates a new policy.
func (*ClusterPolicyRegistry) DeleteClusterPolicy ¶
func (r *ClusterPolicyRegistry) DeleteClusterPolicy(ctx kapi.Context, id string) error
DeleteClusterPolicy deletes a policy.
func (*ClusterPolicyRegistry) GetClusterPolicy ¶
func (r *ClusterPolicyRegistry) GetClusterPolicy(ctx kapi.Context, id string) (*authorizationapi.ClusterPolicy, error)
GetClusterPolicy retrieves a specific policy.
func (*ClusterPolicyRegistry) ListClusterPolicies ¶
func (r *ClusterPolicyRegistry) ListClusterPolicies(ctx kapi.Context, options *kapi.ListOptions) (*authorizationapi.ClusterPolicyList, error)
ListClusterPolicies obtains list of ListClusterPolicy that match a selector.
func (*ClusterPolicyRegistry) UpdateClusterPolicy ¶
func (r *ClusterPolicyRegistry) UpdateClusterPolicy(ctx kapi.Context, policy *authorizationapi.ClusterPolicy) error
UpdateClusterPolicy updates a policy.
func (*ClusterPolicyRegistry) WatchClusterPolicies ¶
func (r *ClusterPolicyRegistry) WatchClusterPolicies(ctx kapi.Context, options *kapi.ListOptions) (watch.Interface, error)
type PolicyBindingRegistry ¶
type PolicyBindingRegistry struct { // PolicyBindings is a of namespace->name->PolicyBinding PolicyBindings map[string]map[string]authorizationapi.PolicyBinding Err error }
func NewPolicyBindingRegistry ¶
func NewPolicyBindingRegistry(bindings []authorizationapi.PolicyBinding, err error) *PolicyBindingRegistry
func (*PolicyBindingRegistry) CreatePolicyBinding ¶
func (r *PolicyBindingRegistry) CreatePolicyBinding(ctx kapi.Context, policyBinding *authorizationapi.PolicyBinding) error
CreatePolicyBinding creates a new policyBinding.
func (*PolicyBindingRegistry) DeletePolicyBinding ¶
func (r *PolicyBindingRegistry) DeletePolicyBinding(ctx kapi.Context, id string) error
DeletePolicyBinding deletes a policyBinding.
func (*PolicyBindingRegistry) GetPolicyBinding ¶
func (r *PolicyBindingRegistry) GetPolicyBinding(ctx kapi.Context, id string) (*authorizationapi.PolicyBinding, error)
GetPolicyBinding retrieves a specific policyBinding.
func (*PolicyBindingRegistry) ListPolicyBindings ¶
func (r *PolicyBindingRegistry) ListPolicyBindings(ctx kapi.Context, options *kapi.ListOptions) (*authorizationapi.PolicyBindingList, error)
ListPolicyBindings obtains a list of policyBinding that match a selector.
func (*PolicyBindingRegistry) UpdatePolicyBinding ¶
func (r *PolicyBindingRegistry) UpdatePolicyBinding(ctx kapi.Context, policyBinding *authorizationapi.PolicyBinding) error
UpdatePolicyBinding updates a policyBinding.
func (*PolicyBindingRegistry) WatchPolicyBindings ¶
func (r *PolicyBindingRegistry) WatchPolicyBindings(ctx kapi.Context, options *kapi.ListOptions) (watch.Interface, error)
type PolicyRegistry ¶
type PolicyRegistry struct { // Policies is a of namespace->name->Policy Policies map[string]map[string]authorizationapi.Policy Err error }
func NewPolicyRegistry ¶
func NewPolicyRegistry(policies []authorizationapi.Policy, err error) *PolicyRegistry
func (*PolicyRegistry) CreatePolicy ¶
func (r *PolicyRegistry) CreatePolicy(ctx kapi.Context, policy *authorizationapi.Policy) error
CreatePolicy creates a new policy.
func (*PolicyRegistry) DeletePolicy ¶
func (r *PolicyRegistry) DeletePolicy(ctx kapi.Context, id string) error
DeletePolicy deletes a policy.
func (*PolicyRegistry) GetPolicy ¶
func (r *PolicyRegistry) GetPolicy(ctx kapi.Context, id string) (*authorizationapi.Policy, error)
GetPolicy retrieves a specific policy.
func (*PolicyRegistry) ListPolicies ¶
func (r *PolicyRegistry) ListPolicies(ctx kapi.Context, options *kapi.ListOptions) (*authorizationapi.PolicyList, error)
ListPolicies obtains a list of policies that match a selector.
func (*PolicyRegistry) UpdatePolicy ¶
func (r *PolicyRegistry) UpdatePolicy(ctx kapi.Context, policy *authorizationapi.Policy) error
UpdatePolicy updates a policy.
func (*PolicyRegistry) WatchPolicies ¶
func (r *PolicyRegistry) WatchPolicies(ctx kapi.Context, options *kapi.ListOptions) (watch.Interface, error)