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 FakeARecords

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

FakeARecords implements ARecordInterface

func (*FakeARecords) Create

func (c *FakeARecords) Create(ctx context.Context, aRecord *v1alpha1.ARecord, opts v1.CreateOptions) (result *v1alpha1.ARecord, err error)

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

func (*FakeARecords) Delete

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

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

func (*FakeARecords) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeARecords) Get

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

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

func (*FakeARecords) List

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

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

func (*FakeARecords) Patch

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

Patch applies the patch and returns the patched aRecord.

func (*FakeARecords) Update

func (c *FakeARecords) Update(ctx context.Context, aRecord *v1alpha1.ARecord, opts v1.UpdateOptions) (result *v1alpha1.ARecord, err error)

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

func (*FakeARecords) UpdateStatus

func (c *FakeARecords) UpdateStatus(ctx context.Context, aRecord *v1alpha1.ARecord, opts v1.UpdateOptions) (*v1alpha1.ARecord, error)

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

func (*FakeARecords) Watch

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

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

type FakeAaaaRecords

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

FakeAaaaRecords implements AaaaRecordInterface

func (*FakeAaaaRecords) Create

func (c *FakeAaaaRecords) Create(ctx context.Context, aaaaRecord *v1alpha1.AaaaRecord, opts v1.CreateOptions) (result *v1alpha1.AaaaRecord, err error)

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

func (*FakeAaaaRecords) Delete

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

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

func (*FakeAaaaRecords) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAaaaRecords) Get

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

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

func (*FakeAaaaRecords) List

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

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

func (*FakeAaaaRecords) Patch

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

Patch applies the patch and returns the patched aaaaRecord.

func (*FakeAaaaRecords) Update

func (c *FakeAaaaRecords) Update(ctx context.Context, aaaaRecord *v1alpha1.AaaaRecord, opts v1.UpdateOptions) (result *v1alpha1.AaaaRecord, err error)

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

func (*FakeAaaaRecords) UpdateStatus

func (c *FakeAaaaRecords) UpdateStatus(ctx context.Context, aaaaRecord *v1alpha1.AaaaRecord, opts v1.UpdateOptions) (*v1alpha1.AaaaRecord, error)

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

func (*FakeAaaaRecords) Watch

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

type FakeCaaRecords

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

FakeCaaRecords implements CaaRecordInterface

func (*FakeCaaRecords) Create

func (c *FakeCaaRecords) Create(ctx context.Context, caaRecord *v1alpha1.CaaRecord, opts v1.CreateOptions) (result *v1alpha1.CaaRecord, err error)

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

func (*FakeCaaRecords) Delete

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

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

func (*FakeCaaRecords) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCaaRecords) Get

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

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

func (*FakeCaaRecords) List

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

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

func (*FakeCaaRecords) Patch

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

Patch applies the patch and returns the patched caaRecord.

func (*FakeCaaRecords) Update

func (c *FakeCaaRecords) Update(ctx context.Context, caaRecord *v1alpha1.CaaRecord, opts v1.UpdateOptions) (result *v1alpha1.CaaRecord, err error)

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

func (*FakeCaaRecords) UpdateStatus

func (c *FakeCaaRecords) UpdateStatus(ctx context.Context, caaRecord *v1alpha1.CaaRecord, opts v1.UpdateOptions) (*v1alpha1.CaaRecord, error)

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

func (*FakeCaaRecords) Watch

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

type FakeCnameRecords

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

FakeCnameRecords implements CnameRecordInterface

func (*FakeCnameRecords) Create

func (c *FakeCnameRecords) Create(ctx context.Context, cnameRecord *v1alpha1.CnameRecord, opts v1.CreateOptions) (result *v1alpha1.CnameRecord, err error)

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

func (*FakeCnameRecords) Delete

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

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

func (*FakeCnameRecords) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCnameRecords) Get

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

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

func (*FakeCnameRecords) List

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

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

func (*FakeCnameRecords) Patch

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

Patch applies the patch and returns the patched cnameRecord.

func (*FakeCnameRecords) Update

func (c *FakeCnameRecords) Update(ctx context.Context, cnameRecord *v1alpha1.CnameRecord, opts v1.UpdateOptions) (result *v1alpha1.CnameRecord, err error)

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

func (*FakeCnameRecords) UpdateStatus

