Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCceV1alpha1
- func (c *FakeCceV1alpha1) CrossVPCEnis() v1alpha1.CrossVPCEniInterface
- func (c *FakeCceV1alpha1) IPPools(namespace string) v1alpha1.IPPoolInterface
- func (c *FakeCceV1alpha1) MultiIPWorkloadEndpoints(namespace string) v1alpha1.MultiIPWorkloadEndpointInterface
- func (c *FakeCceV1alpha1) PodSubnetTopologySpreadTables(namespace string) v1alpha1.PodSubnetTopologySpreadTableInterface
- func (c *FakeCceV1alpha1) PodSubnetTopologySpreads(namespace string) v1alpha1.PodSubnetTopologySpreadInterface
- func (c *FakeCceV1alpha1) RESTClient() rest.Interface
- func (c *FakeCceV1alpha1) Subnets(namespace string) v1alpha1.SubnetInterface
- func (c *FakeCceV1alpha1) WorkloadEndpoints(namespace string) v1alpha1.WorkloadEndpointInterface
- type FakeCrossVPCEnis
- func (c *FakeCrossVPCEnis) Create(ctx context.Context, crossVPCEni *v1alpha1.CrossVPCEni, opts v1.CreateOptions) (result *v1alpha1.CrossVPCEni, err error)
- func (c *FakeCrossVPCEnis) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCrossVPCEnis) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCrossVPCEnis) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CrossVPCEni, err error)
- func (c *FakeCrossVPCEnis) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CrossVPCEniList, err error)
- func (c *FakeCrossVPCEnis) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.CrossVPCEni, err error)
- func (c *FakeCrossVPCEnis) Update(ctx context.Context, crossVPCEni *v1alpha1.CrossVPCEni, opts v1.UpdateOptions) (result *v1alpha1.CrossVPCEni, err error)
- func (c *FakeCrossVPCEnis) UpdateStatus(ctx context.Context, crossVPCEni *v1alpha1.CrossVPCEni, opts v1.UpdateOptions) (*v1alpha1.CrossVPCEni, error)
- func (c *FakeCrossVPCEnis) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIPPools
- func (c *FakeIPPools) Create(ctx context.Context, iPPool *v1alpha1.IPPool, opts v1.CreateOptions) (result *v1alpha1.IPPool, err error)
- func (c *FakeIPPools) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIPPools) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIPPools) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IPPool, err error)
- func (c *FakeIPPools) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IPPoolList, err error)
- func (c *FakeIPPools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.IPPool, err error)
- func (c *FakeIPPools) Update(ctx context.Context, iPPool *v1alpha1.IPPool, opts v1.UpdateOptions) (result *v1alpha1.IPPool, err error)
- func (c *FakeIPPools) UpdateStatus(ctx context.Context, iPPool *v1alpha1.IPPool, opts v1.UpdateOptions) (*v1alpha1.IPPool, error)
- func (c *FakeIPPools) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMultiIPWorkloadEndpoints
- func (c *FakeMultiIPWorkloadEndpoints) Create(ctx context.Context, multiIPWorkloadEndpoint *v1alpha1.MultiIPWorkloadEndpoint, ...) (result *v1alpha1.MultiIPWorkloadEndpoint, err error)
- func (c *FakeMultiIPWorkloadEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMultiIPWorkloadEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMultiIPWorkloadEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MultiIPWorkloadEndpoint, err error)
- func (c *FakeMultiIPWorkloadEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MultiIPWorkloadEndpointList, err error)
- func (c *FakeMultiIPWorkloadEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MultiIPWorkloadEndpoint, err error)
- func (c *FakeMultiIPWorkloadEndpoints) Update(ctx context.Context, multiIPWorkloadEndpoint *v1alpha1.MultiIPWorkloadEndpoint, ...) (result *v1alpha1.MultiIPWorkloadEndpoint, err error)
- func (c *FakeMultiIPWorkloadEndpoints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePodSubnetTopologySpreadTables
- func (c *FakePodSubnetTopologySpreadTables) Create(ctx context.Context, ...) (result *v1alpha1.PodSubnetTopologySpreadTable, err error)
- func (c *FakePodSubnetTopologySpreadTables) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePodSubnetTopologySpreadTables) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePodSubnetTopologySpreadTables) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PodSubnetTopologySpreadTable, err error)
- func (c *FakePodSubnetTopologySpreadTables) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PodSubnetTopologySpreadTableList, err error)
- func (c *FakePodSubnetTopologySpreadTables) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PodSubnetTopologySpreadTable, err error)
- func (c *FakePodSubnetTopologySpreadTables) Update(ctx context.Context, ...) (result *v1alpha1.PodSubnetTopologySpreadTable, err error)
- func (c *FakePodSubnetTopologySpreadTables) UpdateStatus(ctx context.Context, ...) (*v1alpha1.PodSubnetTopologySpreadTable, error)
- func (c *FakePodSubnetTopologySpreadTables) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePodSubnetTopologySpreads
- func (c *FakePodSubnetTopologySpreads) Create(ctx context.Context, podSubnetTopologySpread *v1alpha1.PodSubnetTopologySpread, ...) (result *v1alpha1.PodSubnetTopologySpread, err error)
- func (c *FakePodSubnetTopologySpreads) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePodSubnetTopologySpreads) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePodSubnetTopologySpreads) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PodSubnetTopologySpread, err error)
- func (c *FakePodSubnetTopologySpreads) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PodSubnetTopologySpreadList, err error)
- func (c *FakePodSubnetTopologySpreads) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PodSubnetTopologySpread, err error)
- func (c *FakePodSubnetTopologySpreads) Update(ctx context.Context, podSubnetTopologySpread *v1alpha1.PodSubnetTopologySpread, ...) (result *v1alpha1.PodSubnetTopologySpread, err error)
- func (c *FakePodSubnetTopologySpreads) UpdateStatus(ctx context.Context, podSubnetTopologySpread *v1alpha1.PodSubnetTopologySpread, ...) (*v1alpha1.PodSubnetTopologySpread, error)
- func (c *FakePodSubnetTopologySpreads) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSubnets
- func (c *FakeSubnets) Create(ctx context.Context, subnet *v1alpha1.Subnet, opts v1.CreateOptions) (result *v1alpha1.Subnet, err error)
- func (c *FakeSubnets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSubnets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSubnets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Subnet, err error)
- func (c *FakeSubnets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SubnetList, err error)
- func (c *FakeSubnets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Subnet, err error)
- func (c *FakeSubnets) Update(ctx context.Context, subnet *v1alpha1.Subnet, opts v1.UpdateOptions) (result *v1alpha1.Subnet, err error)
- func (c *FakeSubnets) UpdateStatus(ctx context.Context, subnet *v1alpha1.Subnet, opts v1.UpdateOptions) (*v1alpha1.Subnet, error)
- func (c *FakeSubnets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeWorkloadEndpoints
- func (c *FakeWorkloadEndpoints) Create(ctx context.Context, workloadEndpoint *v1alpha1.WorkloadEndpoint, ...) (result *v1alpha1.WorkloadEndpoint, err error)
- func (c *FakeWorkloadEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeWorkloadEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeWorkloadEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.WorkloadEndpoint, err error)
- func (c *FakeWorkloadEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.WorkloadEndpointList, err error)
- func (c *FakeWorkloadEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.WorkloadEndpoint, err error)
- func (c *FakeWorkloadEndpoints) Update(ctx context.Context, workloadEndpoint *v1alpha1.WorkloadEndpoint, ...) (result *v1alpha1.WorkloadEndpoint, err error)
- func (c *FakeWorkloadEndpoints) 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 FakeCceV1alpha1 ¶
func (*FakeCceV1alpha1) CrossVPCEnis ¶
func (c *FakeCceV1alpha1) CrossVPCEnis() v1alpha1.CrossVPCEniInterface
func (*FakeCceV1alpha1) IPPools ¶
func (c *FakeCceV1alpha1) IPPools(namespace string) v1alpha1.IPPoolInterface
func (*FakeCceV1alpha1) MultiIPWorkloadEndpoints ¶ added in v1.5.4
func (c *FakeCceV1alpha1) MultiIPWorkloadEndpoints(namespace string) v1alpha1.MultiIPWorkloadEndpointInterface
func (*FakeCceV1alpha1) PodSubnetTopologySpreadTables ¶
func (c *FakeCceV1alpha1) PodSubnetTopologySpreadTables(namespace string) v1alpha1.PodSubnetTopologySpreadTableInterface
func (*FakeCceV1alpha1) PodSubnetTopologySpreads ¶
func (c *FakeCceV1alpha1) PodSubnetTopologySpreads(namespace string) v1alpha1.PodSubnetTopologySpreadInterface
func (*FakeCceV1alpha1) RESTClient ¶
func (c *FakeCceV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeCceV1alpha1) Subnets ¶
func (c *FakeCceV1alpha1) Subnets(namespace string) v1alpha1.SubnetInterface
func (*FakeCceV1alpha1) WorkloadEndpoints ¶
func (c *FakeCceV1alpha1) WorkloadEndpoints(namespace string) v1alpha1.WorkloadEndpointInterface
type FakeCrossVPCEnis ¶
type FakeCrossVPCEnis struct {
Fake *FakeCceV1alpha1
}
FakeCrossVPCEnis implements CrossVPCEniInterface
func (*FakeCrossVPCEnis) Create ¶
func (c *FakeCrossVPCEnis) Create(ctx context.Context, crossVPCEni *v1alpha1.CrossVPCEni, opts v1.CreateOptions) (result *v1alpha1.CrossVPCEni, err error)
Create takes the representation of a crossVPCEni and creates it. Returns the server's representation of the crossVPCEni, and an error, if there is any.
func (*FakeCrossVPCEnis) Delete ¶
func (c *FakeCrossVPCEnis) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the crossVPCEni and deletes it. Returns an error if one occurs.
func (*FakeCrossVPCEnis) DeleteCollection ¶
func (c *FakeCrossVPCEnis) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCrossVPCEnis) Get ¶
func (c *FakeCrossVPCEnis) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CrossVPCEni, err error)
Get takes name of the crossVPCEni, and returns the corresponding crossVPCEni object, and an error if there is any.
func (*FakeCrossVPCEnis) List ¶
func (c *FakeCrossVPCEnis) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CrossVPCEniList, err error)
List takes label and field selectors, and returns the list of CrossVPCEnis that match those selectors.
func (*FakeCrossVPCEnis) Patch ¶
func (c *FakeCrossVPCEnis) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CrossVPCEni, err error)
Patch applies the patch and returns the patched crossVPCEni.
func (*FakeCrossVPCEnis) Update ¶
func (c *FakeCrossVPCEnis) Update(ctx context.Context, crossVPCEni *v1alpha1.CrossVPCEni, opts v1.UpdateOptions) (result *v1alpha1.CrossVPCEni, err error)
Update takes the representation of a crossVPCEni and updates it. Returns the server's representation of the crossVPCEni, and an error, if there is any.
func (*FakeCrossVPCEnis) UpdateStatus ¶
func (c *FakeCrossVPCEnis) UpdateStatus(ctx context.Context, crossVPCEni *v1alpha1.CrossVPCEni, opts v1.UpdateOptions) (*v1alpha1.CrossVPCEni, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCrossVPCEnis) Watch ¶
func (c *FakeCrossVPCEnis) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested crossVPCEnis.
type FakeIPPools ¶
type FakeIPPools struct { Fake *FakeCceV1alpha1 // contains filtered or unexported fields }
FakeIPPools implements IPPoolInterface
func (*FakeIPPools) Create ¶
func (c *FakeIPPools) Create(ctx context.Context, iPPool *v1alpha1.IPPool, opts v1.CreateOptions) (result *v1alpha1.IPPool, err error)
Create takes the representation of a iPPool and creates it. Returns the server's representation of the iPPool, and an error, if there is any.
func (*FakeIPPools) Delete ¶
func (c *FakeIPPools) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the iPPool and deletes it. Returns an error if one occurs.
func (*FakeIPPools) DeleteCollection ¶
func (c *FakeIPPools) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIPPools) Get ¶
func (c *FakeIPPools) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IPPool, err error)
Get takes name of the iPPool, and returns the corresponding iPPool object, and an error if there is any.
func (*FakeIPPools) List ¶
func (c *FakeIPPools) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IPPoolList, err error)
List takes label and field selectors, and returns the list of IPPools that match those selectors.
func (*FakeIPPools) Patch ¶
func (c *FakeIPPools) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.IPPool, err error)
Patch applies the patch and returns the patched iPPool.
func (*FakeIPPools) Update ¶
func (c *FakeIPPools) Update(ctx context.Context, iPPool *v1alpha1.IPPool, opts v1.UpdateOptions) (result *v1alpha1.IPPool, err error)
Update takes the representation of a iPPool and updates it. Returns the server's representation of the iPPool, and an error, if there is any.
func (*FakeIPPools) UpdateStatus ¶
func (c *FakeIPPools) UpdateStatus(ctx context.Context, iPPool *v1alpha1.IPPool, opts v1.UpdateOptions) (*v1alpha1.IPPool, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeIPPools) Watch ¶
func (c *FakeIPPools) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested iPPools.
type FakeMultiIPWorkloadEndpoints ¶ added in v1.5.4
type FakeMultiIPWorkloadEndpoints struct { Fake *FakeCceV1alpha1 // contains filtered or unexported fields }
FakeMultiIPWorkloadEndpoints implements MultiIPWorkloadEndpointInterface
func (*FakeMultiIPWorkloadEndpoints) Create ¶ added in v1.5.4
func (c *FakeMultiIPWorkloadEndpoints) Create(ctx context.Context, multiIPWorkloadEndpoint *v1alpha1.MultiIPWorkloadEndpoint, opts v1.CreateOptions) (result *v1alpha1.MultiIPWorkloadEndpoint, err error)
Create takes the representation of a multiIPWorkloadEndpoint and creates it. Returns the server's representation of the multiIPWorkloadEndpoint, and an error, if there is any.
func (*FakeMultiIPWorkloadEndpoints) Delete ¶ added in v1.5.4
func (c *FakeMultiIPWorkloadEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the multiIPWorkloadEndpoint and deletes it. Returns an error if one occurs.
func (*FakeMultiIPWorkloadEndpoints) DeleteCollection ¶ added in v1.5.4
func (c *FakeMultiIPWorkloadEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMultiIPWorkloadEndpoints) Get ¶ added in v1.5.4
func (c *FakeMultiIPWorkloadEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MultiIPWorkloadEndpoint, err error)
Get takes name of the multiIPWorkloadEndpoint, and returns the corresponding multiIPWorkloadEndpoint object, and an error if there is any.
func (*FakeMultiIPWorkloadEndpoints) List ¶ added in v1.5.4
func (c *FakeMultiIPWorkloadEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MultiIPWorkloadEndpointList, err error)
List takes label and field selectors, and returns the list of MultiIPWorkloadEndpoints that match those selectors.
func (*FakeMultiIPWorkloadEndpoints) Patch ¶ added in v1.5.4
func (c *FakeMultiIPWorkloadEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MultiIPWorkloadEndpoint, err error)
Patch applies the patch and returns the patched multiIPWorkloadEndpoint.
func (*FakeMultiIPWorkloadEndpoints) Update ¶ added in v1.5.4
func (c *FakeMultiIPWorkloadEndpoints) Update(ctx context.Context, multiIPWorkloadEndpoint *v1alpha1.MultiIPWorkloadEndpoint, opts v1.UpdateOptions) (result *v1alpha1.MultiIPWorkloadEndpoint, err error)
Update takes the representation of a multiIPWorkloadEndpoint and updates it. Returns the server's representation of the multiIPWorkloadEndpoint, and an error, if there is any.
func (*FakeMultiIPWorkloadEndpoints) Watch ¶ added in v1.5.4
func (c *FakeMultiIPWorkloadEndpoints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested multiIPWorkloadEndpoints.
type FakePodSubnetTopologySpreadTables ¶
type FakePodSubnetTopologySpreadTables struct { Fake *FakeCceV1alpha1 // contains filtered or unexported fields }
FakePodSubnetTopologySpreadTables implements PodSubnetTopologySpreadTableInterface
func (*FakePodSubnetTopologySpreadTables) Create ¶
func (c *FakePodSubnetTopologySpreadTables) Create(ctx context.Context, podSubnetTopologySpreadTable *v1alpha1.PodSubnetTopologySpreadTable, opts v1.CreateOptions) (result *v1alpha1.PodSubnetTopologySpreadTable, err error)
Create takes the representation of a podSubnetTopologySpreadTable and creates it. Returns the server's representation of the podSubnetTopologySpreadTable, and an error, if there is any.
func (*FakePodSubnetTopologySpreadTables) Delete ¶
func (c *FakePodSubnetTopologySpreadTables) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the podSubnetTopologySpreadTable and deletes it. Returns an error if one occurs.
func (*FakePodSubnetTopologySpreadTables) DeleteCollection ¶
func (c *FakePodSubnetTopologySpreadTables) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePodSubnetTopologySpreadTables) Get ¶
func (c *FakePodSubnetTopologySpreadTables) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PodSubnetTopologySpreadTable, err error)
Get takes name of the podSubnetTopologySpreadTable, and returns the corresponding podSubnetTopologySpreadTable object, and an error if there is any.
func (*FakePodSubnetTopologySpreadTables) List ¶
func (c *FakePodSubnetTopologySpreadTables) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PodSubnetTopologySpreadTableList, err error)
List takes label and field selectors, and returns the list of PodSubnetTopologySpreadTables that match those selectors.
func (*FakePodSubnetTopologySpreadTables) Patch ¶
func (c *FakePodSubnetTopologySpreadTables) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PodSubnetTopologySpreadTable, err error)
Patch applies the patch and returns the patched podSubnetTopologySpreadTable.
func (*FakePodSubnetTopologySpreadTables) Update ¶
func (c *FakePodSubnetTopologySpreadTables) Update(ctx context.Context, podSubnetTopologySpreadTable *v1alpha1.PodSubnetTopologySpreadTable, opts v1.UpdateOptions) (result *v1alpha1.PodSubnetTopologySpreadTable, err error)
Update takes the representation of a podSubnetTopologySpreadTable and updates it. Returns the server's representation of the podSubnetTopologySpreadTable, and an error, if there is any.
func (*FakePodSubnetTopologySpreadTables) UpdateStatus ¶
func (c *FakePodSubnetTopologySpreadTables) UpdateStatus(ctx context.Context, podSubnetTopologySpreadTable *v1alpha1.PodSubnetTopologySpreadTable, opts v1.UpdateOptions) (*v1alpha1.PodSubnetTopologySpreadTable, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePodSubnetTopologySpreadTables) Watch ¶
func (c *FakePodSubnetTopologySpreadTables) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested podSubnetTopologySpreadTables.
type FakePodSubnetTopologySpreads ¶
type FakePodSubnetTopologySpreads struct { Fake *FakeCceV1alpha1 // contains filtered or unexported fields }
FakePodSubnetTopologySpreads implements PodSubnetTopologySpreadInterface
func (*FakePodSubnetTopologySpreads) Create ¶
func (c *FakePodSubnetTopologySpreads) Create(ctx context.Context, podSubnetTopologySpread *v1alpha1.PodSubnetTopologySpread, opts v1.CreateOptions) (result *v1alpha1.PodSubnetTopologySpread, err error)
Create takes the representation of a podSubnetTopologySpread and creates it. Returns the server's representation of the podSubnetTopologySpread, and an error, if there is any.
func (*FakePodSubnetTopologySpreads) Delete ¶
func (c *FakePodSubnetTopologySpreads) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the podSubnetTopologySpread and deletes it. Returns an error if one occurs.
func (*FakePodSubnetTopologySpreads) DeleteCollection ¶
func (c *FakePodSubnetTopologySpreads) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePodSubnetTopologySpreads) Get ¶
func (c *FakePodSubnetTopologySpreads) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PodSubnetTopologySpread, err error)
Get takes name of the podSubnetTopologySpread, and returns the corresponding podSubnetTopologySpread object, and an error if there is any.
func (*FakePodSubnetTopologySpreads) List ¶
func (c *FakePodSubnetTopologySpreads) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PodSubnetTopologySpreadList, err error)
List takes label and field selectors, and returns the list of PodSubnetTopologySpreads that match those selectors.
func (*FakePodSubnetTopologySpreads) Patch ¶
func (c *FakePodSubnetTopologySpreads) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PodSubnetTopologySpread, err error)
Patch applies the patch and returns the patched podSubnetTopologySpread.
func (*FakePodSubnetTopologySpreads) Update ¶
func (c *FakePodSubnetTopologySpreads) Update(ctx context.Context, podSubnetTopologySpread *v1alpha1.PodSubnetTopologySpread, opts v1.UpdateOptions) (result *v1alpha1.PodSubnetTopologySpread, err error)
Update takes the representation of a podSubnetTopologySpread and updates it. Returns the server's representation of the podSubnetTopologySpread, and an error, if there is any.
func (*FakePodSubnetTopologySpreads) UpdateStatus ¶
func (c *FakePodSubnetTopologySpreads) UpdateStatus(ctx context.Context, podSubnetTopologySpread *v1alpha1.PodSubnetTopologySpread, opts v1.UpdateOptions) (*v1alpha1.PodSubnetTopologySpread, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePodSubnetTopologySpreads) Watch ¶
func (c *FakePodSubnetTopologySpreads) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested podSubnetTopologySpreads.
type FakeSubnets ¶
type FakeSubnets struct { Fake *FakeCceV1alpha1 // contains filtered or unexported fields }
FakeSubnets implements SubnetInterface
func (*FakeSubnets) Create ¶
func (c *FakeSubnets) Create(ctx context.Context, subnet *v1alpha1.Subnet, opts v1.CreateOptions) (result *v1alpha1.Subnet, err error)
Create takes the representation of a subnet and creates it. Returns the server's representation of the subnet, and an error, if there is any.
func (*FakeSubnets) Delete ¶
func (c *FakeSubnets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the subnet and deletes it. Returns an error if one occurs.
func (*FakeSubnets) DeleteCollection ¶
func (c *FakeSubnets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSubnets) Get ¶
func (c *FakeSubnets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Subnet, err error)
Get takes name of the subnet, and returns the corresponding subnet object, and an error if there is any.
func (*FakeSubnets) List ¶
func (c *FakeSubnets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SubnetList, err error)
List takes label and field selectors, and returns the list of Subnets that match those selectors.
func (*FakeSubnets) Patch ¶
func (c *FakeSubnets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Subnet, err error)
Patch applies the patch and returns the patched subnet.
func (*FakeSubnets) Update ¶
func (c *FakeSubnets) Update(ctx context.Context, subnet *v1alpha1.Subnet, opts v1.UpdateOptions) (result *v1alpha1.Subnet, err error)
Update takes the representation of a subnet and updates it. Returns the server's representation of the subnet, and an error, if there is any.
func (*FakeSubnets) UpdateStatus ¶
func (c *FakeSubnets) UpdateStatus(ctx context.Context, subnet *v1alpha1.Subnet, opts v1.UpdateOptions) (*v1alpha1.Subnet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSubnets) Watch ¶
func (c *FakeSubnets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested subnets.
type FakeWorkloadEndpoints ¶
type FakeWorkloadEndpoints struct { Fake *FakeCceV1alpha1 // contains filtered or unexported fields }
FakeWorkloadEndpoints implements WorkloadEndpointInterface
func (*FakeWorkloadEndpoints) Create ¶
func (c *FakeWorkloadEndpoints) Create(ctx context.Context, workloadEndpoint *v1alpha1.WorkloadEndpoint, opts v1.CreateOptions) (result *v1alpha1.WorkloadEndpoint, err error)
Create takes the representation of a workloadEndpoint and creates it. Returns the server's representation of the workloadEndpoint, and an error, if there is any.
func (*FakeWorkloadEndpoints) Delete ¶
func (c *FakeWorkloadEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the workloadEndpoint and deletes it. Returns an error if one occurs.
func (*FakeWorkloadEndpoints) DeleteCollection ¶
func (c *FakeWorkloadEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeWorkloadEndpoints) Get ¶
func (c *FakeWorkloadEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.WorkloadEndpoint, err error)
Get takes name of the workloadEndpoint, and returns the corresponding workloadEndpoint object, and an error if there is any.
func (*FakeWorkloadEndpoints) List ¶
func (c *FakeWorkloadEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.WorkloadEndpointList, err error)
List takes label and field selectors, and returns the list of WorkloadEndpoints that match those selectors.
func (*FakeWorkloadEndpoints) Patch ¶
func (c *FakeWorkloadEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.WorkloadEndpoint, err error)
Patch applies the patch and returns the patched workloadEndpoint.
func (*FakeWorkloadEndpoints) Update ¶
func (c *FakeWorkloadEndpoints) Update(ctx context.Context, workloadEndpoint *v1alpha1.WorkloadEndpoint, opts v1.UpdateOptions) (result *v1alpha1.WorkloadEndpoint, err error)
Update takes the representation of a workloadEndpoint and updates it. Returns the server's representation of the workloadEndpoint, and an error, if there is any.
func (*FakeWorkloadEndpoints) Watch ¶
func (c *FakeWorkloadEndpoints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested workloadEndpoints.