Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBuilds
- func (c *FakeBuilds) Create(ctx context.Context, build *camelv1.Build, opts v1.CreateOptions) (result *camelv1.Build, err error)
- func (c *FakeBuilds) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBuilds) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBuilds) Get(ctx context.Context, name string, options v1.GetOptions) (result *camelv1.Build, err error)
- func (c *FakeBuilds) List(ctx context.Context, opts v1.ListOptions) (result *camelv1.BuildList, err error)
- func (c *FakeBuilds) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *camelv1.Build, err error)
- func (c *FakeBuilds) Update(ctx context.Context, build *camelv1.Build, opts v1.UpdateOptions) (result *camelv1.Build, err error)
- func (c *FakeBuilds) UpdateStatus(ctx context.Context, build *camelv1.Build, opts v1.UpdateOptions) (*camelv1.Build, error)
- func (c *FakeBuilds) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCamelCatalogs
- func (c *FakeCamelCatalogs) Create(ctx context.Context, camelCatalog *camelv1.CamelCatalog, opts v1.CreateOptions) (result *camelv1.CamelCatalog, err error)
- func (c *FakeCamelCatalogs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCamelCatalogs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCamelCatalogs) Get(ctx context.Context, name string, options v1.GetOptions) (result *camelv1.CamelCatalog, err error)
- func (c *FakeCamelCatalogs) List(ctx context.Context, opts v1.ListOptions) (result *camelv1.CamelCatalogList, err error)
- func (c *FakeCamelCatalogs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *camelv1.CamelCatalog, err error)
- func (c *FakeCamelCatalogs) Update(ctx context.Context, camelCatalog *camelv1.CamelCatalog, opts v1.UpdateOptions) (result *camelv1.CamelCatalog, err error)
- func (c *FakeCamelCatalogs) UpdateStatus(ctx context.Context, camelCatalog *camelv1.CamelCatalog, opts v1.UpdateOptions) (*camelv1.CamelCatalog, error)
- func (c *FakeCamelCatalogs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCamelV1
- func (c *FakeCamelV1) Builds(namespace string) v1.BuildInterface
- func (c *FakeCamelV1) CamelCatalogs(namespace string) v1.CamelCatalogInterface
- func (c *FakeCamelV1) IntegrationKits(namespace string) v1.IntegrationKitInterface
- func (c *FakeCamelV1) IntegrationPlatforms(namespace string) v1.IntegrationPlatformInterface
- func (c *FakeCamelV1) Integrations(namespace string) v1.IntegrationInterface
- func (c *FakeCamelV1) RESTClient() rest.Interface
- type FakeIntegrationKits
- func (c *FakeIntegrationKits) Create(ctx context.Context, integrationKit *camelv1.IntegrationKit, ...) (result *camelv1.IntegrationKit, err error)
- func (c *FakeIntegrationKits) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIntegrationKits) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIntegrationKits) Get(ctx context.Context, name string, options v1.GetOptions) (result *camelv1.IntegrationKit, err error)
- func (c *FakeIntegrationKits) List(ctx context.Context, opts v1.ListOptions) (result *camelv1.IntegrationKitList, err error)
- func (c *FakeIntegrationKits) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *camelv1.IntegrationKit, err error)
- func (c *FakeIntegrationKits) Update(ctx context.Context, integrationKit *camelv1.IntegrationKit, ...) (result *camelv1.IntegrationKit, err error)
- func (c *FakeIntegrationKits) UpdateStatus(ctx context.Context, integrationKit *camelv1.IntegrationKit, ...) (*camelv1.IntegrationKit, error)
- func (c *FakeIntegrationKits) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIntegrationPlatforms
- func (c *FakeIntegrationPlatforms) Create(ctx context.Context, integrationPlatform *camelv1.IntegrationPlatform, ...) (result *camelv1.IntegrationPlatform, err error)
- func (c *FakeIntegrationPlatforms) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIntegrationPlatforms) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIntegrationPlatforms) Get(ctx context.Context, name string, options v1.GetOptions) (result *camelv1.IntegrationPlatform, err error)
- func (c *FakeIntegrationPlatforms) List(ctx context.Context, opts v1.ListOptions) (result *camelv1.IntegrationPlatformList, err error)
- func (c *FakeIntegrationPlatforms) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *camelv1.IntegrationPlatform, err error)
- func (c *FakeIntegrationPlatforms) Update(ctx context.Context, integrationPlatform *camelv1.IntegrationPlatform, ...) (result *camelv1.IntegrationPlatform, err error)
- func (c *FakeIntegrationPlatforms) UpdateStatus(ctx context.Context, integrationPlatform *camelv1.IntegrationPlatform, ...) (*camelv1.IntegrationPlatform, error)
- func (c *FakeIntegrationPlatforms) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIntegrations
- func (c *FakeIntegrations) Create(ctx context.Context, integration *camelv1.Integration, opts v1.CreateOptions) (result *camelv1.Integration, err error)
- func (c *FakeIntegrations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIntegrations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIntegrations) Get(ctx context.Context, name string, options v1.GetOptions) (result *camelv1.Integration, err error)
- func (c *FakeIntegrations) GetScale(ctx context.Context, integrationName string, options v1.GetOptions) (result *autoscalingv1.Scale, err error)
- func (c *FakeIntegrations) List(ctx context.Context, opts v1.ListOptions) (result *camelv1.IntegrationList, err error)
- func (c *FakeIntegrations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *camelv1.Integration, err error)
- func (c *FakeIntegrations) Update(ctx context.Context, integration *camelv1.Integration, opts v1.UpdateOptions) (result *camelv1.Integration, err error)
- func (c *FakeIntegrations) UpdateScale(ctx context.Context, integrationName string, scale *autoscalingv1.Scale, ...) (result *autoscalingv1.Scale, err error)
- func (c *FakeIntegrations) UpdateStatus(ctx context.Context, integration *camelv1.Integration, opts v1.UpdateOptions) (*camelv1.Integration, error)
- func (c *FakeIntegrations) 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 FakeBuilds ¶
type FakeBuilds struct { Fake *FakeCamelV1 // contains filtered or unexported fields }
FakeBuilds implements BuildInterface
func (*FakeBuilds) Create ¶
func (c *FakeBuilds) Create(ctx context.Context, build *camelv1.Build, opts v1.CreateOptions) (result *camelv1.Build, err error)
Create takes the representation of a build and creates it. Returns the server's representation of the build, and an error, if there is any.
func (*FakeBuilds) Delete ¶
func (c *FakeBuilds) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the build and deletes it. Returns an error if one occurs.
func (*FakeBuilds) DeleteCollection ¶
func (c *FakeBuilds) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBuilds) Get ¶
func (c *FakeBuilds) Get(ctx context.Context, name string, options v1.GetOptions) (result *camelv1.Build, err error)
Get takes name of the build, and returns the corresponding build object, and an error if there is any.
func (*FakeBuilds) List ¶
func (c *FakeBuilds) List(ctx context.Context, opts v1.ListOptions) (result *camelv1.BuildList, err error)
List takes label and field selectors, and returns the list of Builds that match those selectors.
func (*FakeBuilds) Patch ¶
func (c *FakeBuilds) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *camelv1.Build, err error)
Patch applies the patch and returns the patched build.
func (*FakeBuilds) Update ¶
func (c *FakeBuilds) Update(ctx context.Context, build *camelv1.Build, opts v1.UpdateOptions) (result *camelv1.Build, err error)
Update takes the representation of a build and updates it. Returns the server's representation of the build, and an error, if there is any.
func (*FakeBuilds) UpdateStatus ¶
func (c *FakeBuilds) UpdateStatus(ctx context.Context, build *camelv1.Build, opts v1.UpdateOptions) (*camelv1.Build, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBuilds) Watch ¶
func (c *FakeBuilds) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested builds.
type FakeCamelCatalogs ¶
type FakeCamelCatalogs struct { Fake *FakeCamelV1 // contains filtered or unexported fields }
FakeCamelCatalogs implements CamelCatalogInterface
func (*FakeCamelCatalogs) Create ¶
func (c *FakeCamelCatalogs) Create(ctx context.Context, camelCatalog *camelv1.CamelCatalog, opts v1.CreateOptions) (result *camelv1.CamelCatalog, err error)
Create takes the representation of a camelCatalog and creates it. Returns the server's representation of the camelCatalog, and an error, if there is any.
func (*FakeCamelCatalogs) Delete ¶
func (c *FakeCamelCatalogs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the camelCatalog and deletes it. Returns an error if one occurs.
func (*FakeCamelCatalogs) DeleteCollection ¶
func (c *FakeCamelCatalogs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCamelCatalogs) Get ¶
func (c *FakeCamelCatalogs) Get(ctx context.Context, name string, options v1.GetOptions) (result *camelv1.CamelCatalog, err error)
Get takes name of the camelCatalog, and returns the corresponding camelCatalog object, and an error if there is any.
func (*FakeCamelCatalogs) List ¶
func (c *FakeCamelCatalogs) List(ctx context.Context, opts v1.ListOptions) (result *camelv1.CamelCatalogList, err error)
List takes label and field selectors, and returns the list of CamelCatalogs that match those selectors.
func (*FakeCamelCatalogs) Patch ¶
func (c *FakeCamelCatalogs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *camelv1.CamelCatalog, err error)
Patch applies the patch and returns the patched camelCatalog.
func (*FakeCamelCatalogs) Update ¶
func (c *FakeCamelCatalogs) Update(ctx context.Context, camelCatalog *camelv1.CamelCatalog, opts v1.UpdateOptions) (result *camelv1.CamelCatalog, err error)
Update takes the representation of a camelCatalog and updates it. Returns the server's representation of the camelCatalog, and an error, if there is any.
func (*FakeCamelCatalogs) UpdateStatus ¶
func (c *FakeCamelCatalogs) UpdateStatus(ctx context.Context, camelCatalog *camelv1.CamelCatalog, opts v1.UpdateOptions) (*camelv1.CamelCatalog, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCamelCatalogs) Watch ¶
func (c *FakeCamelCatalogs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested camelCatalogs.
type FakeCamelV1 ¶
func (*FakeCamelV1) Builds ¶
func (c *FakeCamelV1) Builds(namespace string) v1.BuildInterface
func (*FakeCamelV1) CamelCatalogs ¶
func (c *FakeCamelV1) CamelCatalogs(namespace string) v1.CamelCatalogInterface
func (*FakeCamelV1) IntegrationKits ¶
func (c *FakeCamelV1) IntegrationKits(namespace string) v1.IntegrationKitInterface
func (*FakeCamelV1) IntegrationPlatforms ¶
func (c *FakeCamelV1) IntegrationPlatforms(namespace string) v1.IntegrationPlatformInterface
func (*FakeCamelV1) Integrations ¶
func (c *FakeCamelV1) Integrations(namespace string) v1.IntegrationInterface
func (*FakeCamelV1) RESTClient ¶
func (c *FakeCamelV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeIntegrationKits ¶
type FakeIntegrationKits struct { Fake *FakeCamelV1 // contains filtered or unexported fields }
FakeIntegrationKits implements IntegrationKitInterface
func (*FakeIntegrationKits) Create ¶
func (c *FakeIntegrationKits) Create(ctx context.Context, integrationKit *camelv1.IntegrationKit, opts v1.CreateOptions) (result *camelv1.IntegrationKit, err error)
Create takes the representation of a integrationKit and creates it. Returns the server's representation of the integrationKit, and an error, if there is any.
func (*FakeIntegrationKits) Delete ¶
func (c *FakeIntegrationKits) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the integrationKit and deletes it. Returns an error if one occurs.
func (*FakeIntegrationKits) DeleteCollection ¶
func (c *FakeIntegrationKits) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIntegrationKits) Get ¶
func (c *FakeIntegrationKits) Get(ctx context.Context, name string, options v1.GetOptions) (result *camelv1.IntegrationKit, err error)
Get takes name of the integrationKit, and returns the corresponding integrationKit object, and an error if there is any.
func (*FakeIntegrationKits) List ¶
func (c *FakeIntegrationKits) List(ctx context.Context, opts v1.ListOptions) (result *camelv1.IntegrationKitList, err error)
List takes label and field selectors, and returns the list of IntegrationKits that match those selectors.
func (*FakeIntegrationKits) Patch ¶
func (c *FakeIntegrationKits) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *camelv1.IntegrationKit, err error)
Patch applies the patch and returns the patched integrationKit.
func (*FakeIntegrationKits) Update ¶
func (c *FakeIntegrationKits) Update(ctx context.Context, integrationKit *camelv1.IntegrationKit, opts v1.UpdateOptions) (result *camelv1.IntegrationKit, err error)
Update takes the representation of a integrationKit and updates it. Returns the server's representation of the integrationKit, and an error, if there is any.
func (*FakeIntegrationKits) UpdateStatus ¶
func (c *FakeIntegrationKits) UpdateStatus(ctx context.Context, integrationKit *camelv1.IntegrationKit, opts v1.UpdateOptions) (*camelv1.IntegrationKit, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeIntegrationKits) Watch ¶
func (c *FakeIntegrationKits) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested integrationKits.
type FakeIntegrationPlatforms ¶
type FakeIntegrationPlatforms struct { Fake *FakeCamelV1 // contains filtered or unexported fields }
FakeIntegrationPlatforms implements IntegrationPlatformInterface
func (*FakeIntegrationPlatforms) Create ¶
func (c *FakeIntegrationPlatforms) Create(ctx context.Context, integrationPlatform *camelv1.IntegrationPlatform, opts v1.CreateOptions) (result *camelv1.IntegrationPlatform, err error)
Create takes the representation of a integrationPlatform and creates it. Returns the server's representation of the integrationPlatform, and an error, if there is any.
func (*FakeIntegrationPlatforms) Delete ¶
func (c *FakeIntegrationPlatforms) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the integrationPlatform and deletes it. Returns an error if one occurs.
func (*FakeIntegrationPlatforms) DeleteCollection ¶
func (c *FakeIntegrationPlatforms) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIntegrationPlatforms) Get ¶
func (c *FakeIntegrationPlatforms) Get(ctx context.Context, name string, options v1.GetOptions) (result *camelv1.IntegrationPlatform, err error)
Get takes name of the integrationPlatform, and returns the corresponding integrationPlatform object, and an error if there is any.
func (*FakeIntegrationPlatforms) List ¶
func (c *FakeIntegrationPlatforms) List(ctx context.Context, opts v1.ListOptions) (result *camelv1.IntegrationPlatformList, err error)
List takes label and field selectors, and returns the list of IntegrationPlatforms that match those selectors.
func (*FakeIntegrationPlatforms) Patch ¶
func (c *FakeIntegrationPlatforms) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *camelv1.IntegrationPlatform, err error)
Patch applies the patch and returns the patched integrationPlatform.
func (*FakeIntegrationPlatforms) Update ¶
func (c *FakeIntegrationPlatforms) Update(ctx context.Context, integrationPlatform *camelv1.IntegrationPlatform, opts v1.UpdateOptions) (result *camelv1.IntegrationPlatform, err error)
Update takes the representation of a integrationPlatform and updates it. Returns the server's representation of the integrationPlatform, and an error, if there is any.
func (*FakeIntegrationPlatforms) UpdateStatus ¶
func (c *FakeIntegrationPlatforms) UpdateStatus(ctx context.Context, integrationPlatform *camelv1.IntegrationPlatform, opts v1.UpdateOptions) (*camelv1.IntegrationPlatform, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeIntegrationPlatforms) Watch ¶
func (c *FakeIntegrationPlatforms) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested integrationPlatforms.
type FakeIntegrations ¶
type FakeIntegrations struct { Fake *FakeCamelV1 // contains filtered or unexported fields }
FakeIntegrations implements IntegrationInterface
func (*FakeIntegrations) Create ¶
func (c *FakeIntegrations) Create(ctx context.Context, integration *camelv1.Integration, opts v1.CreateOptions) (result *camelv1.Integration, err error)
Create takes the representation of a integration and creates it. Returns the server's representation of the integration, and an error, if there is any.
func (*FakeIntegrations) Delete ¶
func (c *FakeIntegrations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the integration and deletes it. Returns an error if one occurs.
func (*FakeIntegrations) DeleteCollection ¶
func (c *FakeIntegrations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIntegrations) Get ¶
func (c *FakeIntegrations) Get(ctx context.Context, name string, options v1.GetOptions) (result *camelv1.Integration, err error)
Get takes name of the integration, and returns the corresponding integration object, and an error if there is any.
func (*FakeIntegrations) GetScale ¶
func (c *FakeIntegrations) GetScale(ctx context.Context, integrationName string, options v1.GetOptions) (result *autoscalingv1.Scale, err error)
GetScale takes name of the integration, and returns the corresponding scale object, and an error if there is any.
func (*FakeIntegrations) List ¶
func (c *FakeIntegrations) List(ctx context.Context, opts v1.ListOptions) (result *camelv1.IntegrationList, err error)
List takes label and field selectors, and returns the list of Integrations that match those selectors.
func (*FakeIntegrations) Patch ¶
func (c *FakeIntegrations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *camelv1.Integration, err error)
Patch applies the patch and returns the patched integration.
func (*FakeIntegrations) Update ¶
func (c *FakeIntegrations) Update(ctx context.Context, integration *camelv1.Integration, opts v1.UpdateOptions) (result *camelv1.Integration, err error)
Update takes the representation of a integration and updates it. Returns the server's representation of the integration, and an error, if there is any.
func (*FakeIntegrations) UpdateScale ¶
func (c *FakeIntegrations) UpdateScale(ctx context.Context, integrationName string, scale *autoscalingv1.Scale, opts v1.UpdateOptions) (result *autoscalingv1.Scale, err error)
UpdateScale takes the representation of a scale and updates it. Returns the server's representation of the scale, and an error, if there is any.
func (*FakeIntegrations) UpdateStatus ¶
func (c *FakeIntegrations) UpdateStatus(ctx context.Context, integration *camelv1.Integration, opts v1.UpdateOptions) (*camelv1.Integration, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeIntegrations) Watch ¶
func (c *FakeIntegrations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested integrations.