Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCoreV1alpha1
- func (c *FakeCoreV1alpha1) Events(namespace string) v1alpha1.EventInterface
- func (c *FakeCoreV1alpha1) Movies(namespace string) v1alpha1.MovieInterface
- func (c *FakeCoreV1alpha1) Plays(namespace string) v1alpha1.PlayInterface
- func (c *FakeCoreV1alpha1) RESTClient() rest.Interface
- func (c *FakeCoreV1alpha1) Screeners(namespace string) v1alpha1.ScreenerInterface
- type FakeEvents
- func (c *FakeEvents) Create(event *v1alpha1.Event) (result *v1alpha1.Event, err error)
- func (c *FakeEvents) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeEvents) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeEvents) Get(name string, options v1.GetOptions) (result *v1alpha1.Event, err error)
- func (c *FakeEvents) List(opts v1.ListOptions) (result *v1alpha1.EventList, err error)
- func (c *FakeEvents) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Event, err error)
- func (c *FakeEvents) Update(event *v1alpha1.Event) (result *v1alpha1.Event, err error)
- func (c *FakeEvents) UpdateStatus(event *v1alpha1.Event) (*v1alpha1.Event, error)
- func (c *FakeEvents) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMovies
- func (c *FakeMovies) Create(movie *v1alpha1.Movie) (result *v1alpha1.Movie, err error)
- func (c *FakeMovies) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeMovies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeMovies) Get(name string, options v1.GetOptions) (result *v1alpha1.Movie, err error)
- func (c *FakeMovies) List(opts v1.ListOptions) (result *v1alpha1.MovieList, err error)
- func (c *FakeMovies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Movie, err error)
- func (c *FakeMovies) Update(movie *v1alpha1.Movie) (result *v1alpha1.Movie, err error)
- func (c *FakeMovies) UpdateStatus(movie *v1alpha1.Movie) (*v1alpha1.Movie, error)
- func (c *FakeMovies) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePlays
- func (c *FakePlays) Create(play *v1alpha1.Play) (result *v1alpha1.Play, err error)
- func (c *FakePlays) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePlays) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePlays) Get(name string, options v1.GetOptions) (result *v1alpha1.Play, err error)
- func (c *FakePlays) List(opts v1.ListOptions) (result *v1alpha1.PlayList, err error)
- func (c *FakePlays) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Play, err error)
- func (c *FakePlays) Update(play *v1alpha1.Play) (result *v1alpha1.Play, err error)
- func (c *FakePlays) UpdateStatus(play *v1alpha1.Play) (*v1alpha1.Play, error)
- func (c *FakePlays) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeScreeners
- func (c *FakeScreeners) Create(screener *v1alpha1.Screener) (result *v1alpha1.Screener, err error)
- func (c *FakeScreeners) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeScreeners) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeScreeners) Get(name string, options v1.GetOptions) (result *v1alpha1.Screener, err error)
- func (c *FakeScreeners) List(opts v1.ListOptions) (result *v1alpha1.ScreenerList, err error)
- func (c *FakeScreeners) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Screener, err error)
- func (c *FakeScreeners) Update(screener *v1alpha1.Screener) (result *v1alpha1.Screener, err error)
- func (c *FakeScreeners) UpdateStatus(screener *v1alpha1.Screener) (*v1alpha1.Screener, error)
- func (c *FakeScreeners) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCoreV1alpha1 ¶
func (*FakeCoreV1alpha1) Events ¶
func (c *FakeCoreV1alpha1) Events(namespace string) v1alpha1.EventInterface
func (*FakeCoreV1alpha1) Movies ¶
func (c *FakeCoreV1alpha1) Movies(namespace string) v1alpha1.MovieInterface
func (*FakeCoreV1alpha1) Plays ¶
func (c *FakeCoreV1alpha1) Plays(namespace string) v1alpha1.PlayInterface
func (*FakeCoreV1alpha1) RESTClient ¶
func (c *FakeCoreV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeCoreV1alpha1) Screeners ¶
func (c *FakeCoreV1alpha1) Screeners(namespace string) v1alpha1.ScreenerInterface
type FakeEvents ¶
type FakeEvents struct { Fake *FakeCoreV1alpha1 // contains filtered or unexported fields }
FakeEvents implements EventInterface
func (*FakeEvents) Create ¶
Create takes the representation of a event and creates it. Returns the server's representation of the event, and an error, if there is any.
func (*FakeEvents) Delete ¶
func (c *FakeEvents) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the event and deletes it. Returns an error if one occurs.
func (*FakeEvents) DeleteCollection ¶
func (c *FakeEvents) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEvents) Get ¶
func (c *FakeEvents) Get(name string, options v1.GetOptions) (result *v1alpha1.Event, err error)
Get takes name of the event, and returns the corresponding event object, and an error if there is any.
func (*FakeEvents) List ¶
func (c *FakeEvents) List(opts v1.ListOptions) (result *v1alpha1.EventList, err error)
List takes label and field selectors, and returns the list of Events that match those selectors.
func (*FakeEvents) Patch ¶
func (c *FakeEvents) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Event, err error)
Patch applies the patch and returns the patched event.
func (*FakeEvents) Update ¶
Update takes the representation of a event and updates it. Returns the server's representation of the event, and an error, if there is any.
func (*FakeEvents) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeEvents) Watch ¶
func (c *FakeEvents) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested events.
type FakeMovies ¶
type FakeMovies struct { Fake *FakeCoreV1alpha1 // contains filtered or unexported fields }
FakeMovies implements MovieInterface
func (*FakeMovies) Create ¶
Create takes the representation of a movie and creates it. Returns the server's representation of the movie, and an error, if there is any.
func (*FakeMovies) Delete ¶
func (c *FakeMovies) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the movie and deletes it. Returns an error if one occurs.
func (*FakeMovies) DeleteCollection ¶
func (c *FakeMovies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMovies) Get ¶
func (c *FakeMovies) Get(name string, options v1.GetOptions) (result *v1alpha1.Movie, err error)
Get takes name of the movie, and returns the corresponding movie object, and an error if there is any.
func (*FakeMovies) List ¶
func (c *FakeMovies) List(opts v1.ListOptions) (result *v1alpha1.MovieList, err error)
List takes label and field selectors, and returns the list of Movies that match those selectors.
func (*FakeMovies) Patch ¶
func (c *FakeMovies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Movie, err error)
Patch applies the patch and returns the patched movie.
func (*FakeMovies) Update ¶
Update takes the representation of a movie and updates it. Returns the server's representation of the movie, and an error, if there is any.
func (*FakeMovies) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMovies) Watch ¶
func (c *FakeMovies) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested movies.
type FakePlays ¶
type FakePlays struct { Fake *FakeCoreV1alpha1 // contains filtered or unexported fields }
FakePlays implements PlayInterface
func (*FakePlays) Create ¶
Create takes the representation of a play and creates it. Returns the server's representation of the play, and an error, if there is any.
func (*FakePlays) Delete ¶
func (c *FakePlays) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the play and deletes it. Returns an error if one occurs.
func (*FakePlays) DeleteCollection ¶
func (c *FakePlays) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePlays) Get ¶
Get takes name of the play, and returns the corresponding play object, and an error if there is any.
func (*FakePlays) List ¶
List takes label and field selectors, and returns the list of Plays that match those selectors.
func (*FakePlays) Patch ¶
func (c *FakePlays) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Play, err error)
Patch applies the patch and returns the patched play.
func (*FakePlays) Update ¶
Update takes the representation of a play and updates it. Returns the server's representation of the play, and an error, if there is any.
func (*FakePlays) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeScreeners ¶
type FakeScreeners struct { Fake *FakeCoreV1alpha1 // contains filtered or unexported fields }
FakeScreeners implements ScreenerInterface
func (*FakeScreeners) Create ¶
Create takes the representation of a screener and creates it. Returns the server's representation of the screener, and an error, if there is any.
func (*FakeScreeners) Delete ¶
func (c *FakeScreeners) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the screener and deletes it. Returns an error if one occurs.
func (*FakeScreeners) DeleteCollection ¶
func (c *FakeScreeners) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeScreeners) Get ¶
func (c *FakeScreeners) Get(name string, options v1.GetOptions) (result *v1alpha1.Screener, err error)
Get takes name of the screener, and returns the corresponding screener object, and an error if there is any.
func (*FakeScreeners) List ¶
func (c *FakeScreeners) List(opts v1.ListOptions) (result *v1alpha1.ScreenerList, err error)
List takes label and field selectors, and returns the list of Screeners that match those selectors.
func (*FakeScreeners) Patch ¶
func (c *FakeScreeners) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Screener, err error)
Patch applies the patch and returns the patched screener.
func (*FakeScreeners) Update ¶
Update takes the representation of a screener and updates it. Returns the server's representation of the screener, and an error, if there is any.
func (*FakeScreeners) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeScreeners) Watch ¶
func (c *FakeScreeners) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested screeners.