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