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