fake

package
v0.7.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2020 License: Apache-2.0, BSD-3-Clause, MIT Imports: 9 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

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

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

func (c *FakeDNSEntries) Create(dNSEntry *v1alpha1.DNSEntry) (result *v1alpha1.DNSEntry, err error)

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

func (c *FakeDNSEntries) Update(dNSEntry *v1alpha1.DNSEntry) (result *v1alpha1.DNSEntry, err error)

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

func (c *FakeDNSEntries) UpdateStatus(dNSEntry *v1alpha1.DNSEntry) (*v1alpha1.DNSEntry, error)

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

func (c *FakeDNSOwners) Create(dNSOwner *v1alpha1.DNSOwner) (result *v1alpha1.DNSOwner, err error)

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

func (c *FakeDNSOwners) Update(dNSOwner *v1alpha1.DNSOwner) (result *v1alpha1.DNSOwner, err error)

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

func (c *FakeDNSOwners) UpdateStatus(dNSOwner *v1alpha1.DNSOwner) (*v1alpha1.DNSOwner, error)

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

type FakeDnsV1alpha1 struct {
	*testing.Fake
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL