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