Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAuthorizationV1
- 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAuthorizationV1 ¶
func (*FakeAuthorizationV1) Policies ¶
func (c *FakeAuthorizationV1) Policies(namespace string) v1.PolicyInterface
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.
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.
Click to show internal directories.
Click to hide internal directories.