Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCoreV1alpha1
- 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCoreV1alpha1 ¶
func (*FakeCoreV1alpha1) Deployers ¶
func (c *FakeCoreV1alpha1) Deployers(namespace string) v1alpha1.DeployerInterface
func (*FakeCoreV1alpha1) RESTClient ¶
func (c *FakeCoreV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeDeployers ¶
type FakeDeployers struct { Fake *FakeCoreV1alpha1 // 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.