Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeSBOMSPDXv2p3Filtereds
- func (c *FakeSBOMSPDXv2p3Filtereds) Create(ctx context.Context, sBOMSPDXv2p3Filtered *v1beta1.SBOMSPDXv2p3Filtered, ...) (result *v1beta1.SBOMSPDXv2p3Filtered, err error)
- func (c *FakeSBOMSPDXv2p3Filtereds) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSBOMSPDXv2p3Filtereds) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSBOMSPDXv2p3Filtereds) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.SBOMSPDXv2p3Filtered, err error)
- func (c *FakeSBOMSPDXv2p3Filtereds) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.SBOMSPDXv2p3FilteredList, err error)
- func (c *FakeSBOMSPDXv2p3Filtereds) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.SBOMSPDXv2p3Filtered, err error)
- func (c *FakeSBOMSPDXv2p3Filtereds) Update(ctx context.Context, sBOMSPDXv2p3Filtered *v1beta1.SBOMSPDXv2p3Filtered, ...) (result *v1beta1.SBOMSPDXv2p3Filtered, err error)
- func (c *FakeSBOMSPDXv2p3Filtereds) UpdateStatus(ctx context.Context, sBOMSPDXv2p3Filtered *v1beta1.SBOMSPDXv2p3Filtered, ...) (*v1beta1.SBOMSPDXv2p3Filtered, error)
- func (c *FakeSBOMSPDXv2p3Filtereds) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSBOMSPDXv2p3s
- func (c *FakeSBOMSPDXv2p3s) Create(ctx context.Context, sBOMSPDXv2p3 *v1beta1.SBOMSPDXv2p3, opts v1.CreateOptions) (result *v1beta1.SBOMSPDXv2p3, err error)
- func (c *FakeSBOMSPDXv2p3s) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSBOMSPDXv2p3s) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSBOMSPDXv2p3s) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.SBOMSPDXv2p3, err error)
- func (c *FakeSBOMSPDXv2p3s) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.SBOMSPDXv2p3List, err error)
- func (c *FakeSBOMSPDXv2p3s) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.SBOMSPDXv2p3, err error)
- func (c *FakeSBOMSPDXv2p3s) Update(ctx context.Context, sBOMSPDXv2p3 *v1beta1.SBOMSPDXv2p3, opts v1.UpdateOptions) (result *v1beta1.SBOMSPDXv2p3, err error)
- func (c *FakeSBOMSPDXv2p3s) UpdateStatus(ctx context.Context, sBOMSPDXv2p3 *v1beta1.SBOMSPDXv2p3, opts v1.UpdateOptions) (*v1beta1.SBOMSPDXv2p3, error)
- func (c *FakeSBOMSPDXv2p3s) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSpdxV1beta1
- func (c *FakeSpdxV1beta1) RESTClient() rest.Interface
- func (c *FakeSpdxV1beta1) SBOMSPDXv2p3Filtereds(namespace string) v1beta1.SBOMSPDXv2p3FilteredInterface
- func (c *FakeSpdxV1beta1) SBOMSPDXv2p3s(namespace string) v1beta1.SBOMSPDXv2p3Interface
- func (c *FakeSpdxV1beta1) VulnerabilityManifests(namespace string) v1beta1.VulnerabilityManifestInterface
- type FakeVulnerabilityManifests
- func (c *FakeVulnerabilityManifests) Create(ctx context.Context, vulnerabilityManifest *v1beta1.VulnerabilityManifest, ...) (result *v1beta1.VulnerabilityManifest, err error)
- func (c *FakeVulnerabilityManifests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVulnerabilityManifests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVulnerabilityManifests) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VulnerabilityManifest, err error)
- func (c *FakeVulnerabilityManifests) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VulnerabilityManifestList, err error)
- func (c *FakeVulnerabilityManifests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.VulnerabilityManifest, err error)
- func (c *FakeVulnerabilityManifests) Update(ctx context.Context, vulnerabilityManifest *v1beta1.VulnerabilityManifest, ...) (result *v1beta1.VulnerabilityManifest, err error)
- func (c *FakeVulnerabilityManifests) UpdateStatus(ctx context.Context, vulnerabilityManifest *v1beta1.VulnerabilityManifest, ...) (*v1beta1.VulnerabilityManifest, error)
- func (c *FakeVulnerabilityManifests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSBOMSPDXv2p3Filtereds ¶
type FakeSBOMSPDXv2p3Filtereds struct { Fake *FakeSpdxV1beta1 // contains filtered or unexported fields }
FakeSBOMSPDXv2p3Filtereds implements SBOMSPDXv2p3FilteredInterface
func (*FakeSBOMSPDXv2p3Filtereds) Create ¶
func (c *FakeSBOMSPDXv2p3Filtereds) Create(ctx context.Context, sBOMSPDXv2p3Filtered *v1beta1.SBOMSPDXv2p3Filtered, opts v1.CreateOptions) (result *v1beta1.SBOMSPDXv2p3Filtered, err error)
Create takes the representation of a sBOMSPDXv2p3Filtered and creates it. Returns the server's representation of the sBOMSPDXv2p3Filtered, and an error, if there is any.
func (*FakeSBOMSPDXv2p3Filtereds) Delete ¶
func (c *FakeSBOMSPDXv2p3Filtereds) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the sBOMSPDXv2p3Filtered and deletes it. Returns an error if one occurs.
func (*FakeSBOMSPDXv2p3Filtereds) DeleteCollection ¶
func (c *FakeSBOMSPDXv2p3Filtereds) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSBOMSPDXv2p3Filtereds) Get ¶
func (c *FakeSBOMSPDXv2p3Filtereds) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.SBOMSPDXv2p3Filtered, err error)
Get takes name of the sBOMSPDXv2p3Filtered, and returns the corresponding sBOMSPDXv2p3Filtered object, and an error if there is any.
func (*FakeSBOMSPDXv2p3Filtereds) List ¶
func (c *FakeSBOMSPDXv2p3Filtereds) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.SBOMSPDXv2p3FilteredList, err error)
List takes label and field selectors, and returns the list of SBOMSPDXv2p3Filtereds that match those selectors.
func (*FakeSBOMSPDXv2p3Filtereds) Patch ¶
func (c *FakeSBOMSPDXv2p3Filtereds) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.SBOMSPDXv2p3Filtered, err error)
Patch applies the patch and returns the patched sBOMSPDXv2p3Filtered.
func (*FakeSBOMSPDXv2p3Filtereds) Update ¶
func (c *FakeSBOMSPDXv2p3Filtereds) Update(ctx context.Context, sBOMSPDXv2p3Filtered *v1beta1.SBOMSPDXv2p3Filtered, opts v1.UpdateOptions) (result *v1beta1.SBOMSPDXv2p3Filtered, err error)
Update takes the representation of a sBOMSPDXv2p3Filtered and updates it. Returns the server's representation of the sBOMSPDXv2p3Filtered, and an error, if there is any.
func (*FakeSBOMSPDXv2p3Filtereds) UpdateStatus ¶
func (c *FakeSBOMSPDXv2p3Filtereds) UpdateStatus(ctx context.Context, sBOMSPDXv2p3Filtered *v1beta1.SBOMSPDXv2p3Filtered, opts v1.UpdateOptions) (*v1beta1.SBOMSPDXv2p3Filtered, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSBOMSPDXv2p3Filtereds) Watch ¶
func (c *FakeSBOMSPDXv2p3Filtereds) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sBOMSPDXv2p3Filtereds.
type FakeSBOMSPDXv2p3s ¶
type FakeSBOMSPDXv2p3s struct { Fake *FakeSpdxV1beta1 // contains filtered or unexported fields }
FakeSBOMSPDXv2p3s implements SBOMSPDXv2p3Interface
func (*FakeSBOMSPDXv2p3s) Create ¶
func (c *FakeSBOMSPDXv2p3s) Create(ctx context.Context, sBOMSPDXv2p3 *v1beta1.SBOMSPDXv2p3, opts v1.CreateOptions) (result *v1beta1.SBOMSPDXv2p3, err error)
Create takes the representation of a sBOMSPDXv2p3 and creates it. Returns the server's representation of the sBOMSPDXv2p3, and an error, if there is any.
func (*FakeSBOMSPDXv2p3s) Delete ¶
func (c *FakeSBOMSPDXv2p3s) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the sBOMSPDXv2p3 and deletes it. Returns an error if one occurs.
func (*FakeSBOMSPDXv2p3s) DeleteCollection ¶
func (c *FakeSBOMSPDXv2p3s) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSBOMSPDXv2p3s) Get ¶
func (c *FakeSBOMSPDXv2p3s) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.SBOMSPDXv2p3, err error)
Get takes name of the sBOMSPDXv2p3, and returns the corresponding sBOMSPDXv2p3 object, and an error if there is any.
func (*FakeSBOMSPDXv2p3s) List ¶
func (c *FakeSBOMSPDXv2p3s) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.SBOMSPDXv2p3List, err error)
List takes label and field selectors, and returns the list of SBOMSPDXv2p3s that match those selectors.
func (*FakeSBOMSPDXv2p3s) Patch ¶
func (c *FakeSBOMSPDXv2p3s) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.SBOMSPDXv2p3, err error)
Patch applies the patch and returns the patched sBOMSPDXv2p3.
func (*FakeSBOMSPDXv2p3s) Update ¶
func (c *FakeSBOMSPDXv2p3s) Update(ctx context.Context, sBOMSPDXv2p3 *v1beta1.SBOMSPDXv2p3, opts v1.UpdateOptions) (result *v1beta1.SBOMSPDXv2p3, err error)
Update takes the representation of a sBOMSPDXv2p3 and updates it. Returns the server's representation of the sBOMSPDXv2p3, and an error, if there is any.
func (*FakeSBOMSPDXv2p3s) UpdateStatus ¶
func (c *FakeSBOMSPDXv2p3s) UpdateStatus(ctx context.Context, sBOMSPDXv2p3 *v1beta1.SBOMSPDXv2p3, opts v1.UpdateOptions) (*v1beta1.SBOMSPDXv2p3, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSBOMSPDXv2p3s) Watch ¶
func (c *FakeSBOMSPDXv2p3s) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sBOMSPDXv2p3s.
type FakeSpdxV1beta1 ¶
func (*FakeSpdxV1beta1) RESTClient ¶
func (c *FakeSpdxV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSpdxV1beta1) SBOMSPDXv2p3Filtereds ¶
func (c *FakeSpdxV1beta1) SBOMSPDXv2p3Filtereds(namespace string) v1beta1.SBOMSPDXv2p3FilteredInterface
func (*FakeSpdxV1beta1) SBOMSPDXv2p3s ¶
func (c *FakeSpdxV1beta1) SBOMSPDXv2p3s(namespace string) v1beta1.SBOMSPDXv2p3Interface
func (*FakeSpdxV1beta1) VulnerabilityManifests ¶
func (c *FakeSpdxV1beta1) VulnerabilityManifests(namespace string) v1beta1.VulnerabilityManifestInterface
type FakeVulnerabilityManifests ¶
type FakeVulnerabilityManifests struct { Fake *FakeSpdxV1beta1 // contains filtered or unexported fields }
FakeVulnerabilityManifests implements VulnerabilityManifestInterface
func (*FakeVulnerabilityManifests) Create ¶
func (c *FakeVulnerabilityManifests) Create(ctx context.Context, vulnerabilityManifest *v1beta1.VulnerabilityManifest, opts v1.CreateOptions) (result *v1beta1.VulnerabilityManifest, err error)
Create takes the representation of a vulnerabilityManifest and creates it. Returns the server's representation of the vulnerabilityManifest, and an error, if there is any.
func (*FakeVulnerabilityManifests) Delete ¶
func (c *FakeVulnerabilityManifests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the vulnerabilityManifest and deletes it. Returns an error if one occurs.
func (*FakeVulnerabilityManifests) DeleteCollection ¶
func (c *FakeVulnerabilityManifests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVulnerabilityManifests) Get ¶
func (c *FakeVulnerabilityManifests) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VulnerabilityManifest, err error)
Get takes name of the vulnerabilityManifest, and returns the corresponding vulnerabilityManifest object, and an error if there is any.
func (*FakeVulnerabilityManifests) List ¶
func (c *FakeVulnerabilityManifests) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VulnerabilityManifestList, err error)
List takes label and field selectors, and returns the list of VulnerabilityManifests that match those selectors.
func (*FakeVulnerabilityManifests) Patch ¶
func (c *FakeVulnerabilityManifests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VulnerabilityManifest, err error)
Patch applies the patch and returns the patched vulnerabilityManifest.
func (*FakeVulnerabilityManifests) Update ¶
func (c *FakeVulnerabilityManifests) Update(ctx context.Context, vulnerabilityManifest *v1beta1.VulnerabilityManifest, opts v1.UpdateOptions) (result *v1beta1.VulnerabilityManifest, err error)
Update takes the representation of a vulnerabilityManifest and updates it. Returns the server's representation of the vulnerabilityManifest, and an error, if there is any.
func (*FakeVulnerabilityManifests) UpdateStatus ¶
func (c *FakeVulnerabilityManifests) UpdateStatus(ctx context.Context, vulnerabilityManifest *v1beta1.VulnerabilityManifest, opts v1.UpdateOptions) (*v1beta1.VulnerabilityManifest, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVulnerabilityManifests) Watch ¶
func (c *FakeVulnerabilityManifests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested vulnerabilityManifests.