Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeGitCommits
- func (c *FakeGitCommits) Create(gitCommit *gitwatchercattleiov1.GitCommit) (result *gitwatchercattleiov1.GitCommit, err error)
- func (c *FakeGitCommits) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeGitCommits) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeGitCommits) Get(name string, options v1.GetOptions) (result *gitwatchercattleiov1.GitCommit, err error)
- func (c *FakeGitCommits) List(opts v1.ListOptions) (result *gitwatchercattleiov1.GitCommitList, err error)
- func (c *FakeGitCommits) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *gitwatchercattleiov1.GitCommit, err error)
- func (c *FakeGitCommits) Update(gitCommit *gitwatchercattleiov1.GitCommit) (result *gitwatchercattleiov1.GitCommit, err error)
- func (c *FakeGitCommits) UpdateStatus(gitCommit *gitwatchercattleiov1.GitCommit) (*gitwatchercattleiov1.GitCommit, error)
- func (c *FakeGitCommits) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeGitWatchers
- func (c *FakeGitWatchers) Create(gitWatcher *gitwatchercattleiov1.GitWatcher) (result *gitwatchercattleiov1.GitWatcher, err error)
- func (c *FakeGitWatchers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeGitWatchers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeGitWatchers) Get(name string, options v1.GetOptions) (result *gitwatchercattleiov1.GitWatcher, err error)
- func (c *FakeGitWatchers) List(opts v1.ListOptions) (result *gitwatchercattleiov1.GitWatcherList, err error)
- func (c *FakeGitWatchers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *gitwatchercattleiov1.GitWatcher, err error)
- func (c *FakeGitWatchers) Update(gitWatcher *gitwatchercattleiov1.GitWatcher) (result *gitwatchercattleiov1.GitWatcher, err error)
- func (c *FakeGitWatchers) UpdateStatus(gitWatcher *gitwatchercattleiov1.GitWatcher) (*gitwatchercattleiov1.GitWatcher, error)
- func (c *FakeGitWatchers) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeGitwatcherV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeGitCommits ¶
type FakeGitCommits struct { Fake *FakeGitwatcherV1 // contains filtered or unexported fields }
FakeGitCommits implements GitCommitInterface
func (*FakeGitCommits) Create ¶
func (c *FakeGitCommits) Create(gitCommit *gitwatchercattleiov1.GitCommit) (result *gitwatchercattleiov1.GitCommit, err error)
Create takes the representation of a gitCommit and creates it. Returns the server's representation of the gitCommit, and an error, if there is any.
func (*FakeGitCommits) Delete ¶
func (c *FakeGitCommits) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the gitCommit and deletes it. Returns an error if one occurs.
func (*FakeGitCommits) DeleteCollection ¶
func (c *FakeGitCommits) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGitCommits) Get ¶
func (c *FakeGitCommits) Get(name string, options v1.GetOptions) (result *gitwatchercattleiov1.GitCommit, err error)
Get takes name of the gitCommit, and returns the corresponding gitCommit object, and an error if there is any.
func (*FakeGitCommits) List ¶
func (c *FakeGitCommits) List(opts v1.ListOptions) (result *gitwatchercattleiov1.GitCommitList, err error)
List takes label and field selectors, and returns the list of GitCommits that match those selectors.
func (*FakeGitCommits) Patch ¶
func (c *FakeGitCommits) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *gitwatchercattleiov1.GitCommit, err error)
Patch applies the patch and returns the patched gitCommit.
func (*FakeGitCommits) Update ¶
func (c *FakeGitCommits) Update(gitCommit *gitwatchercattleiov1.GitCommit) (result *gitwatchercattleiov1.GitCommit, err error)
Update takes the representation of a gitCommit and updates it. Returns the server's representation of the gitCommit, and an error, if there is any.
func (*FakeGitCommits) UpdateStatus ¶
func (c *FakeGitCommits) UpdateStatus(gitCommit *gitwatchercattleiov1.GitCommit) (*gitwatchercattleiov1.GitCommit, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGitCommits) Watch ¶
func (c *FakeGitCommits) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gitCommits.
type FakeGitWatchers ¶
type FakeGitWatchers struct { Fake *FakeGitwatcherV1 // contains filtered or unexported fields }
FakeGitWatchers implements GitWatcherInterface
func (*FakeGitWatchers) Create ¶
func (c *FakeGitWatchers) Create(gitWatcher *gitwatchercattleiov1.GitWatcher) (result *gitwatchercattleiov1.GitWatcher, err error)
Create takes the representation of a gitWatcher and creates it. Returns the server's representation of the gitWatcher, and an error, if there is any.
func (*FakeGitWatchers) Delete ¶
func (c *FakeGitWatchers) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the gitWatcher and deletes it. Returns an error if one occurs.
func (*FakeGitWatchers) DeleteCollection ¶
func (c *FakeGitWatchers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGitWatchers) Get ¶
func (c *FakeGitWatchers) Get(name string, options v1.GetOptions) (result *gitwatchercattleiov1.GitWatcher, err error)
Get takes name of the gitWatcher, and returns the corresponding gitWatcher object, and an error if there is any.
func (*FakeGitWatchers) List ¶
func (c *FakeGitWatchers) List(opts v1.ListOptions) (result *gitwatchercattleiov1.GitWatcherList, err error)
List takes label and field selectors, and returns the list of GitWatchers that match those selectors.
func (*FakeGitWatchers) Patch ¶
func (c *FakeGitWatchers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *gitwatchercattleiov1.GitWatcher, err error)
Patch applies the patch and returns the patched gitWatcher.
func (*FakeGitWatchers) Update ¶
func (c *FakeGitWatchers) Update(gitWatcher *gitwatchercattleiov1.GitWatcher) (result *gitwatchercattleiov1.GitWatcher, err error)
Update takes the representation of a gitWatcher and updates it. Returns the server's representation of the gitWatcher, and an error, if there is any.
func (*FakeGitWatchers) UpdateStatus ¶
func (c *FakeGitWatchers) UpdateStatus(gitWatcher *gitwatchercattleiov1.GitWatcher) (*gitwatchercattleiov1.GitWatcher, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGitWatchers) Watch ¶
func (c *FakeGitWatchers) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gitWatchers.
type FakeGitwatcherV1 ¶
func (*FakeGitwatcherV1) GitCommits ¶
func (c *FakeGitwatcherV1) GitCommits(namespace string) v1.GitCommitInterface
func (*FakeGitwatcherV1) GitWatchers ¶
func (c *FakeGitwatcherV1) GitWatchers(namespace string) v1.GitWatcherInterface
func (*FakeGitwatcherV1) RESTClient ¶
func (c *FakeGitwatcherV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.