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