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