fake

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 10 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 FakeDnsARecords

type FakeDnsARecords struct {
	Fake *FakePrivateV1alpha1
	// contains filtered or unexported fields
}

FakeDnsARecords implements DnsARecordInterface

func (*FakeDnsARecords) Create

func (c *FakeDnsARecords) Create(ctx context.Context, dnsARecord *v1alpha1.DnsARecord, opts v1.CreateOptions) (result *v1alpha1.DnsARecord, err error)

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

func (*FakeDnsARecords) Delete

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

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

func (*FakeDnsARecords) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDnsARecords) Get

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

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

func (*FakeDnsARecords) List

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

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

func (*FakeDnsARecords) Patch

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

Patch applies the patch and returns the patched dnsARecord.

func (*FakeDnsARecords) Update

func (c *FakeDnsARecords) Update(ctx context.Context, dnsARecord *v1alpha1.DnsARecord, opts v1.UpdateOptions) (result *v1alpha1.DnsARecord, err error)

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

func (*FakeDnsARecords) UpdateStatus

func (c *FakeDnsARecords) UpdateStatus(ctx context.Context, dnsARecord *v1alpha1.DnsARecord, opts v1.UpdateOptions) (*v1alpha1.DnsARecord, error)

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

func (*FakeDnsARecords) Watch

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

type FakeDnsAaaaRecords

type FakeDnsAaaaRecords struct {
	Fake *FakePrivateV1alpha1
	// contains filtered or unexported fields
}

FakeDnsAaaaRecords implements DnsAaaaRecordInterface

func (*FakeDnsAaaaRecords) Create

func (c *FakeDnsAaaaRecords) Create(ctx context.Context, dnsAaaaRecord *v1alpha1.DnsAaaaRecord, opts v1.CreateOptions) (result *v1alpha1.DnsAaaaRecord, err error)

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

func (*FakeDnsAaaaRecords) Delete

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

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

func (*FakeDnsAaaaRecords) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDnsAaaaRecords) Get

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

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

func (*FakeDnsAaaaRecords) List

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

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

func (*FakeDnsAaaaRecords) Patch

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

Patch applies the patch and returns the patched dnsAaaaRecord.

func (*FakeDnsAaaaRecords) Update

func (c *FakeDnsAaaaRecords) Update(ctx context.Context, dnsAaaaRecord *v1alpha1.DnsAaaaRecord, opts v1.UpdateOptions) (result *v1alpha1.DnsAaaaRecord, err error)

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

func (*FakeDnsAaaaRecords) UpdateStatus

func (c *FakeDnsAaaaRecords) UpdateStatus(ctx context.Context, dnsAaaaRecord *v1alpha1.DnsAaaaRecord, opts v1.UpdateOptions) (*v1alpha1.DnsAaaaRecord, error)

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

func (*FakeDnsAaaaRecords) Watch

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

type FakeDnsCnameRecords

type FakeDnsCnameRecords struct {
	Fake *FakePrivateV1alpha1
	// contains filtered or unexported fields
}

FakeDnsCnameRecords implements DnsCnameRecordInterface

func (*FakeDnsCnameRecords) Create

func (c *FakeDnsCnameRecords) Create(ctx context.Context, dnsCnameRecord *v1alpha1.DnsCnameRecord, opts v1.CreateOptions) (result *v1alpha1.DnsCnameRecord, err error)

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

func (*FakeDnsCnameRecords) Delete

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

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

func (*FakeDnsCnameRecords) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDnsCnameRecords) Get

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

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

func (*FakeDnsCnameRecords) List

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

func (*FakeDnsCnameRecords) Patch

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

Patch applies the patch and returns the patched dnsCnameRecord.

func (*FakeDnsCnameRecords) Update

func (c *FakeDnsCnameRecords) Update(ctx context.Context, dnsCnameRecord *v1alpha1.DnsCnameRecord, opts v1.UpdateOptions) (result *v1alpha1.DnsCnameRecord, err error)

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

func (*FakeDnsCnameRecords) UpdateStatus

func (c *FakeDnsCnameRecords) UpdateStatus(ctx context.Context, dnsCnameRecord *v1alpha1.DnsCnameRecord, opts v1.UpdateOptions) (*v1alpha1.DnsCnameRecord, error)

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

