Documentation ¶
Index ¶
- type FakeTestTriggers
- func (c *FakeTestTriggers) Create(ctx context.Context, testTrigger *testtriggersv1.TestTrigger, ...) (result *testtriggersv1.TestTrigger, err error)
- func (c *FakeTestTriggers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTestTriggers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTestTriggers) Get(ctx context.Context, name string, options v1.GetOptions) (result *testtriggersv1.TestTrigger, err error)
- func (c *FakeTestTriggers) List(ctx context.Context, opts v1.ListOptions) (result *testtriggersv1.TestTriggerList, err error)
- func (c *FakeTestTriggers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *testtriggersv1.TestTrigger, err error)
- func (c *FakeTestTriggers) Update(ctx context.Context, testTrigger *testtriggersv1.TestTrigger, ...) (result *testtriggersv1.TestTrigger, err error)
- func (c *FakeTestTriggers) UpdateStatus(ctx context.Context, testTrigger *testtriggersv1.TestTrigger, ...) (*testtriggersv1.TestTrigger, error)
- func (c *FakeTestTriggers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTestsV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeTestTriggers ¶
type FakeTestTriggers struct { Fake *FakeTestsV1 // contains filtered or unexported fields }
FakeTestTriggers implements TestTriggerInterface
func (*FakeTestTriggers) Create ¶
func (c *FakeTestTriggers) Create(ctx context.Context, testTrigger *testtriggersv1.TestTrigger, opts v1.CreateOptions) (result *testtriggersv1.TestTrigger, err error)
Create takes the representation of a testTrigger and creates it. Returns the server's representation of the testTrigger, and an error, if there is any.
func (*FakeTestTriggers) Delete ¶
func (c *FakeTestTriggers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the testTrigger and deletes it. Returns an error if one occurs.
func (*FakeTestTriggers) DeleteCollection ¶
func (c *FakeTestTriggers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTestTriggers) Get ¶
func (c *FakeTestTriggers) Get(ctx context.Context, name string, options v1.GetOptions) (result *testtriggersv1.TestTrigger, err error)
Get takes name of the testTrigger, and returns the corresponding testTrigger object, and an error if there is any.
func (*FakeTestTriggers) List ¶
func (c *FakeTestTriggers) List(ctx context.Context, opts v1.ListOptions) (result *testtriggersv1.TestTriggerList, err error)
List takes label and field selectors, and returns the list of TestTriggers that match those selectors.
func (*FakeTestTriggers) Patch ¶
func (c *FakeTestTriggers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *testtriggersv1.TestTrigger, err error)
Patch applies the patch and returns the patched testTrigger.
func (*FakeTestTriggers) Update ¶
func (c *FakeTestTriggers) Update(ctx context.Context, testTrigger *testtriggersv1.TestTrigger, opts v1.UpdateOptions) (result *testtriggersv1.TestTrigger, err error)
Update takes the representation of a testTrigger and updates it. Returns the server's representation of the testTrigger, and an error, if there is any.
func (*FakeTestTriggers) UpdateStatus ¶
func (c *FakeTestTriggers) UpdateStatus(ctx context.Context, testTrigger *testtriggersv1.TestTrigger, opts v1.UpdateOptions) (*testtriggersv1.TestTrigger, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTestTriggers) Watch ¶
func (c *FakeTestTriggers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested testTriggers.
type FakeTestsV1 ¶
func (*FakeTestsV1) RESTClient ¶
func (c *FakeTestsV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeTestsV1) TestTriggers ¶
func (c *FakeTestsV1) TestTriggers(namespace string) v1.TestTriggerInterface