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