package fake
import "k8s.io/client-go/kubernetes/typed/networking/v1beta1/fake"
Package fake has the automatically generated clients.
Index ¶
- type FakeIPAddresses
- func (c *FakeIPAddresses) Apply(ctx context.Context, iPAddress *networkingv1beta1.IPAddressApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.IPAddress, err error)
- func (c *FakeIPAddresses) Create(ctx context.Context, iPAddress *v1beta1.IPAddress, opts v1.CreateOptions) (result *v1beta1.IPAddress, err error)
- func (c *FakeIPAddresses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIPAddresses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIPAddresses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.IPAddress, err error)
- func (c *FakeIPAddresses) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.IPAddressList, err error)
- func (c *FakeIPAddresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.IPAddress, err error)
- func (c *FakeIPAddresses) Update(ctx context.Context, iPAddress *v1beta1.IPAddress, opts v1.UpdateOptions) (result *v1beta1.IPAddress, err error)
- func (c *FakeIPAddresses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIngressClasses
- func (c *FakeIngressClasses) Apply(ctx context.Context, ingressClass *networkingv1beta1.IngressClassApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.IngressClass, err error)
- func (c *FakeIngressClasses) Create(ctx context.Context, ingressClass *v1beta1.IngressClass, opts v1.CreateOptions) (result *v1beta1.IngressClass, err error)
- func (c *FakeIngressClasses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIngressClasses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIngressClasses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.IngressClass, err error)
- func (c *FakeIngressClasses) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.IngressClassList, err error)
- func (c *FakeIngressClasses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.IngressClass, err error)
- func (c *FakeIngressClasses) Update(ctx context.Context, ingressClass *v1beta1.IngressClass, opts v1.UpdateOptions) (result *v1beta1.IngressClass, err error)
- func (c *FakeIngressClasses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIngresses
- func (c *FakeIngresses) Apply(ctx context.Context, ingress *networkingv1beta1.IngressApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.Ingress, err error)
- func (c *FakeIngresses) ApplyStatus(ctx context.Context, ingress *networkingv1beta1.IngressApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.Ingress, err error)
- func (c *FakeIngresses) Create(ctx context.Context, ingress *v1beta1.Ingress, opts v1.CreateOptions) (result *v1beta1.Ingress, err error)
- func (c *FakeIngresses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIngresses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIngresses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Ingress, err error)
- func (c *FakeIngresses) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.IngressList, err error)
- func (c *FakeIngresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Ingress, err error)
- func (c *FakeIngresses) Update(ctx context.Context, ingress *v1beta1.Ingress, opts v1.UpdateOptions) (result *v1beta1.Ingress, err error)
- func (c *FakeIngresses) UpdateStatus(ctx context.Context, ingress *v1beta1.Ingress, opts v1.UpdateOptions) (result *v1beta1.Ingress, err error)
- func (c *FakeIngresses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNetworkingV1beta1
- func (c *FakeNetworkingV1beta1) IPAddresses() v1beta1.IPAddressInterface
- func (c *FakeNetworkingV1beta1) IngressClasses() v1beta1.IngressClassInterface
- func (c *FakeNetworkingV1beta1) Ingresses(namespace string) v1beta1.IngressInterface
- func (c *FakeNetworkingV1beta1) RESTClient() rest.Interface
- func (c *FakeNetworkingV1beta1) ServiceCIDRs() v1beta1.ServiceCIDRInterface
- type FakeServiceCIDRs
- func (c *FakeServiceCIDRs) Apply(ctx context.Context, serviceCIDR *networkingv1beta1.ServiceCIDRApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.ServiceCIDR, err error)
- func (c *FakeServiceCIDRs) ApplyStatus(ctx context.Context, serviceCIDR *networkingv1beta1.ServiceCIDRApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.ServiceCIDR, err error)
- func (c *FakeServiceCIDRs) Create(ctx context.Context, serviceCIDR *v1beta1.ServiceCIDR, opts v1.CreateOptions) (result *v1beta1.ServiceCIDR, err error)
- func (c *FakeServiceCIDRs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServiceCIDRs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServiceCIDRs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ServiceCIDR, err error)
- func (c *FakeServiceCIDRs) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ServiceCIDRList, err error)
- func (c *FakeServiceCIDRs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ServiceCIDR, err error)
- func (c *FakeServiceCIDRs) Update(ctx context.Context, serviceCIDR *v1beta1.ServiceCIDR, opts v1.UpdateOptions) (result *v1beta1.ServiceCIDR, err error)
- func (c *FakeServiceCIDRs) UpdateStatus(ctx context.Context, serviceCIDR *v1beta1.ServiceCIDR, opts v1.UpdateOptions) (result *v1beta1.ServiceCIDR, err error)
- func (c *FakeServiceCIDRs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Types ¶
type FakeIPAddresses ¶
type FakeIPAddresses struct { Fake *FakeNetworkingV1beta1 }
FakeIPAddresses implements IPAddressInterface
func (*FakeIPAddresses) Apply ¶
func (c *FakeIPAddresses) Apply(ctx context.Context, iPAddress *networkingv1beta1.IPAddressApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.IPAddress, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied iPAddress.
func (*FakeIPAddresses) Create ¶
func (c *FakeIPAddresses) Create(ctx context.Context, iPAddress *v1beta1.IPAddress, opts v1.CreateOptions) (result *v1beta1.IPAddress, err error)
Create takes the representation of a iPAddress and creates it. Returns the server's representation of the iPAddress, and an error, if there is any.
func (*FakeIPAddresses) Delete ¶
func (c *FakeIPAddresses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the iPAddress and deletes it. Returns an error if one occurs.
func (*FakeIPAddresses) DeleteCollection ¶
func (c *FakeIPAddresses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIPAddresses) Get ¶
func (c *FakeIPAddresses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.IPAddress, err error)
Get takes name of the iPAddress, and returns the corresponding iPAddress object, and an error if there is any.
func (*FakeIPAddresses) List ¶
func (c *FakeIPAddresses) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.IPAddressList, err error)
List takes label and field selectors, and returns the list of IPAddresses that match those selectors.
func (*FakeIPAddresses) Patch ¶
func (c *FakeIPAddresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.IPAddress, err error)
Patch applies the patch and returns the patched iPAddress.
func (*FakeIPAddresses) Update ¶
func (c *FakeIPAddresses) Update(ctx context.Context, iPAddress *v1beta1.IPAddress, opts v1.UpdateOptions) (result *v1beta1.IPAddress, err error)
Update takes the representation of a iPAddress and updates it. Returns the server's representation of the iPAddress, and an error, if there is any.
func (*FakeIPAddresses) Watch ¶
func (c *FakeIPAddresses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested iPAddresses.
type FakeIngressClasses ¶
type FakeIngressClasses struct { Fake *FakeNetworkingV1beta1 }
FakeIngressClasses implements IngressClassInterface
func (*FakeIngressClasses) Apply ¶
func (c *FakeIngressClasses) Apply(ctx context.Context, ingressClass *networkingv1beta1.IngressClassApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.IngressClass, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied ingressClass.
func (*FakeIngressClasses) Create ¶
func (c *FakeIngressClasses) Create(ctx context.Context, ingressClass *v1beta1.IngressClass, opts v1.CreateOptions) (result *v1beta1.IngressClass, err error)
Create takes the representation of a ingressClass and creates it. Returns the server's representation of the ingressClass, and an error, if there is any.
func (*FakeIngressClasses) Delete ¶
func (c *FakeIngressClasses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the ingressClass and deletes it. Returns an error if one occurs.
func (*FakeIngressClasses) DeleteCollection ¶
func (c *FakeIngressClasses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIngressClasses) Get ¶
func (c *FakeIngressClasses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.IngressClass, err error)
Get takes name of the ingressClass, and returns the corresponding ingressClass object, and an error if there is any.
func (*FakeIngressClasses) List ¶
func (c *FakeIngressClasses) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.IngressClassList, err error)
List takes label and field selectors, and returns the list of IngressClasses that match those selectors.
func (*FakeIngressClasses) Patch ¶
func (c *FakeIngressClasses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.IngressClass, err error)
Patch applies the patch and returns the patched ingressClass.
func (*FakeIngressClasses) Update ¶
func (c *FakeIngressClasses) Update(ctx context.Context, ingressClass *v1beta1.IngressClass, opts v1.UpdateOptions) (result *v1beta1.IngressClass, err error)
Update takes the representation of a ingressClass and updates it. Returns the server's representation of the ingressClass, and an error, if there is any.
func (*FakeIngressClasses) Watch ¶
func (c *FakeIngressClasses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested ingressClasses.
type FakeIngresses ¶
type FakeIngresses struct { Fake *FakeNetworkingV1beta1 // contains filtered or unexported fields }
FakeIngresses implements IngressInterface
func (*FakeIngresses) Apply ¶
func (c *FakeIngresses) Apply(ctx context.Context, ingress *networkingv1beta1.IngressApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.Ingress, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied ingress.
func (*FakeIngresses) ApplyStatus ¶
func (c *FakeIngresses) ApplyStatus(ctx context.Context, ingress *networkingv1beta1.IngressApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.Ingress, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeIngresses) Create ¶
func (c *FakeIngresses) Create(ctx context.Context, ingress *v1beta1.Ingress, opts v1.CreateOptions) (result *v1beta1.Ingress, err error)
Create takes the representation of a ingress and creates it. Returns the server's representation of the ingress, and an error, if there is any.
func (*FakeIngresses) Delete ¶
func (c *FakeIngresses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the ingress and deletes it. Returns an error if one occurs.
func (*FakeIngresses) DeleteCollection ¶
func (c *FakeIngresses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIngresses) Get ¶
func (c *FakeIngresses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Ingress, err error)
Get takes name of the ingress, and returns the corresponding ingress object, and an error if there is any.
func (*FakeIngresses) List ¶
func (c *FakeIngresses) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.IngressList, err error)
List takes label and field selectors, and returns the list of Ingresses that match those selectors.
func (*FakeIngresses) Patch ¶
func (c *FakeIngresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Ingress, err error)
Patch applies the patch and returns the patched ingress.
func (*FakeIngresses) Update ¶
func (c *FakeIngresses) Update(ctx context.Context, ingress *v1beta1.Ingress, opts v1.UpdateOptions) (result *v1beta1.Ingress, err error)
Update takes the representation of a ingress and updates it. Returns the server's representation of the ingress, and an error, if there is any.
func (*FakeIngresses) UpdateStatus ¶
func (c *FakeIngresses) UpdateStatus(ctx context.Context, ingress *v1beta1.Ingress, opts v1.UpdateOptions) (result *v1beta1.Ingress, err error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeIngresses) Watch ¶
func (c *FakeIngresses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested ingresses.
type FakeNetworkingV1beta1 ¶
func (*FakeNetworkingV1beta1) IPAddresses ¶
func (c *FakeNetworkingV1beta1) IPAddresses() v1beta1.IPAddressInterface
func (*FakeNetworkingV1beta1) IngressClasses ¶
func (c *FakeNetworkingV1beta1) IngressClasses() v1beta1.IngressClassInterface
func (*FakeNetworkingV1beta1) Ingresses ¶
func (c *FakeNetworkingV1beta1) Ingresses(namespace string) v1beta1.IngressInterface
func (*FakeNetworkingV1beta1) RESTClient ¶
func (c *FakeNetworkingV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeNetworkingV1beta1) ServiceCIDRs ¶
func (c *FakeNetworkingV1beta1) ServiceCIDRs() v1beta1.ServiceCIDRInterface
type FakeServiceCIDRs ¶
type FakeServiceCIDRs struct { Fake *FakeNetworkingV1beta1 }
FakeServiceCIDRs implements ServiceCIDRInterface
func (*FakeServiceCIDRs) Apply ¶
func (c *FakeServiceCIDRs) Apply(ctx context.Context, serviceCIDR *networkingv1beta1.ServiceCIDRApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.ServiceCIDR, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied serviceCIDR.
func (*FakeServiceCIDRs) ApplyStatus ¶
func (c *FakeServiceCIDRs) ApplyStatus(ctx context.Context, serviceCIDR *networkingv1beta1.ServiceCIDRApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.ServiceCIDR, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeServiceCIDRs) Create ¶
func (c *FakeServiceCIDRs) Create(ctx context.Context, serviceCIDR *v1beta1.ServiceCIDR, opts v1.CreateOptions) (result *v1beta1.ServiceCIDR, err error)
Create takes the representation of a serviceCIDR and creates it. Returns the server's representation of the serviceCIDR, and an error, if there is any.
func (*FakeServiceCIDRs) Delete ¶
func (c *FakeServiceCIDRs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the serviceCIDR and deletes it. Returns an error if one occurs.
func (*FakeServiceCIDRs) DeleteCollection ¶
func (c *FakeServiceCIDRs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceCIDRs) Get ¶
func (c *FakeServiceCIDRs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ServiceCIDR, err error)
Get takes name of the serviceCIDR, and returns the corresponding serviceCIDR object, and an error if there is any.
func (*FakeServiceCIDRs) List ¶
func (c *FakeServiceCIDRs) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ServiceCIDRList, err error)
List takes label and field selectors, and returns the list of ServiceCIDRs that match those selectors.
func (*FakeServiceCIDRs) Patch ¶
func (c *FakeServiceCIDRs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ServiceCIDR, err error)
Patch applies the patch and returns the patched serviceCIDR.
func (*FakeServiceCIDRs) Update ¶
func (c *FakeServiceCIDRs) Update(ctx context.Context, serviceCIDR *v1beta1.ServiceCIDR, opts v1.UpdateOptions) (result *v1beta1.ServiceCIDR, err error)
Update takes the representation of a serviceCIDR and updates it. Returns the server's representation of the serviceCIDR, and an error, if there is any.
func (*FakeServiceCIDRs) UpdateStatus ¶
func (c *FakeServiceCIDRs) UpdateStatus(ctx context.Context, serviceCIDR *v1beta1.ServiceCIDR, opts v1.UpdateOptions) (result *v1beta1.ServiceCIDR, err error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServiceCIDRs) Watch ¶
func (c *FakeServiceCIDRs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceCIDRs.
Source Files ¶
doc.go fake_ingress.go fake_ingressclass.go fake_ipaddress.go fake_networking_client.go fake_servicecidr.go
- Version
- v0.31.0
- Published
- Aug 13, 2024
- Platform
- linux/amd64
- Imports
- 12 packages
- Last checked
- 30 minutes ago –
Tools for package owners.