Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeImageManifestVulns
- func (c *FakeImageManifestVulns) Create(imageManifestVuln *v1alpha1.ImageManifestVuln) (result *v1alpha1.ImageManifestVuln, err error)
- func (c *FakeImageManifestVulns) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeImageManifestVulns) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeImageManifestVulns) Get(name string, options v1.GetOptions) (result *v1alpha1.ImageManifestVuln, err error)
- func (c *FakeImageManifestVulns) List(opts v1.ListOptions) (result *v1alpha1.ImageManifestVulnList, err error)
- func (c *FakeImageManifestVulns) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ImageManifestVuln, err error)
- func (c *FakeImageManifestVulns) Update(imageManifestVuln *v1alpha1.ImageManifestVuln) (result *v1alpha1.ImageManifestVuln, err error)
- func (c *FakeImageManifestVulns) UpdateStatus(imageManifestVuln *v1alpha1.ImageManifestVuln) (*v1alpha1.ImageManifestVuln, error)
- func (c *FakeImageManifestVulns) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeSecscanV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeImageManifestVulns ¶
type FakeImageManifestVulns struct { Fake *FakeSecscanV1alpha1 // contains filtered or unexported fields }
FakeImageManifestVulns implements ImageManifestVulnInterface
func (*FakeImageManifestVulns) Create ¶
func (c *FakeImageManifestVulns) Create(imageManifestVuln *v1alpha1.ImageManifestVuln) (result *v1alpha1.ImageManifestVuln, err error)
Create takes the representation of a imageManifestVuln and creates it. Returns the server's representation of the imageManifestVuln, and an error, if there is any.
func (*FakeImageManifestVulns) Delete ¶
func (c *FakeImageManifestVulns) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the imageManifestVuln and deletes it. Returns an error if one occurs.
func (*FakeImageManifestVulns) DeleteCollection ¶
func (c *FakeImageManifestVulns) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeImageManifestVulns) Get ¶
func (c *FakeImageManifestVulns) Get(name string, options v1.GetOptions) (result *v1alpha1.ImageManifestVuln, err error)
Get takes name of the imageManifestVuln, and returns the corresponding imageManifestVuln object, and an error if there is any.
func (*FakeImageManifestVulns) List ¶
func (c *FakeImageManifestVulns) List(opts v1.ListOptions) (result *v1alpha1.ImageManifestVulnList, err error)
List takes label and field selectors, and returns the list of ImageManifestVulns that match those selectors.
func (*FakeImageManifestVulns) Patch ¶
func (c *FakeImageManifestVulns) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ImageManifestVuln, err error)
Patch applies the patch and returns the patched imageManifestVuln.
func (*FakeImageManifestVulns) Update ¶
func (c *FakeImageManifestVulns) Update(imageManifestVuln *v1alpha1.ImageManifestVuln) (result *v1alpha1.ImageManifestVuln, err error)
Update takes the representation of a imageManifestVuln and updates it. Returns the server's representation of the imageManifestVuln, and an error, if there is any.
func (*FakeImageManifestVulns) UpdateStatus ¶
func (c *FakeImageManifestVulns) UpdateStatus(imageManifestVuln *v1alpha1.ImageManifestVuln) (*v1alpha1.ImageManifestVuln, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeImageManifestVulns) Watch ¶
func (c *FakeImageManifestVulns) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested imageManifestVulns.
type FakeSecscanV1alpha1 ¶
func (*FakeSecscanV1alpha1) ImageManifestVulns ¶
func (c *FakeSecscanV1alpha1) ImageManifestVulns(namespace string) v1alpha1.ImageManifestVulnInterface
func (*FakeSecscanV1alpha1) RESTClient ¶
func (c *FakeSecscanV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.