Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAppRepositories
- func (c *FakeAppRepositories) Create(appRepository *v1alpha1.AppRepository) (result *v1alpha1.AppRepository, err error)
- func (c *FakeAppRepositories) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAppRepositories) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAppRepositories) Get(name string, options v1.GetOptions) (result *v1alpha1.AppRepository, err error)
- func (c *FakeAppRepositories) List(opts v1.ListOptions) (result *v1alpha1.AppRepositoryList, err error)
- func (c *FakeAppRepositories) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AppRepository, err error)
- func (c *FakeAppRepositories) Update(appRepository *v1alpha1.AppRepository) (result *v1alpha1.AppRepository, err error)
- func (c *FakeAppRepositories) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeKubeappsV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAppRepositories ¶
type FakeAppRepositories struct { Fake *FakeKubeappsV1alpha1 // contains filtered or unexported fields }
FakeAppRepositories implements AppRepositoryInterface
func (*FakeAppRepositories) Create ¶
func (c *FakeAppRepositories) Create(appRepository *v1alpha1.AppRepository) (result *v1alpha1.AppRepository, err error)
Create takes the representation of a appRepository and creates it. Returns the server's representation of the appRepository, and an error, if there is any.
func (*FakeAppRepositories) Delete ¶
func (c *FakeAppRepositories) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the appRepository and deletes it. Returns an error if one occurs.
func (*FakeAppRepositories) DeleteCollection ¶
func (c *FakeAppRepositories) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAppRepositories) Get ¶
func (c *FakeAppRepositories) Get(name string, options v1.GetOptions) (result *v1alpha1.AppRepository, err error)
Get takes name of the appRepository, and returns the corresponding appRepository object, and an error if there is any.
func (*FakeAppRepositories) List ¶
func (c *FakeAppRepositories) List(opts v1.ListOptions) (result *v1alpha1.AppRepositoryList, err error)
List takes label and field selectors, and returns the list of AppRepositories that match those selectors.
func (*FakeAppRepositories) Patch ¶
func (c *FakeAppRepositories) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AppRepository, err error)
Patch applies the patch and returns the patched appRepository.
func (*FakeAppRepositories) Update ¶
func (c *FakeAppRepositories) Update(appRepository *v1alpha1.AppRepository) (result *v1alpha1.AppRepository, err error)
Update takes the representation of a appRepository and updates it. Returns the server's representation of the appRepository, and an error, if there is any.
func (*FakeAppRepositories) Watch ¶
func (c *FakeAppRepositories) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested appRepositories.
type FakeKubeappsV1alpha1 ¶
func (*FakeKubeappsV1alpha1) AppRepositories ¶
func (c *FakeKubeappsV1alpha1) AppRepositories(namespace string) v1alpha1.AppRepositoryInterface
func (*FakeKubeappsV1alpha1) RESTClient ¶
func (c *FakeKubeappsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.