Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDNSAnnotations
- func (c *FakeDNSAnnotations) Create(dNSAnnotation *v1alpha1.DNSAnnotation) (result *v1alpha1.DNSAnnotation, err error)
- func (c *FakeDNSAnnotations) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDNSAnnotations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDNSAnnotations) Get(name string, options v1.GetOptions) (result *v1alpha1.DNSAnnotation, err error)
- func (c *FakeDNSAnnotations) List(opts v1.ListOptions) (result *v1alpha1.DNSAnnotationList, err error)
- func (c *FakeDNSAnnotations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DNSAnnotation, err error)
- func (c *FakeDNSAnnotations) Update(dNSAnnotation *v1alpha1.DNSAnnotation) (result *v1alpha1.DNSAnnotation, err error)
- func (c *FakeDNSAnnotations) UpdateStatus(dNSAnnotation *v1alpha1.DNSAnnotation) (*v1alpha1.DNSAnnotation, error)
- func (c *FakeDNSAnnotations) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeDNSEntries
- func (c *FakeDNSEntries) Create(dNSEntry *v1alpha1.DNSEntry) (result *v1alpha1.DNSEntry, err error)
- func (c *FakeDNSEntries) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDNSEntries) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDNSEntries) Get(name string, options v1.GetOptions) (result *v1alpha1.DNSEntry, err error)
- func (c *FakeDNSEntries) List(opts v1.ListOptions) (result *v1alpha1.DNSEntryList, err error)
- func (c *FakeDNSEntries) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DNSEntry, err error)
- func (c *FakeDNSEntries) Update(dNSEntry *v1alpha1.DNSEntry) (result *v1alpha1.DNSEntry, err error)
- func (c *FakeDNSEntries) UpdateStatus(dNSEntry *v1alpha1.DNSEntry) (*v1alpha1.DNSEntry, error)
- func (c *FakeDNSEntries) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeDNSOwners
- func (c *FakeDNSOwners) Create(dNSOwner *v1alpha1.DNSOwner) (result *v1alpha1.DNSOwner, err error)
- func (c *FakeDNSOwners) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDNSOwners) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDNSOwners) Get(name string, options v1.GetOptions) (result *v1alpha1.DNSOwner, err error)
- func (c *FakeDNSOwners) List(opts v1.ListOptions) (result *v1alpha1.DNSOwnerList, err error)
- func (c *FakeDNSOwners) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DNSOwner, err error)
- func (c *FakeDNSOwners) Update(dNSOwner *v1alpha1.DNSOwner) (result *v1alpha1.DNSOwner, err error)
- func (c *FakeDNSOwners) UpdateStatus(dNSOwner *v1alpha1.DNSOwner) (*v1alpha1.DNSOwner, error)
- func (c *FakeDNSOwners) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeDNSProviders
- func (c *FakeDNSProviders) Create(dNSProvider *v1alpha1.DNSProvider) (result *v1alpha1.DNSProvider, err error)
- func (c *FakeDNSProviders) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDNSProviders) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDNSProviders) Get(name string, options v1.GetOptions) (result *v1alpha1.DNSProvider, err error)
- func (c *FakeDNSProviders) List(opts v1.ListOptions) (result *v1alpha1.DNSProviderList, err error)
- func (c *FakeDNSProviders) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DNSProvider, err error)
- func (c *FakeDNSProviders) Update(dNSProvider *v1alpha1.DNSProvider) (result *v1alpha1.DNSProvider, err error)
- func (c *FakeDNSProviders) UpdateStatus(dNSProvider *v1alpha1.DNSProvider) (*v1alpha1.DNSProvider, error)
- func (c *FakeDNSProviders) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeDnsV1alpha1
- func (c *FakeDnsV1alpha1) DNSAnnotations(namespace string) v1alpha1.DNSAnnotationInterface
- func (c *FakeDnsV1alpha1) DNSEntries(namespace string) v1alpha1.DNSEntryInterface
- func (c *FakeDnsV1alpha1) DNSOwners(namespace string) v1alpha1.DNSOwnerInterface
- func (c *FakeDnsV1alpha1) DNSProviders(namespace string) v1alpha1.DNSProviderInterface
- func (c *FakeDnsV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDNSAnnotations ¶ added in v0.7.12
type FakeDNSAnnotations struct { Fake *FakeDnsV1alpha1 // contains filtered or unexported fields }
FakeDNSAnnotations implements DNSAnnotationInterface
func (*FakeDNSAnnotations) Create ¶ added in v0.7.12
func (c *FakeDNSAnnotations) Create(dNSAnnotation *v1alpha1.DNSAnnotation) (result *v1alpha1.DNSAnnotation, err error)
Create takes the representation of a dNSAnnotation and creates it. Returns the server's representation of the dNSAnnotation, and an error, if there is any.
func (*FakeDNSAnnotations) Delete ¶ added in v0.7.12
func (c *FakeDNSAnnotations) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the dNSAnnotation and deletes it. Returns an error if one occurs.
func (*FakeDNSAnnotations) DeleteCollection ¶ added in v0.7.12
func (c *FakeDNSAnnotations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDNSAnnotations) Get ¶ added in v0.7.12
func (c *FakeDNSAnnotations) Get(name string, options v1.GetOptions) (result *v1alpha1.DNSAnnotation, err error)
Get takes name of the dNSAnnotation, and returns the corresponding dNSAnnotation object, and an error if there is any.
func (*FakeDNSAnnotations) List ¶ added in v0.7.12
func (c *FakeDNSAnnotations) List(opts v1.ListOptions) (result *v1alpha1.DNSAnnotationList, err error)
List takes label and field selectors, and returns the list of DNSAnnotations that match those selectors.
func (*FakeDNSAnnotations) Patch ¶ added in v0.7.12
func (c *FakeDNSAnnotations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DNSAnnotation, err error)
Patch applies the patch and returns the patched dNSAnnotation.
func (*FakeDNSAnnotations) Update ¶ added in v0.7.12
func (c *FakeDNSAnnotations) Update(dNSAnnotation *v1alpha1.DNSAnnotation) (result *v1alpha1.DNSAnnotation, err error)
Update takes the representation of a dNSAnnotation and updates it. Returns the server's representation of the dNSAnnotation, and an error, if there is any.
func (*FakeDNSAnnotations) UpdateStatus ¶ added in v0.7.12
func (c *FakeDNSAnnotations) UpdateStatus(dNSAnnotation *v1alpha1.DNSAnnotation) (*v1alpha1.DNSAnnotation, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDNSAnnotations) Watch ¶ added in v0.7.12
func (c *FakeDNSAnnotations) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dNSAnnotations.
type FakeDNSEntries ¶
type FakeDNSEntries struct { Fake *FakeDnsV1alpha1 // contains filtered or unexported fields }
FakeDNSEntries implements DNSEntryInterface
func (*FakeDNSEntries) Create ¶
Create takes the representation of a dNSEntry and creates it. Returns the server's representation of the dNSEntry, and an error, if there is any.
func (*FakeDNSEntries) Delete ¶
func (c *FakeDNSEntries) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the dNSEntry and deletes it. Returns an error if one occurs.
func (*FakeDNSEntries) DeleteCollection ¶
func (c *FakeDNSEntries) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDNSEntries) Get ¶
func (c *FakeDNSEntries) Get(name string, options v1.GetOptions) (result *v1alpha1.DNSEntry, err error)
Get takes name of the dNSEntry, and returns the corresponding dNSEntry object, and an error if there is any.
func (*FakeDNSEntries) List ¶
func (c *FakeDNSEntries) List(opts v1.ListOptions) (result *v1alpha1.DNSEntryList, err error)
List takes label and field selectors, and returns the list of DNSEntries that match those selectors.
func (*FakeDNSEntries) Patch ¶
func (c *FakeDNSEntries) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DNSEntry, err error)
Patch applies the patch and returns the patched dNSEntry.
func (*FakeDNSEntries) Update ¶
Update takes the representation of a dNSEntry and updates it. Returns the server's representation of the dNSEntry, and an error, if there is any.
func (*FakeDNSEntries) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDNSEntries) Watch ¶
func (c *FakeDNSEntries) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dNSEntries.
type FakeDNSOwners ¶
type FakeDNSOwners struct { Fake *FakeDnsV1alpha1 // contains filtered or unexported fields }
FakeDNSOwners implements DNSOwnerInterface
func (*FakeDNSOwners) Create ¶
Create takes the representation of a dNSOwner and creates it. Returns the server's representation of the dNSOwner, and an error, if there is any.
func (*FakeDNSOwners) Delete ¶
func (c *FakeDNSOwners) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the dNSOwner and deletes it. Returns an error if one occurs.
func (*FakeDNSOwners) DeleteCollection ¶
func (c *FakeDNSOwners) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDNSOwners) Get ¶
func (c *FakeDNSOwners) Get(name string, options v1.GetOptions) (result *v1alpha1.DNSOwner, err error)
Get takes name of the dNSOwner, and returns the corresponding dNSOwner object, and an error if there is any.
func (*FakeDNSOwners) List ¶
func (c *FakeDNSOwners) List(opts v1.ListOptions) (result *v1alpha1.DNSOwnerList, err error)
List takes label and field selectors, and returns the list of DNSOwners that match those selectors.
func (*FakeDNSOwners) Patch ¶
func (c *FakeDNSOwners) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DNSOwner, err error)
Patch applies the patch and returns the patched dNSOwner.
func (*FakeDNSOwners) Update ¶
Update takes the representation of a dNSOwner and updates it. Returns the server's representation of the dNSOwner, and an error, if there is any.
func (*FakeDNSOwners) UpdateStatus ¶ added in v0.7.12
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDNSOwners) Watch ¶
func (c *FakeDNSOwners) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dNSOwners.
type FakeDNSProviders ¶
type FakeDNSProviders struct { Fake *FakeDnsV1alpha1 // contains filtered or unexported fields }
FakeDNSProviders implements DNSProviderInterface
func (*FakeDNSProviders) Create ¶
func (c *FakeDNSProviders) Create(dNSProvider *v1alpha1.DNSProvider) (result *v1alpha1.DNSProvider, err error)
Create takes the representation of a dNSProvider and creates it. Returns the server's representation of the dNSProvider, and an error, if there is any.
func (*FakeDNSProviders) Delete ¶
func (c *FakeDNSProviders) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the dNSProvider and deletes it. Returns an error if one occurs.
func (*FakeDNSProviders) DeleteCollection ¶
func (c *FakeDNSProviders) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDNSProviders) Get ¶
func (c *FakeDNSProviders) Get(name string, options v1.GetOptions) (result *v1alpha1.DNSProvider, err error)
Get takes name of the dNSProvider, and returns the corresponding dNSProvider object, and an error if there is any.
func (*FakeDNSProviders) List ¶
func (c *FakeDNSProviders) List(opts v1.ListOptions) (result *v1alpha1.DNSProviderList, err error)
List takes label and field selectors, and returns the list of DNSProviders that match those selectors.
func (*FakeDNSProviders) Patch ¶
func (c *FakeDNSProviders) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DNSProvider, err error)
Patch applies the patch and returns the patched dNSProvider.
func (*FakeDNSProviders) Update ¶
func (c *FakeDNSProviders) Update(dNSProvider *v1alpha1.DNSProvider) (result *v1alpha1.DNSProvider, err error)
Update takes the representation of a dNSProvider and updates it. Returns the server's representation of the dNSProvider, and an error, if there is any.
func (*FakeDNSProviders) UpdateStatus ¶
func (c *FakeDNSProviders) UpdateStatus(dNSProvider *v1alpha1.DNSProvider) (*v1alpha1.DNSProvider, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDNSProviders) Watch ¶
func (c *FakeDNSProviders) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dNSProviders.
type FakeDnsV1alpha1 ¶
func (*FakeDnsV1alpha1) DNSAnnotations ¶ added in v0.7.12
func (c *FakeDnsV1alpha1) DNSAnnotations(namespace string) v1alpha1.DNSAnnotationInterface
func (*FakeDnsV1alpha1) DNSEntries ¶
func (c *FakeDnsV1alpha1) DNSEntries(namespace string) v1alpha1.DNSEntryInterface
func (*FakeDnsV1alpha1) DNSOwners ¶
func (c *FakeDnsV1alpha1) DNSOwners(namespace string) v1alpha1.DNSOwnerInterface
func (*FakeDnsV1alpha1) DNSProviders ¶
func (c *FakeDnsV1alpha1) DNSProviders(namespace string) v1alpha1.DNSProviderInterface
func (*FakeDnsV1alpha1) RESTClient ¶
func (c *FakeDnsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.