fake

package
v0.18.5 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 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(ctx context.Context, dNSAnnotation *v1alpha1.DNSAnnotation, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDNSAnnotations) Get added in v0.7.12

func (c *FakeDNSAnnotations) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, 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(ctx context.Context, dNSAnnotation *v1alpha1.DNSAnnotation, opts v1.UpdateOptions) (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(ctx context.Context, dNSAnnotation *v1alpha1.DNSAnnotation, opts v1.UpdateOptions) (*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(ctx context.Context, dNSEntry *v1alpha1.DNSEntry, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDNSEntries) Get

func (c *FakeDNSEntries) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DNSEntry, err error)

Patch applies the patch and returns the patched dNSEntry.

func (*FakeDNSEntries) Update

func (c *FakeDNSEntries) Update(ctx context.Context, dNSEntry *v1alpha1.DNSEntry, opts v1.UpdateOptions) (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(ctx context.Context, dNSEntry *v1alpha1.DNSEntry, opts v1.UpdateOptions) (*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

Watch returns a watch.Interface that watches the requested dNSEntries.

type FakeDNSHostedZonePolicies added in v0.10.3

type FakeDNSHostedZonePolicies struct {
	Fake *FakeDnsV1alpha1
	// contains filtered or unexported fields
}

FakeDNSHostedZonePolicies implements DNSHostedZonePolicyInterface

func (*FakeDNSHostedZonePolicies) Create added in v0.10.3

func (c *FakeDNSHostedZonePolicies) Create(ctx context.Context, dNSHostedZonePolicy *v1alpha1.DNSHostedZonePolicy, opts v1.CreateOptions) (result *v1alpha1.DNSHostedZonePolicy, err error)

Create takes the representation of a dNSHostedZonePolicy and creates it. Returns the server's representation of the dNSHostedZonePolicy, and an error, if there is any.

func (*FakeDNSHostedZonePolicies) Delete added in v0.10.3

Delete takes name of the dNSHostedZonePolicy and deletes it. Returns an error if one occurs.

func (*FakeDNSHostedZonePolicies) DeleteCollection added in v0.10.3

func (c *FakeDNSHostedZonePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDNSHostedZonePolicies) Get added in v0.10.3

Get takes name of the dNSHostedZonePolicy, and returns the corresponding dNSHostedZonePolicy object, and an error if there is any.

func (*FakeDNSHostedZonePolicies) List added in v0.10.3

List takes label and field selectors, and returns the list of DNSHostedZonePolicies that match those selectors.

func (*FakeDNSHostedZonePolicies) Patch added in v0.10.3

func (c *FakeDNSHostedZonePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DNSHostedZonePolicy, err error)

Patch applies the patch and returns the patched dNSHostedZonePolicy.

func (*FakeDNSHostedZonePolicies) Update added in v0.10.3

func (c *FakeDNSHostedZonePolicies) Update(ctx context.Context, dNSHostedZonePolicy *v1alpha1.DNSHostedZonePolicy, opts v1.UpdateOptions) (result *v1alpha1.DNSHostedZonePolicy, err error)

Update takes the representation of a dNSHostedZonePolicy and updates it. Returns the server's representation of the dNSHostedZonePolicy, and an error, if there is any.

func (*FakeDNSHostedZonePolicies) UpdateStatus added in v0.10.3

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDNSHostedZonePolicies) Watch added in v0.10.3

Watch returns a watch.Interface that watches the requested dNSHostedZonePolicies.

type FakeDNSLocks added in v0.11.0

type FakeDNSLocks struct {
	Fake *FakeDnsV1alpha1
	// contains filtered or unexported fields
}

FakeDNSLocks implements DNSLockInterface

func (*FakeDNSLocks) Create added in v0.11.0

func (c *FakeDNSLocks) Create(ctx context.Context, dNSLock *v1alpha1.DNSLock, opts v1.CreateOptions) (result *v1alpha1.DNSLock, err error)

Create takes the representation of a dNSLock and creates it. Returns the server's representation of the dNSLock, and an error, if there is any.

func (*FakeDNSLocks) Delete added in v0.11.0

func (c *FakeDNSLocks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the dNSLock and deletes it. Returns an error if one occurs.

func (*FakeDNSLocks) DeleteCollection added in v0.11.0

func (c *FakeDNSLocks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDNSLocks) Get added in v0.11.0

func (c *FakeDNSLocks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DNSLock, err error)

Get takes name of the dNSLock, and returns the corresponding dNSLock object, and an error if there is any.

func (*FakeDNSLocks) List added in v0.11.0

func (c *FakeDNSLocks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DNSLockList, err error)

List takes label and field selectors, and returns the list of DNSLocks that match those selectors.

func (*FakeDNSLocks) Patch added in v0.11.0

func (c *FakeDNSLocks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DNSLock, err error)

Patch applies the patch and returns the patched dNSLock.

func (*FakeDNSLocks) Update added in v0.11.0

func (c *FakeDNSLocks) Update(ctx context.Context, dNSLock *v1alpha1.DNSLock, opts v1.UpdateOptions) (result *v1alpha1.DNSLock, err error)

Update takes the representation of a dNSLock and updates it. Returns the server's representation of the dNSLock, and an error, if there is any.

func (*FakeDNSLocks) UpdateStatus added in v0.11.0

func (c *FakeDNSLocks) UpdateStatus(ctx context.Context, dNSLock *v1alpha1.DNSLock, opts v1.UpdateOptions) (*v1alpha1.DNSLock, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDNSLocks) Watch added in v0.11.0

func (c *FakeDNSLocks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested dNSLocks.

type FakeDNSOwners

type FakeDNSOwners struct {
	Fake *FakeDnsV1alpha1
	// contains filtered or unexported fields
}

FakeDNSOwners implements DNSOwnerInterface

func (*FakeDNSOwners) Create

func (c *FakeDNSOwners) Create(ctx context.Context, dNSOwner *v1alpha1.DNSOwner, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDNSOwners) Get

func (c *FakeDNSOwners) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DNSOwner, err error)

Patch applies the patch and returns the patched dNSOwner.

func (*FakeDNSOwners) Update

func (c *FakeDNSOwners) Update(ctx context.Context, dNSOwner *v1alpha1.DNSOwner, opts v1.UpdateOptions) (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(ctx context.Context, dNSOwner *v1alpha1.DNSOwner, opts v1.UpdateOptions) (*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

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(ctx context.Context, dNSProvider *v1alpha1.DNSProvider, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDNSProviders) Get

func (c *FakeDNSProviders) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DNSProvider, err error)

Patch applies the patch and returns the patched dNSProvider.

func (*FakeDNSProviders) Update

func (c *FakeDNSProviders) Update(ctx context.Context, dNSProvider *v1alpha1.DNSProvider, opts v1.UpdateOptions) (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(ctx context.Context, dNSProvider *v1alpha1.DNSProvider, opts v1.UpdateOptions) (*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

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) DNSHostedZonePolicies added in v0.10.3

func (c *FakeDnsV1alpha1) DNSHostedZonePolicies(namespace string) v1alpha1.DNSHostedZonePolicyInterface

func (*FakeDnsV1alpha1) DNSLocks added in v0.11.0

func (c *FakeDnsV1alpha1) DNSLocks(namespace string) v1alpha1.DNSLockInterface

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.

func (*FakeDnsV1alpha1) RemoteAccessCertificates added in v0.12.0

func (c *FakeDnsV1alpha1) RemoteAccessCertificates(namespace string) v1alpha1.RemoteAccessCertificateInterface

type FakeRemoteAccessCertificates added in v0.12.0

type FakeRemoteAccessCertificates struct {
	Fake *FakeDnsV1alpha1
	// contains filtered or unexported fields
}

FakeRemoteAccessCertificates implements RemoteAccessCertificateInterface

func (*FakeRemoteAccessCertificates) Create added in v0.12.0

Create takes the representation of a remoteAccessCertificate and creates it. Returns the server's representation of the remoteAccessCertificate, and an error, if there is any.

func (*FakeRemoteAccessCertificates) Delete added in v0.12.0

Delete takes name of the remoteAccessCertificate and deletes it. Returns an error if one occurs.

func (*FakeRemoteAccessCertificates) DeleteCollection added in v0.12.0

func (c *FakeRemoteAccessCertificates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeRemoteAccessCertificates) Get added in v0.12.0

Get takes name of the remoteAccessCertificate, and returns the corresponding remoteAccessCertificate object, and an error if there is any.

func (*FakeRemoteAccessCertificates) List added in v0.12.0

List takes label and field selectors, and returns the list of RemoteAccessCertificates that match those selectors.

func (*FakeRemoteAccessCertificates) Patch added in v0.12.0

func (c *FakeRemoteAccessCertificates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.RemoteAccessCertificate, err error)

Patch applies the patch and returns the patched remoteAccessCertificate.

func (*FakeRemoteAccessCertificates) Update added in v0.12.0

Update takes the representation of a remoteAccessCertificate and updates it. Returns the server's representation of the remoteAccessCertificate, and an error, if there is any.

func (*FakeRemoteAccessCertificates) UpdateStatus added in v0.12.0

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeRemoteAccessCertificates) Watch added in v0.12.0

Watch returns a watch.Interface that watches the requested remoteAccessCertificates.

Jump to

Keyboard shortcuts

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