fake

package
v2.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

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) Apply

func (c *FakeBuilds) Apply(ctx context.Context, build *camelv1.BuildApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Build, err error)

Apply takes the given apply declarative configuration, applies it and returns the applied build.

func (*FakeBuilds) ApplyStatus

func (c *FakeBuilds) ApplyStatus(ctx context.Context, build *camelv1.BuildApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Build, err error)

ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().

func (*FakeBuilds) Create

func (c *FakeBuilds) Create(ctx context.Context, build *v1.Build, opts metav1.CreateOptions) (result *v1.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 metav1.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 metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBuilds) Get

func (c *FakeBuilds) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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 metav1.ListOptions) (result *v1.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 metav1.PatchOptions, subresources ...string) (result *v1.Build, err error)

Patch applies the patch and returns the patched build.

func (*FakeBuilds) Update

func (c *FakeBuilds) Update(ctx context.Context, build *v1.Build, opts metav1.UpdateOptions) (result *v1.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 *v1.Build, opts metav1.UpdateOptions) (*v1.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

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) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied camelCatalog.

func (*FakeCamelCatalogs) ApplyStatus

func (c *FakeCamelCatalogs) ApplyStatus(ctx context.Context, camelCatalog *camelv1.CamelCatalogApplyConfiguration, opts metav1.ApplyOptions) (result *v1.CamelCatalog, err error)

ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().

func (*FakeCamelCatalogs) Create

func (c *FakeCamelCatalogs) Create(ctx context.Context, camelCatalog *v1.CamelCatalog, opts metav1.CreateOptions) (result *v1.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 metav1.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 metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCamelCatalogs) Get

func (c *FakeCamelCatalogs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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 metav1.ListOptions) (result *v1.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 metav1.PatchOptions, subresources ...string) (result *v1.CamelCatalog, err error)

Patch applies the patch and returns the patched camelCatalog.

func (*FakeCamelCatalogs) Update

func (c *FakeCamelCatalogs) Update(ctx context.Context, camelCatalog *v1.CamelCatalog, opts metav1.UpdateOptions) (result *v1.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 *v1.CamelCatalog, opts metav1.UpdateOptions) (*v1.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

Watch returns a watch.Interface that watches the requested camelCatalogs.

type FakeCamelV1

type FakeCamelV1 struct {
	*testing.Fake
}

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) IntegrationProfiles added in v2.3.0

func (c *FakeCamelV1) IntegrationProfiles(namespace string) v1.IntegrationProfileInterface

func (*FakeCamelV1) Integrations

func (c *FakeCamelV1) Integrations(namespace string) v1.IntegrationInterface

func (*FakeCamelV1) Kamelets

func (c *FakeCamelV1) Kamelets(namespace string) v1.KameletInterface

func (*FakeCamelV1) Pipes

func (c *FakeCamelV1) Pipes(namespace string) v1.PipeInterface

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) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied integrationKit.

func (*FakeIntegrationKits) ApplyStatus

func (c *FakeIntegrationKits) ApplyStatus(ctx context.Context, integrationKit *camelv1.IntegrationKitApplyConfiguration, opts metav1.ApplyOptions) (result *v1.IntegrationKit, err error)

ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().

func (*FakeIntegrationKits) Create

func (c *FakeIntegrationKits) Create(ctx context.Context, integrationKit *v1.IntegrationKit, opts metav1.CreateOptions) (result *v1.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 metav1.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 metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeIntegrationKits) Get

func (c *FakeIntegrationKits) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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 metav1.ListOptions) (result *v1.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 metav1.PatchOptions, subresources ...string) (result *v1.IntegrationKit, err error)

Patch applies the patch and returns the patched integrationKit.

func (*FakeIntegrationKits) Update

func (c *FakeIntegrationKits) Update(ctx context.Context, integrationKit *v1.IntegrationKit, opts metav1.UpdateOptions) (result *v1.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 *v1.IntegrationKit, opts metav1.UpdateOptions) (*v1.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

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) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied integrationPlatform.

func (*FakeIntegrationPlatforms) ApplyStatus

ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().

func (*FakeIntegrationPlatforms) Create

func (c *FakeIntegrationPlatforms) Create(ctx context.Context, integrationPlatform *v1.IntegrationPlatform, opts metav1.CreateOptions) (result *v1.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

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 metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeIntegrationPlatforms) Get

func (c *FakeIntegrationPlatforms) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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

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 metav1.PatchOptions, subresources ...string) (result *v1.IntegrationPlatform, err error)

