Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDevopsV1alpha1
- type FakePagers
- func (c *FakePagers) Create(ctx context.Context, pager *v1alpha1.Pager, opts v1.CreateOptions) (result *v1alpha1.Pager, err error)
- func (c *FakePagers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePagers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePagers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Pager, err error)
- func (c *FakePagers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PagerList, err error)
- func (c *FakePagers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Pager, err error)
- func (c *FakePagers) Update(ctx context.Context, pager *v1alpha1.Pager, opts v1.UpdateOptions) (result *v1alpha1.Pager, err error)
- func (c *FakePagers) UpdateStatus(ctx context.Context, pager *v1alpha1.Pager, opts v1.UpdateOptions) (*v1alpha1.Pager, error)
- func (c *FakePagers) 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 FakeDevopsV1alpha1 ¶
func (*FakeDevopsV1alpha1) Pagers ¶
func (c *FakeDevopsV1alpha1) Pagers(namespace string) v1alpha1.PagerInterface
func (*FakeDevopsV1alpha1) RESTClient ¶
func (c *FakeDevopsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakePagers ¶
type FakePagers struct { Fake *FakeDevopsV1alpha1 // contains filtered or unexported fields }
FakePagers implements PagerInterface
func (*FakePagers) Create ¶
func (c *FakePagers) Create(ctx context.Context, pager *v1alpha1.Pager, opts v1.CreateOptions) (result *v1alpha1.Pager, err error)
Create takes the representation of a pager and creates it. Returns the server's representation of the pager, and an error, if there is any.
func (*FakePagers) Delete ¶
func (c *FakePagers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the pager and deletes it. Returns an error if one occurs.
func (*FakePagers) DeleteCollection ¶
func (c *FakePagers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePagers) Get ¶
func (c *FakePagers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Pager, err error)
Get takes name of the pager, and returns the corresponding pager object, and an error if there is any.
func (*FakePagers) List ¶
func (c *FakePagers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PagerList, err error)
List takes label and field selectors, and returns the list of Pagers that match those selectors.
func (*FakePagers) Patch ¶
func (c *FakePagers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Pager, err error)
Patch applies the patch and returns the patched pager.
func (*FakePagers) Update ¶
func (c *FakePagers) Update(ctx context.Context, pager *v1alpha1.Pager, opts v1.UpdateOptions) (result *v1alpha1.Pager, err error)
Update takes the representation of a pager and updates it. Returns the server's representation of the pager, and an error, if there is any.
func (*FakePagers) UpdateStatus ¶
func (c *FakePagers) UpdateStatus(ctx context.Context, pager *v1alpha1.Pager, opts v1.UpdateOptions) (*v1alpha1.Pager, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePagers) Watch ¶
func (c *FakePagers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pagers.