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