Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeChannels
- func (c *FakeChannels) Create(ctx context.Context, channel *v1alpha1.Channel, opts v1.CreateOptions) (result *v1alpha1.Channel, err error)
- func (c *FakeChannels) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeChannels) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeChannels) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Channel, err error)
- func (c *FakeChannels) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ChannelList, err error)
- func (c *FakeChannels) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Channel, err error)
- func (c *FakeChannels) Update(ctx context.Context, channel *v1alpha1.Channel, opts v1.UpdateOptions) (result *v1alpha1.Channel, err error)
- func (c *FakeChannels) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterWatchers
- func (c *FakeClusterWatchers) Create(ctx context.Context, clusterWatcher *v1alpha1.ClusterWatcher, ...) (result *v1alpha1.ClusterWatcher, err error)
- func (c *FakeClusterWatchers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterWatchers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterWatchers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterWatcher, err error)
- func (c *FakeClusterWatchers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterWatcherList, err error)
- func (c *FakeClusterWatchers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterWatcher, err error)
- func (c *FakeClusterWatchers) Update(ctx context.Context, clusterWatcher *v1alpha1.ClusterWatcher, ...) (result *v1alpha1.ClusterWatcher, err error)
- func (c *FakeClusterWatchers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSpongeprojectsV1alpha1
- func (c *FakeSpongeprojectsV1alpha1) Channels() v1alpha1.ChannelInterface
- func (c *FakeSpongeprojectsV1alpha1) ClusterWatchers() v1alpha1.ClusterWatcherInterface
- func (c *FakeSpongeprojectsV1alpha1) RESTClient() rest.Interface
- func (c *FakeSpongeprojectsV1alpha1) Watchers(namespace string) v1alpha1.WatcherInterface
- type FakeWatchers
- func (c *FakeWatchers) Create(ctx context.Context, watcher *v1alpha1.Watcher, opts v1.CreateOptions) (result *v1alpha1.Watcher, err error)
- func (c *FakeWatchers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeWatchers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeWatchers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Watcher, err error)
- func (c *FakeWatchers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.WatcherList, err error)
- func (c *FakeWatchers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Watcher, err error)
- func (c *FakeWatchers) Update(ctx context.Context, watcher *v1alpha1.Watcher, opts v1.UpdateOptions) (result *v1alpha1.Watcher, err error)
- func (c *FakeWatchers) 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 FakeChannels ¶
type FakeChannels struct {
Fake *FakeSpongeprojectsV1alpha1
}
FakeChannels implements ChannelInterface
func (*FakeChannels) Create ¶
func (c *FakeChannels) Create(ctx context.Context, channel *v1alpha1.Channel, opts v1.CreateOptions) (result *v1alpha1.Channel, err error)
Create takes the representation of a channel and creates it. Returns the server's representation of the channel, and an error, if there is any.
func (*FakeChannels) Delete ¶
func (c *FakeChannels) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the channel and deletes it. Returns an error if one occurs.
func (*FakeChannels) DeleteCollection ¶
func (c *FakeChannels) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeChannels) Get ¶
func (c *FakeChannels) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Channel, err error)
Get takes name of the channel, and returns the corresponding channel object, and an error if there is any.
func (*FakeChannels) List ¶
func (c *FakeChannels) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ChannelList, err error)
List takes label and field selectors, and returns the list of Channels that match those selectors.
func (*FakeChannels) Patch ¶
func (c *FakeChannels) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Channel, err error)
Patch applies the patch and returns the patched channel.
func (*FakeChannels) Update ¶
func (c *FakeChannels) Update(ctx context.Context, channel *v1alpha1.Channel, opts v1.UpdateOptions) (result *v1alpha1.Channel, err error)
Update takes the representation of a channel and updates it. Returns the server's representation of the channel, and an error, if there is any.
func (*FakeChannels) Watch ¶
func (c *FakeChannels) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested channels.
type FakeClusterWatchers ¶
type FakeClusterWatchers struct {
Fake *FakeSpongeprojectsV1alpha1
}
FakeClusterWatchers implements ClusterWatcherInterface
func (*FakeClusterWatchers) Create ¶
func (c *FakeClusterWatchers) Create(ctx context.Context, clusterWatcher *v1alpha1.ClusterWatcher, opts v1.CreateOptions) (result *v1alpha1.ClusterWatcher, err error)
Create takes the representation of a clusterWatcher and creates it. Returns the server's representation of the clusterWatcher, and an error, if there is any.
func (*FakeClusterWatchers) Delete ¶
func (c *FakeClusterWatchers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterWatcher and deletes it. Returns an error if one occurs.
func (*FakeClusterWatchers) DeleteCollection ¶
func (c *FakeClusterWatchers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterWatchers) Get ¶
func (c *FakeClusterWatchers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterWatcher, err error)
Get takes name of the clusterWatcher, and returns the corresponding clusterWatcher object, and an error if there is any.
func (*FakeClusterWatchers) List ¶
func (c *FakeClusterWatchers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterWatcherList, err error)
List takes label and field selectors, and returns the list of ClusterWatchers that match those selectors.
func (*FakeClusterWatchers) Patch ¶
func (c *FakeClusterWatchers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterWatcher, err error)
Patch applies the patch and returns the patched clusterWatcher.
func (*FakeClusterWatchers) Update ¶
func (c *FakeClusterWatchers) Update(ctx context.Context, clusterWatcher *v1alpha1.ClusterWatcher, opts v1.UpdateOptions) (result *v1alpha1.ClusterWatcher, err error)
Update takes the representation of a clusterWatcher and updates it. Returns the server's representation of the clusterWatcher, and an error, if there is any.
func (*FakeClusterWatchers) Watch ¶
func (c *FakeClusterWatchers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterWatchers.
type FakeSpongeprojectsV1alpha1 ¶
func (*FakeSpongeprojectsV1alpha1) Channels ¶
func (c *FakeSpongeprojectsV1alpha1) Channels() v1alpha1.ChannelInterface
func (*FakeSpongeprojectsV1alpha1) ClusterWatchers ¶
func (c *FakeSpongeprojectsV1alpha1) ClusterWatchers() v1alpha1.ClusterWatcherInterface
func (*FakeSpongeprojectsV1alpha1) RESTClient ¶
func (c *FakeSpongeprojectsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSpongeprojectsV1alpha1) Watchers ¶
func (c *FakeSpongeprojectsV1alpha1) Watchers(namespace string) v1alpha1.WatcherInterface
type FakeWatchers ¶
type FakeWatchers struct { Fake *FakeSpongeprojectsV1alpha1 // contains filtered or unexported fields }
FakeWatchers implements WatcherInterface
func (*FakeWatchers) Create ¶
func (c *FakeWatchers) Create(ctx context.Context, watcher *v1alpha1.Watcher, opts v1.CreateOptions) (result *v1alpha1.Watcher, err error)
Create takes the representation of a watcher and creates it. Returns the server's representation of the watcher, and an error, if there is any.
func (*FakeWatchers) Delete ¶
func (c *FakeWatchers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the watcher and deletes it. Returns an error if one occurs.
func (*FakeWatchers) DeleteCollection ¶
func (c *FakeWatchers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeWatchers) Get ¶
func (c *FakeWatchers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Watcher, err error)
Get takes name of the watcher, and returns the corresponding watcher object, and an error if there is any.
func (*FakeWatchers) List ¶
func (c *FakeWatchers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.WatcherList, err error)
List takes label and field selectors, and returns the list of Watchers that match those selectors.
func (*FakeWatchers) Patch ¶
func (c *FakeWatchers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Watcher, err error)
Patch applies the patch and returns the patched watcher.
func (*FakeWatchers) Update ¶
func (c *FakeWatchers) Update(ctx context.Context, watcher *v1alpha1.Watcher, opts v1.UpdateOptions) (result *v1alpha1.Watcher, err error)
Update takes the representation of a watcher and updates it. Returns the server's representation of the watcher, and an error, if there is any.
func (*FakeWatchers) Watch ¶
func (c *FakeWatchers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested watchers.