Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeImageVerificationPolicies
- func (c *FakeImageVerificationPolicies) Create(ctx context.Context, imageVerificationPolicy *v1alpha1.ImageVerificationPolicy, ...) (result *v1alpha1.ImageVerificationPolicy, err error)
- func (c *FakeImageVerificationPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeImageVerificationPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeImageVerificationPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ImageVerificationPolicy, err error)
- func (c *FakeImageVerificationPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ImageVerificationPolicyList, err error)
- func (c *FakeImageVerificationPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ImageVerificationPolicy, err error)
- func (c *FakeImageVerificationPolicies) Update(ctx context.Context, imageVerificationPolicy *v1alpha1.ImageVerificationPolicy, ...) (result *v1alpha1.ImageVerificationPolicy, err error)
- func (c *FakeImageVerificationPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNirmataV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeImageVerificationPolicies ¶
type FakeImageVerificationPolicies struct { Fake *FakeNirmataV1alpha1 // contains filtered or unexported fields }
FakeImageVerificationPolicies implements ImageVerificationPolicyInterface
func (*FakeImageVerificationPolicies) Create ¶
func (c *FakeImageVerificationPolicies) Create(ctx context.Context, imageVerificationPolicy *v1alpha1.ImageVerificationPolicy, opts v1.CreateOptions) (result *v1alpha1.ImageVerificationPolicy, err error)
Create takes the representation of a imageVerificationPolicy and creates it. Returns the server's representation of the imageVerificationPolicy, and an error, if there is any.
func (*FakeImageVerificationPolicies) Delete ¶
func (c *FakeImageVerificationPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the imageVerificationPolicy and deletes it. Returns an error if one occurs.
func (*FakeImageVerificationPolicies) DeleteCollection ¶
func (c *FakeImageVerificationPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeImageVerificationPolicies) Get ¶
func (c *FakeImageVerificationPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ImageVerificationPolicy, err error)
Get takes name of the imageVerificationPolicy, and returns the corresponding imageVerificationPolicy object, and an error if there is any.
func (*FakeImageVerificationPolicies) List ¶
func (c *FakeImageVerificationPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ImageVerificationPolicyList, err error)
List takes label and field selectors, and returns the list of ImageVerificationPolicies that match those selectors.
func (*FakeImageVerificationPolicies) Patch ¶
func (c *FakeImageVerificationPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ImageVerificationPolicy, err error)
Patch applies the patch and returns the patched imageVerificationPolicy.
func (*FakeImageVerificationPolicies) Update ¶
func (c *FakeImageVerificationPolicies) Update(ctx context.Context, imageVerificationPolicy *v1alpha1.ImageVerificationPolicy, opts v1.UpdateOptions) (result *v1alpha1.ImageVerificationPolicy, err error)
Update takes the representation of a imageVerificationPolicy and updates it. Returns the server's representation of the imageVerificationPolicy, and an error, if there is any.
func (*FakeImageVerificationPolicies) Watch ¶
func (c *FakeImageVerificationPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested imageVerificationPolicies.
type FakeNirmataV1alpha1 ¶
func (*FakeNirmataV1alpha1) ImageVerificationPolicies ¶
func (c *FakeNirmataV1alpha1) ImageVerificationPolicies(namespace string) v1alpha1.ImageVerificationPolicyInterface
func (*FakeNirmataV1alpha1) RESTClient ¶
func (c *FakeNirmataV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.