fake

package
v1.12.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

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 FakeIPPools added in v1.12.0

type FakeIPPools struct {
	Fake *FakeKubeovnV1
}

FakeIPPools implements IPPoolInterface

func (*FakeIPPools) Create added in v1.12.0

func (c *FakeIPPools) Create(ctx context.Context, iPPool *kubeovnv1.IPPool, opts v1.CreateOptions) (result *kubeovnv1.IPPool, err error)

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

func (*FakeIPPools) Delete added in v1.12.0

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

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

func (*FakeIPPools) DeleteCollection added in v1.12.0

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

DeleteCollection deletes a collection of objects.

func (*FakeIPPools) Get added in v1.12.0

func (c *FakeIPPools) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubeovnv1.IPPool, err error)

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

func (*FakeIPPools) List added in v1.12.0

func (c *FakeIPPools) List(ctx context.Context, opts v1.ListOptions) (result *kubeovnv1.IPPoolList, err error)

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

func (*FakeIPPools) Patch added in v1.12.0

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

Patch applies the patch and returns the patched iPPool.

func (*FakeIPPools) Update added in v1.12.0

func (c *FakeIPPools) Update(ctx context.Context, iPPool *kubeovnv1.IPPool, opts v1.UpdateOptions) (result *kubeovnv1.IPPool, err error)

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

func (*FakeIPPools) UpdateStatus added in v1.12.0

func (c *FakeIPPools) UpdateStatus(ctx context.Context, iPPool *kubeovnv1.IPPool, opts v1.UpdateOptions) (*kubeovnv1.IPPool, error)

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

func (*FakeIPPools) Watch added in v1.12.0

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

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

type FakeIPs

type FakeIPs struct {
	Fake *FakeKubeovnV1
}

FakeIPs implements IPInterface

func (*FakeIPs) Create

func (c *FakeIPs) Create(ctx context.Context, iP *kubeovnv1.IP, opts v1.CreateOptions) (result *kubeovnv1.IP, err error)

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

func (*FakeIPs) Delete

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

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

func (*FakeIPs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeIPs) Get

func (c *FakeIPs) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubeovnv1.IP, err error)

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

func (*FakeIPs) List

func (c *FakeIPs) List(ctx context.Context, opts v1.ListOptions) (result *kubeovnv1.IPList, err error)

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

func (*FakeIPs) Patch

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

Patch applies the patch and returns the patched iP.

func (*FakeIPs) Update

func (c *FakeIPs) Update(ctx context.Context, iP *kubeovnv1.IP, opts v1.UpdateOptions) (result *kubeovnv1.IP, err error)

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

func (*FakeIPs) Watch

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

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

type FakeIptablesDnatRules added in v1.10.0

type FakeIptablesDnatRules struct {
	Fake *FakeKubeovnV1
}

FakeIptablesDnatRules implements IptablesDnatRuleInterface

func (*FakeIptablesDnatRules) Create added in v1.10.0

func (c *FakeIptablesDnatRules) Create(ctx context.Context, iptablesDnatRule *kubeovnv1.IptablesDnatRule, opts v1.CreateOptions) (result *kubeovnv1.IptablesDnatRule, err error)

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

func (*FakeIptablesDnatRules) Delete added in v1.10.0

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

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

func (*FakeIptablesDnatRules) DeleteCollection added in v1.10.0

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

DeleteCollection deletes a collection of objects.

func (*FakeIptablesDnatRules) Get added in v1.10.0

func (c *FakeIptablesDnatRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubeovnv1.IptablesDnatRule, err error)

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

func (*FakeIptablesDnatRules) List added in v1.10.0

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

func (*FakeIptablesDnatRules) Patch added in v1.10.0

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

Patch applies the patch and returns the patched iptablesDnatRule.

func (*FakeIptablesDnatRules) Update added in v1.10.0

func (c *FakeIptablesDnatRules) Update(ctx context.Context, iptablesDnatRule *kubeovnv1.IptablesDnatRule, opts v1.UpdateOptions) (result *kubeovnv1.IptablesDnatRule, err error)

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

func (*FakeIptablesDnatRules) UpdateStatus added in v1.10.0

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

func (*FakeIptablesDnatRules) Watch added in v1.10.0

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

type FakeIptablesEIPs added in v1.10.0

type FakeIptablesEIPs struct {
	Fake *FakeKubeovnV1
}

FakeIptablesEIPs implements IptablesEIPInterface

