Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakePolicyBindings
- func (c *FakePolicyBindings) Apply(ctx context.Context, ...) (result *v1alpha1.PolicyBinding, err error)
- func (c *FakePolicyBindings) ApplyStatus(ctx context.Context, ...) (result *v1alpha1.PolicyBinding, err error)
- func (c *FakePolicyBindings) Create(ctx context.Context, policyBinding *v1alpha1.PolicyBinding, ...) (result *v1alpha1.PolicyBinding, err error)
- func (c *FakePolicyBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePolicyBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePolicyBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PolicyBinding, err error)
- func (c *FakePolicyBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PolicyBindingList, err error)
- func (c *FakePolicyBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PolicyBinding, err error)
- func (c *FakePolicyBindings) Update(ctx context.Context, policyBinding *v1alpha1.PolicyBinding, ...) (result *v1alpha1.PolicyBinding, err error)
- func (c *FakePolicyBindings) UpdateStatus(ctx context.Context, policyBinding *v1alpha1.PolicyBinding, ...) (*v1alpha1.PolicyBinding, error)
- func (c *FakePolicyBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeStsV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePolicyBindings ¶
type FakePolicyBindings struct { Fake *FakeStsV1alpha1 // contains filtered or unexported fields }
FakePolicyBindings implements PolicyBindingInterface
func (*FakePolicyBindings) Apply ¶
func (c *FakePolicyBindings) Apply(ctx context.Context, policyBinding *stsminiov1alpha1.PolicyBindingApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.PolicyBinding, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied policyBinding.
func (*FakePolicyBindings) ApplyStatus ¶
func (c *FakePolicyBindings) ApplyStatus(ctx context.Context, policyBinding *stsminiov1alpha1.PolicyBindingApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.PolicyBinding, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakePolicyBindings) Create ¶
func (c *FakePolicyBindings) Create(ctx context.Context, policyBinding *v1alpha1.PolicyBinding, opts v1.CreateOptions) (result *v1alpha1.PolicyBinding, err error)
Create takes the representation of a policyBinding and creates it. Returns the server's representation of the policyBinding, and an error, if there is any.
func (*FakePolicyBindings) Delete ¶
func (c *FakePolicyBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the policyBinding and deletes it. Returns an error if one occurs.
func (*FakePolicyBindings) DeleteCollection ¶
func (c *FakePolicyBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePolicyBindings) Get ¶
func (c *FakePolicyBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PolicyBinding, err error)
Get takes name of the policyBinding, and returns the corresponding policyBinding object, and an error if there is any.
func (*FakePolicyBindings) List ¶
func (c *FakePolicyBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PolicyBindingList, err error)
List takes label and field selectors, and returns the list of PolicyBindings that match those selectors.
func (*FakePolicyBindings) Patch ¶
func (c *FakePolicyBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PolicyBinding, err error)
Patch applies the patch and returns the patched policyBinding.
func (*FakePolicyBindings) Update ¶
func (c *FakePolicyBindings) Update(ctx context.Context, policyBinding *v1alpha1.PolicyBinding, opts v1.UpdateOptions) (result *v1alpha1.PolicyBinding, err error)
Update takes the representation of a policyBinding and updates it. Returns the server's representation of the policyBinding, and an error, if there is any.
func (*FakePolicyBindings) UpdateStatus ¶
func (c *FakePolicyBindings) UpdateStatus(ctx context.Context, policyBinding *v1alpha1.PolicyBinding, opts v1.UpdateOptions) (*v1alpha1.PolicyBinding, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePolicyBindings) Watch ¶
func (c *FakePolicyBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested policyBindings.
type FakeStsV1alpha1 ¶
func (*FakeStsV1alpha1) PolicyBindings ¶
func (c *FakeStsV1alpha1) PolicyBindings(namespace string) v1alpha1.PolicyBindingInterface
func (*FakeStsV1alpha1) RESTClient ¶
func (c *FakeStsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.