Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAuthorizationV1
- func (c *FakeAuthorizationV1) ClusterPolicies() v1.ClusterPolicyInterface
- func (c *FakeAuthorizationV1) ClusterPolicyBindings() v1.ClusterPolicyBindingInterface
- func (c *FakeAuthorizationV1) ClusterRoleBindings() v1.ClusterRoleBindingInterface
- func (c *FakeAuthorizationV1) ClusterRoles() v1.ClusterRoleInterface
- func (c *FakeAuthorizationV1) Policies(namespace string) v1.PolicyInterface
- func (c *FakeAuthorizationV1) PolicyBindings(namespace string) v1.PolicyBindingInterface
- func (c *FakeAuthorizationV1) RESTClient() rest.Interface
- func (c *FakeAuthorizationV1) RoleBindings(namespace string) v1.RoleBindingInterface
- func (c *FakeAuthorizationV1) Roles(namespace string) v1.RoleInterface
- type FakeClusterPolicies
- func (c *FakeClusterPolicies) Create(clusterPolicy *v1.ClusterPolicy) (result *v1.ClusterPolicy, err error)
- func (c *FakeClusterPolicies) Delete(name string, options *meta_v1.DeleteOptions) error
- func (c *FakeClusterPolicies) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
- func (c *FakeClusterPolicies) Get(name string, options meta_v1.GetOptions) (result *v1.ClusterPolicy, err error)
- func (c *FakeClusterPolicies) List(opts meta_v1.ListOptions) (result *v1.ClusterPolicyList, err error)
- func (c *FakeClusterPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ClusterPolicy, err error)
- func (c *FakeClusterPolicies) Update(clusterPolicy *v1.ClusterPolicy) (result *v1.ClusterPolicy, err error)
- func (c *FakeClusterPolicies) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
- type FakeClusterPolicyBindings
- func (c *FakeClusterPolicyBindings) Create(clusterPolicyBinding *v1.ClusterPolicyBinding) (result *v1.ClusterPolicyBinding, err error)
- func (c *FakeClusterPolicyBindings) Delete(name string, options *meta_v1.DeleteOptions) error
- func (c *FakeClusterPolicyBindings) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
- func (c *FakeClusterPolicyBindings) Get(name string, options meta_v1.GetOptions) (result *v1.ClusterPolicyBinding, err error)
- func (c *FakeClusterPolicyBindings) List(opts meta_v1.ListOptions) (result *v1.ClusterPolicyBindingList, err error)
- func (c *FakeClusterPolicyBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ClusterPolicyBinding, err error)
- func (c *FakeClusterPolicyBindings) Update(clusterPolicyBinding *v1.ClusterPolicyBinding) (result *v1.ClusterPolicyBinding, err error)
- func (c *FakeClusterPolicyBindings) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
- type FakeClusterRoleBindings
- func (c *FakeClusterRoleBindings) Create(clusterRoleBinding *v1.ClusterRoleBinding) (result *v1.ClusterRoleBinding, err error)
- func (c *FakeClusterRoleBindings) Delete(name string, options *meta_v1.DeleteOptions) error
- func (c *FakeClusterRoleBindings) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
- func (c *FakeClusterRoleBindings) Get(name string, options meta_v1.GetOptions) (result *v1.ClusterRoleBinding, err error)
- func (c *FakeClusterRoleBindings) List(opts meta_v1.ListOptions) (result *v1.ClusterRoleBindingList, err error)
- func (c *FakeClusterRoleBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ClusterRoleBinding, err error)
- func (c *FakeClusterRoleBindings) Update(clusterRoleBinding *v1.ClusterRoleBinding) (result *v1.ClusterRoleBinding, err error)
- func (c *FakeClusterRoleBindings) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
- type FakeClusterRoles
- func (c *FakeClusterRoles) Create(clusterRole *v1.ClusterRole) (result *v1.ClusterRole, err error)
- func (c *FakeClusterRoles) Delete(name string, options *meta_v1.DeleteOptions) error
- func (c *FakeClusterRoles) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
- func (c *FakeClusterRoles) Get(name string, options meta_v1.GetOptions) (result *v1.ClusterRole, err error)
- func (c *FakeClusterRoles) List(opts meta_v1.ListOptions) (result *v1.ClusterRoleList, err error)
- func (c *FakeClusterRoles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ClusterRole, err error)
- func (c *FakeClusterRoles) Update(clusterRole *v1.ClusterRole) (result *v1.ClusterRole, err error)
- func (c *FakeClusterRoles) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
- type FakePolicies
- func (c *FakePolicies) Create(policy *v1.Policy) (result *v1.Policy, err error)
- func (c *FakePolicies) Delete(name string, options *meta_v1.DeleteOptions) error
- func (c *FakePolicies) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
- func (c *FakePolicies) Get(name string, options meta_v1.GetOptions) (result *v1.Policy, err error)
- func (c *FakePolicies) List(opts meta_v1.ListOptions) (result *v1.PolicyList, err error)
- func (c *FakePolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Policy, err error)
- func (c *FakePolicies) Update(policy *v1.Policy) (result *v1.Policy, err error)
- func (c *FakePolicies) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
- type FakePolicyBindings
- func (c *FakePolicyBindings) Create(policyBinding *v1.PolicyBinding) (result *v1.PolicyBinding, err error)
- func (c *FakePolicyBindings) Delete(name string, options *meta_v1.DeleteOptions) error
- func (c *FakePolicyBindings) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
- func (c *FakePolicyBindings) Get(name string, options meta_v1.GetOptions) (result *v1.PolicyBinding, err error)
- func (c *FakePolicyBindings) List(opts meta_v1.ListOptions) (result *v1.PolicyBindingList, err error)
- func (c *FakePolicyBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.PolicyBinding, err error)
- func (c *FakePolicyBindings) Update(policyBinding *v1.PolicyBinding) (result *v1.PolicyBinding, err error)
- func (c *FakePolicyBindings) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
- type FakeRoleBindings
- func (c *FakeRoleBindings) Create(roleBinding *v1.RoleBinding) (result *v1.RoleBinding, err error)
- func (c *FakeRoleBindings) Delete(name string, options *meta_v1.DeleteOptions) error
- func (c *FakeRoleBindings) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
- func (c *FakeRoleBindings) Get(name string, options meta_v1.GetOptions) (result *v1.RoleBinding, err error)
- func (c *FakeRoleBindings) List(opts meta_v1.ListOptions) (result *v1.RoleBindingList, err error)
- func (c *FakeRoleBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.RoleBinding, err error)
- func (c *FakeRoleBindings) Update(roleBinding *v1.RoleBinding) (result *v1.RoleBinding, err error)
- func (c *FakeRoleBindings) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
- type FakeRoles
- func (c *FakeRoles) Create(role *v1.Role) (result *v1.Role, err error)
- func (c *FakeRoles) Delete(name string, options *meta_v1.DeleteOptions) error
- func (c *FakeRoles) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
- func (c *FakeRoles) Get(name string, options meta_v1.GetOptions) (result *v1.Role, err error)
- func (c *FakeRoles) List(opts meta_v1.ListOptions) (result *v1.RoleList, err error)
- func (c *FakeRoles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Role, err error)
- func (c *FakeRoles) Update(role *v1.Role) (result *v1.Role, err error)
- func (c *FakeRoles) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAuthorizationV1 ¶
func (*FakeAuthorizationV1) ClusterPolicies ¶
func (c *FakeAuthorizationV1) ClusterPolicies() v1.ClusterPolicyInterface
func (*FakeAuthorizationV1) ClusterPolicyBindings ¶
func (c *FakeAuthorizationV1) ClusterPolicyBindings() v1.ClusterPolicyBindingInterface
func (*FakeAuthorizationV1) ClusterRoleBindings ¶
func (c *FakeAuthorizationV1) ClusterRoleBindings() v1.ClusterRoleBindingInterface
func (*FakeAuthorizationV1) ClusterRoles ¶
func (c *FakeAuthorizationV1) ClusterRoles() v1.ClusterRoleInterface
func (*FakeAuthorizationV1) Policies ¶
func (c *FakeAuthorizationV1) Policies(namespace string) v1.PolicyInterface
func (*FakeAuthorizationV1) PolicyBindings ¶
func (c *FakeAuthorizationV1) PolicyBindings(namespace string) v1.PolicyBindingInterface
func (*FakeAuthorizationV1) RESTClient ¶
func (c *FakeAuthorizationV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAuthorizationV1) RoleBindings ¶
func (c *FakeAuthorizationV1) RoleBindings(namespace string) v1.RoleBindingInterface
func (*FakeAuthorizationV1) Roles ¶
func (c *FakeAuthorizationV1) Roles(namespace string) v1.RoleInterface
type FakeClusterPolicies ¶
type FakeClusterPolicies struct {
Fake *FakeAuthorizationV1
}
FakeClusterPolicies implements ClusterPolicyInterface
func (*FakeClusterPolicies) Create ¶
func (c *FakeClusterPolicies) Create(clusterPolicy *v1.ClusterPolicy) (result *v1.ClusterPolicy, err error)
func (*FakeClusterPolicies) Delete ¶
func (c *FakeClusterPolicies) Delete(name string, options *meta_v1.DeleteOptions) error
func (*FakeClusterPolicies) DeleteCollection ¶
func (c *FakeClusterPolicies) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
func (*FakeClusterPolicies) Get ¶
func (c *FakeClusterPolicies) Get(name string, options meta_v1.GetOptions) (result *v1.ClusterPolicy, err error)
func (*FakeClusterPolicies) List ¶
func (c *FakeClusterPolicies) List(opts meta_v1.ListOptions) (result *v1.ClusterPolicyList, err error)
func (*FakeClusterPolicies) Patch ¶
func (c *FakeClusterPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ClusterPolicy, err error)
Patch applies the patch and returns the patched clusterPolicy.
func (*FakeClusterPolicies) Update ¶
func (c *FakeClusterPolicies) Update(clusterPolicy *v1.ClusterPolicy) (result *v1.ClusterPolicy, err error)
func (*FakeClusterPolicies) Watch ¶
func (c *FakeClusterPolicies) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterPolicies.
type FakeClusterPolicyBindings ¶
type FakeClusterPolicyBindings struct {
Fake *FakeAuthorizationV1
}
FakeClusterPolicyBindings implements ClusterPolicyBindingInterface
func (*FakeClusterPolicyBindings) Create ¶
func (c *FakeClusterPolicyBindings) Create(clusterPolicyBinding *v1.ClusterPolicyBinding) (result *v1.ClusterPolicyBinding, err error)
func (*FakeClusterPolicyBindings) Delete ¶
func (c *FakeClusterPolicyBindings) Delete(name string, options *meta_v1.DeleteOptions) error
func (*FakeClusterPolicyBindings) DeleteCollection ¶
func (c *FakeClusterPolicyBindings) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
func (*FakeClusterPolicyBindings) Get ¶
func (c *FakeClusterPolicyBindings) Get(name string, options meta_v1.GetOptions) (result *v1.ClusterPolicyBinding, err error)
func (*FakeClusterPolicyBindings) List ¶
func (c *FakeClusterPolicyBindings) List(opts meta_v1.ListOptions) (result *v1.ClusterPolicyBindingList, err error)
func (*FakeClusterPolicyBindings) Patch ¶
func (c *FakeClusterPolicyBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ClusterPolicyBinding, err error)
Patch applies the patch and returns the patched clusterPolicyBinding.
func (*FakeClusterPolicyBindings) Update ¶
func (c *FakeClusterPolicyBindings) Update(clusterPolicyBinding *v1.ClusterPolicyBinding) (result *v1.ClusterPolicyBinding, err error)
func (*FakeClusterPolicyBindings) Watch ¶
func (c *FakeClusterPolicyBindings) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterPolicyBindings.
type FakeClusterRoleBindings ¶
type FakeClusterRoleBindings struct {
Fake *FakeAuthorizationV1
}
FakeClusterRoleBindings implements ClusterRoleBindingInterface
func (*FakeClusterRoleBindings) Create ¶
func (c *FakeClusterRoleBindings) Create(clusterRoleBinding *v1.ClusterRoleBinding) (result *v1.ClusterRoleBinding, err error)
func (*FakeClusterRoleBindings) Delete ¶
func (c *FakeClusterRoleBindings) Delete(name string, options *meta_v1.DeleteOptions) error
func (*FakeClusterRoleBindings) DeleteCollection ¶
func (c *FakeClusterRoleBindings) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
func (*FakeClusterRoleBindings) Get ¶
func (c *FakeClusterRoleBindings) Get(name string, options meta_v1.GetOptions) (result *v1.ClusterRoleBinding, err error)
func (*FakeClusterRoleBindings) List ¶
func (c *FakeClusterRoleBindings) List(opts meta_v1.ListOptions) (result *v1.ClusterRoleBindingList, err error)
func (*FakeClusterRoleBindings) Patch ¶
func (c *FakeClusterRoleBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ClusterRoleBinding, err error)
Patch applies the patch and returns the patched clusterRoleBinding.
func (*FakeClusterRoleBindings) Update ¶
func (c *FakeClusterRoleBindings) Update(clusterRoleBinding *v1.ClusterRoleBinding) (result *v1.ClusterRoleBinding, err error)
func (*FakeClusterRoleBindings) Watch ¶
func (c *FakeClusterRoleBindings) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterRoleBindings.
type FakeClusterRoles ¶
type FakeClusterRoles struct {
Fake *FakeAuthorizationV1
}
FakeClusterRoles implements ClusterRoleInterface
func (*FakeClusterRoles) Create ¶
func (c *FakeClusterRoles) Create(clusterRole *v1.ClusterRole) (result *v1.ClusterRole, err error)
func (*FakeClusterRoles) Delete ¶
func (c *FakeClusterRoles) Delete(name string, options *meta_v1.DeleteOptions) error
func (*FakeClusterRoles) DeleteCollection ¶
func (c *FakeClusterRoles) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
func (*FakeClusterRoles) Get ¶
func (c *FakeClusterRoles) Get(name string, options meta_v1.GetOptions) (result *v1.ClusterRole, err error)
func (*FakeClusterRoles) List ¶
func (c *FakeClusterRoles) List(opts meta_v1.ListOptions) (result *v1.ClusterRoleList, err error)
func (*FakeClusterRoles) Patch ¶
func (c *FakeClusterRoles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ClusterRole, err error)
Patch applies the patch and returns the patched clusterRole.
func (*FakeClusterRoles) Update ¶
func (c *FakeClusterRoles) Update(clusterRole *v1.ClusterRole) (result *v1.ClusterRole, err error)
func (*FakeClusterRoles) Watch ¶
func (c *FakeClusterRoles) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterRoles.
type FakePolicies ¶
type FakePolicies struct { Fake *FakeAuthorizationV1 // contains filtered or unexported fields }
FakePolicies implements PolicyInterface
func (*FakePolicies) Delete ¶
func (c *FakePolicies) Delete(name string, options *meta_v1.DeleteOptions) error
func (*FakePolicies) DeleteCollection ¶
func (c *FakePolicies) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
func (*FakePolicies) Get ¶
func (c *FakePolicies) Get(name string, options meta_v1.GetOptions) (result *v1.Policy, err error)
func (*FakePolicies) List ¶
func (c *FakePolicies) List(opts meta_v1.ListOptions) (result *v1.PolicyList, err error)
func (*FakePolicies) Patch ¶
func (c *FakePolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Policy, err error)
Patch applies the patch and returns the patched policy.
func (*FakePolicies) Watch ¶
func (c *FakePolicies) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested policies.
type FakePolicyBindings ¶
type FakePolicyBindings struct { Fake *FakeAuthorizationV1 // contains filtered or unexported fields }
FakePolicyBindings implements PolicyBindingInterface
func (*FakePolicyBindings) Create ¶
func (c *FakePolicyBindings) Create(policyBinding *v1.PolicyBinding) (result *v1.PolicyBinding, err error)
func (*FakePolicyBindings) Delete ¶
func (c *FakePolicyBindings) Delete(name string, options *meta_v1.DeleteOptions) error
func (*FakePolicyBindings) DeleteCollection ¶
func (c *FakePolicyBindings) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
func (*FakePolicyBindings) Get ¶
func (c *FakePolicyBindings) Get(name string, options meta_v1.GetOptions) (result *v1.PolicyBinding, err error)
func (*FakePolicyBindings) List ¶
func (c *FakePolicyBindings) List(opts meta_v1.ListOptions) (result *v1.PolicyBindingList, err error)
func (*FakePolicyBindings) Patch ¶
func (c *FakePolicyBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.PolicyBinding, err error)
Patch applies the patch and returns the patched policyBinding.
func (*FakePolicyBindings) Update ¶
func (c *FakePolicyBindings) Update(policyBinding *v1.PolicyBinding) (result *v1.PolicyBinding, err error)
func (*FakePolicyBindings) Watch ¶
func (c *FakePolicyBindings) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested policyBindings.
type FakeRoleBindings ¶
type FakeRoleBindings struct { Fake *FakeAuthorizationV1 // contains filtered or unexported fields }
FakeRoleBindings implements RoleBindingInterface
func (*FakeRoleBindings) Create ¶
func (c *FakeRoleBindings) Create(roleBinding *v1.RoleBinding) (result *v1.RoleBinding, err error)
func (*FakeRoleBindings) Delete ¶
func (c *FakeRoleBindings) Delete(name string, options *meta_v1.DeleteOptions) error
func (*FakeRoleBindings) DeleteCollection ¶
func (c *FakeRoleBindings) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
func (*FakeRoleBindings) Get ¶
func (c *FakeRoleBindings) Get(name string, options meta_v1.GetOptions) (result *v1.RoleBinding, err error)
func (*FakeRoleBindings) List ¶
func (c *FakeRoleBindings) List(opts meta_v1.ListOptions) (result *v1.RoleBindingList, err error)
func (*FakeRoleBindings) Patch ¶
func (c *FakeRoleBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.RoleBinding, err error)
Patch applies the patch and returns the patched roleBinding.
func (*FakeRoleBindings) Update ¶
func (c *FakeRoleBindings) Update(roleBinding *v1.RoleBinding) (result *v1.RoleBinding, err error)
func (*FakeRoleBindings) Watch ¶
func (c *FakeRoleBindings) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested roleBindings.
type FakeRoles ¶
type FakeRoles struct { Fake *FakeAuthorizationV1 // contains filtered or unexported fields }
FakeRoles implements RoleInterface
func (*FakeRoles) Delete ¶
func (c *FakeRoles) Delete(name string, options *meta_v1.DeleteOptions) error
func (*FakeRoles) DeleteCollection ¶
func (c *FakeRoles) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error