func (c *FakeCnameRecords) UpdateStatus(ctx context.Context, cnameRecord *v1alpha1.CnameRecord, opts v1.UpdateOptions) (*v1alpha1.CnameRecord, error)

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

func (*FakeCnameRecords) Watch

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

type FakeDnsV1alpha1

type FakeDnsV1alpha1 struct {
	*testing.Fake
}

func (*FakeDnsV1alpha1) ARecords

func (c *FakeDnsV1alpha1) ARecords(namespace string) v1alpha1.ARecordInterface

func (*FakeDnsV1alpha1) AaaaRecords

func (c *FakeDnsV1alpha1) AaaaRecords(namespace string) v1alpha1.AaaaRecordInterface

func (*FakeDnsV1alpha1) CaaRecords

func (c *FakeDnsV1alpha1) CaaRecords(namespace string) v1alpha1.CaaRecordInterface

func (*FakeDnsV1alpha1) CnameRecords

func (c *FakeDnsV1alpha1) CnameRecords(namespace string) v1alpha1.CnameRecordInterface

func (*FakeDnsV1alpha1) MxRecords

func (c *FakeDnsV1alpha1) MxRecords(namespace string) v1alpha1.MxRecordInterface

func (*FakeDnsV1alpha1) NsRecords

func (c *FakeDnsV1alpha1) NsRecords(namespace string) v1alpha1.NsRecordInterface

func (*FakeDnsV1alpha1) PtrRecords

func (c *FakeDnsV1alpha1) PtrRecords(namespace string) v1alpha1.PtrRecordInterface

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) SrvRecords

func (c *FakeDnsV1alpha1) SrvRecords(namespace string) v1alpha1.SrvRecordInterface

func (*FakeDnsV1alpha1) TxtRecords

func (c *FakeDnsV1alpha1) TxtRecords(namespace string) v1alpha1.TxtRecordInterface

func (*FakeDnsV1alpha1) Zones

func (c *FakeDnsV1alpha1) Zones(namespace string) v1alpha1.ZoneInterface

type FakeMxRecords

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

FakeMxRecords implements MxRecordInterface

func (*FakeMxRecords) Create

func (c *FakeMxRecords) Create(ctx context.Context, mxRecord *v1alpha1.MxRecord, opts v1.CreateOptions) (result *v1alpha1.MxRecord, err error)

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

func (*FakeMxRecords) Delete

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

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

func (*FakeMxRecords) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMxRecords) Get

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

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

func (*FakeMxRecords) List

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

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

func (*FakeMxRecords) Patch

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

Patch applies the patch and returns the patched mxRecord.

func (*FakeMxRecords) Update

func (c *FakeMxRecords) Update(ctx context.Context, mxRecord *v1alpha1.MxRecord, opts v1.UpdateOptions) (result *v1alpha1.MxRecord, err error)

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

func (*FakeMxRecords) UpdateStatus

func (c *FakeMxRecords) UpdateStatus(ctx context.Context, mxRecord *v1alpha1.MxRecord, opts v1.UpdateOptions) (*v1alpha1.MxRecord, error)

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

func (*FakeMxRecords) Watch

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

type FakeNsRecords

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

FakeNsRecords implements NsRecordInterface

func (*FakeNsRecords) Create

func (c *FakeNsRecords) Create(ctx context.Context, nsRecord *v1alpha1.NsRecord, opts v1.CreateOptions) (result *v1alpha1.NsRecord, err error)

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

func (*FakeNsRecords) Delete

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

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

func (*FakeNsRecords) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNsRecords) Get

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

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

func (*FakeNsRecords) List

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

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

func (*FakeNsRecords) Patch

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

Patch applies the patch and returns the patched nsRecord.

func (*FakeNsRecords) Update

func (c *FakeNsRecords) Update(ctx context.Context, nsRecord *v1alpha1.NsRecord, opts v1.UpdateOptions) (result *v1alpha1.NsRecord, err error)

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

func (*FakeNsRecords) UpdateStatus

func (c *FakeNsRecords) UpdateStatus(ctx context.Context, nsRecord *v1alpha1.NsRecord, opts v1.UpdateOptions) (*v1alpha1.NsRecord, error)

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

func (*FakeNsRecords) Watch

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

type FakePtrRecords

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

FakePtrRecords implements PtrRecordInterface

func (*FakePtrRecords) Create

func (c *FakePtrRecords) Create(ctx context.Context, ptrRecord *v1alpha1.PtrRecord, opts v1.CreateOptions) (result *v1alpha1.PtrRecord, err error)

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

func (*FakePtrRecords) Delete

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

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

func (*FakePtrRecords) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePtrRecords) Get

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

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

func (*FakePtrRecords) List

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

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

func (*FakePtrRecords) Patch

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

Patch applies the patch and returns the patched ptrRecord.

func (*FakePtrRecords) Update

func (c *FakePtrRecords) Update(ctx context.Context, ptrRecord *v1alpha1.PtrRecord, opts v1.UpdateOptions) (result *v1alpha1.PtrRecord, err error)

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

func (*FakePtrRecords) UpdateStatus

func (c *FakePtrRecords) UpdateStatus(ctx context.Context, ptrRecord *v1alpha1.PtrRecord, opts v1.UpdateOptions) (*v1alpha1.PtrRecord, error)

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

func (*FakePtrRecords) Watch

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

type FakeSrvRecords

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

FakeSrvRecords implements SrvRecordInterface

func (*FakeSrvRecords) Create

func (c *FakeSrvRecords) Create(ctx context.Context, srvRecord *v1alpha1.SrvRecord, opts v1.CreateOptions) (result *v1alpha1.SrvRecord, err error)

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

func (*FakeSrvRecords) Delete

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

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

func (*FakeSrvRecords) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSrvRecords) Get

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

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

func (*FakeSrvRecords) List

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

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

func (*FakeSrvRecords) Patch

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

Patch applies the patch and returns the patched srvRecord.

func (*FakeSrvRecords) Update

func (c *FakeSrvRecords) Update(ctx context.Context, srvRecord *v1alpha1.SrvRecord, opts v1.UpdateOptions) (result *v1alpha1.SrvRecord, err error)

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

func (*FakeSrvRecords) UpdateStatus

func (c *FakeSrvRecords) UpdateStatus(ctx context.Context, srvRecord *v1alpha1.SrvRecord, opts v1.UpdateOptions) (*v1alpha1.SrvRecord, error)

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

func (*FakeSrvRecords) Watch

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

type FakeTxtRecords

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

FakeTxtRecords implements TxtRecordInterface

func (*FakeTxtRecords) Create

func (c *FakeTxtRecords) Create(ctx context.Context, txtRecord *v1alpha1.TxtRecord, opts v1.CreateOptions) (result *v1alpha1.TxtRecord, err error)

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

func (*FakeTxtRecords) Delete

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

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

func (*FakeTxtRecords) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTxtRecords) Get

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

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

func (*FakeTxtRecords) List

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

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

func (*FakeTxtRecords) Patch

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

Patch applies the patch and returns the patched txtRecord.

func (*FakeTxtRecords) Update

func (c *FakeTxtRecords) Update(ctx context.Context, txtRecord *v1alpha1.TxtRecord, opts v1.UpdateOptions) (result *v1alpha1.TxtRecord, err error)

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

func (*FakeTxtRecords) UpdateStatus

func (c *FakeTxtRecords) UpdateStatus(ctx context.Context, txtRecord *v1alpha1.TxtRecord, opts v1.UpdateOptions) (*v1alpha1.TxtRecord, error)

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

func (*FakeTxtRecords) Watch

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

type FakeZones

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

FakeZones implements ZoneInterface

func (*FakeZones) Create

func (c *FakeZones) Create(ctx context.Context, zone *v1alpha1.Zone, opts v1.CreateOptions) (result *v1alpha1.Zone, err error)

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

func (*FakeZones) Delete

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

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

func (*FakeZones) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeZones) Get

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

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

func (*FakeZones) List

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

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

func (*FakeZones) Patch

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

Patch applies the patch and returns the patched zone.

func (*FakeZones) Update

func (c *FakeZones) Update(ctx context.Context, zone *v1alpha1.Zone, opts v1.UpdateOptions) (result *v1alpha1.Zone, err error)

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

func (*FakeZones) UpdateStatus

func (c *FakeZones) UpdateStatus(ctx context.Context, zone *v1alpha1.Zone, opts v1.UpdateOptions) (*v1alpha1.Zone, error)

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

func (*FakeZones) Watch

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

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

Jump to

Keyboard shortcuts

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