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