Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCoreV1
- func (c *FakeCoreV1) RESTClient() rest.Interface
- func (c *FakeCoreV1) ServiceMeshControlPlanes(namespace string) v1.ServiceMeshControlPlaneInterface
- func (c *FakeCoreV1) ServiceMeshExtensions(namespace string) v1.ServiceMeshExtensionInterface
- func (c *FakeCoreV1) ServiceMeshMemberRolls(namespace string) v1.ServiceMeshMemberRollInterface
- func (c *FakeCoreV1) ServiceMeshMembers(namespace string) v1.ServiceMeshMemberInterface
- type FakeServiceMeshControlPlanes
- func (c *FakeServiceMeshControlPlanes) Create(ctx context.Context, serviceMeshControlPlane *v1.ServiceMeshControlPlane, ...) (result *v1.ServiceMeshControlPlane, err error)
- func (c *FakeServiceMeshControlPlanes) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeServiceMeshControlPlanes) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeServiceMeshControlPlanes) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ServiceMeshControlPlane, err error)
- func (c *FakeServiceMeshControlPlanes) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ServiceMeshControlPlaneList, err error)
- func (c *FakeServiceMeshControlPlanes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.ServiceMeshControlPlane, err error)
- func (c *FakeServiceMeshControlPlanes) Update(ctx context.Context, serviceMeshControlPlane *v1.ServiceMeshControlPlane, ...) (result *v1.ServiceMeshControlPlane, err error)
- func (c *FakeServiceMeshControlPlanes) UpdateStatus(ctx context.Context, serviceMeshControlPlane *v1.ServiceMeshControlPlane, ...) (*v1.ServiceMeshControlPlane, error)
- func (c *FakeServiceMeshControlPlanes) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeServiceMeshExtensions
- func (c *FakeServiceMeshExtensions) Create(ctx context.Context, serviceMeshExtension *v1.ServiceMeshExtension, ...) (result *v1.ServiceMeshExtension, err error)
- func (c *FakeServiceMeshExtensions) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeServiceMeshExtensions) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeServiceMeshExtensions) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ServiceMeshExtension, err error)
- func (c *FakeServiceMeshExtensions) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ServiceMeshExtensionList, err error)
- func (c *FakeServiceMeshExtensions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.ServiceMeshExtension, err error)
- func (c *FakeServiceMeshExtensions) Update(ctx context.Context, serviceMeshExtension *v1.ServiceMeshExtension, ...) (result *v1.ServiceMeshExtension, err error)
- func (c *FakeServiceMeshExtensions) UpdateStatus(ctx context.Context, serviceMeshExtension *v1.ServiceMeshExtension, ...) (*v1.ServiceMeshExtension, error)
- func (c *FakeServiceMeshExtensions) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeServiceMeshMemberRolls
- func (c *FakeServiceMeshMemberRolls) Create(ctx context.Context, serviceMeshMemberRoll *v1.ServiceMeshMemberRoll, ...) (result *v1.ServiceMeshMemberRoll, err error)
- func (c *FakeServiceMeshMemberRolls) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeServiceMeshMemberRolls) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeServiceMeshMemberRolls) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ServiceMeshMemberRoll, err error)
- func (c *FakeServiceMeshMemberRolls) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ServiceMeshMemberRollList, err error)
- func (c *FakeServiceMeshMemberRolls) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.ServiceMeshMemberRoll, err error)
- func (c *FakeServiceMeshMemberRolls) Update(ctx context.Context, serviceMeshMemberRoll *v1.ServiceMeshMemberRoll, ...) (result *v1.ServiceMeshMemberRoll, err error)
- func (c *FakeServiceMeshMemberRolls) UpdateStatus(ctx context.Context, serviceMeshMemberRoll *v1.ServiceMeshMemberRoll, ...) (*v1.ServiceMeshMemberRoll, error)
- func (c *FakeServiceMeshMemberRolls) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeServiceMeshMembers
- func (c *FakeServiceMeshMembers) Create(ctx context.Context, serviceMeshMember *v1.ServiceMeshMember, ...) (result *v1.ServiceMeshMember, err error)
- func (c *FakeServiceMeshMembers) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeServiceMeshMembers) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeServiceMeshMembers) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ServiceMeshMember, err error)
- func (c *FakeServiceMeshMembers) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ServiceMeshMemberList, err error)
- func (c *FakeServiceMeshMembers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.ServiceMeshMember, err error)
- func (c *FakeServiceMeshMembers) Update(ctx context.Context, serviceMeshMember *v1.ServiceMeshMember, ...) (result *v1.ServiceMeshMember, err error)
- func (c *FakeServiceMeshMembers) UpdateStatus(ctx context.Context, serviceMeshMember *v1.ServiceMeshMember, ...) (*v1.ServiceMeshMember, error)
- func (c *FakeServiceMeshMembers) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCoreV1 ¶
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.
func (*FakeCoreV1) ServiceMeshControlPlanes ¶
func (c *FakeCoreV1) ServiceMeshControlPlanes(namespace string) v1.ServiceMeshControlPlaneInterface
func (*FakeCoreV1) ServiceMeshExtensions ¶
func (c *FakeCoreV1) ServiceMeshExtensions(namespace string) v1.ServiceMeshExtensionInterface
func (*FakeCoreV1) ServiceMeshMemberRolls ¶
func (c *FakeCoreV1) ServiceMeshMemberRolls(namespace string) v1.ServiceMeshMemberRollInterface
func (*FakeCoreV1) ServiceMeshMembers ¶
func (c *FakeCoreV1) ServiceMeshMembers(namespace string) v1.ServiceMeshMemberInterface
type FakeServiceMeshControlPlanes ¶
type FakeServiceMeshControlPlanes struct { Fake *FakeCoreV1 // contains filtered or unexported fields }
FakeServiceMeshControlPlanes implements ServiceMeshControlPlaneInterface
func (*FakeServiceMeshControlPlanes) Create ¶
func (c *FakeServiceMeshControlPlanes) Create(ctx context.Context, serviceMeshControlPlane *v1.ServiceMeshControlPlane, opts metav1.CreateOptions) (result *v1.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 metav1.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 metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceMeshControlPlanes) Get ¶
func (c *FakeServiceMeshControlPlanes) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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 metav1.ListOptions) (result *v1.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 metav1.PatchOptions, subresources ...string) (result *v1.ServiceMeshControlPlane, err error)
Patch applies the patch and returns the patched serviceMeshControlPlane.
func (*FakeServiceMeshControlPlanes) Update ¶
func (c *FakeServiceMeshControlPlanes) Update(ctx context.Context, serviceMeshControlPlane *v1.ServiceMeshControlPlane, opts metav1.UpdateOptions) (result *v1.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 *v1.ServiceMeshControlPlane, opts metav1.UpdateOptions) (*v1.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 metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceMeshControlPlanes.
type FakeServiceMeshExtensions ¶
type FakeServiceMeshExtensions struct { Fake *FakeCoreV1 // contains filtered or unexported fields }
FakeServiceMeshExtensions implements ServiceMeshExtensionInterface
func (*FakeServiceMeshExtensions) Create ¶
func (c *FakeServiceMeshExtensions) Create(ctx context.Context, serviceMeshExtension *v1.ServiceMeshExtension, opts metav1.CreateOptions) (result *v1.ServiceMeshExtension, err error)
Create takes the representation of a serviceMeshExtension and creates it. Returns the server's representation of the serviceMeshExtension, and an error, if there is any.
func (*FakeServiceMeshExtensions) Delete ¶
func (c *FakeServiceMeshExtensions) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the serviceMeshExtension and deletes it. Returns an error if one occurs.
func (*FakeServiceMeshExtensions) DeleteCollection ¶
func (c *FakeServiceMeshExtensions) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceMeshExtensions) Get ¶
func (c *FakeServiceMeshExtensions) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ServiceMeshExtension, err error)
Get takes name of the serviceMeshExtension, and returns the corresponding serviceMeshExtension object, and an error if there is any.
func (*FakeServiceMeshExtensions) List ¶
func (c *FakeServiceMeshExtensions) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ServiceMeshExtensionList, err error)
List takes label and field selectors, and returns the list of ServiceMeshExtensions that match those selectors.
func (*FakeServiceMeshExtensions) Patch ¶
func (c *FakeServiceMeshExtensions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ServiceMeshExtension, err error)
Patch applies the patch and returns the patched serviceMeshExtension.
func (*FakeServiceMeshExtensions) Update ¶
func (c *FakeServiceMeshExtensions) Update(ctx context.Context, serviceMeshExtension *v1.ServiceMeshExtension, opts metav1.UpdateOptions) (result *v1.ServiceMeshExtension, err error)
Update takes the representation of a serviceMeshExtension and updates it. Returns the server's representation of the serviceMeshExtension, and an error, if there is any.
func (*FakeServiceMeshExtensions) UpdateStatus ¶
func (c *FakeServiceMeshExtensions) UpdateStatus(ctx context.Context, serviceMeshExtension *v1.ServiceMeshExtension, opts metav1.UpdateOptions) (*v1.ServiceMeshExtension, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServiceMeshExtensions) Watch ¶
func (c *FakeServiceMeshExtensions) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceMeshExtensions.
type FakeServiceMeshMemberRolls ¶
type FakeServiceMeshMemberRolls struct { Fake *FakeCoreV1 // contains filtered or unexported fields }
FakeServiceMeshMemberRolls implements ServiceMeshMemberRollInterface
func (*FakeServiceMeshMemberRolls) Create ¶
func (c *FakeServiceMeshMemberRolls) Create(ctx context.Context, serviceMeshMemberRoll *v1.ServiceMeshMemberRoll, opts metav1.CreateOptions) (result *v1.ServiceMeshMemberRoll, err error)
Create takes the representation of a serviceMeshMemberRoll and creates it. Returns the server's representation of the serviceMeshMemberRoll, and an error, if there is any.
func (*FakeServiceMeshMemberRolls) Delete ¶
func (c *FakeServiceMeshMemberRolls) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the serviceMeshMemberRoll and deletes it. Returns an error if one occurs.
func (*FakeServiceMeshMemberRolls) DeleteCollection ¶
func (c *FakeServiceMeshMemberRolls) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceMeshMemberRolls) Get ¶
func (c *FakeServiceMeshMemberRolls) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ServiceMeshMemberRoll, err error)
Get takes name of the serviceMeshMemberRoll, and returns the corresponding serviceMeshMemberRoll object, and an error if there is any.
func (*FakeServiceMeshMemberRolls) List ¶
func (c *FakeServiceMeshMemberRolls) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ServiceMeshMemberRollList, err error)
List takes label and field selectors, and returns the list of ServiceMeshMemberRolls that match those selectors.
func (*FakeServiceMeshMemberRolls) Patch ¶
func (c *FakeServiceMeshMemberRolls) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ServiceMeshMemberRoll, err error)
Patch applies the patch and returns the patched serviceMeshMemberRoll.
func (*FakeServiceMeshMemberRolls) Update ¶
func (c *FakeServiceMeshMemberRolls) Update(ctx context.Context, serviceMeshMemberRoll *v1.ServiceMeshMemberRoll, opts metav1.UpdateOptions) (result *v1.ServiceMeshMemberRoll, err error)
Update takes the representation of a serviceMeshMemberRoll and updates it. Returns the server's representation of the serviceMeshMemberRoll, and an error, if there is any.
func (*FakeServiceMeshMemberRolls) UpdateStatus ¶
func (c *FakeServiceMeshMemberRolls) UpdateStatus(ctx context.Context, serviceMeshMemberRoll *v1.ServiceMeshMemberRoll, opts metav1.UpdateOptions) (*v1.ServiceMeshMemberRoll, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServiceMeshMemberRolls) Watch ¶
func (c *FakeServiceMeshMemberRolls) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceMeshMemberRolls.
type FakeServiceMeshMembers ¶
type FakeServiceMeshMembers struct { Fake *FakeCoreV1 // contains filtered or unexported fields }
FakeServiceMeshMembers implements ServiceMeshMemberInterface
func (*FakeServiceMeshMembers) Create ¶
func (c *FakeServiceMeshMembers) Create(ctx context.Context, serviceMeshMember *v1.ServiceMeshMember, opts metav1.CreateOptions) (result *v1.ServiceMeshMember, err error)
Create takes the representation of a serviceMeshMember and creates it. Returns the server's representation of the serviceMeshMember, and an error, if there is any.
func (*FakeServiceMeshMembers) Delete ¶
func (c *FakeServiceMeshMembers) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the serviceMeshMember and deletes it. Returns an error if one occurs.
func (*FakeServiceMeshMembers) DeleteCollection ¶
func (c *FakeServiceMeshMembers) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceMeshMembers) Get ¶
func (c *FakeServiceMeshMembers) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ServiceMeshMember, err error)
Get takes name of the serviceMeshMember, and returns the corresponding serviceMeshMember object, and an error if there is any.
func (*FakeServiceMeshMembers) List ¶
func (c *FakeServiceMeshMembers) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ServiceMeshMemberList, err error)
List takes label and field selectors, and returns the list of ServiceMeshMembers that match those selectors.
func (*FakeServiceMeshMembers) Patch ¶
func (c *FakeServiceMeshMembers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ServiceMeshMember, err error)
Patch applies the patch and returns the patched serviceMeshMember.
func (*FakeServiceMeshMembers) Update ¶
func (c *FakeServiceMeshMembers) Update(ctx context.Context, serviceMeshMember *v1.ServiceMeshMember, opts metav1.UpdateOptions) (result *v1.ServiceMeshMember, err error)
Update takes the representation of a serviceMeshMember and updates it. Returns the server's representation of the serviceMeshMember, and an error, if there is any.
func (*FakeServiceMeshMembers) UpdateStatus ¶
func (c *FakeServiceMeshMembers) UpdateStatus(ctx context.Context, serviceMeshMember *v1.ServiceMeshMember, opts metav1.UpdateOptions) (*v1.ServiceMeshMember, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServiceMeshMembers) Watch ¶
func (c *FakeServiceMeshMembers) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceMeshMembers.