Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeIPAddresses
- func (c *FakeIPAddresses) Apply(ctx context.Context, iPAddress *networkingv1alpha1.IPAddressApplyConfiguration, ...) (result *v1alpha1.IPAddress, err error)
- func (c *FakeIPAddresses) Create(ctx context.Context, iPAddress *v1alpha1.IPAddress, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.IPAddress, err error)
- func (c *FakeIPAddresses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IPAddressList, err error)
- func (c *FakeIPAddresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.IPAddress, err error)
- func (c *FakeIPAddresses) Update(ctx context.Context, iPAddress *v1alpha1.IPAddress, opts v1.UpdateOptions) (result *v1alpha1.IPAddress, err error)
- func (c *FakeIPAddresses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNetworkingV1alpha1
- type FakeServiceCIDRs
- func (c *FakeServiceCIDRs) Apply(ctx context.Context, ...) (result *v1alpha1.ServiceCIDR, err error)
- func (c *FakeServiceCIDRs) ApplyStatus(ctx context.Context, ...) (result *v1alpha1.ServiceCIDR, err error)
- func (c *FakeServiceCIDRs) Create(ctx context.Context, serviceCIDR *v1alpha1.ServiceCIDR, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.ServiceCIDR, err error)
- func (c *FakeServiceCIDRs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServiceCIDRList, err error)
- func (c *FakeServiceCIDRs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ServiceCIDR, err error)
- func (c *FakeServiceCIDRs) Update(ctx context.Context, serviceCIDR *v1alpha1.ServiceCIDR, opts v1.UpdateOptions) (result *v1alpha1.ServiceCIDR, err error)
- func (c *FakeServiceCIDRs) UpdateStatus(ctx context.Context, serviceCIDR *v1alpha1.ServiceCIDR, opts v1.UpdateOptions) (*v1alpha1.ServiceCIDR, error)
- func (c *FakeServiceCIDRs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeIPAddresses ¶ added in v0.27.0
type FakeIPAddresses struct {
Fake *FakeNetworkingV1alpha1
}
FakeIPAddresses implements IPAddressInterface
func (*FakeIPAddresses) Apply ¶ added in v0.27.0
func (c *FakeIPAddresses) Apply(ctx context.Context, iPAddress *networkingv1alpha1.IPAddressApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.IPAddress, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied iPAddress.
func (*FakeIPAddresses) Create ¶ added in v0.27.0
func (c *FakeIPAddresses) Create(ctx context.Context, iPAddress *v1alpha1.IPAddress, opts v1.CreateOptions) (result *v1alpha1.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 ¶ added in v0.27.0
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 ¶ added in v0.27.0
func (c *FakeIPAddresses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIPAddresses) Get ¶ added in v0.27.0
func (c *FakeIPAddresses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.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 ¶ added in v0.27.0
func (c *FakeIPAddresses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IPAddressList, err error)
List takes label and field selectors, and returns the list of IPAddresses that match those selectors.
func (*FakeIPAddresses) Patch ¶ added in v0.27.0
func (c *FakeIPAddresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.IPAddress, err error)
Patch applies the patch and returns the patched iPAddress.
func (*FakeIPAddresses) Update ¶ added in v0.27.0
func (c *FakeIPAddresses) Update(ctx context.Context, iPAddress *v1alpha1.IPAddress, opts v1.UpdateOptions) (result *v1alpha1.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 ¶ added in v0.27.0
func (c *FakeIPAddresses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested iPAddresses.
type FakeNetworkingV1alpha1 ¶
func (*FakeNetworkingV1alpha1) IPAddresses ¶ added in v0.27.0
func (c *FakeNetworkingV1alpha1) IPAddresses() v1alpha1.IPAddressInterface
func (*FakeNetworkingV1alpha1) RESTClient ¶
func (c *FakeNetworkingV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeNetworkingV1alpha1) ServiceCIDRs ¶ added in v0.29.0
func (c *FakeNetworkingV1alpha1) ServiceCIDRs() v1alpha1.ServiceCIDRInterface
type FakeServiceCIDRs ¶ added in v0.29.0
type FakeServiceCIDRs struct {
Fake *FakeNetworkingV1alpha1
}
FakeServiceCIDRs implements ServiceCIDRInterface
func (*FakeServiceCIDRs) Apply ¶ added in v0.29.0
func (c *FakeServiceCIDRs) Apply(ctx context.Context, serviceCIDR *networkingv1alpha1.ServiceCIDRApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.ServiceCIDR, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied serviceCIDR.
func (*FakeServiceCIDRs) ApplyStatus ¶ added in v0.29.0
func (c *FakeServiceCIDRs) ApplyStatus(ctx context.Context, serviceCIDR *networkingv1alpha1.ServiceCIDRApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.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 ¶ added in v0.29.0
func (c *FakeServiceCIDRs) Create(ctx context.Context, serviceCIDR *v1alpha1.ServiceCIDR, opts v1.CreateOptions) (result *v1alpha1.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 ¶ added in v0.29.0
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 ¶ added in v0.29.0
func (c *FakeServiceCIDRs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceCIDRs) Get ¶ added in v0.29.0
func (c *FakeServiceCIDRs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.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 ¶ added in v0.29.0
func (c *FakeServiceCIDRs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServiceCIDRList, err error)
List takes label and field selectors, and returns the list of ServiceCIDRs that match those selectors.
func (*FakeServiceCIDRs) Patch ¶ added in v0.29.0
func (c *FakeServiceCIDRs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ServiceCIDR, err error)
Patch applies the patch and returns the patched serviceCIDR.
func (*FakeServiceCIDRs) Update ¶ added in v0.29.0
func (c *FakeServiceCIDRs) Update(ctx context.Context, serviceCIDR *v1alpha1.ServiceCIDR, opts v1.UpdateOptions) (result *v1alpha1.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 ¶ added in v0.29.0
func (c *FakeServiceCIDRs) UpdateStatus(ctx context.Context, serviceCIDR *v1alpha1.ServiceCIDR, opts v1.UpdateOptions) (*v1alpha1.ServiceCIDR, 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 ¶ added in v0.29.0
func (c *FakeServiceCIDRs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceCIDRs.