Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeVirtletConfigMappings
- func (c *FakeVirtletConfigMappings) Create(virtletConfigMapping *virtlet_k8s_v1.VirtletConfigMapping) (result *virtlet_k8s_v1.VirtletConfigMapping, err error)
- func (c *FakeVirtletConfigMappings) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeVirtletConfigMappings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeVirtletConfigMappings) Get(name string, options v1.GetOptions) (result *virtlet_k8s_v1.VirtletConfigMapping, err error)
- func (c *FakeVirtletConfigMappings) List(opts v1.ListOptions) (result *virtlet_k8s_v1.VirtletConfigMappingList, err error)
- func (c *FakeVirtletConfigMappings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *virtlet_k8s_v1.VirtletConfigMapping, err error)
- func (c *FakeVirtletConfigMappings) Update(virtletConfigMapping *virtlet_k8s_v1.VirtletConfigMapping) (result *virtlet_k8s_v1.VirtletConfigMapping, err error)
- func (c *FakeVirtletConfigMappings) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtletImageMappings
- func (c *FakeVirtletImageMappings) Create(virtletImageMapping *virtlet_k8s_v1.VirtletImageMapping) (result *virtlet_k8s_v1.VirtletImageMapping, err error)
- func (c *FakeVirtletImageMappings) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeVirtletImageMappings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeVirtletImageMappings) Get(name string, options v1.GetOptions) (result *virtlet_k8s_v1.VirtletImageMapping, err error)
- func (c *FakeVirtletImageMappings) List(opts v1.ListOptions) (result *virtlet_k8s_v1.VirtletImageMappingList, err error)
- func (c *FakeVirtletImageMappings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *virtlet_k8s_v1.VirtletImageMapping, err error)
- func (c *FakeVirtletImageMappings) Update(virtletImageMapping *virtlet_k8s_v1.VirtletImageMapping) (result *virtlet_k8s_v1.VirtletImageMapping, err error)
- func (c *FakeVirtletImageMappings) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtletV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeVirtletConfigMappings ¶
type FakeVirtletConfigMappings struct { Fake *FakeVirtletV1 // contains filtered or unexported fields }
FakeVirtletConfigMappings implements VirtletConfigMappingInterface
func (*FakeVirtletConfigMappings) Create ¶
func (c *FakeVirtletConfigMappings) Create(virtletConfigMapping *virtlet_k8s_v1.VirtletConfigMapping) (result *virtlet_k8s_v1.VirtletConfigMapping, err error)
Create takes the representation of a virtletConfigMapping and creates it. Returns the server's representation of the virtletConfigMapping, and an error, if there is any.
func (*FakeVirtletConfigMappings) Delete ¶
func (c *FakeVirtletConfigMappings) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the virtletConfigMapping and deletes it. Returns an error if one occurs.
func (*FakeVirtletConfigMappings) DeleteCollection ¶
func (c *FakeVirtletConfigMappings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtletConfigMappings) Get ¶
func (c *FakeVirtletConfigMappings) Get(name string, options v1.GetOptions) (result *virtlet_k8s_v1.VirtletConfigMapping, err error)
Get takes name of the virtletConfigMapping, and returns the corresponding virtletConfigMapping object, and an error if there is any.
func (*FakeVirtletConfigMappings) List ¶
func (c *FakeVirtletConfigMappings) List(opts v1.ListOptions) (result *virtlet_k8s_v1.VirtletConfigMappingList, err error)
List takes label and field selectors, and returns the list of VirtletConfigMappings that match those selectors.
func (*FakeVirtletConfigMappings) Patch ¶
func (c *FakeVirtletConfigMappings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *virtlet_k8s_v1.VirtletConfigMapping, err error)
Patch applies the patch and returns the patched virtletConfigMapping.
func (*FakeVirtletConfigMappings) Update ¶
func (c *FakeVirtletConfigMappings) Update(virtletConfigMapping *virtlet_k8s_v1.VirtletConfigMapping) (result *virtlet_k8s_v1.VirtletConfigMapping, err error)
Update takes the representation of a virtletConfigMapping and updates it. Returns the server's representation of the virtletConfigMapping, and an error, if there is any.
func (*FakeVirtletConfigMappings) Watch ¶
func (c *FakeVirtletConfigMappings) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtletConfigMappings.
type FakeVirtletImageMappings ¶
type FakeVirtletImageMappings struct { Fake *FakeVirtletV1 // contains filtered or unexported fields }
FakeVirtletImageMappings implements VirtletImageMappingInterface
func (*FakeVirtletImageMappings) Create ¶
func (c *FakeVirtletImageMappings) Create(virtletImageMapping *virtlet_k8s_v1.VirtletImageMapping) (result *virtlet_k8s_v1.VirtletImageMapping, err error)
Create takes the representation of a virtletImageMapping and creates it. Returns the server's representation of the virtletImageMapping, and an error, if there is any.
func (*FakeVirtletImageMappings) Delete ¶
func (c *FakeVirtletImageMappings) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the virtletImageMapping and deletes it. Returns an error if one occurs.
func (*FakeVirtletImageMappings) DeleteCollection ¶
func (c *FakeVirtletImageMappings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVirtletImageMappings) Get ¶
func (c *FakeVirtletImageMappings) Get(name string, options v1.GetOptions) (result *virtlet_k8s_v1.VirtletImageMapping, err error)
Get takes name of the virtletImageMapping, and returns the corresponding virtletImageMapping object, and an error if there is any.
func (*FakeVirtletImageMappings) List ¶
func (c *FakeVirtletImageMappings) List(opts v1.ListOptions) (result *virtlet_k8s_v1.VirtletImageMappingList, err error)
List takes label and field selectors, and returns the list of VirtletImageMappings that match those selectors.
func (*FakeVirtletImageMappings) Patch ¶
func (c *FakeVirtletImageMappings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *virtlet_k8s_v1.VirtletImageMapping, err error)
Patch applies the patch and returns the patched virtletImageMapping.
func (*FakeVirtletImageMappings) Update ¶
func (c *FakeVirtletImageMappings) Update(virtletImageMapping *virtlet_k8s_v1.VirtletImageMapping) (result *virtlet_k8s_v1.VirtletImageMapping, err error)
Update takes the representation of a virtletImageMapping and updates it. Returns the server's representation of the virtletImageMapping, and an error, if there is any.
func (*FakeVirtletImageMappings) Watch ¶
func (c *FakeVirtletImageMappings) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtletImageMappings.
type FakeVirtletV1 ¶
func (*FakeVirtletV1) RESTClient ¶
func (c *FakeVirtletV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeVirtletV1) VirtletConfigMappings ¶
func (c *FakeVirtletV1) VirtletConfigMappings(namespace string) v1.VirtletConfigMappingInterface
func (*FakeVirtletV1) VirtletImageMappings ¶
func (c *FakeVirtletV1) VirtletImageMappings(namespace string) v1.VirtletImageMappingInterface