func (*FakeIptablesEIPs) Create added in v1.10.0

func (c *FakeIptablesEIPs) Create(ctx context.Context, iptablesEIP *kubeovnv1.IptablesEIP, opts v1.CreateOptions) (result *kubeovnv1.IptablesEIP, err error)

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

func (*FakeIptablesEIPs) Delete added in v1.10.0

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

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

func (*FakeIptablesEIPs) DeleteCollection added in v1.10.0

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

DeleteCollection deletes a collection of objects.

func (*FakeIptablesEIPs) Get added in v1.10.0

func (c *FakeIptablesEIPs) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubeovnv1.IptablesEIP, err error)

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

func (*FakeIptablesEIPs) List added in v1.10.0

func (c *FakeIptablesEIPs) List(ctx context.Context, opts v1.ListOptions) (result *kubeovnv1.IptablesEIPList, err error)

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

func (*FakeIptablesEIPs) Patch added in v1.10.0

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

Patch applies the patch and returns the patched iptablesEIP.

func (*FakeIptablesEIPs) Update added in v1.10.0

func (c *FakeIptablesEIPs) Update(ctx context.Context, iptablesEIP *kubeovnv1.IptablesEIP, opts v1.UpdateOptions) (result *kubeovnv1.IptablesEIP, err error)

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

func (*FakeIptablesEIPs) UpdateStatus added in v1.10.0

func (c *FakeIptablesEIPs) UpdateStatus(ctx context.Context, iptablesEIP *kubeovnv1.IptablesEIP, opts v1.UpdateOptions) (*kubeovnv1.IptablesEIP, error)

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

func (*FakeIptablesEIPs) Watch added in v1.10.0

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

type FakeIptablesFIPRules added in v1.10.0

type FakeIptablesFIPRules struct {
	Fake *FakeKubeovnV1
}

FakeIptablesFIPRules implements IptablesFIPRuleInterface

func (*FakeIptablesFIPRules) Create added in v1.10.0

func (c *FakeIptablesFIPRules) Create(ctx context.Context, iptablesFIPRule *kubeovnv1.IptablesFIPRule, opts v1.CreateOptions) (result *kubeovnv1.IptablesFIPRule, err error)

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

func (*FakeIptablesFIPRules) Delete added in v1.10.0

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

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

func (*FakeIptablesFIPRules) DeleteCollection added in v1.10.0

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

DeleteCollection deletes a collection of objects.

func (*FakeIptablesFIPRules) Get added in v1.10.0

func (c *FakeIptablesFIPRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubeovnv1.IptablesFIPRule, err error)

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

func (*FakeIptablesFIPRules) List added in v1.10.0

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

func (*FakeIptablesFIPRules) Patch added in v1.10.0

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

Patch applies the patch and returns the patched iptablesFIPRule.

func (*FakeIptablesFIPRules) Update added in v1.10.0

func (c *FakeIptablesFIPRules) Update(ctx context.Context, iptablesFIPRule *kubeovnv1.IptablesFIPRule, opts v1.UpdateOptions) (result *kubeovnv1.IptablesFIPRule, err error)

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

func (*FakeIptablesFIPRules) UpdateStatus added in v1.10.0

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

func (*FakeIptablesFIPRules) Watch added in v1.10.0

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

type FakeIptablesSnatRules added in v1.10.0

type FakeIptablesSnatRules struct {
	Fake *FakeKubeovnV1
}

FakeIptablesSnatRules implements IptablesSnatRuleInterface

func (*FakeIptablesSnatRules) Create added in v1.10.0

func (c *FakeIptablesSnatRules) Create(ctx context.Context, iptablesSnatRule *kubeovnv1.IptablesSnatRule, opts v1.CreateOptions) (result *kubeovnv1.IptablesSnatRule, err error)

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

func (*FakeIptablesSnatRules) Delete added in v1.10.0

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

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

func (*FakeIptablesSnatRules) DeleteCollection added in v1.10.0

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

DeleteCollection deletes a collection of objects.

func (*FakeIptablesSnatRules) Get added in v1.10.0

func (c *FakeIptablesSnatRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubeovnv1.IptablesSnatRule, err error)

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

func (*FakeIptablesSnatRules) List added in v1.10.0

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

func (*FakeIptablesSnatRules) Patch added in v1.10.0

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

Patch applies the patch and returns the patched iptablesSnatRule.

func (*FakeIptablesSnatRules) Update added in v1.10.0

func (c *FakeIptablesSnatRules) Update(ctx context.Context, iptablesSnatRule *kubeovnv1.IptablesSnatRule, opts v1.UpdateOptions) (result *kubeovnv1.IptablesSnatRule, err error)

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

func (*FakeIptablesSnatRules) UpdateStatus added in v1.10.0

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

func (*FakeIptablesSnatRules) Watch added in v1.10.0

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

type FakeKubeovnV1

type FakeKubeovnV1 struct {
	*testing.Fake
}

func (*FakeKubeovnV1) IPPools added in v1.12.0

func (c *FakeKubeovnV1) IPPools() v1.IPPoolInterface

func (*FakeKubeovnV1) IPs

func (c *FakeKubeovnV1) IPs() v1.IPInterface

func (*FakeKubeovnV1) IptablesDnatRules added in v1.10.0

func (c *FakeKubeovnV1) IptablesDnatRules() v1.IptablesDnatRuleInterface

func (*FakeKubeovnV1) IptablesEIPs added in v1.10.0

func (c *FakeKubeovnV1) IptablesEIPs() v1.IptablesEIPInterface

func (*FakeKubeovnV1) IptablesFIPRules added in v1.10.0

func (c *FakeKubeovnV1) IptablesFIPRules() v1.IptablesFIPRuleInterface

func (*FakeKubeovnV1) IptablesSnatRules added in v1.10.0

func (c *FakeKubeovnV1) IptablesSnatRules() v1.IptablesSnatRuleInterface

func (*FakeKubeovnV1) OvnDnatRules added in v1.12.0

func (c *FakeKubeovnV1) OvnDnatRules() v1.OvnDnatRuleInterface

func (*FakeKubeovnV1) OvnEips added in v1.11.0

func (c *FakeKubeovnV1) OvnEips() v1.OvnEipInterface

func (*FakeKubeovnV1) OvnFips added in v1.11.0

func (c *FakeKubeovnV1) OvnFips() v1.OvnFipInterface

func (*FakeKubeovnV1) OvnSnatRules added in v1.11.0

func (c *FakeKubeovnV1) OvnSnatRules() v1.OvnSnatRuleInterface

func (*FakeKubeovnV1) ProviderNetworks added in v1.7.1

func (c *FakeKubeovnV1) ProviderNetworks() v1.ProviderNetworkInterface

func (*FakeKubeovnV1) QoSPolicies added in v1.12.0

func (c *FakeKubeovnV1) QoSPolicies() v1.QoSPolicyInterface

func (*FakeKubeovnV1) RESTClient

func (c *FakeKubeovnV1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeKubeovnV1) SecurityGroups added in v1.8.0

func (c *FakeKubeovnV1) SecurityGroups() v1.SecurityGroupInterface

func (*FakeKubeovnV1) Subnets

func (c *FakeKubeovnV1) Subnets() v1.SubnetInterface

func (*FakeKubeovnV1) SwitchLBRules added in v1.11.0

func (c *FakeKubeovnV1) SwitchLBRules() v1.SwitchLBRuleInterface

func (*FakeKubeovnV1) Vips added in v1.10.0

func (c *FakeKubeovnV1) Vips() v1.VipInterface

func (*FakeKubeovnV1) Vlans

func (c *FakeKubeovnV1) Vlans() v1.VlanInterface

func (*FakeKubeovnV1) VpcDnses added in v1.11.0

func (c *FakeKubeovnV1) VpcDnses() v1.VpcDnsInterface

func (*FakeKubeovnV1) VpcNatGateways

func (c *FakeKubeovnV1) VpcNatGateways() v1.VpcNatGatewayInterface

func (*FakeKubeovnV1) Vpcs

func (c *FakeKubeovnV1) Vpcs() v1.VpcInterface

type FakeOvnDnatRules added in v1.12.0

type FakeOvnDnatRules struct {
	Fake *FakeKubeovnV1
}

FakeOvnDnatRules implements OvnDnatRuleInterface

func (*FakeOvnDnatRules) Create added in v1.12.0

func (c *FakeOvnDnatRules) Create(ctx context.Context, ovnDnatRule *kubeovnv1.OvnDnatRule, opts v1.CreateOptions) (result *kubeovnv1.OvnDnatRule, err error)

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

func (*FakeOvnDnatRules) Delete added in v1.12.0

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

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

func (*FakeOvnDnatRules) DeleteCollection added in v1.12.0

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

DeleteCollection deletes a collection of objects.

func (*FakeOvnDnatRules) Get added in v1.12.0

func (c *FakeOvnDnatRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubeovnv1.OvnDnatRule, err error)

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

func (*FakeOvnDnatRules) List added in v1.12.0

func (c *FakeOvnDnatRules) List(ctx context.Context, opts v1.ListOptions) (result *kubeovnv1.OvnDnatRuleList, err error)

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

func (*FakeOvnDnatRules) Patch added in v1.12.0

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

Patch applies the patch and returns the patched ovnDnatRule.

func (*FakeOvnDnatRules) Update added in v1.12.0

func (c *FakeOvnDnatRules) Update(ctx context.Context, ovnDnatRule *kubeovnv1.OvnDnatRule, opts v1.UpdateOptions) (result *kubeovnv1.OvnDnatRule, err error)

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

func (*FakeOvnDnatRules) UpdateStatus added in v1.12.0

func (c *FakeOvnDnatRules) UpdateStatus(ctx context.Context, ovnDnatRule *kubeovnv1.OvnDnatRule, opts v1.UpdateOptions) (*kubeovnv1.OvnDnatRule, error)

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

func (*FakeOvnDnatRules) Watch added in v1.12.0

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

type FakeOvnEips added in v1.11.0

type FakeOvnEips struct {
	Fake *FakeKubeovnV1
}

FakeOvnEips implements OvnEipInterface

func (*FakeOvnEips) Create added in v1.11.0

func (c *FakeOvnEips) Create(ctx context.Context, ovnEip *kubeovnv1.OvnEip, opts v1.CreateOptions) (result *kubeovnv1.OvnEip, err error)

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

func (*FakeOvnEips) Delete added in v1.11.0

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

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

func (*FakeOvnEips) DeleteCollection added in v1.11.0

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

DeleteCollection deletes a collection of objects.

func (*FakeOvnEips) Get added in v1.11.0

func (c *FakeOvnEips) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubeovnv1.OvnEip, err error)

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

func (*FakeOvnEips) List added in v1.11.0

func (c *FakeOvnEips) List(ctx context.Context, opts v1.ListOptions) (result *kubeovnv1.OvnEipList, err error)

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

func (*FakeOvnEips) Patch added in v1.11.0

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

Patch applies the patch and returns the patched ovnEip.

func (*FakeOvnEips) Update added in v1.11.0

func (c *FakeOvnEips) Update(ctx context.Context, ovnEip *kubeovnv1.OvnEip, opts v1.UpdateOptions) (result *kubeovnv1.OvnEip, err error)

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

func (*FakeOvnEips) UpdateStatus added in v1.11.0

func (c *FakeOvnEips) UpdateStatus(ctx context.Context, ovnEip *kubeovnv1.OvnEip, opts v1.UpdateOptions) (*kubeovnv1.OvnEip, error)

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

func (*FakeOvnEips) Watch added in v1.11.0

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

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

type FakeOvnFips added in v1.11.0

type FakeOvnFips struct {
	Fake *FakeKubeovnV1
}

FakeOvnFips implements OvnFipInterface

func (*FakeOvnFips) Create added in v1.11.0

func (c *FakeOvnFips) Create(ctx context.Context, ovnFip *kubeovnv1.OvnFip, opts v1.CreateOptions) (result *kubeovnv1.OvnFip, err error)

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

func (*FakeOvnFips) Delete added in v1.11.0

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

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

func (*FakeOvnFips) DeleteCollection added in v1.11.0

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

DeleteCollection deletes a collection of objects.

func (*FakeOvnFips) Get added in v1.11.0

func (c *FakeOvnFips) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubeovnv1.OvnFip, err error)

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

func (*FakeOvnFips) List added in v1.11.0

func (c *FakeOvnFips) List(ctx context.Context, opts v1.ListOptions) (result *kubeovnv1.OvnFipList, err error)

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

func (*FakeOvnFips) Patch added in v1.11.0

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

Patch applies the patch and returns the patched ovnFip.

func (*FakeOvnFips) Update added in v1.11.0

func (c *FakeOvnFips) Update(ctx context.Context, ovnFip *kubeovnv1.OvnFip, opts v1.UpdateOptions) (result *kubeovnv1.OvnFip, err error)

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

func (*FakeOvnFips) UpdateStatus added in v1.11.0

func (c *FakeOvnFips) UpdateStatus(ctx context.Context, ovnFip *kubeovnv1.OvnFip, opts v1.UpdateOptions) (*kubeovnv1.OvnFip, error)

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

func (*FakeOvnFips) Watch added in v1.11.0

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

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

type FakeOvnSnatRules added in v1.11.0

type FakeOvnSnatRules struct {
	Fake *FakeKubeovnV1
}

FakeOvnSnatRules implements OvnSnatRuleInterface

func (*FakeOvnSnatRules) Create added in v1.11.0

func (c *FakeOvnSnatRules) Create(ctx context.Context, ovnSnatRule *kubeovnv1.OvnSnatRule, opts v1.CreateOptions) (result *kubeovnv1.OvnSnatRule, err error)

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

func (*FakeOvnSnatRules) Delete added in v1.11.0

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

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

func (*FakeOvnSnatRules) DeleteCollection added in v1.11.0

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

DeleteCollection deletes a collection of objects.

func (*FakeOvnSnatRules) Get added in v1.11.0

func (c *FakeOvnSnatRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubeovnv1.OvnSnatRule, err error)

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

func (*FakeOvnSnatRules) List added in v1.11.0

func (c *FakeOvnSnatRules) List(ctx context.Context, opts v1.ListOptions) (result *kubeovnv1.OvnSnatRuleList, err error)

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

func (*FakeOvnSnatRules) Patch added in v1.11.0

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

Patch applies the patch and returns the patched ovnSnatRule.

func (*FakeOvnSnatRules) Update added in v1.11.0

func (c *FakeOvnSnatRules) Update(ctx context.Context, ovnSnatRule *kubeovnv1.OvnSnatRule, opts v1.UpdateOptions) (result *kubeovnv1.OvnSnatRule, err error)

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

func (*FakeOvnSnatRules) UpdateStatus added in v1.11.0

func (c *FakeOvnSnatRules) UpdateStatus(ctx context.Context, ovnSnatRule *kubeovnv1.OvnSnatRule, opts v1.UpdateOptions) (*kubeovnv1.OvnSnatRule, error)

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

func (*FakeOvnSnatRules) Watch added in v1.11.0

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

type FakeProviderNetworks added in v1.7.1

type FakeProviderNetworks struct {
	Fake *FakeKubeovnV1
}

FakeProviderNetworks implements ProviderNetworkInterface

func (*FakeProviderNetworks) Create added in v1.7.1

func (c *FakeProviderNetworks) Create(ctx context.Context, providerNetwork *kubeovnv1.ProviderNetwork, opts v1.CreateOptions) (result *kubeovnv1.ProviderNetwork, err error)

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

func (*FakeProviderNetworks) Delete added in v1.7.1

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

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

func (*FakeProviderNetworks) DeleteCollection added in v1.7.1

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

DeleteCollection deletes a collection of objects.

func (*FakeProviderNetworks) Get added in v1.7.1

func (c *FakeProviderNetworks) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubeovnv1.ProviderNetwork, err error)

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

func (*FakeProviderNetworks) List added in v1.7.1

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

func (*FakeProviderNetworks) Patch added in v1.7.1

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

Patch applies the patch and returns the patched providerNetwork.

func (*FakeProviderNetworks) Update added in v1.7.1

func (c *FakeProviderNetworks) Update(ctx context.Context, providerNetwork *kubeovnv1.ProviderNetwork, opts v1.UpdateOptions) (result *kubeovnv1.ProviderNetwork, err error)

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

func (*FakeProviderNetworks) UpdateStatus added in v1.7.1

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

func (*FakeProviderNetworks) Watch added in v1.7.1

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

type FakeQoSPolicies added in v1.12.0

type FakeQoSPolicies struct {
	Fake *FakeKubeovnV1
}

FakeQoSPolicies implements QoSPolicyInterface

func (*FakeQoSPolicies) Create added in v1.12.0

func (c *FakeQoSPolicies) Create(ctx context.Context, qoSPolicy *kubeovnv1.QoSPolicy, opts v1.CreateOptions) (result *kubeovnv1.QoSPolicy, err error)

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

func (*FakeQoSPolicies) Delete added in v1.12.0

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

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

func (*FakeQoSPolicies) DeleteCollection added in v1.12.0

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

DeleteCollection deletes a collection of objects.

func (*FakeQoSPolicies) Get added in v1.12.0

func (c *FakeQoSPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubeovnv1.QoSPolicy, err error)

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

