Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeControllerDeployments
- func (c *FakeControllerDeployments) Create(ctx context.Context, controllerDeployment *v1.ControllerDeployment, ...) (result *v1.ControllerDeployment, err error)
- func (c *FakeControllerDeployments) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeControllerDeployments) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeControllerDeployments) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ControllerDeployment, err error)
- func (c *FakeControllerDeployments) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ControllerDeploymentList, err error)
- func (c *FakeControllerDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.ControllerDeployment, err error)
- func (c *FakeControllerDeployments) Update(ctx context.Context, controllerDeployment *v1.ControllerDeployment, ...) (result *v1.ControllerDeployment, err error)
- func (c *FakeControllerDeployments) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeCoreV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeControllerDeployments ¶
type FakeControllerDeployments struct {
Fake *FakeCoreV1
}
FakeControllerDeployments implements ControllerDeploymentInterface
func (*FakeControllerDeployments) Create ¶
func (c *FakeControllerDeployments) Create(ctx context.Context, controllerDeployment *v1.ControllerDeployment, opts metav1.CreateOptions) (result *v1.ControllerDeployment, err error)
Create takes the representation of a controllerDeployment and creates it. Returns the server's representation of the controllerDeployment, and an error, if there is any.
func (*FakeControllerDeployments) Delete ¶
func (c *FakeControllerDeployments) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the controllerDeployment and deletes it. Returns an error if one occurs.
func (*FakeControllerDeployments) DeleteCollection ¶
func (c *FakeControllerDeployments) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeControllerDeployments) Get ¶
func (c *FakeControllerDeployments) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ControllerDeployment, err error)
Get takes name of the controllerDeployment, and returns the corresponding controllerDeployment object, and an error if there is any.
func (*FakeControllerDeployments) List ¶
func (c *FakeControllerDeployments) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ControllerDeploymentList, err error)
List takes label and field selectors, and returns the list of ControllerDeployments that match those selectors.
func (*FakeControllerDeployments) Patch ¶
func (c *FakeControllerDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ControllerDeployment, err error)
Patch applies the patch and returns the patched controllerDeployment.
func (*FakeControllerDeployments) Update ¶
func (c *FakeControllerDeployments) Update(ctx context.Context, controllerDeployment *v1.ControllerDeployment, opts metav1.UpdateOptions) (result *v1.ControllerDeployment, err error)
Update takes the representation of a controllerDeployment and updates it. Returns the server's representation of the controllerDeployment, and an error, if there is any.
func (*FakeControllerDeployments) Watch ¶
func (c *FakeControllerDeployments) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested controllerDeployments.
type FakeCoreV1 ¶
func (*FakeCoreV1) ControllerDeployments ¶
func (c *FakeCoreV1) ControllerDeployments() v1.ControllerDeploymentInterface
func (*FakeCoreV1) RESTClient ¶
func (c *FakeCoreV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.