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