Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDNSManagedZones
- func (c *FakeDNSManagedZones) Create(ctx context.Context, dNSManagedZone *v1beta1.DNSManagedZone, ...) (result *v1beta1.DNSManagedZone, err error)
- func (c *FakeDNSManagedZones) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDNSManagedZones) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDNSManagedZones) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.DNSManagedZone, err error)
- func (c *FakeDNSManagedZones) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.DNSManagedZoneList, err error)
- func (c *FakeDNSManagedZones) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.DNSManagedZone, err error)
- func (c *FakeDNSManagedZones) Update(ctx context.Context, dNSManagedZone *v1beta1.DNSManagedZone, ...) (result *v1beta1.DNSManagedZone, err error)
- func (c *FakeDNSManagedZones) UpdateStatus(ctx context.Context, dNSManagedZone *v1beta1.DNSManagedZone, ...) (*v1beta1.DNSManagedZone, error)
- func (c *FakeDNSManagedZones) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDNSPolicies
- func (c *FakeDNSPolicies) Create(ctx context.Context, dNSPolicy *v1beta1.DNSPolicy, opts v1.CreateOptions) (result *v1beta1.DNSPolicy, err error)
- func (c *FakeDNSPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDNSPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDNSPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.DNSPolicy, err error)
- func (c *FakeDNSPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.DNSPolicyList, err error)
- func (c *FakeDNSPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.DNSPolicy, err error)
- func (c *FakeDNSPolicies) Update(ctx context.Context, dNSPolicy *v1beta1.DNSPolicy, opts v1.UpdateOptions) (result *v1beta1.DNSPolicy, err error)
- func (c *FakeDNSPolicies) UpdateStatus(ctx context.Context, dNSPolicy *v1beta1.DNSPolicy, opts v1.UpdateOptions) (*v1beta1.DNSPolicy, error)
- func (c *FakeDNSPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDNSRecordSets
- func (c *FakeDNSRecordSets) Create(ctx context.Context, dNSRecordSet *v1beta1.DNSRecordSet, opts v1.CreateOptions) (result *v1beta1.DNSRecordSet, err error)
- func (c *FakeDNSRecordSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDNSRecordSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDNSRecordSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.DNSRecordSet, err error)
- func (c *FakeDNSRecordSets) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.DNSRecordSetList, err error)
- func (c *FakeDNSRecordSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.DNSRecordSet, err error)
- func (c *FakeDNSRecordSets) Update(ctx context.Context, dNSRecordSet *v1beta1.DNSRecordSet, opts v1.UpdateOptions) (result *v1beta1.DNSRecordSet, err error)
- func (c *FakeDNSRecordSets) UpdateStatus(ctx context.Context, dNSRecordSet *v1beta1.DNSRecordSet, opts v1.UpdateOptions) (*v1beta1.DNSRecordSet, error)
- func (c *FakeDNSRecordSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDnsV1beta1
- func (c *FakeDnsV1beta1) DNSManagedZones(namespace string) v1beta1.DNSManagedZoneInterface
- func (c *FakeDnsV1beta1) DNSPolicies(namespace string) v1beta1.DNSPolicyInterface
- func (c *FakeDnsV1beta1) DNSRecordSets(namespace string) v1beta1.DNSRecordSetInterface
- func (c *FakeDnsV1beta1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDNSManagedZones ¶
type FakeDNSManagedZones struct { Fake *FakeDnsV1beta1 // contains filtered or unexported fields }
FakeDNSManagedZones implements DNSManagedZoneInterface
func (*FakeDNSManagedZones) Create ¶
func (c *FakeDNSManagedZones) Create(ctx context.Context, dNSManagedZone *v1beta1.DNSManagedZone, opts v1.CreateOptions) (result *v1beta1.DNSManagedZone, err error)
Create takes the representation of a dNSManagedZone and creates it. Returns the server's representation of the dNSManagedZone, and an error, if there is any.
func (*FakeDNSManagedZones) Delete ¶
func (c *FakeDNSManagedZones) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the dNSManagedZone and deletes it. Returns an error if one occurs.
func (*FakeDNSManagedZones) DeleteCollection ¶
func (c *FakeDNSManagedZones) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDNSManagedZones) Get ¶
func (c *FakeDNSManagedZones) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.DNSManagedZone, err error)
Get takes name of the dNSManagedZone, and returns the corresponding dNSManagedZone object, and an error if there is any.
func (*FakeDNSManagedZones) List ¶
func (c *FakeDNSManagedZones) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.DNSManagedZoneList, err error)
List takes label and field selectors, and returns the list of DNSManagedZones that match those selectors.
func (*FakeDNSManagedZones) Patch ¶
func (c *FakeDNSManagedZones) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.DNSManagedZone, err error)
Patch applies the patch and returns the patched dNSManagedZone.
func (*FakeDNSManagedZones) Update ¶
func (c *FakeDNSManagedZones) Update(ctx context.Context, dNSManagedZone *v1beta1.DNSManagedZone, opts v1.UpdateOptions) (result *v1beta1.DNSManagedZone, err error)
Update takes the representation of a dNSManagedZone and updates it. Returns the server's representation of the dNSManagedZone, and an error, if there is any.
func (*FakeDNSManagedZones) UpdateStatus ¶
func (c *FakeDNSManagedZones) UpdateStatus(ctx context.Context, dNSManagedZone *v1beta1.DNSManagedZone, opts v1.UpdateOptions) (*v1beta1.DNSManagedZone, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDNSManagedZones) Watch ¶
func (c *FakeDNSManagedZones) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dNSManagedZones.
type FakeDNSPolicies ¶
type FakeDNSPolicies struct { Fake *FakeDnsV1beta1 // contains filtered or unexported fields }
FakeDNSPolicies implements DNSPolicyInterface
func (*FakeDNSPolicies) Create ¶
func (c *FakeDNSPolicies) Create(ctx context.Context, dNSPolicy *v1beta1.DNSPolicy, opts v1.CreateOptions) (result *v1beta1.DNSPolicy, err error)
Create takes the representation of a dNSPolicy and creates it. Returns the server's representation of the dNSPolicy, and an error, if there is any.
func (*FakeDNSPolicies) Delete ¶
func (c *FakeDNSPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the dNSPolicy and deletes it. Returns an error if one occurs.
func (*FakeDNSPolicies) DeleteCollection ¶
func (c *FakeDNSPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDNSPolicies) Get ¶
func (c *FakeDNSPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.DNSPolicy, err error)
Get takes name of the dNSPolicy, and returns the corresponding dNSPolicy object, and an error if there is any.
func (*FakeDNSPolicies) List ¶
func (c *FakeDNSPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.DNSPolicyList, err error)
List takes label and field selectors, and returns the list of DNSPolicies that match those selectors.
func (*FakeDNSPolicies) Patch ¶
func (c *FakeDNSPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.DNSPolicy, err error)
Patch applies the patch and returns the patched dNSPolicy.
func (*FakeDNSPolicies) Update ¶
func (c *FakeDNSPolicies) Update(ctx context.Context, dNSPolicy *v1beta1.DNSPolicy, opts v1.UpdateOptions) (result *v1beta1.DNSPolicy, err error)
Update takes the representation of a dNSPolicy and updates it. Returns the server's representation of the dNSPolicy, and an error, if there is any.
func (*FakeDNSPolicies) UpdateStatus ¶
func (c *FakeDNSPolicies) UpdateStatus(ctx context.Context, dNSPolicy *v1beta1.DNSPolicy, opts v1.UpdateOptions) (*v1beta1.DNSPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDNSPolicies) Watch ¶
func (c *FakeDNSPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dNSPolicies.
type FakeDNSRecordSets ¶
type FakeDNSRecordSets struct { Fake *FakeDnsV1beta1 // contains filtered or unexported fields }
FakeDNSRecordSets implements DNSRecordSetInterface
func (*FakeDNSRecordSets) Create ¶
func (c *FakeDNSRecordSets) Create(ctx context.Context, dNSRecordSet *v1beta1.DNSRecordSet, opts v1.CreateOptions) (result *v1beta1.DNSRecordSet, err error)
Create takes the representation of a dNSRecordSet and creates it. Returns the server's representation of the dNSRecordSet, and an error, if there is any.
func (*FakeDNSRecordSets) Delete ¶
func (c *FakeDNSRecordSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the dNSRecordSet and deletes it. Returns an error if one occurs.
func (*FakeDNSRecordSets) DeleteCollection ¶
func (c *FakeDNSRecordSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDNSRecordSets) Get ¶
func (c *FakeDNSRecordSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.DNSRecordSet, err error)
Get takes name of the dNSRecordSet, and returns the corresponding dNSRecordSet object, and an error if there is any.
func (*FakeDNSRecordSets) List ¶
func (c *FakeDNSRecordSets) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.DNSRecordSetList, err error)
List takes label and field selectors, and returns the list of DNSRecordSets that match those selectors.
func (*FakeDNSRecordSets) Patch ¶
func (c *FakeDNSRecordSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.DNSRecordSet, err error)
Patch applies the patch and returns the patched dNSRecordSet.
func (*FakeDNSRecordSets) Update ¶
func (c *FakeDNSRecordSets) Update(ctx context.Context, dNSRecordSet *v1beta1.DNSRecordSet, opts v1.UpdateOptions) (result *v1beta1.DNSRecordSet, err error)
Update takes the representation of a dNSRecordSet and updates it. Returns the server's representation of the dNSRecordSet, and an error, if there is any.
func (*FakeDNSRecordSets) UpdateStatus ¶
func (c *FakeDNSRecordSets) UpdateStatus(ctx context.Context, dNSRecordSet *v1beta1.DNSRecordSet, opts v1.UpdateOptions) (*v1beta1.DNSRecordSet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDNSRecordSets) Watch ¶
func (c *FakeDNSRecordSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dNSRecordSets.
type FakeDnsV1beta1 ¶
func (*FakeDnsV1beta1) DNSManagedZones ¶
func (c *FakeDnsV1beta1) DNSManagedZones(namespace string) v1beta1.DNSManagedZoneInterface
func (*FakeDnsV1beta1) DNSPolicies ¶
func (c *FakeDnsV1beta1) DNSPolicies(namespace string) v1beta1.DNSPolicyInterface
func (*FakeDnsV1beta1) DNSRecordSets ¶
func (c *FakeDnsV1beta1) DNSRecordSets(namespace string) v1beta1.DNSRecordSetInterface
func (*FakeDnsV1beta1) RESTClient ¶
func (c *FakeDnsV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.