Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDNSEndpoints
- func (c *FakeDNSEndpoints) Create(dNSEndpoint *v1alpha1.DNSEndpoint) (result *v1alpha1.DNSEndpoint, err error)
- func (c *FakeDNSEndpoints) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDNSEndpoints) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDNSEndpoints) Get(name string, options v1.GetOptions) (result *v1alpha1.DNSEndpoint, err error)
- func (c *FakeDNSEndpoints) List(opts v1.ListOptions) (result *v1alpha1.DNSEndpointList, err error)
- func (c *FakeDNSEndpoints) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DNSEndpoint, err error)
- func (c *FakeDNSEndpoints) Update(dNSEndpoint *v1alpha1.DNSEndpoint) (result *v1alpha1.DNSEndpoint, err error)
- func (c *FakeDNSEndpoints) UpdateStatus(dNSEndpoint *v1alpha1.DNSEndpoint) (*v1alpha1.DNSEndpoint, error)
- func (c *FakeDNSEndpoints) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeDomains
- func (c *FakeDomains) Create(domain *v1alpha1.Domain) (result *v1alpha1.Domain, err error)
- func (c *FakeDomains) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDomains) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDomains) Get(name string, options v1.GetOptions) (result *v1alpha1.Domain, err error)
- func (c *FakeDomains) List(opts v1.ListOptions) (result *v1alpha1.DomainList, err error)
- func (c *FakeDomains) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Domain, err error)
- func (c *FakeDomains) Update(domain *v1alpha1.Domain) (result *v1alpha1.Domain, err error)
- func (c *FakeDomains) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeIngressDNSRecords
- func (c *FakeIngressDNSRecords) Create(IngressDNSRecord *v1alpha1.IngressDNSRecord) (result *v1alpha1.IngressDNSRecord, err error)
- func (c *FakeIngressDNSRecords) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeIngressDNSRecords) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeIngressDNSRecords) Get(name string, options v1.GetOptions) (result *v1alpha1.IngressDNSRecord, err error)
- func (c *FakeIngressDNSRecords) List(opts v1.ListOptions) (result *v1alpha1.IngressDNSRecordList, err error)
- func (c *FakeIngressDNSRecords) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.IngressDNSRecord, err error)
- func (c *FakeIngressDNSRecords) Update(IngressDNSRecord *v1alpha1.IngressDNSRecord) (result *v1alpha1.IngressDNSRecord, err error)
- func (c *FakeIngressDNSRecords) UpdateStatus(IngressDNSRecord *v1alpha1.IngressDNSRecord) (*v1alpha1.IngressDNSRecord, error)
- func (c *FakeIngressDNSRecords) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMulticlusterdnsV1alpha1
- func (c *FakeMulticlusterdnsV1alpha1) DNSEndpoints(namespace string) v1alpha1.DNSEndpointInterface
- func (c *FakeMulticlusterdnsV1alpha1) Domains(namespace string) v1alpha1.DomainInterface
- func (c *FakeMulticlusterdnsV1alpha1) IngressDNSRecords(namespace string) v1alpha1.IngressDNSRecordInterface
- func (c *FakeMulticlusterdnsV1alpha1) RESTClient() rest.Interface
- func (c *FakeMulticlusterdnsV1alpha1) ServiceDNSRecords(namespace string) v1alpha1.ServiceDNSRecordInterface
- type FakeServiceDNSRecords
- func (c *FakeServiceDNSRecords) Create(ServiceDNSRecord *v1alpha1.ServiceDNSRecord) (result *v1alpha1.ServiceDNSRecord, err error)
- func (c *FakeServiceDNSRecords) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeServiceDNSRecords) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeServiceDNSRecords) Get(name string, options v1.GetOptions) (result *v1alpha1.ServiceDNSRecord, err error)
- func (c *FakeServiceDNSRecords) List(opts v1.ListOptions) (result *v1alpha1.ServiceDNSRecordList, err error)
- func (c *FakeServiceDNSRecords) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ServiceDNSRecord, err error)
- func (c *FakeServiceDNSRecords) Update(ServiceDNSRecord *v1alpha1.ServiceDNSRecord) (result *v1alpha1.ServiceDNSRecord, err error)
- func (c *FakeServiceDNSRecords) UpdateStatus(ServiceDNSRecord *v1alpha1.ServiceDNSRecord) (*v1alpha1.ServiceDNSRecord, error)
- func (c *FakeServiceDNSRecords) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDNSEndpoints ¶ added in v0.0.2
type FakeDNSEndpoints struct { Fake *FakeMulticlusterdnsV1alpha1 // contains filtered or unexported fields }
FakeDNSEndpoints implements DNSEndpointInterface
func (*FakeDNSEndpoints) Create ¶ added in v0.0.2
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 ¶ added in v0.0.2
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 ¶ added in v0.0.2
func (c *FakeDNSEndpoints) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDNSEndpoints) Get ¶ added in v0.0.2
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 ¶ added in v0.0.2
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 ¶ added in v0.0.2
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 ¶ added in v0.0.2
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 ¶ added in v0.0.2
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 ¶ added in v0.0.2
func (c *FakeDNSEndpoints) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dNSEndpoints.
type FakeDomains ¶ added in v0.0.3
type FakeDomains struct { Fake *FakeMulticlusterdnsV1alpha1 // contains filtered or unexported fields }
FakeDomains implements DomainInterface
func (*FakeDomains) Create ¶ added in v0.0.3
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 ¶ added in v0.0.3
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 ¶ added in v0.0.3
func (c *FakeDomains) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDomains) Get ¶ added in v0.0.3
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 ¶ added in v0.0.3
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 ¶ added in v0.0.3
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 ¶ added in v0.0.3
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 ¶ added in v0.0.3
func (c *FakeDomains) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested domains.
type FakeIngressDNSRecords ¶ added in v0.0.3
type FakeIngressDNSRecords struct { Fake *FakeMulticlusterdnsV1alpha1 // contains filtered or unexported fields }
FakeIngressDNSRecords implements IngressDNSRecordInterface
func (*FakeIngressDNSRecords) Create ¶ added in v0.0.3
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 ¶ added in v0.0.3
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 ¶ added in v0.0.3
func (c *FakeIngressDNSRecords) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIngressDNSRecords) Get ¶ added in v0.0.3
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 ¶ added in v0.0.3
func (c *FakeIngressDNSRecords) List(opts v1.ListOptions) (result *v1alpha1.IngressDNSRecordList, err error)
List takes label and field selectors, and returns the list of IngressDNSRecords that match those selectors.
func (*FakeIngressDNSRecords) Patch ¶ added in v0.0.3
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 ¶ added in v0.0.3
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 ¶ added in v0.0.3
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 ¶ added in v0.0.3
func (c *FakeIngressDNSRecords) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested IngressDNSRecords.
type FakeMulticlusterdnsV1alpha1 ¶
func (*FakeMulticlusterdnsV1alpha1) DNSEndpoints ¶ added in v0.0.2
func (c *FakeMulticlusterdnsV1alpha1) DNSEndpoints(namespace string) v1alpha1.DNSEndpointInterface
func (*FakeMulticlusterdnsV1alpha1) Domains ¶ added in v0.0.3
func (c *FakeMulticlusterdnsV1alpha1) Domains(namespace string) v1alpha1.DomainInterface
func (*FakeMulticlusterdnsV1alpha1) IngressDNSRecords ¶ added in v0.0.3
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 ¶ added in v0.0.3
func (c *FakeMulticlusterdnsV1alpha1) ServiceDNSRecords(namespace string) v1alpha1.ServiceDNSRecordInterface
type FakeServiceDNSRecords ¶ added in v0.0.3
type FakeServiceDNSRecords struct { Fake *FakeMulticlusterdnsV1alpha1 // contains filtered or unexported fields }
FakeServiceDNSRecords implements ServiceDNSRecordInterface
func (*FakeServiceDNSRecords) Create ¶ added in v0.0.3
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 ¶ added in v0.0.3
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 ¶ added in v0.0.3
func (c *FakeServiceDNSRecords) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceDNSRecords) Get ¶ added in v0.0.3
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 ¶ added in v0.0.3
func (c *FakeServiceDNSRecords) List(opts v1.ListOptions) (result *v1alpha1.ServiceDNSRecordList, err error)
List takes label and field selectors, and returns the list of ServiceDNSRecords that match those selectors.
func (*FakeServiceDNSRecords) Patch ¶ added in v0.0.3
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 ¶ added in v0.0.3
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 ¶ added in v0.0.3
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().