func (*FakeQoSPolicies) List added in v1.12.0

func (c *FakeQoSPolicies) List(ctx context.Context, opts v1.ListOptions) (result *kubeovnv1.QoSPolicyList, err error)

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

func (*FakeQoSPolicies) Patch added in v1.12.0

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

Patch applies the patch and returns the patched qoSPolicy.

func (*FakeQoSPolicies) Update added in v1.12.0

func (c *FakeQoSPolicies) Update(ctx context.Context, qoSPolicy *kubeovnv1.QoSPolicy, opts v1.UpdateOptions) (result *kubeovnv1.QoSPolicy, err error)

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

func (*FakeQoSPolicies) UpdateStatus added in v1.12.0

func (c *FakeQoSPolicies) UpdateStatus(ctx context.Context, qoSPolicy *kubeovnv1.QoSPolicy, opts v1.UpdateOptions) (*kubeovnv1.QoSPolicy, error)

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

func (*FakeQoSPolicies) Watch added in v1.12.0

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

type FakeSecurityGroups added in v1.8.0

type FakeSecurityGroups struct {
	Fake *FakeKubeovnV1
}

FakeSecurityGroups implements SecurityGroupInterface

func (*FakeSecurityGroups) Create added in v1.8.0

func (c *FakeSecurityGroups) Create(ctx context.Context, securityGroup *kubeovnv1.SecurityGroup, opts v1.CreateOptions) (result *kubeovnv1.SecurityGroup, err error)

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

func (*FakeSecurityGroups) Delete added in v1.8.0

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

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

func (*FakeSecurityGroups) DeleteCollection added in v1.8.0

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

DeleteCollection deletes a collection of objects.

func (*FakeSecurityGroups) Get added in v1.8.0

func (c *FakeSecurityGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubeovnv1.SecurityGroup, err error)

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

func (*FakeSecurityGroups) List added in v1.8.0

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

func (*FakeSecurityGroups) Patch added in v1.8.0

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

Patch applies the patch and returns the patched securityGroup.

func (*FakeSecurityGroups) Update added in v1.8.0

func (c *FakeSecurityGroups) Update(ctx context.Context, securityGroup *kubeovnv1.SecurityGroup, opts v1.UpdateOptions) (result *kubeovnv1.SecurityGroup, err error)

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

func (*FakeSecurityGroups) UpdateStatus added in v1.8.0

func (c *FakeSecurityGroups) UpdateStatus(ctx context.Context, securityGroup *kubeovnv1.SecurityGroup, opts v1.UpdateOptions) (*kubeovnv1.SecurityGroup, error)

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

func (*FakeSecurityGroups) Watch added in v1.8.0

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

type FakeSubnets

type FakeSubnets struct {
	Fake *FakeKubeovnV1
}

FakeSubnets implements SubnetInterface

func (*FakeSubnets) Create

func (c *FakeSubnets) Create(ctx context.Context, subnet *kubeovnv1.Subnet, opts v1.CreateOptions) (result *kubeovnv1.Subnet, err error)

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

func (*FakeSubnets) Delete

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

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

func (*FakeSubnets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSubnets) Get

func (c *FakeSubnets) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubeovnv1.Subnet, err error)

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

func (*FakeSubnets) List

func (c *FakeSubnets) List(ctx context.Context, opts v1.ListOptions) (result *kubeovnv1.SubnetList, err error)

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

func (*FakeSubnets) Patch

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

Patch applies the patch and returns the patched subnet.

func (*FakeSubnets) Update

func (c *FakeSubnets) Update(ctx context.Context, subnet *kubeovnv1.Subnet, opts v1.UpdateOptions) (result *kubeovnv1.Subnet, err error)

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

func (*FakeSubnets) UpdateStatus

func (c *FakeSubnets) UpdateStatus(ctx context.Context, subnet *kubeovnv1.Subnet, opts v1.UpdateOptions) (*kubeovnv1.Subnet, error)

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

func (*FakeSubnets) Watch

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

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

type FakeSwitchLBRules added in v1.11.0

type FakeSwitchLBRules struct {
	Fake *FakeKubeovnV1
}

FakeSwitchLBRules implements SwitchLBRuleInterface

func (*FakeSwitchLBRules) Create added in v1.11.0

func (c *FakeSwitchLBRules) Create(ctx context.Context, switchLBRule *kubeovnv1.SwitchLBRule, opts v1.CreateOptions) (result *kubeovnv1.SwitchLBRule, err error)

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

func (*FakeSwitchLBRules) Delete added in v1.11.0

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

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

func (*FakeSwitchLBRules) DeleteCollection added in v1.11.0

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

DeleteCollection deletes a collection of objects.

func (*FakeSwitchLBRules) Get added in v1.11.0

func (c *FakeSwitchLBRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubeovnv1.SwitchLBRule, err error)

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

func (*FakeSwitchLBRules) List added in v1.11.0

func (c *FakeSwitchLBRules) List(ctx context.Context, opts v1.ListOptions) (result *kubeovnv1.SwitchLBRuleList, err error)

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

func (*FakeSwitchLBRules) Patch added in v1.11.0

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

Patch applies the patch and returns the patched switchLBRule.

func (*FakeSwitchLBRules) Update added in v1.11.0

func (c *FakeSwitchLBRules) Update(ctx context.Context, switchLBRule *kubeovnv1.SwitchLBRule, opts v1.UpdateOptions) (result *kubeovnv1.SwitchLBRule, err error)

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

func (*FakeSwitchLBRules) UpdateStatus added in v1.11.0

func (c *FakeSwitchLBRules) UpdateStatus(ctx context.Context, switchLBRule *kubeovnv1.SwitchLBRule, opts v1.UpdateOptions) (*kubeovnv1.SwitchLBRule, error)

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

func (*FakeSwitchLBRules) Watch added in v1.11.0

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

type FakeVips added in v1.10.0

type FakeVips struct {
	Fake *FakeKubeovnV1
}

FakeVips implements VipInterface

func (*FakeVips) Create added in v1.10.0

func (c *FakeVips) Create(ctx context.Context, vip *kubeovnv1.Vip, opts v1.CreateOptions) (result *kubeovnv1.Vip, err error)

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

func (*FakeVips) Delete added in v1.10.0

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

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

func (*FakeVips) DeleteCollection added in v1.10.0

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

DeleteCollection deletes a collection of objects.

func (*FakeVips) Get added in v1.10.0

func (c *FakeVips) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubeovnv1.Vip, err error)

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

func (*FakeVips) List added in v1.10.0

func (c *FakeVips) List(ctx context.Context, opts v1.ListOptions) (result *kubeovnv1.VipList, err error)

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

func (*FakeVips) Patch added in v1.10.0

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

Patch applies the patch and returns the patched vip.

func (*FakeVips) Update added in v1.10.0

func (c *FakeVips) Update(ctx context.Context, vip *kubeovnv1.Vip, opts v1.UpdateOptions) (result *kubeovnv1.Vip, err error)

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

func (*FakeVips) UpdateStatus added in v1.10.0

func (c *FakeVips) UpdateStatus(ctx context.Context, vip *kubeovnv1.Vip, opts v1.UpdateOptions) (*kubeovnv1.Vip, error)

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

func (*FakeVips) Watch added in v1.10.0

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

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

type FakeVlans

type FakeVlans struct {
	Fake *FakeKubeovnV1
}

FakeVlans implements VlanInterface

func (*FakeVlans) Create

func (c *FakeVlans) Create(ctx context.Context, vlan *kubeovnv1.Vlan, opts v1.CreateOptions) (result *kubeovnv1.Vlan, err error)

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

func (*FakeVlans) Delete

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

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

func (*FakeVlans) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVlans) Get

func (c *FakeVlans) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubeovnv1.Vlan, err error)

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

func (*FakeVlans) List

func (c *FakeVlans) List(ctx context.Context, opts v1.ListOptions) (result *kubeovnv1.VlanList, err error)

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

func (*FakeVlans) Patch

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

Patch applies the patch and returns the patched vlan.

func (*FakeVlans) Update

func (c *FakeVlans) Update(ctx context.Context, vlan *kubeovnv1.Vlan, opts v1.UpdateOptions) (result *kubeovnv1.Vlan, err error)

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

func (*FakeVlans) UpdateStatus

func (c *FakeVlans) UpdateStatus(ctx context.Context, vlan *kubeovnv1.Vlan, opts v1.UpdateOptions) (*kubeovnv1.Vlan, error)

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

func (*FakeVlans) Watch

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

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

type FakeVpcDnses added in v1.11.0

type FakeVpcDnses struct {
	Fake *FakeKubeovnV1
}

FakeVpcDnses implements VpcDnsInterface

func (*FakeVpcDnses) Create added in v1.11.0

