fake

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: 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 FakeDNSEndpoints

type FakeDNSEndpoints struct {
	Fake *FakeMulticlusterdnsV1alpha1
	// contains filtered or unexported fields
}

FakeDNSEndpoints implements DNSEndpointInterface

func (*FakeDNSEndpoints) Create

func (c *FakeDNSEndpoints) Create(dNSEndpoint *v1alpha1.DNSEndpoint) (result *v1alpha1.DNSEndpoint, err error)

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

func (*FakeDNSEndpoints) Delete

func (c *FakeDNSEndpoints) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeDNSEndpoints) DeleteCollection

func (c *FakeDNSEndpoints) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDNSEndpoints) Get

func (c *FakeDNSEndpoints) Get(name string, options v1.GetOptions) (result *v1alpha1.DNSEndpoint, err error)

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

func (*FakeDNSEndpoints) List

func (c *FakeDNSEndpoints) List(opts v1.ListOptions) (result *v1alpha1.DNSEndpointList, err error)

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

func (*FakeDNSEndpoints) Patch

func (c *FakeDNSEndpoints) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DNSEndpoint, err error)

Patch applies the patch and returns the patched dNSEndpoint.

func (*FakeDNSEndpoints) Update

func (c *FakeDNSEndpoints) Update(dNSEndpoint *v1alpha1.DNSEndpoint) (result *v1alpha1.DNSEndpoint, err error)

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

func (*FakeDNSEndpoints) UpdateStatus

func (c *FakeDNSEndpoints) UpdateStatus(dNSEndpoint *v1alpha1.DNSEndpoint) (*v1alpha1.DNSEndpoint, error)

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

func (*FakeDNSEndpoints) Watch

func (c *FakeDNSEndpoints) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeDomains

type FakeDomains struct {
	Fake *FakeMulticlusterdnsV1alpha1
	// contains filtered or unexported fields
}

FakeDomains implements DomainInterface

func (*FakeDomains) Create

func (c *FakeDomains) Create(domain *v1alpha1.Domain) (result *v1alpha1.Domain, err error)

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

func (*FakeDomains) Delete

func (c *FakeDomains) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeDomains) DeleteCollection

func (c *FakeDomains) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDomains) Get

func (c *FakeDomains) Get(name string, options v1.GetOptions) (result *v1alpha1.Domain, err error)

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

func (*FakeDomains) List

func (c *FakeDomains) List(opts v1.ListOptions) (result *v1alpha1.DomainList, err error)

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

func (*FakeDomains) Patch

func (c *FakeDomains) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Domain, err error)

Patch applies the patch and returns the patched domain.

func (*FakeDomains) Update

func (c *FakeDomains) Update(domain *v1alpha1.Domain) (result *v1alpha1.Domain, err error)

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

func (*FakeDomains) Watch

func (c *FakeDomains) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeIngressDNSRecords

type FakeIngressDNSRecords struct {
	Fake *FakeMulticlusterdnsV1alpha1
	// contains filtered or unexported fields
}

FakeIngressDNSRecords implements IngressDNSRecordInterface

func (*FakeIngressDNSRecords) Create

func (c *FakeIngressDNSRecords) Create(ingressDNSRecord *v1alpha1.IngressDNSRecord) (result *v1alpha1.IngressDNSRecord, err error)

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

func (*FakeIngressDNSRecords) Delete

func (c *FakeIngressDNSRecords) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeIngressDNSRecords) DeleteCollection

func (c *FakeIngressDNSRecords) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeIngressDNSRecords) Get

func (c *FakeIngressDNSRecords) Get(name string, options v1.GetOptions) (result *v1alpha1.IngressDNSRecord, err error)

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

func (*FakeIngressDNSRecords) List

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

func (*FakeIngressDNSRecords) Patch

func (c *FakeIngressDNSRecords) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.IngressDNSRecord, err error)

Patch applies the patch and returns the patched ingressDNSRecord.

func (*FakeIngressDNSRecords) Update

func (c *FakeIngressDNSRecords) Update(ingressDNSRecord *v1alpha1.IngressDNSRecord) (result *v1alpha1.IngressDNSRecord, err error)

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

func (*FakeIngressDNSRecords) UpdateStatus

func (c *FakeIngressDNSRecords) UpdateStatus(ingressDNSRecord *v1alpha1.IngressDNSRecord) (*v1alpha1.IngressDNSRecord, error)

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

func (*FakeIngressDNSRecords) Watch

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

type FakeMulticlusterdnsV1alpha1

type FakeMulticlusterdnsV1alpha1 struct {
	*testing.Fake
}

func (*FakeMulticlusterdnsV1alpha1) DNSEndpoints

func (*FakeMulticlusterdnsV1alpha1) Domains

func (*FakeMulticlusterdnsV1alpha1) IngressDNSRecords

func (c *FakeMulticlusterdnsV1alpha1) IngressDNSRecords(namespace string) v1alpha1.IngressDNSRecordInterface

func (*FakeMulticlusterdnsV1alpha1) RESTClient

func (c *FakeMulticlusterdnsV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeMulticlusterdnsV1alpha1) ServiceDNSRecords

func (c *FakeMulticlusterdnsV1alpha1) ServiceDNSRecords(namespace string) v1alpha1.ServiceDNSRecordInterface

type FakeServiceDNSRecords

type FakeServiceDNSRecords struct {
	Fake *FakeMulticlusterdnsV1alpha1
	// contains filtered or unexported fields
}

FakeServiceDNSRecords implements ServiceDNSRecordInterface

func (*FakeServiceDNSRecords) Create

func (c *FakeServiceDNSRecords) Create(serviceDNSRecord *v1alpha1.ServiceDNSRecord) (result *v1alpha1.ServiceDNSRecord, err error)

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

func (*FakeServiceDNSRecords) Delete

func (c *FakeServiceDNSRecords) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeServiceDNSRecords) DeleteCollection

func (c *FakeServiceDNSRecords) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeServiceDNSRecords) Get

func (c *FakeServiceDNSRecords) Get(name string, options v1.GetOptions) (result *v1alpha1.ServiceDNSRecord, err error)

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

func (*FakeServiceDNSRecords) List

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

func (*FakeServiceDNSRecords) Patch

func (c *FakeServiceDNSRecords) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ServiceDNSRecord, err error)

Patch applies the patch and returns the patched serviceDNSRecord.

func (*FakeServiceDNSRecords) Update

func (c *FakeServiceDNSRecords) Update(serviceDNSRecord *v1alpha1.ServiceDNSRecord) (result *v1alpha1.ServiceDNSRecord, err error)

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

func (*FakeServiceDNSRecords) UpdateStatus

func (c *FakeServiceDNSRecords) UpdateStatus(serviceDNSRecord *v1alpha1.ServiceDNSRecord) (*v1alpha1.ServiceDNSRecord, error)

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

func (*FakeServiceDNSRecords) Watch

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

Jump to

Keyboard shortcuts

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