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