Patch applies the patch and returns the patched integrationPlatform.

func (*FakeIntegrationPlatforms) Update

func (c *FakeIntegrationPlatforms) Update(ctx context.Context, integrationPlatform *v1.IntegrationPlatform, opts metav1.UpdateOptions) (result *v1.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 *v1.IntegrationPlatform, opts metav1.UpdateOptions) (*v1.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

Watch returns a watch.Interface that watches the requested integrationPlatforms.

type FakeIntegrationProfiles added in v2.3.0

type FakeIntegrationProfiles struct {
	Fake *FakeCamelV1
	// contains filtered or unexported fields
}

FakeIntegrationProfiles implements IntegrationProfileInterface

func (*FakeIntegrationProfiles) Apply added in v2.3.0

Apply takes the given apply declarative configuration, applies it and returns the applied integrationProfile.

func (*FakeIntegrationProfiles) ApplyStatus added in v2.3.0

ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().

func (*FakeIntegrationProfiles) Create added in v2.3.0

func (c *FakeIntegrationProfiles) Create(ctx context.Context, integrationProfile *v1.IntegrationProfile, opts metav1.CreateOptions) (result *v1.IntegrationProfile, err error)

Create takes the representation of a integrationProfile and creates it. Returns the server's representation of the integrationProfile, and an error, if there is any.

func (*FakeIntegrationProfiles) Delete added in v2.3.0

Delete takes name of the integrationProfile and deletes it. Returns an error if one occurs.

func (*FakeIntegrationProfiles) DeleteCollection added in v2.3.0

func (c *FakeIntegrationProfiles) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeIntegrationProfiles) Get added in v2.3.0

func (c *FakeIntegrationProfiles) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.IntegrationProfile, err error)

Get takes name of the integrationProfile, and returns the corresponding integrationProfile object, and an error if there is any.

func (*FakeIntegrationProfiles) List added in v2.3.0

List takes label and field selectors, and returns the list of IntegrationProfiles that match those selectors.

func (*FakeIntegrationProfiles) Patch added in v2.3.0

func (c *FakeIntegrationProfiles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.IntegrationProfile, err error)

Patch applies the patch and returns the patched integrationProfile.

func (*FakeIntegrationProfiles) Update added in v2.3.0

func (c *FakeIntegrationProfiles) Update(ctx context.Context, integrationProfile *v1.IntegrationProfile, opts metav1.UpdateOptions) (result *v1.IntegrationProfile, err error)

Update takes the representation of a integrationProfile and updates it. Returns the server's representation of the integrationProfile, and an error, if there is any.

func (*FakeIntegrationProfiles) UpdateStatus added in v2.3.0

func (c *FakeIntegrationProfiles) UpdateStatus(ctx context.Context, integrationProfile *v1.IntegrationProfile, opts metav1.UpdateOptions) (*v1.IntegrationProfile, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeIntegrationProfiles) Watch added in v2.3.0

Watch returns a watch.Interface that watches the requested integrationProfiles.

type FakeIntegrations

type FakeIntegrations struct {
	Fake *FakeCamelV1
	// contains filtered or unexported fields
}

FakeIntegrations implements IntegrationInterface

func (*FakeIntegrations) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied integration.

func (*FakeIntegrations) ApplyStatus

func (c *FakeIntegrations) ApplyStatus(ctx context.Context, integration *camelv1.IntegrationApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Integration, err error)

ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().

func (*FakeIntegrations) Create

func (c *FakeIntegrations) Create(ctx context.Context, integration *v1.Integration, opts metav1.CreateOptions) (result *v1.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 metav1.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 metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeIntegrations) Get

func (c *FakeIntegrations) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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 metav1.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 metav1.ListOptions) (result *v1.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 metav1.PatchOptions, subresources ...string) (result *v1.Integration, err error)

Patch applies the patch and returns the patched integration.

func (*FakeIntegrations) Update

func (c *FakeIntegrations) Update(ctx context.Context, integration *v1.Integration, opts metav1.UpdateOptions) (result *v1.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 metav1.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 *v1.Integration, opts metav1.UpdateOptions) (*v1.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

Watch returns a watch.Interface that watches the requested integrations.

type FakeKamelets

type FakeKamelets struct {
	Fake *FakeCamelV1
	// contains filtered or unexported fields
}

FakeKamelets implements KameletInterface

func (*FakeKamelets) Apply

func (c *FakeKamelets) Apply(ctx context.Context, kamelet *camelv1.KameletApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Kamelet, err error)

Apply takes the given apply declarative configuration, applies it and returns the applied kamelet.

func (*FakeKamelets) ApplyStatus

func (c *FakeKamelets) ApplyStatus(ctx context.Context, kamelet *camelv1.KameletApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Kamelet, err error)

ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().

func (*FakeKamelets) Create

func (c *FakeKamelets) Create(ctx context.Context, kamelet *v1.Kamelet, opts metav1.CreateOptions) (result *v1.Kamelet, err error)

Create takes the representation of a kamelet and creates it. Returns the server's representation of the kamelet, and an error, if there is any.

func (*FakeKamelets) Delete

func (c *FakeKamelets) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete takes name of the kamelet and deletes it. Returns an error if one occurs.

func (*FakeKamelets) DeleteCollection

func (c *FakeKamelets) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeKamelets) Get

func (c *FakeKamelets) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Kamelet, err error)

Get takes name of the kamelet, and returns the corresponding kamelet object, and an error if there is any.

func (*FakeKamelets) List

func (c *FakeKamelets) List(ctx context.Context, opts metav1.ListOptions) (result *v1.KameletList, err error)

List takes label and field selectors, and returns the list of Kamelets that match those selectors.

func (*FakeKamelets) Patch

func (c *FakeKamelets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Kamelet, err error)

Patch applies the patch and returns the patched kamelet.

func (*FakeKamelets) Update

func (c *FakeKamelets) Update(ctx context.Context, kamelet *v1.Kamelet, opts metav1.UpdateOptions) (result *v1.Kamelet, err error)

Update takes the representation of a kamelet and updates it. Returns the server's representation of the kamelet, and an error, if there is any.

func (*FakeKamelets) UpdateStatus

func (c *FakeKamelets) UpdateStatus(ctx context.Context, kamelet *v1.Kamelet, opts metav1.UpdateOptions) (*v1.Kamelet, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeKamelets) Watch

Watch returns a watch.Interface that watches the requested kamelets.

type FakePipes

type FakePipes struct {
	Fake *FakeCamelV1
	// contains filtered or unexported fields
}

FakePipes implements PipeInterface

func (*FakePipes) Apply

func (c *FakePipes) Apply(ctx context.Context, pipe *camelv1.PipeApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Pipe, err error)

Apply takes the given apply declarative configuration, applies it and returns the applied pipe.

func (*FakePipes) ApplyStatus

func (c *FakePipes) ApplyStatus(ctx context.Context, pipe *camelv1.PipeApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Pipe, err error)

ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().

func (*FakePipes) Create

func (c *FakePipes) Create(ctx context.Context, pipe *v1.Pipe, opts metav1.CreateOptions) (result *v1.Pipe, err error)

Create takes the representation of a pipe and creates it. Returns the server's representation of the pipe, and an error, if there is any.

func (*FakePipes) Delete

func (c *FakePipes) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete takes name of the pipe and deletes it. Returns an error if one occurs.

func (*FakePipes) DeleteCollection

func (c *FakePipes) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePipes) Get

func (c *FakePipes) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Pipe, err error)

Get takes name of the pipe, and returns the corresponding pipe object, and an error if there is any.

func (*FakePipes) GetScale

func (c *FakePipes) GetScale(ctx context.Context, pipeName string, options metav1.GetOptions) (result *autoscalingv1.Scale, err error)

GetScale takes name of the pipe, and returns the corresponding scale object, and an error if there is any.

func (*FakePipes) List

func (c *FakePipes) List(ctx context.Context, opts metav1.ListOptions) (result *v1.PipeList, err error)

List takes label and field selectors, and returns the list of Pipes that match those selectors.

func (*FakePipes) Patch

func (c *FakePipes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Pipe, err error)

Patch applies the patch and returns the patched pipe.

func (*FakePipes) Update

func (c *FakePipes) Update(ctx context.Context, pipe *v1.Pipe, opts metav1.UpdateOptions) (result *v1.Pipe, err error)

Update takes the representation of a pipe and updates it. Returns the server's representation of the pipe, and an error, if there is any.

func (*FakePipes) UpdateScale

func (c *FakePipes) UpdateScale(ctx context.Context, pipeName string, scale *autoscalingv1.Scale, opts metav1.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 (*FakePipes) UpdateStatus

func (c *FakePipes) UpdateStatus(ctx context.Context, pipe *v1.Pipe, opts metav1.UpdateOptions) (*v1.Pipe, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakePipes) Watch

Watch returns a watch.Interface that watches the requested pipes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL