Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBrucoProjects
- func (c *FakeBrucoProjects) Create(ctx context.Context, brucoProject *v1alpha1.BrucoProject, ...) (result *v1alpha1.BrucoProject, err error)
- func (c *FakeBrucoProjects) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBrucoProjects) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBrucoProjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BrucoProject, err error)
- func (c *FakeBrucoProjects) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BrucoProjectList, err error)
- func (c *FakeBrucoProjects) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.BrucoProject, err error)
- func (c *FakeBrucoProjects) Update(ctx context.Context, brucoProject *v1alpha1.BrucoProject, ...) (result *v1alpha1.BrucoProject, err error)
- func (c *FakeBrucoProjects) UpdateStatus(ctx context.Context, brucoProject *v1alpha1.BrucoProject, ...) (*v1alpha1.BrucoProject, error)
- func (c *FakeBrucoProjects) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBrucoV1alpha1
- type FakeBrucos
- func (c *FakeBrucos) Create(ctx context.Context, bruco *v1alpha1.Bruco, opts v1.CreateOptions) (result *v1alpha1.Bruco, err error)
- func (c *FakeBrucos) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBrucos) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBrucos) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Bruco, err error)
- func (c *FakeBrucos) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BrucoList, err error)
- func (c *FakeBrucos) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Bruco, err error)
- func (c *FakeBrucos) Update(ctx context.Context, bruco *v1alpha1.Bruco, opts v1.UpdateOptions) (result *v1alpha1.Bruco, err error)
- func (c *FakeBrucos) UpdateStatus(ctx context.Context, bruco *v1alpha1.Bruco, opts v1.UpdateOptions) (*v1alpha1.Bruco, error)
- func (c *FakeBrucos) 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 FakeBrucoProjects ¶
type FakeBrucoProjects struct { Fake *FakeBrucoV1alpha1 // contains filtered or unexported fields }
FakeBrucoProjects implements BrucoProjectInterface
func (*FakeBrucoProjects) Create ¶
func (c *FakeBrucoProjects) Create(ctx context.Context, brucoProject *v1alpha1.BrucoProject, opts v1.CreateOptions) (result *v1alpha1.BrucoProject, err error)
Create takes the representation of a brucoProject and creates it. Returns the server's representation of the brucoProject, and an error, if there is any.
func (*FakeBrucoProjects) Delete ¶
func (c *FakeBrucoProjects) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the brucoProject and deletes it. Returns an error if one occurs.
func (*FakeBrucoProjects) DeleteCollection ¶
func (c *FakeBrucoProjects) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBrucoProjects) Get ¶
func (c *FakeBrucoProjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BrucoProject, err error)
Get takes name of the brucoProject, and returns the corresponding brucoProject object, and an error if there is any.
func (*FakeBrucoProjects) List ¶
func (c *FakeBrucoProjects) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BrucoProjectList, err error)
List takes label and field selectors, and returns the list of BrucoProjects that match those selectors.
func (*FakeBrucoProjects) Patch ¶
func (c *FakeBrucoProjects) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.BrucoProject, err error)
Patch applies the patch and returns the patched brucoProject.
func (*FakeBrucoProjects) Update ¶
func (c *FakeBrucoProjects) Update(ctx context.Context, brucoProject *v1alpha1.BrucoProject, opts v1.UpdateOptions) (result *v1alpha1.BrucoProject, err error)
Update takes the representation of a brucoProject and updates it. Returns the server's representation of the brucoProject, and an error, if there is any.
func (*FakeBrucoProjects) UpdateStatus ¶
func (c *FakeBrucoProjects) UpdateStatus(ctx context.Context, brucoProject *v1alpha1.BrucoProject, opts v1.UpdateOptions) (*v1alpha1.BrucoProject, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBrucoProjects) Watch ¶
func (c *FakeBrucoProjects) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested brucoProjects.
type FakeBrucoV1alpha1 ¶
func (*FakeBrucoV1alpha1) BrucoProjects ¶
func (c *FakeBrucoV1alpha1) BrucoProjects(namespace string) v1alpha1.BrucoProjectInterface
func (*FakeBrucoV1alpha1) Brucos ¶
func (c *FakeBrucoV1alpha1) Brucos(namespace string) v1alpha1.BrucoInterface
func (*FakeBrucoV1alpha1) RESTClient ¶
func (c *FakeBrucoV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeBrucos ¶
type FakeBrucos struct { Fake *FakeBrucoV1alpha1 // contains filtered or unexported fields }
FakeBrucos implements BrucoInterface
func (*FakeBrucos) Create ¶
func (c *FakeBrucos) Create(ctx context.Context, bruco *v1alpha1.Bruco, opts v1.CreateOptions) (result *v1alpha1.Bruco, err error)
Create takes the representation of a bruco and creates it. Returns the server's representation of the bruco, and an error, if there is any.
func (*FakeBrucos) Delete ¶
func (c *FakeBrucos) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the bruco and deletes it. Returns an error if one occurs.
func (*FakeBrucos) DeleteCollection ¶
func (c *FakeBrucos) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBrucos) Get ¶
func (c *FakeBrucos) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Bruco, err error)
Get takes name of the bruco, and returns the corresponding bruco object, and an error if there is any.
func (*FakeBrucos) List ¶
func (c *FakeBrucos) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BrucoList, err error)
List takes label and field selectors, and returns the list of Brucos that match those selectors.
func (*FakeBrucos) Patch ¶
func (c *FakeBrucos) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Bruco, err error)
Patch applies the patch and returns the patched bruco.
func (*FakeBrucos) Update ¶
func (c *FakeBrucos) Update(ctx context.Context, bruco *v1alpha1.Bruco, opts v1.UpdateOptions) (result *v1alpha1.Bruco, err error)
Update takes the representation of a bruco and updates it. Returns the server's representation of the bruco, and an error, if there is any.
func (*FakeBrucos) UpdateStatus ¶
func (c *FakeBrucos) UpdateStatus(ctx context.Context, bruco *v1alpha1.Bruco, opts v1.UpdateOptions) (*v1alpha1.Bruco, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBrucos) Watch ¶
func (c *FakeBrucos) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested brucos.