func (*FakeDnsCnameRecords) Watch

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

type FakeDnsMxRecords

type FakeDnsMxRecords struct {
	Fake *FakePrivateV1alpha1
	// contains filtered or unexported fields
}

FakeDnsMxRecords implements DnsMxRecordInterface

func (*FakeDnsMxRecords) Create

func (c *FakeDnsMxRecords) Create(ctx context.Context, dnsMxRecord *v1alpha1.DnsMxRecord, opts v1.CreateOptions) (result *v1alpha1.DnsMxRecord, err error)

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

func (*FakeDnsMxRecords) Delete

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

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

func (*FakeDnsMxRecords) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDnsMxRecords) Get

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

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

func (*FakeDnsMxRecords) List

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

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

func (*FakeDnsMxRecords) Patch

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

Patch applies the patch and returns the patched dnsMxRecord.

func (*FakeDnsMxRecords) Update

func (c *FakeDnsMxRecords) Update(ctx context.Context, dnsMxRecord *v1alpha1.DnsMxRecord, opts v1.UpdateOptions) (result *v1alpha1.DnsMxRecord, err error)

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

func (*FakeDnsMxRecords) UpdateStatus

func (c *FakeDnsMxRecords) UpdateStatus(ctx context.Context, dnsMxRecord *v1alpha1.DnsMxRecord, opts v1.UpdateOptions) (*v1alpha1.DnsMxRecord, error)

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

func (*FakeDnsMxRecords) Watch

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

type FakeDnsPtrRecords

type FakeDnsPtrRecords struct {
	Fake *FakePrivateV1alpha1
	// contains filtered or unexported fields
}

FakeDnsPtrRecords implements DnsPtrRecordInterface

func (*FakeDnsPtrRecords) Create

func (c *FakeDnsPtrRecords) Create(ctx context.Context, dnsPtrRecord *v1alpha1.DnsPtrRecord, opts v1.CreateOptions) (result *v1alpha1.DnsPtrRecord, err error)

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

func (*FakeDnsPtrRecords) Delete

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

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

func (*FakeDnsPtrRecords) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDnsPtrRecords) Get

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

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

func (*FakeDnsPtrRecords) List

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

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

func (*FakeDnsPtrRecords) Patch

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

Patch applies the patch and returns the patched dnsPtrRecord.

func (*FakeDnsPtrRecords) Update

func (c *FakeDnsPtrRecords) Update(ctx context.Context, dnsPtrRecord *v1alpha1.DnsPtrRecord, opts v1.UpdateOptions) (result *v1alpha1.DnsPtrRecord, err error)

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

func (*FakeDnsPtrRecords) UpdateStatus

func (c *FakeDnsPtrRecords) UpdateStatus(ctx context.Context, dnsPtrRecord *v1alpha1.DnsPtrRecord, opts v1.UpdateOptions) (*v1alpha1.DnsPtrRecord, error)

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

func (*FakeDnsPtrRecords) Watch

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

type FakeDnsSrvRecords

type FakeDnsSrvRecords struct {
	Fake *FakePrivateV1alpha1
	// contains filtered or unexported fields
}

FakeDnsSrvRecords implements DnsSrvRecordInterface

func (*FakeDnsSrvRecords) Create

func (c *FakeDnsSrvRecords) Create(ctx context.Context, dnsSrvRecord *v1alpha1.DnsSrvRecord, opts v1.CreateOptions) (result *v1alpha1.DnsSrvRecord, err error)

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

func (*FakeDnsSrvRecords) Delete

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

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

func (*FakeDnsSrvRecords) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDnsSrvRecords) Get

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

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

func (*FakeDnsSrvRecords) List

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

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

func (*FakeDnsSrvRecords) Patch

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

Patch applies the patch and returns the patched dnsSrvRecord.

func (*FakeDnsSrvRecords) Update

func (c *FakeDnsSrvRecords) Update(ctx context.Context, dnsSrvRecord *v1alpha1.DnsSrvRecord, opts v1.UpdateOptions) (result *v1alpha1.DnsSrvRecord, err error)

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

func (*FakeDnsSrvRecords) UpdateStatus

func (c *FakeDnsSrvRecords) UpdateStatus(ctx context.Context, dnsSrvRecord *v1alpha1.DnsSrvRecord, opts v1.UpdateOptions) (*v1alpha1.DnsSrvRecord, error)

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

func (*FakeDnsSrvRecords) Watch

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

type FakeDnsTxtRecords

type FakeDnsTxtRecords struct {
	Fake *FakePrivateV1alpha1
	// contains filtered or unexported fields
}

FakeDnsTxtRecords implements DnsTxtRecordInterface

func (*FakeDnsTxtRecords) Create

func (c *FakeDnsTxtRecords) Create(ctx context.Context, dnsTxtRecord *v1alpha1.DnsTxtRecord, opts v1.CreateOptions) (result *v1alpha1.DnsTxtRecord, err error)

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

func (*FakeDnsTxtRecords) Delete

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

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

func (*FakeDnsTxtRecords) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDnsTxtRecords) Get

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

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

func (*FakeDnsTxtRecords) List

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

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

func (*FakeDnsTxtRecords) Patch

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

Patch applies the patch and returns the patched dnsTxtRecord.

func (*FakeDnsTxtRecords) Update

func (c *FakeDnsTxtRecords) Update(ctx context.Context, dnsTxtRecord *v1alpha1.DnsTxtRecord, opts v1.UpdateOptions) (result *v1alpha1.DnsTxtRecord, err error)

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

func (*FakeDnsTxtRecords) UpdateStatus

func (c *FakeDnsTxtRecords) UpdateStatus(ctx context.Context, dnsTxtRecord *v1alpha1.DnsTxtRecord, opts v1.UpdateOptions) (*v1alpha1.DnsTxtRecord, error)

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

func (*FakeDnsTxtRecords) Watch

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

type FakeDnsZoneVirtualNetworkLinks struct {
	Fake *FakePrivateV1alpha1
	// contains filtered or unexported fields
}

FakeDnsZoneVirtualNetworkLinks implements DnsZoneVirtualNetworkLinkInterface

func (*FakeDnsZoneVirtualNetworkLinks) Create

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

func (*FakeDnsZoneVirtualNetworkLinks) Delete

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

func (*FakeDnsZoneVirtualNetworkLinks) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDnsZoneVirtualNetworkLinks) Get

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

func (*FakeDnsZoneVirtualNetworkLinks) List

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

func (*FakeDnsZoneVirtualNetworkLinks) Patch

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

Patch applies the patch and returns the patched dnsZoneVirtualNetworkLink.

func (*FakeDnsZoneVirtualNetworkLinks) Update

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

func (*FakeDnsZoneVirtualNetworkLinks) UpdateStatus

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

func (*FakeDnsZoneVirtualNetworkLinks) Watch

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

type FakeDnsZones

type FakeDnsZones struct {
	Fake *FakePrivateV1alpha1
	// contains filtered or unexported fields
}

FakeDnsZones implements DnsZoneInterface

func (*FakeDnsZones) Create

func (c *FakeDnsZones) Create(ctx context.Context, dnsZone *v1alpha1.DnsZone, opts v1.CreateOptions) (result *v1alpha1.DnsZone, err error)

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

func (*FakeDnsZones) Delete

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

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

func (*FakeDnsZones) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDnsZones) Get

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

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

func (*FakeDnsZones) List

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

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

func (*FakeDnsZones) Patch

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

Patch applies the patch and returns the patched dnsZone.

func (*FakeDnsZones) Update

func (c *FakeDnsZones) Update(ctx context.Context, dnsZone *v1alpha1.DnsZone, opts v1.UpdateOptions) (result *v1alpha1.DnsZone, err error)

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

func (*FakeDnsZones) UpdateStatus

func (c *FakeDnsZones) UpdateStatus(ctx context.Context, dnsZone *v1alpha1.DnsZone, opts v1.UpdateOptions) (*v1alpha1.DnsZone, error)

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

func (*FakeDnsZones) Watch

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

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

type FakeEndpoints

type FakeEndpoints struct {
	Fake *FakePrivateV1alpha1
	// contains filtered or unexported fields
}

FakeEndpoints implements EndpointInterface

func (*FakeEndpoints) Create

func (c *FakeEndpoints) Create(ctx context.Context, endpoint *v1alpha1.Endpoint, opts v1.CreateOptions) (result *v1alpha1.Endpoint, err error)

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

func (*FakeEndpoints) Delete

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

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

func (*FakeEndpoints) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEndpoints) Get

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

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

func (*FakeEndpoints) List

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

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

func (*FakeEndpoints) Patch

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

Patch applies the patch and returns the patched endpoint.

func (*FakeEndpoints) Update

func (c *FakeEndpoints) Update(ctx context.Context, endpoint *v1alpha1.Endpoint, opts v1.UpdateOptions) (result *v1alpha1.Endpoint, err error)

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

func (*FakeEndpoints) UpdateStatus

func (c *FakeEndpoints) UpdateStatus(ctx context.Context, endpoint *v1alpha1.Endpoint, opts v1.UpdateOptions) (*v1alpha1.Endpoint, error)

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

func (*FakeEndpoints) Watch

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

type FakeLinkServices

type FakeLinkServices struct {
	Fake *FakePrivateV1alpha1
	// contains filtered or unexported fields
}

FakeLinkServices implements LinkServiceInterface

func (*FakeLinkServices) Create

func (c *FakeLinkServices) Create(ctx context.Context, linkService *v1alpha1.LinkService, opts v1.CreateOptions) (result *v1alpha1.LinkService, err error)

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

func (*FakeLinkServices) Delete

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

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

func (*FakeLinkServices) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeLinkServices) Get

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

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

func (*FakeLinkServices) List

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

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

func (*FakeLinkServices) Patch

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

Patch applies the patch and returns the patched linkService.

func (*FakeLinkServices) Update

func (c *FakeLinkServices) Update(ctx context.Context, linkService *v1alpha1.LinkService, opts v1.UpdateOptions) (result *v1alpha1.LinkService, err error)

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

func (*FakeLinkServices) UpdateStatus

func (c *FakeLinkServices) UpdateStatus(ctx context.Context, linkService *v1alpha1.LinkService, opts v1.UpdateOptions) (*v1alpha1.LinkService, error)

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

func (*FakeLinkServices) Watch

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

type FakePrivateV1alpha1

type FakePrivateV1alpha1 struct {
	*testing.Fake
}

func (*FakePrivateV1alpha1) DnsARecords

func (c *FakePrivateV1alpha1) DnsARecords(namespace string) v1alpha1.DnsARecordInterface

func (*FakePrivateV1alpha1) DnsAaaaRecords

func (c *FakePrivateV1alpha1) DnsAaaaRecords(namespace string) v1alpha1.DnsAaaaRecordInterface

func (*FakePrivateV1alpha1) DnsCnameRecords

func (c *FakePrivateV1alpha1) DnsCnameRecords(namespace string) v1alpha1.DnsCnameRecordInterface

func (*FakePrivateV1alpha1) DnsMxRecords

func (c *FakePrivateV1alpha1) DnsMxRecords(namespace string) v1alpha1.DnsMxRecordInterface

func (*FakePrivateV1alpha1) DnsPtrRecords

func (c *FakePrivateV1alpha1) DnsPtrRecords(namespace string) v1alpha1.DnsPtrRecordInterface

func (*FakePrivateV1alpha1) DnsSrvRecords

func (c *FakePrivateV1alpha1) DnsSrvRecords(namespace string) v1alpha1.DnsSrvRecordInterface

func (*FakePrivateV1alpha1) DnsTxtRecords

func (c *FakePrivateV1alpha1) DnsTxtRecords(namespace string) v1alpha1.DnsTxtRecordInterface
func (c *FakePrivateV1alpha1) DnsZoneVirtualNetworkLinks(namespace string) v1alpha1.DnsZoneVirtualNetworkLinkInterface

func (*FakePrivateV1alpha1) DnsZones

func (c *FakePrivateV1alpha1) DnsZones(namespace string) v1alpha1.DnsZoneInterface

func (*FakePrivateV1alpha1) Endpoints

func (c *FakePrivateV1alpha1) Endpoints(namespace string) v1alpha1.EndpointInterface

func (*FakePrivateV1alpha1) LinkServices

func (c *FakePrivateV1alpha1) LinkServices(namespace string) v1alpha1.LinkServiceInterface

func (*FakePrivateV1alpha1) RESTClient

func (c *FakePrivateV1alpha1) 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