test

package
v3.7.0-alpha.1+incompa... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterPolicyBindingRegistry

type ClusterPolicyBindingRegistry struct {
	Err error
	// contains filtered or unexported fields
}

func (*ClusterPolicyBindingRegistry) CreateClusterPolicyBinding

func (r *ClusterPolicyBindingRegistry) CreateClusterPolicyBinding(ctx apirequest.Context, policyBinding *authorizationapi.ClusterPolicyBinding) error

CreateClusterPolicyBinding creates a new policyBinding.

func (*ClusterPolicyBindingRegistry) DeleteClusterPolicyBinding

func (r *ClusterPolicyBindingRegistry) DeleteClusterPolicyBinding(ctx apirequest.Context, id string) error

DeleteClusterPolicyBinding deletes a policyBinding.

func (*ClusterPolicyBindingRegistry) Get

func (*ClusterPolicyBindingRegistry) GetClusterPolicyBinding

GetClusterPolicyBinding retrieves a specific policyBinding.

func (*ClusterPolicyBindingRegistry) List

func (*ClusterPolicyBindingRegistry) ListClusterPolicyBindings

ListClusterPolicyBindings obtains list of clusterPolicyBindings that match a selector.

func (*ClusterPolicyBindingRegistry) UpdateClusterPolicyBinding

func (r *ClusterPolicyBindingRegistry) UpdateClusterPolicyBinding(ctx apirequest.Context, policyBinding *authorizationapi.ClusterPolicyBinding) error

UpdateClusterPolicyBinding updates a policyBinding.

func (*ClusterPolicyBindingRegistry) WatchClusterPolicyBindings

func (r *ClusterPolicyBindingRegistry) WatchClusterPolicyBindings(ctx apirequest.Context, options *metainternal.ListOptions) (watch.Interface, error)

type ClusterPolicyRegistry

type ClusterPolicyRegistry struct {
	Err error
	// contains filtered or unexported fields
}

func NewClusterPolicyRegistry

func NewClusterPolicyRegistry(policies []authorizationapi.ClusterPolicy, err error) *ClusterPolicyRegistry

func (*ClusterPolicyRegistry) CreateClusterPolicy

func (r *ClusterPolicyRegistry) CreateClusterPolicy(ctx apirequest.Context, policy *authorizationapi.ClusterPolicy) error

CreateClusterPolicy creates a new policy.

func (*ClusterPolicyRegistry) DeleteClusterPolicy

func (r *ClusterPolicyRegistry) DeleteClusterPolicy(ctx apirequest.Context, id string) error

DeleteClusterPolicy deletes a policy.

func (*ClusterPolicyRegistry) Get

func (*ClusterPolicyRegistry) GetClusterPolicy

GetClusterPolicy retrieves a specific policy.

func (*ClusterPolicyRegistry) List

func (*ClusterPolicyRegistry) ListClusterPolicies

ListClusterPolicies obtains list of ListClusterPolicy that match a selector.

func (*ClusterPolicyRegistry) UpdateClusterPolicy

func (r *ClusterPolicyRegistry) UpdateClusterPolicy(ctx apirequest.Context, policy *authorizationapi.ClusterPolicy) error

UpdateClusterPolicy updates a policy.

func (*ClusterPolicyRegistry) WatchClusterPolicies

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

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

GetPolicyBinding retrieves a specific policyBinding.

func (*PolicyBindingRegistry) List

func (*PolicyBindingRegistry) ListPolicyBindings

ListPolicyBindings obtains a list of policyBinding that match a selector.

func (*PolicyBindingRegistry) PolicyBindings

func (*PolicyBindingRegistry) UpdatePolicyBinding

func (r *PolicyBindingRegistry) UpdatePolicyBinding(ctx apirequest.Context, policyBinding *authorizationapi.PolicyBinding) error

UpdatePolicyBinding updates a policyBinding.

func (*PolicyBindingRegistry) WatchPolicyBindings

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

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

GetPolicy retrieves a specific policy.

func (*PolicyRegistry) List

func (*PolicyRegistry) ListPolicies

ListPolicies obtains a list of policies that match a selector.

func (*PolicyRegistry) Policies

func (*PolicyRegistry) UpdatePolicy

func (r *PolicyRegistry) UpdatePolicy(ctx apirequest.Context, policy *authorizationapi.Policy) error

UpdatePolicy updates a policy.

func (*PolicyRegistry) WatchPolicies

func (r *PolicyRegistry) WatchPolicies(ctx apirequest.Context, options *metainternal.ListOptions) (watch.Interface, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL