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