Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeSourcesV1alpha1
- type FakeVSphereBindings
- func (c *FakeVSphereBindings) Create(ctx context.Context, vSphereBinding *v1alpha1.VSphereBinding, ...) (result *v1alpha1.VSphereBinding, err error)
- func (c *FakeVSphereBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVSphereBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVSphereBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VSphereBinding, err error)
- func (c *FakeVSphereBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VSphereBindingList, err error)
- func (c *FakeVSphereBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.VSphereBinding, err error)
- func (c *FakeVSphereBindings) Update(ctx context.Context, vSphereBinding *v1alpha1.VSphereBinding, ...) (result *v1alpha1.VSphereBinding, err error)
- func (c *FakeVSphereBindings) UpdateStatus(ctx context.Context, vSphereBinding *v1alpha1.VSphereBinding, ...) (*v1alpha1.VSphereBinding, error)
- func (c *FakeVSphereBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVSphereSources
- func (c *FakeVSphereSources) Create(ctx context.Context, vSphereSource *v1alpha1.VSphereSource, ...) (result *v1alpha1.VSphereSource, err error)
- func (c *FakeVSphereSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVSphereSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVSphereSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VSphereSource, err error)
- func (c *FakeVSphereSources) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VSphereSourceList, err error)
- func (c *FakeVSphereSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.VSphereSource, err error)
- func (c *FakeVSphereSources) Update(ctx context.Context, vSphereSource *v1alpha1.VSphereSource, ...) (result *v1alpha1.VSphereSource, err error)
- func (c *FakeVSphereSources) UpdateStatus(ctx context.Context, vSphereSource *v1alpha1.VSphereSource, ...) (*v1alpha1.VSphereSource, error)
- func (c *FakeVSphereSources) 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 FakeSourcesV1alpha1 ¶
func (*FakeSourcesV1alpha1) RESTClient ¶
func (c *FakeSourcesV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSourcesV1alpha1) VSphereBindings ¶
func (c *FakeSourcesV1alpha1) VSphereBindings(namespace string) v1alpha1.VSphereBindingInterface
func (*FakeSourcesV1alpha1) VSphereSources ¶
func (c *FakeSourcesV1alpha1) VSphereSources(namespace string) v1alpha1.VSphereSourceInterface
type FakeVSphereBindings ¶
type FakeVSphereBindings struct { Fake *FakeSourcesV1alpha1 // contains filtered or unexported fields }
FakeVSphereBindings implements VSphereBindingInterface
func (*FakeVSphereBindings) Create ¶
func (c *FakeVSphereBindings) Create(ctx context.Context, vSphereBinding *v1alpha1.VSphereBinding, opts v1.CreateOptions) (result *v1alpha1.VSphereBinding, err error)
Create takes the representation of a vSphereBinding and creates it. Returns the server's representation of the vSphereBinding, and an error, if there is any.
func (*FakeVSphereBindings) Delete ¶
func (c *FakeVSphereBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the vSphereBinding and deletes it. Returns an error if one occurs.
func (*FakeVSphereBindings) DeleteCollection ¶
func (c *FakeVSphereBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVSphereBindings) Get ¶
func (c *FakeVSphereBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VSphereBinding, err error)
Get takes name of the vSphereBinding, and returns the corresponding vSphereBinding object, and an error if there is any.
func (*FakeVSphereBindings) List ¶
func (c *FakeVSphereBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VSphereBindingList, err error)
List takes label and field selectors, and returns the list of VSphereBindings that match those selectors.
func (*FakeVSphereBindings) Patch ¶
func (c *FakeVSphereBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VSphereBinding, err error)
Patch applies the patch and returns the patched vSphereBinding.
func (*FakeVSphereBindings) Update ¶
func (c *FakeVSphereBindings) Update(ctx context.Context, vSphereBinding *v1alpha1.VSphereBinding, opts v1.UpdateOptions) (result *v1alpha1.VSphereBinding, err error)
Update takes the representation of a vSphereBinding and updates it. Returns the server's representation of the vSphereBinding, and an error, if there is any.
func (*FakeVSphereBindings) UpdateStatus ¶
func (c *FakeVSphereBindings) UpdateStatus(ctx context.Context, vSphereBinding *v1alpha1.VSphereBinding, opts v1.UpdateOptions) (*v1alpha1.VSphereBinding, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVSphereBindings) Watch ¶
func (c *FakeVSphereBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested vSphereBindings.
type FakeVSphereSources ¶
type FakeVSphereSources struct { Fake *FakeSourcesV1alpha1 // contains filtered or unexported fields }
FakeVSphereSources implements VSphereSourceInterface
func (*FakeVSphereSources) Create ¶
func (c *FakeVSphereSources) Create(ctx context.Context, vSphereSource *v1alpha1.VSphereSource, opts v1.CreateOptions) (result *v1alpha1.VSphereSource, err error)
Create takes the representation of a vSphereSource and creates it. Returns the server's representation of the vSphereSource, and an error, if there is any.
func (*FakeVSphereSources) Delete ¶
func (c *FakeVSphereSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the vSphereSource and deletes it. Returns an error if one occurs.
func (*FakeVSphereSources) DeleteCollection ¶
func (c *FakeVSphereSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVSphereSources) Get ¶
func (c *FakeVSphereSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VSphereSource, err error)
Get takes name of the vSphereSource, and returns the corresponding vSphereSource object, and an error if there is any.
func (*FakeVSphereSources) List ¶
func (c *FakeVSphereSources) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VSphereSourceList, err error)
List takes label and field selectors, and returns the list of VSphereSources that match those selectors.
func (*FakeVSphereSources) Patch ¶
func (c *FakeVSphereSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VSphereSource, err error)
Patch applies the patch and returns the patched vSphereSource.
func (*FakeVSphereSources) Update ¶
func (c *FakeVSphereSources) Update(ctx context.Context, vSphereSource *v1alpha1.VSphereSource, opts v1.UpdateOptions) (result *v1alpha1.VSphereSource, err error)
Update takes the representation of a vSphereSource and updates it. Returns the server's representation of the vSphereSource, and an error, if there is any.
func (*FakeVSphereSources) UpdateStatus ¶
func (c *FakeVSphereSources) UpdateStatus(ctx context.Context, vSphereSource *v1alpha1.VSphereSource, opts v1.UpdateOptions) (*v1alpha1.VSphereSource, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVSphereSources) Watch ¶
func (c *FakeVSphereSources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested vSphereSources.