Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeIPPools
- func (c *FakeIPPools) Apply(ctx context.Context, ...) (result *v1.IPPool, err error)
- func (c *FakeIPPools) ApplyStatus(ctx context.Context, ...) (result *v1.IPPool, err error)
- func (c *FakeIPPools) Create(ctx context.Context, iPPool *v1.IPPool, opts metav1.CreateOptions) (result *v1.IPPool, err error)
- func (c *FakeIPPools) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeIPPools) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeIPPools) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.IPPool, err error)
- func (c *FakeIPPools) List(ctx context.Context, opts metav1.ListOptions) (result *v1.IPPoolList, err error)
- func (c *FakeIPPools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.IPPool, err error)
- func (c *FakeIPPools) Update(ctx context.Context, iPPool *v1.IPPool, opts metav1.UpdateOptions) (result *v1.IPPool, err error)
- func (c *FakeIPPools) UpdateStatus(ctx context.Context, iPPool *v1.IPPool, opts metav1.UpdateOptions) (*v1.IPPool, error)
- func (c *FakeIPPools) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeKubevirtiphelperV1
- type FakeVirtualMachineNetworkConfigs
- func (c *FakeVirtualMachineNetworkConfigs) Apply(ctx context.Context, ...) (result *v1.VirtualMachineNetworkConfig, err error)
- func (c *FakeVirtualMachineNetworkConfigs) ApplyStatus(ctx context.Context, ...) (result *v1.VirtualMachineNetworkConfig, err error)
- func (c *FakeVirtualMachineNetworkConfigs) Create(ctx context.Context, ...) (result *v1.VirtualMachineNetworkConfig, err error)
- func (c *FakeVirtualMachineNetworkConfigs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeVirtualMachineNetworkConfigs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeVirtualMachineNetworkConfigs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.VirtualMachineNetworkConfig, err error)
- func (c *FakeVirtualMachineNetworkConfigs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.VirtualMachineNetworkConfigList, err error)
- func (c *FakeVirtualMachineNetworkConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.VirtualMachineNetworkConfig, err error)
- func (c *FakeVirtualMachineNetworkConfigs) Update(ctx context.Context, ...) (result *v1.VirtualMachineNetworkConfig, err error)
- func (c *FakeVirtualMachineNetworkConfigs) UpdateStatus(ctx context.Context, ...) (*v1.VirtualMachineNetworkConfig, error)
- func (c *FakeVirtualMachineNetworkConfigs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeIPPools ¶
type FakeIPPools struct {
Fake *FakeKubevirtiphelperV1
}
FakeIPPools implements IPPoolInterface
func (*FakeIPPools) Apply ¶
func (c *FakeIPPools) Apply(ctx context.Context, iPPool *kubevirtiphelperk8sbinbashorgv1.IPPoolApplyConfiguration, opts metav1.ApplyOptions) (result *v1.IPPool, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied iPPool.
func (*FakeIPPools) ApplyStatus ¶
func (c *FakeIPPools) ApplyStatus(ctx context.Context, iPPool *kubevirtiphelperk8sbinbashorgv1.IPPoolApplyConfiguration, opts metav1.ApplyOptions) (result *v1.IPPool, 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 (*FakeIPPools) Create ¶
func (c *FakeIPPools) Create(ctx context.Context, iPPool *v1.IPPool, opts metav1.CreateOptions) (result *v1.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 ¶
func (c *FakeIPPools) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the iPPool and deletes it. Returns an error if one occurs.
func (*FakeIPPools) DeleteCollection ¶
func (c *FakeIPPools) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIPPools) Get ¶
func (c *FakeIPPools) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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 ¶
func (c *FakeIPPools) List(ctx context.Context, opts metav1.ListOptions) (result *v1.IPPoolList, err error)
List takes label and field selectors, and returns the list of IPPools that match those selectors.
func (*FakeIPPools) Patch ¶
func (c *FakeIPPools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.IPPool, err error)
Patch applies the patch and returns the patched iPPool.
func (*FakeIPPools) Update ¶
func (c *FakeIPPools) Update(ctx context.Context, iPPool *v1.IPPool, opts metav1.UpdateOptions) (result *v1.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 ¶
func (c *FakeIPPools) UpdateStatus(ctx context.Context, iPPool *v1.IPPool, opts metav1.UpdateOptions) (*v1.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 ¶
func (c *FakeIPPools) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested iPPools.
type FakeKubevirtiphelperV1 ¶
func (*FakeKubevirtiphelperV1) IPPools ¶
func (c *FakeKubevirtiphelperV1) IPPools() v1.IPPoolInterface
func (*FakeKubevirtiphelperV1) RESTClient ¶
func (c *FakeKubevirtiphelperV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeKubevirtiphelperV1) VirtualMachineNetworkConfigs ¶
func (c *FakeKubevirtiphelperV1) VirtualMachineNetworkConfigs(namespace string) v1.VirtualMachineNetworkConfigInterface
type FakeVirtualMachineNetworkConfigs ¶
type FakeVirtualMachineNetworkConfigs struct { Fake *FakeKubevirtiphelperV1 // contains filtered or unexported fields }
FakeVirtualMachineNetworkConfigs implements VirtualMachineNetworkConfigInterface
func (*FakeVirtualMachineNetworkConfigs) Apply ¶
func (c *FakeVirtualMachineNetworkConfigs) Apply(ctx context.Context, virtualMachineNetworkConfig *kubevirtiphelperk8sbinbashorgv1.VirtualMachineNetworkConfigApplyConfiguration, opts metav1.ApplyOptions) (result *v1.VirtualMachineNetworkConfig, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied virtualMachineNetworkConfig.
func (*FakeVirtualMachineNetworkConfigs) ApplyStatus ¶
func (c *FakeVirtualMachineNetworkConfigs) ApplyStatus(ctx context.Context, virtualMachineNetworkConfig *kubevirtiphelperk8sbinbashorgv1.VirtualMachineNetworkConfigApplyConfiguration, opts metav1.ApplyOptions) (result *v1.VirtualMachineNetworkConfig, 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 (*FakeVirtualMachineNetworkConfigs) Create ¶
func (c *FakeVirtualMachineNetworkConfigs) Create(ctx context.Context, virtualMachineNetworkConfig *v1.VirtualMachineNetworkConfig, opts metav1.CreateOptions) (result *v1.VirtualMachineNetworkConfig, err error)
Create takes the representation of a virtualMachineNetworkConfig and creates it. Returns the server's representation of the virtualMachineNetworkConfig, and an error, if there is any.
func (*FakeVirtualMachineNetworkConfigs) Delete ¶
func (c *FakeVirtualMachineNetworkConfigs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the virtualMachineNetworkConfig and deletes it. Returns an error if one occurs.
func (*FakeVirtualMachineNetworkConfigs) DeleteCollection ¶
func (c *FakeVirtualMachineNetworkConfigs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtualMachineNetworkConfigs) Get ¶
func (c *FakeVirtualMachineNetworkConfigs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.VirtualMachineNetworkConfig, err error)
Get takes name of the virtualMachineNetworkConfig, and returns the corresponding virtualMachineNetworkConfig object, and an error if there is any.
func (*FakeVirtualMachineNetworkConfigs) List ¶
func (c *FakeVirtualMachineNetworkConfigs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.VirtualMachineNetworkConfigList, err error)
List takes label and field selectors, and returns the list of VirtualMachineNetworkConfigs that match those selectors.
func (*FakeVirtualMachineNetworkConfigs) Patch ¶
func (c *FakeVirtualMachineNetworkConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VirtualMachineNetworkConfig, err error)
Patch applies the patch and returns the patched virtualMachineNetworkConfig.
func (*FakeVirtualMachineNetworkConfigs) Update ¶
func (c *FakeVirtualMachineNetworkConfigs) Update(ctx context.Context, virtualMachineNetworkConfig *v1.VirtualMachineNetworkConfig, opts metav1.UpdateOptions) (result *v1.VirtualMachineNetworkConfig, err error)
Update takes the representation of a virtualMachineNetworkConfig and updates it. Returns the server's representation of the virtualMachineNetworkConfig, and an error, if there is any.
func (*FakeVirtualMachineNetworkConfigs) UpdateStatus ¶
func (c *FakeVirtualMachineNetworkConfigs) UpdateStatus(ctx context.Context, virtualMachineNetworkConfig *v1.VirtualMachineNetworkConfig, opts metav1.UpdateOptions) (*v1.VirtualMachineNetworkConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVirtualMachineNetworkConfigs) Watch ¶
func (c *FakeVirtualMachineNetworkConfigs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualMachineNetworkConfigs.