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