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