Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBuses
- func (c *FakeBuses) Create(bus *v1alpha1.Bus) (result *v1alpha1.Bus, err error)
- func (c *FakeBuses) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBuses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBuses) Get(name string, options v1.GetOptions) (result *v1alpha1.Bus, err error)
- func (c *FakeBuses) List(opts v1.ListOptions) (result *v1alpha1.BusList, err error)
- func (c *FakeBuses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Bus, err error)
- func (c *FakeBuses) Update(bus *v1alpha1.Bus) (result *v1alpha1.Bus, err error)
- func (c *FakeBuses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeChannels
- func (c *FakeChannels) Create(channel *v1alpha1.Channel) (result *v1alpha1.Channel, err error)
- func (c *FakeChannels) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeChannels) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeChannels) Get(name string, options v1.GetOptions) (result *v1alpha1.Channel, err error)
- func (c *FakeChannels) List(opts v1.ListOptions) (result *v1alpha1.ChannelList, err error)
- func (c *FakeChannels) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Channel, err error)
- func (c *FakeChannels) Update(channel *v1alpha1.Channel) (result *v1alpha1.Channel, err error)
- func (c *FakeChannels) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeChannelsV1alpha1
- func (c *FakeChannelsV1alpha1) Buses(namespace string) v1alpha1.BusInterface
- func (c *FakeChannelsV1alpha1) Channels(namespace string) v1alpha1.ChannelInterface
- func (c *FakeChannelsV1alpha1) ClusterBuses() v1alpha1.ClusterBusInterface
- func (c *FakeChannelsV1alpha1) RESTClient() rest.Interface
- func (c *FakeChannelsV1alpha1) Subscriptions(namespace string) v1alpha1.SubscriptionInterface
- type FakeClusterBuses
- func (c *FakeClusterBuses) Create(clusterBus *v1alpha1.ClusterBus) (result *v1alpha1.ClusterBus, err error)
- func (c *FakeClusterBuses) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusterBuses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusterBuses) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterBus, err error)
- func (c *FakeClusterBuses) List(opts v1.ListOptions) (result *v1alpha1.ClusterBusList, err error)
- func (c *FakeClusterBuses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterBus, err error)
- func (c *FakeClusterBuses) Update(clusterBus *v1alpha1.ClusterBus) (result *v1alpha1.ClusterBus, err error)
- func (c *FakeClusterBuses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeSubscriptions
- func (c *FakeSubscriptions) Create(subscription *v1alpha1.Subscription) (result *v1alpha1.Subscription, err error)
- func (c *FakeSubscriptions) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeSubscriptions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeSubscriptions) Get(name string, options v1.GetOptions) (result *v1alpha1.Subscription, err error)
- func (c *FakeSubscriptions) List(opts v1.ListOptions) (result *v1alpha1.SubscriptionList, err error)
- func (c *FakeSubscriptions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Subscription, err error)
- func (c *FakeSubscriptions) Update(subscription *v1alpha1.Subscription) (result *v1alpha1.Subscription, err error)
- func (c *FakeSubscriptions) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBuses ¶
type FakeBuses struct { Fake *FakeChannelsV1alpha1 // contains filtered or unexported fields }
FakeBuses implements BusInterface
func (*FakeBuses) Create ¶
Create takes the representation of a bus and creates it. Returns the server's representation of the bus, and an error, if there is any.
func (*FakeBuses) Delete ¶
func (c *FakeBuses) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the bus and deletes it. Returns an error if one occurs.
func (*FakeBuses) DeleteCollection ¶
func (c *FakeBuses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBuses) Get ¶
Get takes name of the bus, and returns the corresponding bus object, and an error if there is any.
func (*FakeBuses) List ¶
List takes label and field selectors, and returns the list of Buses that match those selectors.
func (*FakeBuses) Patch ¶
func (c *FakeBuses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Bus, err error)
Patch applies the patch and returns the patched bus.
type FakeChannels ¶
type FakeChannels struct { Fake *FakeChannelsV1alpha1 // contains filtered or unexported fields }
FakeChannels implements ChannelInterface
func (*FakeChannels) Create ¶
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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeChannels) Get ¶
func (c *FakeChannels) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Channel, err error)
Patch applies the patch and returns the patched channel.
func (*FakeChannels) Update ¶
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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested channels.
type FakeChannelsV1alpha1 ¶
func (*FakeChannelsV1alpha1) Buses ¶
func (c *FakeChannelsV1alpha1) Buses(namespace string) v1alpha1.BusInterface
func (*FakeChannelsV1alpha1) Channels ¶
func (c *FakeChannelsV1alpha1) Channels(namespace string) v1alpha1.ChannelInterface
func (*FakeChannelsV1alpha1) ClusterBuses ¶
func (c *FakeChannelsV1alpha1) ClusterBuses() v1alpha1.ClusterBusInterface
func (*FakeChannelsV1alpha1) RESTClient ¶
func (c *FakeChannelsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeChannelsV1alpha1) Subscriptions ¶
func (c *FakeChannelsV1alpha1) Subscriptions(namespace string) v1alpha1.SubscriptionInterface
type FakeClusterBuses ¶
type FakeClusterBuses struct {
Fake *FakeChannelsV1alpha1
}
FakeClusterBuses implements ClusterBusInterface
func (*FakeClusterBuses) Create ¶
func (c *FakeClusterBuses) Create(clusterBus *v1alpha1.ClusterBus) (result *v1alpha1.ClusterBus, err error)
Create takes the representation of a clusterBus and creates it. Returns the server's representation of the clusterBus, and an error, if there is any.
func (*FakeClusterBuses) Delete ¶
func (c *FakeClusterBuses) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the clusterBus and deletes it. Returns an error if one occurs.
func (*FakeClusterBuses) DeleteCollection ¶
func (c *FakeClusterBuses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterBuses) Get ¶
func (c *FakeClusterBuses) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterBus, err error)
Get takes name of the clusterBus, and returns the corresponding clusterBus object, and an error if there is any.
func (*FakeClusterBuses) List ¶
func (c *FakeClusterBuses) List(opts v1.ListOptions) (result *v1alpha1.ClusterBusList, err error)
List takes label and field selectors, and returns the list of ClusterBuses that match those selectors.
func (*FakeClusterBuses) Patch ¶
func (c *FakeClusterBuses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterBus, err error)
Patch applies the patch and returns the patched clusterBus.
func (*FakeClusterBuses) Update ¶
func (c *FakeClusterBuses) Update(clusterBus *v1alpha1.ClusterBus) (result *v1alpha1.ClusterBus, err error)
Update takes the representation of a clusterBus and updates it. Returns the server's representation of the clusterBus, and an error, if there is any.
func (*FakeClusterBuses) Watch ¶
func (c *FakeClusterBuses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterBuses.
type FakeSubscriptions ¶
type FakeSubscriptions struct { Fake *FakeChannelsV1alpha1 // contains filtered or unexported fields }
FakeSubscriptions implements SubscriptionInterface
func (*FakeSubscriptions) Create ¶
func (c *FakeSubscriptions) Create(subscription *v1alpha1.Subscription) (result *v1alpha1.Subscription, err error)
Create takes the representation of a subscription and creates it. Returns the server's representation of the subscription, and an error, if there is any.
func (*FakeSubscriptions) Delete ¶
func (c *FakeSubscriptions) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the subscription and deletes it. Returns an error if one occurs.
func (*FakeSubscriptions) DeleteCollection ¶
func (c *FakeSubscriptions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSubscriptions) Get ¶
func (c *FakeSubscriptions) Get(name string, options v1.GetOptions) (result *v1alpha1.Subscription, err error)
Get takes name of the subscription, and returns the corresponding subscription object, and an error if there is any.
func (*FakeSubscriptions) List ¶
func (c *FakeSubscriptions) List(opts v1.ListOptions) (result *v1alpha1.SubscriptionList, err error)
List takes label and field selectors, and returns the list of Subscriptions that match those selectors.
func (*FakeSubscriptions) Patch ¶
func (c *FakeSubscriptions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Subscription, err error)
Patch applies the patch and returns the patched subscription.
func (*FakeSubscriptions) Update ¶
func (c *FakeSubscriptions) Update(subscription *v1alpha1.Subscription) (result *v1alpha1.Subscription, err error)
Update takes the representation of a subscription and updates it. Returns the server's representation of the subscription, and an error, if there is any.
func (*FakeSubscriptions) Watch ¶
func (c *FakeSubscriptions) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested subscriptions.