func (c *FakeVpcDnses) Create(ctx context.Context, vpcDNS *kubeovnv1.VpcDns, opts v1.CreateOptions) (result *kubeovnv1.VpcDns, err error)

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

func (*FakeVpcDnses) Delete added in v1.11.0

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

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

func (*FakeVpcDnses) DeleteCollection added in v1.11.0

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

DeleteCollection deletes a collection of objects.

func (*FakeVpcDnses) Get added in v1.11.0

func (c *FakeVpcDnses) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubeovnv1.VpcDns, err error)

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

func (*FakeVpcDnses) List added in v1.11.0

func (c *FakeVpcDnses) List(ctx context.Context, opts v1.ListOptions) (result *kubeovnv1.VpcDnsList, err error)

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

func (*FakeVpcDnses) Patch added in v1.11.0

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

Patch applies the patch and returns the patched vpcDNS.

func (*FakeVpcDnses) Update added in v1.11.0

func (c *FakeVpcDnses) Update(ctx context.Context, vpcDNS *kubeovnv1.VpcDns, opts v1.UpdateOptions) (result *kubeovnv1.VpcDns, err error)

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

func (*FakeVpcDnses) UpdateStatus added in v1.11.0

func (c *FakeVpcDnses) UpdateStatus(ctx context.Context, vpcDNS *kubeovnv1.VpcDns, opts v1.UpdateOptions) (*kubeovnv1.VpcDns, error)

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

func (*FakeVpcDnses) Watch added in v1.11.0

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

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

type FakeVpcNatGateways

type FakeVpcNatGateways struct {
	Fake *FakeKubeovnV1
}

FakeVpcNatGateways implements VpcNatGatewayInterface

func (*FakeVpcNatGateways) Create

func (c *FakeVpcNatGateways) Create(ctx context.Context, vpcNatGateway *kubeovnv1.VpcNatGateway, opts v1.CreateOptions) (result *kubeovnv1.VpcNatGateway, err error)

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

func (*FakeVpcNatGateways) Delete

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

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

func (*FakeVpcNatGateways) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVpcNatGateways) Get

func (c *FakeVpcNatGateways) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubeovnv1.VpcNatGateway, err error)

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

func (*FakeVpcNatGateways) List

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

func (*FakeVpcNatGateways) Patch

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

Patch applies the patch and returns the patched vpcNatGateway.

func (*FakeVpcNatGateways) Update

func (c *FakeVpcNatGateways) Update(ctx context.Context, vpcNatGateway *kubeovnv1.VpcNatGateway, opts v1.UpdateOptions) (result *kubeovnv1.VpcNatGateway, err error)

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

func (*FakeVpcNatGateways) UpdateStatus added in v1.12.0

func (c *FakeVpcNatGateways) UpdateStatus(ctx context.Context, vpcNatGateway *kubeovnv1.VpcNatGateway, opts v1.UpdateOptions) (*kubeovnv1.VpcNatGateway, error)

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

func (*FakeVpcNatGateways) Watch

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

type FakeVpcs

type FakeVpcs struct {
	Fake *FakeKubeovnV1
}

FakeVpcs implements VpcInterface

func (*FakeVpcs) Create

func (c *FakeVpcs) Create(ctx context.Context, vpc *kubeovnv1.Vpc, opts v1.CreateOptions) (result *kubeovnv1.Vpc, err error)

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

func (*FakeVpcs) Delete

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

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

func (*FakeVpcs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVpcs) Get

func (c *FakeVpcs) Get(ctx context.Context, name string, options v1.GetOptions) (result *kubeovnv1.Vpc, err error)

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

func (*FakeVpcs) List

func (c *FakeVpcs) List(ctx context.Context, opts v1.ListOptions) (result *kubeovnv1.VpcList, err error)

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

func (*FakeVpcs) Patch

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

Patch applies the patch and returns the patched vpc.

func (*FakeVpcs) Update

func (c *FakeVpcs) Update(ctx context.Context, vpc *kubeovnv1.Vpc, opts v1.UpdateOptions) (result *kubeovnv1.Vpc, err error)

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

func (*FakeVpcs) UpdateStatus

func (c *FakeVpcs) UpdateStatus(ctx context.Context, vpc *kubeovnv1.Vpc, opts v1.UpdateOptions) (*kubeovnv1.Vpc, error)

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

func (*FakeVpcs) Watch

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

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

Jump to

Keyboard shortcuts

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