Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAdapters
- func (c *FakeAdapters) Create(adapter *v1alpha1.Adapter) (result *v1alpha1.Adapter, err error)
- func (c *FakeAdapters) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAdapters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAdapters) Get(name string, options v1.GetOptions) (result *v1alpha1.Adapter, err error)
- func (c *FakeAdapters) List(opts v1.ListOptions) (result *v1alpha1.AdapterList, err error)
- func (c *FakeAdapters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Adapter, err error)
- func (c *FakeAdapters) Update(adapter *v1alpha1.Adapter) (result *v1alpha1.Adapter, err error)
- func (c *FakeAdapters) UpdateStatus(adapter *v1alpha1.Adapter) (*v1alpha1.Adapter, error)
- func (c *FakeAdapters) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeDeployers
- func (c *FakeDeployers) Create(deployer *v1alpha1.Deployer) (result *v1alpha1.Deployer, err error)
- func (c *FakeDeployers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDeployers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDeployers) Get(name string, options v1.GetOptions) (result *v1alpha1.Deployer, err error)
- func (c *FakeDeployers) List(opts v1.ListOptions) (result *v1alpha1.DeployerList, err error)
- func (c *FakeDeployers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Deployer, err error)
- func (c *FakeDeployers) Update(deployer *v1alpha1.Deployer) (result *v1alpha1.Deployer, err error)
- func (c *FakeDeployers) UpdateStatus(deployer *v1alpha1.Deployer) (*v1alpha1.Deployer, error)
- func (c *FakeDeployers) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeKnativeV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAdapters ¶
type FakeAdapters struct { Fake *FakeKnativeV1alpha1 // contains filtered or unexported fields }
FakeAdapters implements AdapterInterface
func (*FakeAdapters) Create ¶
Create takes the representation of a adapter and creates it. Returns the server's representation of the adapter, and an error, if there is any.
func (*FakeAdapters) Delete ¶
func (c *FakeAdapters) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the adapter and deletes it. Returns an error if one occurs.
func (*FakeAdapters) DeleteCollection ¶
func (c *FakeAdapters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAdapters) Get ¶
func (c *FakeAdapters) Get(name string, options v1.GetOptions) (result *v1alpha1.Adapter, err error)
Get takes name of the adapter, and returns the corresponding adapter object, and an error if there is any.
func (*FakeAdapters) List ¶
func (c *FakeAdapters) List(opts v1.ListOptions) (result *v1alpha1.AdapterList, err error)
List takes label and field selectors, and returns the list of Adapters that match those selectors.
func (*FakeAdapters) Patch ¶
func (c *FakeAdapters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Adapter, err error)
Patch applies the patch and returns the patched adapter.
func (*FakeAdapters) Update ¶
Update takes the representation of a adapter and updates it. Returns the server's representation of the adapter, and an error, if there is any.
func (*FakeAdapters) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAdapters) Watch ¶
func (c *FakeAdapters) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested adapters.
type FakeDeployers ¶
type FakeDeployers struct { Fake *FakeKnativeV1alpha1 // contains filtered or unexported fields }
FakeDeployers implements DeployerInterface
func (*FakeDeployers) Create ¶
Create takes the representation of a deployer and creates it. Returns the server's representation of the deployer, and an error, if there is any.
func (*FakeDeployers) Delete ¶
func (c *FakeDeployers) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the deployer and deletes it. Returns an error if one occurs.
func (*FakeDeployers) DeleteCollection ¶
func (c *FakeDeployers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDeployers) Get ¶
func (c *FakeDeployers) Get(name string, options v1.GetOptions) (result *v1alpha1.Deployer, err error)
Get takes name of the deployer, and returns the corresponding deployer object, and an error if there is any.
func (*FakeDeployers) List ¶
func (c *FakeDeployers) List(opts v1.ListOptions) (result *v1alpha1.DeployerList, err error)
List takes label and field selectors, and returns the list of Deployers that match those selectors.
func (*FakeDeployers) Patch ¶
func (c *FakeDeployers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Deployer, err error)
Patch applies the patch and returns the patched deployer.
func (*FakeDeployers) Update ¶
Update takes the representation of a deployer and updates it. Returns the server's representation of the deployer, and an error, if there is any.
func (*FakeDeployers) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDeployers) Watch ¶
func (c *FakeDeployers) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested deployers.
type FakeKnativeV1alpha1 ¶
func (*FakeKnativeV1alpha1) Adapters ¶
func (c *FakeKnativeV1alpha1) Adapters(namespace string) v1alpha1.AdapterInterface
func (*FakeKnativeV1alpha1) Deployers ¶
func (c *FakeKnativeV1alpha1) Deployers(namespace string) v1alpha1.DeployerInterface
func (*FakeKnativeV1alpha1) RESTClient ¶
func (c *FakeKnativeV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.