Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeImagePrePullJobs
- func (c *FakeImagePrePullJobs) Create(ctx context.Context, imagePrePullJob *v1alpha1.ImagePrePullJob, ...) (result *v1alpha1.ImagePrePullJob, err error)
- func (c *FakeImagePrePullJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeImagePrePullJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeImagePrePullJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ImagePrePullJob, err error)
- func (c *FakeImagePrePullJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ImagePrePullJobList, err error)
- func (c *FakeImagePrePullJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ImagePrePullJob, err error)
- func (c *FakeImagePrePullJobs) Update(ctx context.Context, imagePrePullJob *v1alpha1.ImagePrePullJob, ...) (result *v1alpha1.ImagePrePullJob, err error)
- func (c *FakeImagePrePullJobs) UpdateStatus(ctx context.Context, imagePrePullJob *v1alpha1.ImagePrePullJob, ...) (*v1alpha1.ImagePrePullJob, error)
- func (c *FakeImagePrePullJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNodeUpgradeJobs
- func (c *FakeNodeUpgradeJobs) Create(ctx context.Context, nodeUpgradeJob *v1alpha1.NodeUpgradeJob, ...) (result *v1alpha1.NodeUpgradeJob, err error)
- func (c *FakeNodeUpgradeJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNodeUpgradeJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNodeUpgradeJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeUpgradeJob, err error)
- func (c *FakeNodeUpgradeJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeUpgradeJobList, err error)
- func (c *FakeNodeUpgradeJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NodeUpgradeJob, err error)
- func (c *FakeNodeUpgradeJobs) Update(ctx context.Context, nodeUpgradeJob *v1alpha1.NodeUpgradeJob, ...) (result *v1alpha1.NodeUpgradeJob, err error)
- func (c *FakeNodeUpgradeJobs) UpdateStatus(ctx context.Context, nodeUpgradeJob *v1alpha1.NodeUpgradeJob, ...) (*v1alpha1.NodeUpgradeJob, error)
- func (c *FakeNodeUpgradeJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeOperationsV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeImagePrePullJobs ¶ added in v1.16.0
type FakeImagePrePullJobs struct {
Fake *FakeOperationsV1alpha1
}
FakeImagePrePullJobs implements ImagePrePullJobInterface
func (*FakeImagePrePullJobs) Create ¶ added in v1.16.0
func (c *FakeImagePrePullJobs) Create(ctx context.Context, imagePrePullJob *v1alpha1.ImagePrePullJob, opts v1.CreateOptions) (result *v1alpha1.ImagePrePullJob, err error)
Create takes the representation of a imagePrePullJob and creates it. Returns the server's representation of the imagePrePullJob, and an error, if there is any.
func (*FakeImagePrePullJobs) Delete ¶ added in v1.16.0
func (c *FakeImagePrePullJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the imagePrePullJob and deletes it. Returns an error if one occurs.
func (*FakeImagePrePullJobs) DeleteCollection ¶ added in v1.16.0
func (c *FakeImagePrePullJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeImagePrePullJobs) Get ¶ added in v1.16.0
func (c *FakeImagePrePullJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ImagePrePullJob, err error)
Get takes name of the imagePrePullJob, and returns the corresponding imagePrePullJob object, and an error if there is any.
func (*FakeImagePrePullJobs) List ¶ added in v1.16.0
func (c *FakeImagePrePullJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ImagePrePullJobList, err error)
List takes label and field selectors, and returns the list of ImagePrePullJobs that match those selectors.
func (*FakeImagePrePullJobs) Patch ¶ added in v1.16.0
func (c *FakeImagePrePullJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ImagePrePullJob, err error)
Patch applies the patch and returns the patched imagePrePullJob.
func (*FakeImagePrePullJobs) Update ¶ added in v1.16.0
func (c *FakeImagePrePullJobs) Update(ctx context.Context, imagePrePullJob *v1alpha1.ImagePrePullJob, opts v1.UpdateOptions) (result *v1alpha1.ImagePrePullJob, err error)
Update takes the representation of a imagePrePullJob and updates it. Returns the server's representation of the imagePrePullJob, and an error, if there is any.
func (*FakeImagePrePullJobs) UpdateStatus ¶ added in v1.16.0
func (c *FakeImagePrePullJobs) UpdateStatus(ctx context.Context, imagePrePullJob *v1alpha1.ImagePrePullJob, opts v1.UpdateOptions) (*v1alpha1.ImagePrePullJob, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeImagePrePullJobs) Watch ¶ added in v1.16.0
func (c *FakeImagePrePullJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested imagePrePullJobs.
type FakeNodeUpgradeJobs ¶
type FakeNodeUpgradeJobs struct {
Fake *FakeOperationsV1alpha1
}
FakeNodeUpgradeJobs implements NodeUpgradeJobInterface
func (*FakeNodeUpgradeJobs) Create ¶
func (c *FakeNodeUpgradeJobs) Create(ctx context.Context, nodeUpgradeJob *v1alpha1.NodeUpgradeJob, opts v1.CreateOptions) (result *v1alpha1.NodeUpgradeJob, err error)
Create takes the representation of a nodeUpgradeJob and creates it. Returns the server's representation of the nodeUpgradeJob, and an error, if there is any.
func (*FakeNodeUpgradeJobs) Delete ¶
func (c *FakeNodeUpgradeJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the nodeUpgradeJob and deletes it. Returns an error if one occurs.
func (*FakeNodeUpgradeJobs) DeleteCollection ¶
func (c *FakeNodeUpgradeJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodeUpgradeJobs) Get ¶
func (c *FakeNodeUpgradeJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeUpgradeJob, err error)
Get takes name of the nodeUpgradeJob, and returns the corresponding nodeUpgradeJob object, and an error if there is any.
func (*FakeNodeUpgradeJobs) List ¶
func (c *FakeNodeUpgradeJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeUpgradeJobList, err error)
List takes label and field selectors, and returns the list of NodeUpgradeJobs that match those selectors.
func (*FakeNodeUpgradeJobs) Patch ¶
func (c *FakeNodeUpgradeJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NodeUpgradeJob, err error)
Patch applies the patch and returns the patched nodeUpgradeJob.
func (*FakeNodeUpgradeJobs) Update ¶
func (c *FakeNodeUpgradeJobs) Update(ctx context.Context, nodeUpgradeJob *v1alpha1.NodeUpgradeJob, opts v1.UpdateOptions) (result *v1alpha1.NodeUpgradeJob, err error)
Update takes the representation of a nodeUpgradeJob and updates it. Returns the server's representation of the nodeUpgradeJob, and an error, if there is any.
func (*FakeNodeUpgradeJobs) UpdateStatus ¶
func (c *FakeNodeUpgradeJobs) UpdateStatus(ctx context.Context, nodeUpgradeJob *v1alpha1.NodeUpgradeJob, opts v1.UpdateOptions) (*v1alpha1.NodeUpgradeJob, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNodeUpgradeJobs) Watch ¶
func (c *FakeNodeUpgradeJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodeUpgradeJobs.
type FakeOperationsV1alpha1 ¶
func (*FakeOperationsV1alpha1) ImagePrePullJobs ¶ added in v1.16.0
func (c *FakeOperationsV1alpha1) ImagePrePullJobs() v1alpha1.ImagePrePullJobInterface
func (*FakeOperationsV1alpha1) NodeUpgradeJobs ¶
func (c *FakeOperationsV1alpha1) NodeUpgradeJobs() v1alpha1.NodeUpgradeJobInterface
func (*FakeOperationsV1alpha1) RESTClient ¶
func (c *FakeOperationsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.