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