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