Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCatalogSources
- func (c *FakeCatalogSources) Create(ctx context.Context, catalogSource *v1alpha1.CatalogSource, ...) (result *v1alpha1.CatalogSource, err error)
- func (c *FakeCatalogSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCatalogSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCatalogSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CatalogSource, err error)
- func (c *FakeCatalogSources) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CatalogSourceList, err error)
- func (c *FakeCatalogSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.CatalogSource, err error)
- func (c *FakeCatalogSources) Update(ctx context.Context, catalogSource *v1alpha1.CatalogSource, ...) (result *v1alpha1.CatalogSource, err error)
- func (c *FakeCatalogSources) UpdateStatus(ctx context.Context, catalogSource *v1alpha1.CatalogSource, ...) (*v1alpha1.CatalogSource, error)
- func (c *FakeCatalogSources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterServiceVersions
- func (c *FakeClusterServiceVersions) Create(ctx context.Context, clusterServiceVersion *v1alpha1.ClusterServiceVersion, ...) (result *v1alpha1.ClusterServiceVersion, err error)
- func (c *FakeClusterServiceVersions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterServiceVersions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterServiceVersions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterServiceVersion, err error)
- func (c *FakeClusterServiceVersions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterServiceVersionList, err error)
- func (c *FakeClusterServiceVersions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterServiceVersion, err error)
- func (c *FakeClusterServiceVersions) Update(ctx context.Context, clusterServiceVersion *v1alpha1.ClusterServiceVersion, ...) (result *v1alpha1.ClusterServiceVersion, err error)
- func (c *FakeClusterServiceVersions) UpdateStatus(ctx context.Context, clusterServiceVersion *v1alpha1.ClusterServiceVersion, ...) (*v1alpha1.ClusterServiceVersion, error)
- func (c *FakeClusterServiceVersions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeInstallPlans
- func (c *FakeInstallPlans) Create(ctx context.Context, installPlan *v1alpha1.InstallPlan, opts v1.CreateOptions) (result *v1alpha1.InstallPlan, err error)
- func (c *FakeInstallPlans) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeInstallPlans) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeInstallPlans) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.InstallPlan, err error)
- func (c *FakeInstallPlans) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.InstallPlanList, err error)
- func (c *FakeInstallPlans) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.InstallPlan, err error)
- func (c *FakeInstallPlans) Update(ctx context.Context, installPlan *v1alpha1.InstallPlan, opts v1.UpdateOptions) (result *v1alpha1.InstallPlan, err error)
- func (c *FakeInstallPlans) UpdateStatus(ctx context.Context, installPlan *v1alpha1.InstallPlan, opts v1.UpdateOptions) (*v1alpha1.InstallPlan, error)
- func (c *FakeInstallPlans) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeOperatorsV1alpha1
- func (c *FakeOperatorsV1alpha1) CatalogSources(namespace string) v1alpha1.CatalogSourceInterface
- func (c *FakeOperatorsV1alpha1) ClusterServiceVersions(namespace string) v1alpha1.ClusterServiceVersionInterface
- func (c *FakeOperatorsV1alpha1) InstallPlans(namespace string) v1alpha1.InstallPlanInterface
- func (c *FakeOperatorsV1alpha1) RESTClient() rest.Interface
- func (c *FakeOperatorsV1alpha1) Subscriptions(namespace string) v1alpha1.SubscriptionInterface
- type FakeSubscriptions
- func (c *FakeSubscriptions) Create(ctx context.Context, subscription *v1alpha1.Subscription, ...) (result *v1alpha1.Subscription, err error)
- func (c *FakeSubscriptions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSubscriptions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSubscriptions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Subscription, err error)
- func (c *FakeSubscriptions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SubscriptionList, err error)
- func (c *FakeSubscriptions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Subscription, err error)
- func (c *FakeSubscriptions) Update(ctx context.Context, subscription *v1alpha1.Subscription, ...) (result *v1alpha1.Subscription, err error)
- func (c *FakeSubscriptions) UpdateStatus(ctx context.Context, subscription *v1alpha1.Subscription, ...) (*v1alpha1.Subscription, error)
- func (c *FakeSubscriptions) 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 FakeCatalogSources ¶
type FakeCatalogSources struct { Fake *FakeOperatorsV1alpha1 // contains filtered or unexported fields }
FakeCatalogSources implements CatalogSourceInterface
func (*FakeCatalogSources) Create ¶
func (c *FakeCatalogSources) Create(ctx context.Context, catalogSource *v1alpha1.CatalogSource, opts v1.CreateOptions) (result *v1alpha1.CatalogSource, err error)
Create takes the representation of a catalogSource and creates it. Returns the server's representation of the catalogSource, and an error, if there is any.
func (*FakeCatalogSources) Delete ¶
func (c *FakeCatalogSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the catalogSource and deletes it. Returns an error if one occurs.
func (*FakeCatalogSources) DeleteCollection ¶
func (c *FakeCatalogSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCatalogSources) Get ¶
func (c *FakeCatalogSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CatalogSource, err error)
Get takes name of the catalogSource, and returns the corresponding catalogSource object, and an error if there is any.
func (*FakeCatalogSources) List ¶
func (c *FakeCatalogSources) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CatalogSourceList, err error)
List takes label and field selectors, and returns the list of CatalogSources that match those selectors.
func (*FakeCatalogSources) Patch ¶
func (c *FakeCatalogSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CatalogSource, err error)
Patch applies the patch and returns the patched catalogSource.
func (*FakeCatalogSources) Update ¶
func (c *FakeCatalogSources) Update(ctx context.Context, catalogSource *v1alpha1.CatalogSource, opts v1.UpdateOptions) (result *v1alpha1.CatalogSource, err error)
Update takes the representation of a catalogSource and updates it. Returns the server's representation of the catalogSource, and an error, if there is any.
func (*FakeCatalogSources) UpdateStatus ¶
func (c *FakeCatalogSources) UpdateStatus(ctx context.Context, catalogSource *v1alpha1.CatalogSource, opts v1.UpdateOptions) (*v1alpha1.CatalogSource, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCatalogSources) Watch ¶
func (c *FakeCatalogSources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested catalogSources.
type FakeClusterServiceVersions ¶
type FakeClusterServiceVersions struct { Fake *FakeOperatorsV1alpha1 // contains filtered or unexported fields }
FakeClusterServiceVersions implements ClusterServiceVersionInterface
func (*FakeClusterServiceVersions) Create ¶
func (c *FakeClusterServiceVersions) Create(ctx context.Context, clusterServiceVersion *v1alpha1.ClusterServiceVersion, opts v1.CreateOptions) (result *v1alpha1.ClusterServiceVersion, err error)
Create takes the representation of a clusterServiceVersion and creates it. Returns the server's representation of the clusterServiceVersion, and an error, if there is any.
func (*FakeClusterServiceVersions) Delete ¶
func (c *FakeClusterServiceVersions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterServiceVersion and deletes it. Returns an error if one occurs.
func (*FakeClusterServiceVersions) DeleteCollection ¶
func (c *FakeClusterServiceVersions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterServiceVersions) Get ¶
func (c *FakeClusterServiceVersions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterServiceVersion, err error)
Get takes name of the clusterServiceVersion, and returns the corresponding clusterServiceVersion object, and an error if there is any.
func (*FakeClusterServiceVersions) List ¶
func (c *FakeClusterServiceVersions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterServiceVersionList, err error)
List takes label and field selectors, and returns the list of ClusterServiceVersions that match those selectors.
func (*FakeClusterServiceVersions) Patch ¶
func (c *FakeClusterServiceVersions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterServiceVersion, err error)
Patch applies the patch and returns the patched clusterServiceVersion.
func (*FakeClusterServiceVersions) Update ¶
func (c *FakeClusterServiceVersions) Update(ctx context.Context, clusterServiceVersion *v1alpha1.ClusterServiceVersion, opts v1.UpdateOptions) (result *v1alpha1.ClusterServiceVersion, err error)
Update takes the representation of a clusterServiceVersion and updates it. Returns the server's representation of the clusterServiceVersion, and an error, if there is any.
func (*FakeClusterServiceVersions) UpdateStatus ¶
func (c *FakeClusterServiceVersions) UpdateStatus(ctx context.Context, clusterServiceVersion *v1alpha1.ClusterServiceVersion, opts v1.UpdateOptions) (*v1alpha1.ClusterServiceVersion, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterServiceVersions) Watch ¶
func (c *FakeClusterServiceVersions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterServiceVersions.
type FakeInstallPlans ¶
type FakeInstallPlans struct { Fake *FakeOperatorsV1alpha1 // contains filtered or unexported fields }
FakeInstallPlans implements InstallPlanInterface
func (*FakeInstallPlans) Create ¶
func (c *FakeInstallPlans) Create(ctx context.Context, installPlan *v1alpha1.InstallPlan, opts v1.CreateOptions) (result *v1alpha1.InstallPlan, err error)
Create takes the representation of a installPlan and creates it. Returns the server's representation of the installPlan, and an error, if there is any.
func (*FakeInstallPlans) Delete ¶
func (c *FakeInstallPlans) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the installPlan and deletes it. Returns an error if one occurs.
func (*FakeInstallPlans) DeleteCollection ¶
func (c *FakeInstallPlans) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeInstallPlans) Get ¶
func (c *FakeInstallPlans) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.InstallPlan, err error)
Get takes name of the installPlan, and returns the corresponding installPlan object, and an error if there is any.
func (*FakeInstallPlans) List ¶
func (c *FakeInstallPlans) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.InstallPlanList, err error)
List takes label and field selectors, and returns the list of InstallPlans that match those selectors.
func (*FakeInstallPlans) Patch ¶
func (c *FakeInstallPlans) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.InstallPlan, err error)
Patch applies the patch and returns the patched installPlan.
func (*FakeInstallPlans) Update ¶
func (c *FakeInstallPlans) Update(ctx context.Context, installPlan *v1alpha1.InstallPlan, opts v1.UpdateOptions) (result *v1alpha1.InstallPlan, err error)
Update takes the representation of a installPlan and updates it. Returns the server's representation of the installPlan, and an error, if there is any.
func (*FakeInstallPlans) UpdateStatus ¶
func (c *FakeInstallPlans) UpdateStatus(ctx context.Context, installPlan *v1alpha1.InstallPlan, opts v1.UpdateOptions) (*v1alpha1.InstallPlan, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeInstallPlans) Watch ¶
func (c *FakeInstallPlans) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested installPlans.
type FakeOperatorsV1alpha1 ¶
func (*FakeOperatorsV1alpha1) CatalogSources ¶
func (c *FakeOperatorsV1alpha1) CatalogSources(namespace string) v1alpha1.CatalogSourceInterface
func (*FakeOperatorsV1alpha1) ClusterServiceVersions ¶
func (c *FakeOperatorsV1alpha1) ClusterServiceVersions(namespace string) v1alpha1.ClusterServiceVersionInterface
func (*FakeOperatorsV1alpha1) InstallPlans ¶
func (c *FakeOperatorsV1alpha1) InstallPlans(namespace string) v1alpha1.InstallPlanInterface
func (*FakeOperatorsV1alpha1) RESTClient ¶
func (c *FakeOperatorsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeOperatorsV1alpha1) Subscriptions ¶
func (c *FakeOperatorsV1alpha1) Subscriptions(namespace string) v1alpha1.SubscriptionInterface
type FakeSubscriptions ¶
type FakeSubscriptions struct { Fake *FakeOperatorsV1alpha1 // contains filtered or unexported fields }
FakeSubscriptions implements SubscriptionInterface
func (*FakeSubscriptions) Create ¶
func (c *FakeSubscriptions) Create(ctx context.Context, subscription *v1alpha1.Subscription, opts v1.CreateOptions) (result *v1alpha1.Subscription, err error)
Create takes the representation of a subscription and creates it. Returns the server's representation of the subscription, and an error, if there is any.
func (*FakeSubscriptions) Delete ¶
func (c *FakeSubscriptions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the subscription and deletes it. Returns an error if one occurs.
func (*FakeSubscriptions) DeleteCollection ¶
func (c *FakeSubscriptions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSubscriptions) Get ¶
func (c *FakeSubscriptions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Subscription, err error)
Get takes name of the subscription, and returns the corresponding subscription object, and an error if there is any.
func (*FakeSubscriptions) List ¶
func (c *FakeSubscriptions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SubscriptionList, err error)
List takes label and field selectors, and returns the list of Subscriptions that match those selectors.
func (*FakeSubscriptions) Patch ¶
func (c *FakeSubscriptions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Subscription, err error)
Patch applies the patch and returns the patched subscription.
func (*FakeSubscriptions) Update ¶
func (c *FakeSubscriptions) Update(ctx context.Context, subscription *v1alpha1.Subscription, opts v1.UpdateOptions) (result *v1alpha1.Subscription, err error)
Update takes the representation of a subscription and updates it. Returns the server's representation of the subscription, and an error, if there is any.
func (*FakeSubscriptions) UpdateStatus ¶
func (c *FakeSubscriptions) UpdateStatus(ctx context.Context, subscription *v1alpha1.Subscription, opts v1.UpdateOptions) (*v1alpha1.Subscription, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSubscriptions) Watch ¶
func (c *FakeSubscriptions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested subscriptions.