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