Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCCEEndpoints
- func (c *FakeCCEEndpoints) Create(ctx context.Context, cCEEndpoint *v2.CCEEndpoint, opts v1.CreateOptions) (result *v2.CCEEndpoint, err error)
- func (c *FakeCCEEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCCEEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCCEEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.CCEEndpoint, err error)
- func (c *FakeCCEEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v2.CCEEndpointList, err error)
- func (c *FakeCCEEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v2.CCEEndpoint, err error)
- func (c *FakeCCEEndpoints) Update(ctx context.Context, cCEEndpoint *v2.CCEEndpoint, opts v1.UpdateOptions) (result *v2.CCEEndpoint, err error)
- func (c *FakeCCEEndpoints) UpdateStatus(ctx context.Context, cCEEndpoint *v2.CCEEndpoint, opts v1.UpdateOptions) (*v2.CCEEndpoint, error)
- func (c *FakeCCEEndpoints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCCEV2
- type FakeCceV2
- func (c *FakeCceV2) CCEEndpoints(namespace string) v2.CCEEndpointInterface
- func (c *FakeCceV2) ENIs() v2.ENIInterface
- func (c *FakeCceV2) NetResourceSets() v2.NetResourceSetInterface
- func (c *FakeCceV2) PodSubnetTopologySpreads(namespace string) v2.PodSubnetTopologySpreadInterface
- func (c *FakeCceV2) RESTClient() rest.Interface
- type FakeENIs
- func (c *FakeENIs) Create(ctx context.Context, eNI *v2.ENI, opts v1.CreateOptions) (result *v2.ENI, err error)
- func (c *FakeENIs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeENIs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeENIs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.ENI, err error)
- func (c *FakeENIs) List(ctx context.Context, opts v1.ListOptions) (result *v2.ENIList, err error)
- func (c *FakeENIs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v2.ENI, err error)
- func (c *FakeENIs) Update(ctx context.Context, eNI *v2.ENI, opts v1.UpdateOptions) (result *v2.ENI, err error)
- func (c *FakeENIs) UpdateStatus(ctx context.Context, eNI *v2.ENI, opts v1.UpdateOptions) (*v2.ENI, error)
- func (c *FakeENIs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNetResourceSets
- func (c *FakeNetResourceSets) Create(ctx context.Context, netResourceSet *v2.NetResourceSet, opts v1.CreateOptions) (result *v2.NetResourceSet, err error)
- func (c *FakeNetResourceSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNetResourceSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNetResourceSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.NetResourceSet, err error)
- func (c *FakeNetResourceSets) List(ctx context.Context, opts v1.ListOptions) (result *v2.NetResourceSetList, err error)
- func (c *FakeNetResourceSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v2.NetResourceSet, err error)
- func (c *FakeNetResourceSets) Update(ctx context.Context, netResourceSet *v2.NetResourceSet, opts v1.UpdateOptions) (result *v2.NetResourceSet, err error)
- func (c *FakeNetResourceSets) UpdateStatus(ctx context.Context, netResourceSet *v2.NetResourceSet, opts v1.UpdateOptions) (*v2.NetResourceSet, error)
- func (c *FakeNetResourceSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePodSubnetTopologySpreads
- func (c *FakePodSubnetTopologySpreads) Create(ctx context.Context, podSubnetTopologySpread *v2.PodSubnetTopologySpread, ...) (result *v2.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 *v2.PodSubnetTopologySpread, err error)
- func (c *FakePodSubnetTopologySpreads) List(ctx context.Context, opts v1.ListOptions) (result *v2.PodSubnetTopologySpreadList, err error)
- func (c *FakePodSubnetTopologySpreads) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v2.PodSubnetTopologySpread, err error)
- func (c *FakePodSubnetTopologySpreads) Update(ctx context.Context, podSubnetTopologySpread *v2.PodSubnetTopologySpread, ...) (result *v2.PodSubnetTopologySpread, err error)
- func (c *FakePodSubnetTopologySpreads) UpdateStatus(ctx context.Context, podSubnetTopologySpread *v2.PodSubnetTopologySpread, ...) (*v2.PodSubnetTopologySpread, error)
- func (c *FakePodSubnetTopologySpreads) 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 FakeCCEEndpoints ¶
type FakeCCEEndpoints struct { Fake *FakeCceV2 // contains filtered or unexported fields }
FakeCCEEndpoints implements CCEEndpointInterface
func (*FakeCCEEndpoints) Create ¶
func (c *FakeCCEEndpoints) Create(ctx context.Context, cCEEndpoint *v2.CCEEndpoint, opts v1.CreateOptions) (result *v2.CCEEndpoint, err error)
Create takes the representation of a cCEEndpoint and creates it. Returns the server's representation of the cCEEndpoint, and an error, if there is any.
func (*FakeCCEEndpoints) Delete ¶
func (c *FakeCCEEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the cCEEndpoint and deletes it. Returns an error if one occurs.
func (*FakeCCEEndpoints) DeleteCollection ¶
func (c *FakeCCEEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCCEEndpoints) Get ¶
func (c *FakeCCEEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.CCEEndpoint, err error)
Get takes name of the cCEEndpoint, and returns the corresponding cCEEndpoint object, and an error if there is any.
func (*FakeCCEEndpoints) List ¶
func (c *FakeCCEEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v2.CCEEndpointList, err error)
List takes label and field selectors, and returns the list of CCEEndpoints that match those selectors.
func (*FakeCCEEndpoints) Patch ¶
func (c *FakeCCEEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2.CCEEndpoint, err error)
Patch applies the patch and returns the patched cCEEndpoint.
func (*FakeCCEEndpoints) Update ¶
func (c *FakeCCEEndpoints) Update(ctx context.Context, cCEEndpoint *v2.CCEEndpoint, opts v1.UpdateOptions) (result *v2.CCEEndpoint, err error)
Update takes the representation of a cCEEndpoint and updates it. Returns the server's representation of the cCEEndpoint, and an error, if there is any.
func (*FakeCCEEndpoints) UpdateStatus ¶
func (c *FakeCCEEndpoints) UpdateStatus(ctx context.Context, cCEEndpoint *v2.CCEEndpoint, opts v1.UpdateOptions) (*v2.CCEEndpoint, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCCEEndpoints) Watch ¶
func (c *FakeCCEEndpoints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cCEEndpoints.
type FakeCCEV2 ¶
func (*FakeCCEV2) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeCceV2 ¶
func (*FakeCceV2) CCEEndpoints ¶
func (c *FakeCceV2) CCEEndpoints(namespace string) v2.CCEEndpointInterface
func (*FakeCceV2) ENIs ¶
func (c *FakeCceV2) ENIs() v2.ENIInterface
func (*FakeCceV2) NetResourceSets ¶
func (c *FakeCceV2) NetResourceSets() v2.NetResourceSetInterface
func (*FakeCceV2) PodSubnetTopologySpreads ¶
func (c *FakeCceV2) PodSubnetTopologySpreads(namespace string) v2.PodSubnetTopologySpreadInterface
func (*FakeCceV2) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeENIs ¶
type FakeENIs struct {
Fake *FakeCceV2
}
FakeENIs implements ENIInterface
func (*FakeENIs) Create ¶
func (c *FakeENIs) Create(ctx context.Context, eNI *v2.ENI, opts v1.CreateOptions) (result *v2.ENI, err error)
Create takes the representation of a eNI and creates it. Returns the server's representation of the eNI, and an error, if there is any.
func (*FakeENIs) Delete ¶
Delete takes name of the eNI and deletes it. Returns an error if one occurs.
func (*FakeENIs) DeleteCollection ¶
func (c *FakeENIs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeENIs) Get ¶
func (c *FakeENIs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.ENI, err error)
Get takes name of the eNI, and returns the corresponding eNI object, and an error if there is any.
func (*FakeENIs) List ¶
List takes label and field selectors, and returns the list of ENIs that match those selectors.
func (*FakeENIs) Patch ¶
func (c *FakeENIs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2.ENI, err error)
Patch applies the patch and returns the patched eNI.
func (*FakeENIs) Update ¶
func (c *FakeENIs) Update(ctx context.Context, eNI *v2.ENI, opts v1.UpdateOptions) (result *v2.ENI, err error)
Update takes the representation of a eNI and updates it. Returns the server's representation of the eNI, and an error, if there is any.
type FakeNetResourceSets ¶
type FakeNetResourceSets struct {
Fake *FakeCceV2
}
FakeNetResourceSets implements NetResourceSetInterface
func (*FakeNetResourceSets) Create ¶
func (c *FakeNetResourceSets) Create(ctx context.Context, netResourceSet *v2.NetResourceSet, opts v1.CreateOptions) (result *v2.NetResourceSet, err error)
Create takes the representation of a netResourceSet and creates it. Returns the server's representation of the netResourceSet, and an error, if there is any.
func (*FakeNetResourceSets) Delete ¶
func (c *FakeNetResourceSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the netResourceSet and deletes it. Returns an error if one occurs.
func (*FakeNetResourceSets) DeleteCollection ¶
func (c *FakeNetResourceSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNetResourceSets) Get ¶
func (c *FakeNetResourceSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2.NetResourceSet, err error)
Get takes name of the netResourceSet, and returns the corresponding netResourceSet object, and an error if there is any.
func (*FakeNetResourceSets) List ¶
func (c *FakeNetResourceSets) List(ctx context.Context, opts v1.ListOptions) (result *v2.NetResourceSetList, err error)
List takes label and field selectors, and returns the list of NetResourceSets that match those selectors.
func (*FakeNetResourceSets) Patch ¶
func (c *FakeNetResourceSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2.NetResourceSet, err error)
Patch applies the patch and returns the patched netResourceSet.
func (*FakeNetResourceSets) Update ¶
func (c *FakeNetResourceSets) Update(ctx context.Context, netResourceSet *v2.NetResourceSet, opts v1.UpdateOptions) (result *v2.NetResourceSet, err error)
Update takes the representation of a netResourceSet and updates it. Returns the server's representation of the netResourceSet, and an error, if there is any.
func (*FakeNetResourceSets) UpdateStatus ¶
func (c *FakeNetResourceSets) UpdateStatus(ctx context.Context, netResourceSet *v2.NetResourceSet, opts v1.UpdateOptions) (*v2.NetResourceSet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNetResourceSets) Watch ¶
func (c *FakeNetResourceSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested netResourceSets.
type FakePodSubnetTopologySpreads ¶
type FakePodSubnetTopologySpreads struct { Fake *FakeCceV2 // contains filtered or unexported fields }
FakePodSubnetTopologySpreads implements PodSubnetTopologySpreadInterface
func (*FakePodSubnetTopologySpreads) Create ¶
func (c *FakePodSubnetTopologySpreads) Create(ctx context.Context, podSubnetTopologySpread *v2.PodSubnetTopologySpread, opts v1.CreateOptions) (result *v2.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 *v2.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 *v2.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 *v2.PodSubnetTopologySpread, err error)
Patch applies the patch and returns the patched podSubnetTopologySpread.
func (*FakePodSubnetTopologySpreads) Update ¶
func (c *FakePodSubnetTopologySpreads) Update(ctx context.Context, podSubnetTopologySpread *v2.PodSubnetTopologySpread, opts v1.UpdateOptions) (result *v2.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 *v2.PodSubnetTopologySpread, opts v1.UpdateOptions) (*v2.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.