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