Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCamelV1alpha1
- type FakeKameletBindings
- func (c *FakeKameletBindings) Create(ctx context.Context, kameletBinding *v1alpha1.KameletBinding, ...) (result *v1alpha1.KameletBinding, err error)
- func (c *FakeKameletBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKameletBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKameletBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KameletBinding, err error)
- func (c *FakeKameletBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KameletBindingList, err error)
- func (c *FakeKameletBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.KameletBinding, err error)
- func (c *FakeKameletBindings) Update(ctx context.Context, kameletBinding *v1alpha1.KameletBinding, ...) (result *v1alpha1.KameletBinding, err error)
- func (c *FakeKameletBindings) UpdateStatus(ctx context.Context, kameletBinding *v1alpha1.KameletBinding, ...) (*v1alpha1.KameletBinding, error)
- func (c *FakeKameletBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKamelets
- func (c *FakeKamelets) Create(ctx context.Context, kamelet *v1alpha1.Kamelet, opts v1.CreateOptions) (result *v1alpha1.Kamelet, err error)
- func (c *FakeKamelets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKamelets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKamelets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Kamelet, err error)
- func (c *FakeKamelets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KameletList, err error)
- func (c *FakeKamelets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Kamelet, err error)
- func (c *FakeKamelets) Update(ctx context.Context, kamelet *v1alpha1.Kamelet, opts v1.UpdateOptions) (result *v1alpha1.Kamelet, err error)
- func (c *FakeKamelets) UpdateStatus(ctx context.Context, kamelet *v1alpha1.Kamelet, opts v1.UpdateOptions) (*v1alpha1.Kamelet, error)
- func (c *FakeKamelets) 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 FakeCamelV1alpha1 ¶
func (*FakeCamelV1alpha1) KameletBindings ¶
func (c *FakeCamelV1alpha1) KameletBindings(namespace string) v1alpha1.KameletBindingInterface
func (*FakeCamelV1alpha1) Kamelets ¶
func (c *FakeCamelV1alpha1) Kamelets(namespace string) v1alpha1.KameletInterface
func (*FakeCamelV1alpha1) RESTClient ¶
func (c *FakeCamelV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeKameletBindings ¶
type FakeKameletBindings struct { Fake *FakeCamelV1alpha1 // contains filtered or unexported fields }
FakeKameletBindings implements KameletBindingInterface
func (*FakeKameletBindings) Create ¶
func (c *FakeKameletBindings) Create(ctx context.Context, kameletBinding *v1alpha1.KameletBinding, opts v1.CreateOptions) (result *v1alpha1.KameletBinding, err error)
Create takes the representation of a kameletBinding and creates it. Returns the server's representation of the kameletBinding, and an error, if there is any.
func (*FakeKameletBindings) Delete ¶
func (c *FakeKameletBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the kameletBinding and deletes it. Returns an error if one occurs.
func (*FakeKameletBindings) DeleteCollection ¶
func (c *FakeKameletBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKameletBindings) Get ¶
func (c *FakeKameletBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KameletBinding, err error)
Get takes name of the kameletBinding, and returns the corresponding kameletBinding object, and an error if there is any.
func (*FakeKameletBindings) List ¶
func (c *FakeKameletBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KameletBindingList, err error)
List takes label and field selectors, and returns the list of KameletBindings that match those selectors.
func (*FakeKameletBindings) Patch ¶
func (c *FakeKameletBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KameletBinding, err error)
Patch applies the patch and returns the patched kameletBinding.
func (*FakeKameletBindings) Update ¶
func (c *FakeKameletBindings) Update(ctx context.Context, kameletBinding *v1alpha1.KameletBinding, opts v1.UpdateOptions) (result *v1alpha1.KameletBinding, err error)
Update takes the representation of a kameletBinding and updates it. Returns the server's representation of the kameletBinding, and an error, if there is any.
func (*FakeKameletBindings) UpdateStatus ¶
func (c *FakeKameletBindings) UpdateStatus(ctx context.Context, kameletBinding *v1alpha1.KameletBinding, opts v1.UpdateOptions) (*v1alpha1.KameletBinding, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeKameletBindings) Watch ¶
func (c *FakeKameletBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kameletBindings.
type FakeKamelets ¶
type FakeKamelets struct { Fake *FakeCamelV1alpha1 // contains filtered or unexported fields }
FakeKamelets implements KameletInterface
func (*FakeKamelets) Create ¶
func (c *FakeKamelets) Create(ctx context.Context, kamelet *v1alpha1.Kamelet, opts v1.CreateOptions) (result *v1alpha1.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 v1.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 v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKamelets) Get ¶
func (c *FakeKamelets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.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 v1.ListOptions) (result *v1alpha1.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 v1.PatchOptions, subresources ...string) (result *v1alpha1.Kamelet, err error)
Patch applies the patch and returns the patched kamelet.
func (*FakeKamelets) Update ¶
func (c *FakeKamelets) Update(ctx context.Context, kamelet *v1alpha1.Kamelet, opts v1.UpdateOptions) (result *v1alpha1.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 *v1alpha1.Kamelet, opts v1.UpdateOptions) (*v1alpha1.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 ¶
func (c *FakeKamelets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kamelets.