Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDependencies
- func (c *FakeDependencies) Create(ctx context.Context, dependency *v1alpha1.Dependency, opts v1.CreateOptions) (result *v1alpha1.Dependency, err error)
- func (c *FakeDependencies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDependencies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDependencies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Dependency, err error)
- func (c *FakeDependencies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DependencyList, err error)
- func (c *FakeDependencies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Dependency, err error)
- func (c *FakeDependencies) Update(ctx context.Context, dependency *v1alpha1.Dependency, opts v1.UpdateOptions) (result *v1alpha1.Dependency, err error)
- func (c *FakeDependencies) UpdateStatus(ctx context.Context, dependency *v1alpha1.Dependency, opts v1.UpdateOptions) (*v1alpha1.Dependency, error)
- func (c *FakeDependencies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeEventRules
- func (c *FakeEventRules) Create(ctx context.Context, eventRule *v1alpha1.EventRule, opts v1.CreateOptions) (result *v1alpha1.EventRule, err error)
- func (c *FakeEventRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEventRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEventRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EventRule, err error)
- func (c *FakeEventRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EventRuleList, err error)
- func (c *FakeEventRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.EventRule, err error)
- func (c *FakeEventRules) Update(ctx context.Context, eventRule *v1alpha1.EventRule, opts v1.UpdateOptions) (result *v1alpha1.EventRule, err error)
- func (c *FakeEventRules) UpdateStatus(ctx context.Context, eventRule *v1alpha1.EventRule, opts v1.UpdateOptions) (*v1alpha1.EventRule, error)
- func (c *FakeEventRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIntegrations
- func (c *FakeIntegrations) Create(ctx context.Context, integration *v1alpha1.Integration, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.Integration, err error)
- func (c *FakeIntegrations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IntegrationList, err error)
- func (c *FakeIntegrations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Integration, err error)
- func (c *FakeIntegrations) Update(ctx context.Context, integration *v1alpha1.Integration, opts v1.UpdateOptions) (result *v1alpha1.Integration, err error)
- func (c *FakeIntegrations) UpdateStatus(ctx context.Context, integration *v1alpha1.Integration, opts v1.UpdateOptions) (*v1alpha1.Integration, error)
- func (c *FakeIntegrations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeServiceV1alpha1
- func (c *FakeServiceV1alpha1) Dependencies(namespace string) v1alpha1.DependencyInterface
- func (c *FakeServiceV1alpha1) EventRules(namespace string) v1alpha1.EventRuleInterface
- func (c *FakeServiceV1alpha1) Integrations(namespace string) v1alpha1.IntegrationInterface
- func (c *FakeServiceV1alpha1) RESTClient() rest.Interface
- func (c *FakeServiceV1alpha1) Services(namespace string) v1alpha1.ServiceInterface
- type FakeServices
- func (c *FakeServices) Create(ctx context.Context, service *v1alpha1.Service, opts v1.CreateOptions) (result *v1alpha1.Service, err error)
- func (c *FakeServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Service, err error)
- func (c *FakeServices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServiceList, err error)
- func (c *FakeServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Service, err error)
- func (c *FakeServices) Update(ctx context.Context, service *v1alpha1.Service, opts v1.UpdateOptions) (result *v1alpha1.Service, err error)
- func (c *FakeServices) UpdateStatus(ctx context.Context, service *v1alpha1.Service, opts v1.UpdateOptions) (*v1alpha1.Service, error)
- func (c *FakeServices) 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 FakeDependencies ¶
type FakeDependencies struct { Fake *FakeServiceV1alpha1 // contains filtered or unexported fields }
FakeDependencies implements DependencyInterface
func (*FakeDependencies) Create ¶
func (c *FakeDependencies) Create(ctx context.Context, dependency *v1alpha1.Dependency, opts v1.CreateOptions) (result *v1alpha1.Dependency, err error)
Create takes the representation of a dependency and creates it. Returns the server's representation of the dependency, and an error, if there is any.
func (*FakeDependencies) Delete ¶
func (c *FakeDependencies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the dependency and deletes it. Returns an error if one occurs.
func (*FakeDependencies) DeleteCollection ¶
func (c *FakeDependencies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDependencies) Get ¶
func (c *FakeDependencies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Dependency, err error)
Get takes name of the dependency, and returns the corresponding dependency object, and an error if there is any.
func (*FakeDependencies) List ¶
func (c *FakeDependencies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DependencyList, err error)
List takes label and field selectors, and returns the list of Dependencies that match those selectors.
func (*FakeDependencies) Patch ¶
func (c *FakeDependencies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Dependency, err error)
Patch applies the patch and returns the patched dependency.
func (*FakeDependencies) Update ¶
func (c *FakeDependencies) Update(ctx context.Context, dependency *v1alpha1.Dependency, opts v1.UpdateOptions) (result *v1alpha1.Dependency, err error)
Update takes the representation of a dependency and updates it. Returns the server's representation of the dependency, and an error, if there is any.
func (*FakeDependencies) UpdateStatus ¶
func (c *FakeDependencies) UpdateStatus(ctx context.Context, dependency *v1alpha1.Dependency, opts v1.UpdateOptions) (*v1alpha1.Dependency, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDependencies) Watch ¶
func (c *FakeDependencies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dependencies.
type FakeEventRules ¶
type FakeEventRules struct { Fake *FakeServiceV1alpha1 // contains filtered or unexported fields }
FakeEventRules implements EventRuleInterface
func (*FakeEventRules) Create ¶
func (c *FakeEventRules) Create(ctx context.Context, eventRule *v1alpha1.EventRule, opts v1.CreateOptions) (result *v1alpha1.EventRule, err error)
Create takes the representation of a eventRule and creates it. Returns the server's representation of the eventRule, and an error, if there is any.
func (*FakeEventRules) Delete ¶
func (c *FakeEventRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the eventRule and deletes it. Returns an error if one occurs.
func (*FakeEventRules) DeleteCollection ¶
func (c *FakeEventRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEventRules) Get ¶
func (c *FakeEventRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EventRule, err error)
Get takes name of the eventRule, and returns the corresponding eventRule object, and an error if there is any.
func (*FakeEventRules) List ¶
func (c *FakeEventRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EventRuleList, err error)
List takes label and field selectors, and returns the list of EventRules that match those selectors.
func (*FakeEventRules) Patch ¶
func (c *FakeEventRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EventRule, err error)
Patch applies the patch and returns the patched eventRule.
func (*FakeEventRules) Update ¶
func (c *FakeEventRules) Update(ctx context.Context, eventRule *v1alpha1.EventRule, opts v1.UpdateOptions) (result *v1alpha1.EventRule, err error)
Update takes the representation of a eventRule and updates it. Returns the server's representation of the eventRule, and an error, if there is any.
func (*FakeEventRules) UpdateStatus ¶
func (c *FakeEventRules) UpdateStatus(ctx context.Context, eventRule *v1alpha1.EventRule, opts v1.UpdateOptions) (*v1alpha1.EventRule, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeEventRules) Watch ¶
func (c *FakeEventRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested eventRules.
type FakeIntegrations ¶
type FakeIntegrations struct { Fake *FakeServiceV1alpha1 // contains filtered or unexported fields }
FakeIntegrations implements IntegrationInterface
func (*FakeIntegrations) Create ¶
func (c *FakeIntegrations) Create(ctx context.Context, integration *v1alpha1.Integration, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.Integration, err error)
Get takes name of the integration, and returns the corresponding integration object, and an error if there is any.
func (*FakeIntegrations) List ¶
func (c *FakeIntegrations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.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 *v1alpha1.Integration, err error)
Patch applies the patch and returns the patched integration.
func (*FakeIntegrations) Update ¶
func (c *FakeIntegrations) Update(ctx context.Context, integration *v1alpha1.Integration, opts v1.UpdateOptions) (result *v1alpha1.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) UpdateStatus ¶
func (c *FakeIntegrations) UpdateStatus(ctx context.Context, integration *v1alpha1.Integration, opts v1.UpdateOptions) (*v1alpha1.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.
type FakeServiceV1alpha1 ¶
func (*FakeServiceV1alpha1) Dependencies ¶
func (c *FakeServiceV1alpha1) Dependencies(namespace string) v1alpha1.DependencyInterface
func (*FakeServiceV1alpha1) EventRules ¶
func (c *FakeServiceV1alpha1) EventRules(namespace string) v1alpha1.EventRuleInterface
func (*FakeServiceV1alpha1) Integrations ¶
func (c *FakeServiceV1alpha1) Integrations(namespace string) v1alpha1.IntegrationInterface
func (*FakeServiceV1alpha1) RESTClient ¶
func (c *FakeServiceV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeServiceV1alpha1) Services ¶
func (c *FakeServiceV1alpha1) Services(namespace string) v1alpha1.ServiceInterface
type FakeServices ¶
type FakeServices struct { Fake *FakeServiceV1alpha1 // contains filtered or unexported fields }
FakeServices implements ServiceInterface
func (*FakeServices) Create ¶
func (c *FakeServices) Create(ctx context.Context, service *v1alpha1.Service, opts v1.CreateOptions) (result *v1alpha1.Service, err error)
Create takes the representation of a service and creates it. Returns the server's representation of the service, and an error, if there is any.
func (*FakeServices) Delete ¶
func (c *FakeServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the service and deletes it. Returns an error if one occurs.
func (*FakeServices) DeleteCollection ¶
func (c *FakeServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServices) Get ¶
func (c *FakeServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Service, err error)
Get takes name of the service, and returns the corresponding service object, and an error if there is any.
func (*FakeServices) List ¶
func (c *FakeServices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServiceList, err error)
List takes label and field selectors, and returns the list of Services that match those selectors.
func (*FakeServices) Patch ¶
func (c *FakeServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Service, err error)
Patch applies the patch and returns the patched service.
func (*FakeServices) Update ¶
func (c *FakeServices) Update(ctx context.Context, service *v1alpha1.Service, opts v1.UpdateOptions) (result *v1alpha1.Service, err error)
Update takes the representation of a service and updates it. Returns the server's representation of the service, and an error, if there is any.
func (*FakeServices) UpdateStatus ¶
func (c *FakeServices) UpdateStatus(ctx context.Context, service *v1alpha1.Service, opts v1.UpdateOptions) (*v1alpha1.Service, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServices) Watch ¶
func (c *FakeServices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested services.