Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterClaims
- func (c *FakeClusterClaims) Create(ctx context.Context, clusterClaim *v1alpha1.ClusterClaim, ...) (result *v1alpha1.ClusterClaim, err error)
- func (c *FakeClusterClaims) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterClaims) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterClaims) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterClaim, err error)
- func (c *FakeClusterClaims) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterClaimList, err error)
- func (c *FakeClusterClaims) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterClaim, err error)
- func (c *FakeClusterClaims) Update(ctx context.Context, clusterClaim *v1alpha1.ClusterClaim, ...) (result *v1alpha1.ClusterClaim, err error)
- func (c *FakeClusterClaims) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterSets
- func (c *FakeClusterSets) Create(ctx context.Context, clusterSet *v1alpha1.ClusterSet, opts v1.CreateOptions) (result *v1alpha1.ClusterSet, err error)
- func (c *FakeClusterSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterSet, err error)
- func (c *FakeClusterSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterSetList, err error)
- func (c *FakeClusterSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterSet, err error)
- func (c *FakeClusterSets) Update(ctx context.Context, clusterSet *v1alpha1.ClusterSet, opts v1.UpdateOptions) (result *v1alpha1.ClusterSet, err error)
- func (c *FakeClusterSets) UpdateStatus(ctx context.Context, clusterSet *v1alpha1.ClusterSet, opts v1.UpdateOptions) (*v1alpha1.ClusterSet, error)
- func (c *FakeClusterSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMemberClusterAnnounces
- func (c *FakeMemberClusterAnnounces) Create(ctx context.Context, memberClusterAnnounce *v1alpha1.MemberClusterAnnounce, ...) (result *v1alpha1.MemberClusterAnnounce, err error)
- func (c *FakeMemberClusterAnnounces) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMemberClusterAnnounces) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMemberClusterAnnounces) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MemberClusterAnnounce, err error)
- func (c *FakeMemberClusterAnnounces) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MemberClusterAnnounceList, err error)
- func (c *FakeMemberClusterAnnounces) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MemberClusterAnnounce, err error)
- func (c *FakeMemberClusterAnnounces) Update(ctx context.Context, memberClusterAnnounce *v1alpha1.MemberClusterAnnounce, ...) (result *v1alpha1.MemberClusterAnnounce, err error)
- func (c *FakeMemberClusterAnnounces) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMulticlusterV1alpha1
- func (c *FakeMulticlusterV1alpha1) ClusterClaims(namespace string) v1alpha1.ClusterClaimInterface
- func (c *FakeMulticlusterV1alpha1) ClusterSets(namespace string) v1alpha1.ClusterSetInterface
- func (c *FakeMulticlusterV1alpha1) MemberClusterAnnounces(namespace string) v1alpha1.MemberClusterAnnounceInterface
- func (c *FakeMulticlusterV1alpha1) RESTClient() rest.Interface
- func (c *FakeMulticlusterV1alpha1) ResourceExportFilters(namespace string) v1alpha1.ResourceExportFilterInterface
- func (c *FakeMulticlusterV1alpha1) ResourceExports(namespace string) v1alpha1.ResourceExportInterface
- func (c *FakeMulticlusterV1alpha1) ResourceImportFilters(namespace string) v1alpha1.ResourceImportFilterInterface
- func (c *FakeMulticlusterV1alpha1) ResourceImports(namespace string) v1alpha1.ResourceImportInterface
- type FakeResourceExportFilters
- func (c *FakeResourceExportFilters) Create(ctx context.Context, resourceExportFilter *v1alpha1.ResourceExportFilter, ...) (result *v1alpha1.ResourceExportFilter, err error)
- func (c *FakeResourceExportFilters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeResourceExportFilters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeResourceExportFilters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceExportFilter, err error)
- func (c *FakeResourceExportFilters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceExportFilterList, err error)
- func (c *FakeResourceExportFilters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ResourceExportFilter, err error)
- func (c *FakeResourceExportFilters) Update(ctx context.Context, resourceExportFilter *v1alpha1.ResourceExportFilter, ...) (result *v1alpha1.ResourceExportFilter, err error)
- func (c *FakeResourceExportFilters) UpdateStatus(ctx context.Context, resourceExportFilter *v1alpha1.ResourceExportFilter, ...) (*v1alpha1.ResourceExportFilter, error)
- func (c *FakeResourceExportFilters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeResourceExports
- func (c *FakeResourceExports) Create(ctx context.Context, resourceExport *v1alpha1.ResourceExport, ...) (result *v1alpha1.ResourceExport, err error)
- func (c *FakeResourceExports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeResourceExports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeResourceExports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceExport, err error)
- func (c *FakeResourceExports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceExportList, err error)
- func (c *FakeResourceExports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ResourceExport, err error)
- func (c *FakeResourceExports) Update(ctx context.Context, resourceExport *v1alpha1.ResourceExport, ...) (result *v1alpha1.ResourceExport, err error)
- func (c *FakeResourceExports) UpdateStatus(ctx context.Context, resourceExport *v1alpha1.ResourceExport, ...) (*v1alpha1.ResourceExport, error)
- func (c *FakeResourceExports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeResourceImportFilters
- func (c *FakeResourceImportFilters) Create(ctx context.Context, resourceImportFilter *v1alpha1.ResourceImportFilter, ...) (result *v1alpha1.ResourceImportFilter, err error)
- func (c *FakeResourceImportFilters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeResourceImportFilters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeResourceImportFilters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceImportFilter, err error)
- func (c *FakeResourceImportFilters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceImportFilterList, err error)
- func (c *FakeResourceImportFilters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ResourceImportFilter, err error)
- func (c *FakeResourceImportFilters) Update(ctx context.Context, resourceImportFilter *v1alpha1.ResourceImportFilter, ...) (result *v1alpha1.ResourceImportFilter, err error)
- func (c *FakeResourceImportFilters) UpdateStatus(ctx context.Context, resourceImportFilter *v1alpha1.ResourceImportFilter, ...) (*v1alpha1.ResourceImportFilter, error)
- func (c *FakeResourceImportFilters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeResourceImports
- func (c *FakeResourceImports) Create(ctx context.Context, resourceImport *v1alpha1.ResourceImport, ...) (result *v1alpha1.ResourceImport, err error)
- func (c *FakeResourceImports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeResourceImports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeResourceImports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceImport, err error)
- func (c *FakeResourceImports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceImportList, err error)
- func (c *FakeResourceImports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ResourceImport, err error)
- func (c *FakeResourceImports) Update(ctx context.Context, resourceImport *v1alpha1.ResourceImport, ...) (result *v1alpha1.ResourceImport, err error)
- func (c *FakeResourceImports) UpdateStatus(ctx context.Context, resourceImport *v1alpha1.ResourceImport, ...) (*v1alpha1.ResourceImport, error)
- func (c *FakeResourceImports) 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 FakeClusterClaims ¶
type FakeClusterClaims struct { Fake *FakeMulticlusterV1alpha1 // contains filtered or unexported fields }
FakeClusterClaims implements ClusterClaimInterface
func (*FakeClusterClaims) Create ¶
func (c *FakeClusterClaims) Create(ctx context.Context, clusterClaim *v1alpha1.ClusterClaim, opts v1.CreateOptions) (result *v1alpha1.ClusterClaim, err error)
Create takes the representation of a clusterClaim and creates it. Returns the server's representation of the clusterClaim, and an error, if there is any.
func (*FakeClusterClaims) Delete ¶
func (c *FakeClusterClaims) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterClaim and deletes it. Returns an error if one occurs.
func (*FakeClusterClaims) DeleteCollection ¶
func (c *FakeClusterClaims) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterClaims) Get ¶
func (c *FakeClusterClaims) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterClaim, err error)
Get takes name of the clusterClaim, and returns the corresponding clusterClaim object, and an error if there is any.
func (*FakeClusterClaims) List ¶
func (c *FakeClusterClaims) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterClaimList, err error)
List takes label and field selectors, and returns the list of ClusterClaims that match those selectors.
func (*FakeClusterClaims) Patch ¶
func (c *FakeClusterClaims) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterClaim, err error)
Patch applies the patch and returns the patched clusterClaim.
func (*FakeClusterClaims) Update ¶
func (c *FakeClusterClaims) Update(ctx context.Context, clusterClaim *v1alpha1.ClusterClaim, opts v1.UpdateOptions) (result *v1alpha1.ClusterClaim, err error)
Update takes the representation of a clusterClaim and updates it. Returns the server's representation of the clusterClaim, and an error, if there is any.
func (*FakeClusterClaims) Watch ¶
func (c *FakeClusterClaims) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterClaims.
type FakeClusterSets ¶
type FakeClusterSets struct { Fake *FakeMulticlusterV1alpha1 // contains filtered or unexported fields }
FakeClusterSets implements ClusterSetInterface
func (*FakeClusterSets) Create ¶
func (c *FakeClusterSets) Create(ctx context.Context, clusterSet *v1alpha1.ClusterSet, opts v1.CreateOptions) (result *v1alpha1.ClusterSet, err error)
Create takes the representation of a clusterSet and creates it. Returns the server's representation of the clusterSet, and an error, if there is any.
func (*FakeClusterSets) Delete ¶
func (c *FakeClusterSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterSet and deletes it. Returns an error if one occurs.
func (*FakeClusterSets) DeleteCollection ¶
func (c *FakeClusterSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterSets) Get ¶
func (c *FakeClusterSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterSet, err error)
Get takes name of the clusterSet, and returns the corresponding clusterSet object, and an error if there is any.
func (*FakeClusterSets) List ¶
func (c *FakeClusterSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterSetList, err error)
List takes label and field selectors, and returns the list of ClusterSets that match those selectors.
func (*FakeClusterSets) Patch ¶
func (c *FakeClusterSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterSet, err error)
Patch applies the patch and returns the patched clusterSet.
func (*FakeClusterSets) Update ¶
func (c *FakeClusterSets) Update(ctx context.Context, clusterSet *v1alpha1.ClusterSet, opts v1.UpdateOptions) (result *v1alpha1.ClusterSet, err error)
Update takes the representation of a clusterSet and updates it. Returns the server's representation of the clusterSet, and an error, if there is any.
func (*FakeClusterSets) UpdateStatus ¶
func (c *FakeClusterSets) UpdateStatus(ctx context.Context, clusterSet *v1alpha1.ClusterSet, opts v1.UpdateOptions) (*v1alpha1.ClusterSet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterSets) Watch ¶
func (c *FakeClusterSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterSets.
type FakeMemberClusterAnnounces ¶
type FakeMemberClusterAnnounces struct { Fake *FakeMulticlusterV1alpha1 // contains filtered or unexported fields }
FakeMemberClusterAnnounces implements MemberClusterAnnounceInterface
func (*FakeMemberClusterAnnounces) Create ¶
func (c *FakeMemberClusterAnnounces) Create(ctx context.Context, memberClusterAnnounce *v1alpha1.MemberClusterAnnounce, opts v1.CreateOptions) (result *v1alpha1.MemberClusterAnnounce, err error)
Create takes the representation of a memberClusterAnnounce and creates it. Returns the server's representation of the memberClusterAnnounce, and an error, if there is any.
func (*FakeMemberClusterAnnounces) Delete ¶
func (c *FakeMemberClusterAnnounces) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the memberClusterAnnounce and deletes it. Returns an error if one occurs.
func (*FakeMemberClusterAnnounces) DeleteCollection ¶
func (c *FakeMemberClusterAnnounces) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMemberClusterAnnounces) Get ¶
func (c *FakeMemberClusterAnnounces) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MemberClusterAnnounce, err error)
Get takes name of the memberClusterAnnounce, and returns the corresponding memberClusterAnnounce object, and an error if there is any.
func (*FakeMemberClusterAnnounces) List ¶
func (c *FakeMemberClusterAnnounces) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MemberClusterAnnounceList, err error)
List takes label and field selectors, and returns the list of MemberClusterAnnounces that match those selectors.
func (*FakeMemberClusterAnnounces) Patch ¶
func (c *FakeMemberClusterAnnounces) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MemberClusterAnnounce, err error)
Patch applies the patch and returns the patched memberClusterAnnounce.
func (*FakeMemberClusterAnnounces) Update ¶
func (c *FakeMemberClusterAnnounces) Update(ctx context.Context, memberClusterAnnounce *v1alpha1.MemberClusterAnnounce, opts v1.UpdateOptions) (result *v1alpha1.MemberClusterAnnounce, err error)
Update takes the representation of a memberClusterAnnounce and updates it. Returns the server's representation of the memberClusterAnnounce, and an error, if there is any.
func (*FakeMemberClusterAnnounces) Watch ¶
func (c *FakeMemberClusterAnnounces) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested memberClusterAnnounces.
type FakeMulticlusterV1alpha1 ¶
func (*FakeMulticlusterV1alpha1) ClusterClaims ¶
func (c *FakeMulticlusterV1alpha1) ClusterClaims(namespace string) v1alpha1.ClusterClaimInterface
func (*FakeMulticlusterV1alpha1) ClusterSets ¶
func (c *FakeMulticlusterV1alpha1) ClusterSets(namespace string) v1alpha1.ClusterSetInterface
func (*FakeMulticlusterV1alpha1) MemberClusterAnnounces ¶
func (c *FakeMulticlusterV1alpha1) MemberClusterAnnounces(namespace string) v1alpha1.MemberClusterAnnounceInterface
func (*FakeMulticlusterV1alpha1) RESTClient ¶
func (c *FakeMulticlusterV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeMulticlusterV1alpha1) ResourceExportFilters ¶
func (c *FakeMulticlusterV1alpha1) ResourceExportFilters(namespace string) v1alpha1.ResourceExportFilterInterface
func (*FakeMulticlusterV1alpha1) ResourceExports ¶
func (c *FakeMulticlusterV1alpha1) ResourceExports(namespace string) v1alpha1.ResourceExportInterface
func (*FakeMulticlusterV1alpha1) ResourceImportFilters ¶
func (c *FakeMulticlusterV1alpha1) ResourceImportFilters(namespace string) v1alpha1.ResourceImportFilterInterface
func (*FakeMulticlusterV1alpha1) ResourceImports ¶
func (c *FakeMulticlusterV1alpha1) ResourceImports(namespace string) v1alpha1.ResourceImportInterface
type FakeResourceExportFilters ¶
type FakeResourceExportFilters struct { Fake *FakeMulticlusterV1alpha1 // contains filtered or unexported fields }
FakeResourceExportFilters implements ResourceExportFilterInterface
func (*FakeResourceExportFilters) Create ¶
func (c *FakeResourceExportFilters) Create(ctx context.Context, resourceExportFilter *v1alpha1.ResourceExportFilter, opts v1.CreateOptions) (result *v1alpha1.ResourceExportFilter, err error)
Create takes the representation of a resourceExportFilter and creates it. Returns the server's representation of the resourceExportFilter, and an error, if there is any.
func (*FakeResourceExportFilters) Delete ¶
func (c *FakeResourceExportFilters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the resourceExportFilter and deletes it. Returns an error if one occurs.
func (*FakeResourceExportFilters) DeleteCollection ¶
func (c *FakeResourceExportFilters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResourceExportFilters) Get ¶
func (c *FakeResourceExportFilters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceExportFilter, err error)
Get takes name of the resourceExportFilter, and returns the corresponding resourceExportFilter object, and an error if there is any.
func (*FakeResourceExportFilters) List ¶
func (c *FakeResourceExportFilters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceExportFilterList, err error)
List takes label and field selectors, and returns the list of ResourceExportFilters that match those selectors.
func (*FakeResourceExportFilters) Patch ¶
func (c *FakeResourceExportFilters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ResourceExportFilter, err error)
Patch applies the patch and returns the patched resourceExportFilter.
func (*FakeResourceExportFilters) Update ¶
func (c *FakeResourceExportFilters) Update(ctx context.Context, resourceExportFilter *v1alpha1.ResourceExportFilter, opts v1.UpdateOptions) (result *v1alpha1.ResourceExportFilter, err error)
Update takes the representation of a resourceExportFilter and updates it. Returns the server's representation of the resourceExportFilter, and an error, if there is any.
func (*FakeResourceExportFilters) UpdateStatus ¶
func (c *FakeResourceExportFilters) UpdateStatus(ctx context.Context, resourceExportFilter *v1alpha1.ResourceExportFilter, opts v1.UpdateOptions) (*v1alpha1.ResourceExportFilter, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeResourceExportFilters) Watch ¶
func (c *FakeResourceExportFilters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested resourceExportFilters.
type FakeResourceExports ¶
type FakeResourceExports struct { Fake *FakeMulticlusterV1alpha1 // contains filtered or unexported fields }
FakeResourceExports implements ResourceExportInterface
func (*FakeResourceExports) Create ¶
func (c *FakeResourceExports) Create(ctx context.Context, resourceExport *v1alpha1.ResourceExport, opts v1.CreateOptions) (result *v1alpha1.ResourceExport, err error)
Create takes the representation of a resourceExport and creates it. Returns the server's representation of the resourceExport, and an error, if there is any.
func (*FakeResourceExports) Delete ¶
func (c *FakeResourceExports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the resourceExport and deletes it. Returns an error if one occurs.
func (*FakeResourceExports) DeleteCollection ¶
func (c *FakeResourceExports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResourceExports) Get ¶
func (c *FakeResourceExports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceExport, err error)
Get takes name of the resourceExport, and returns the corresponding resourceExport object, and an error if there is any.
func (*FakeResourceExports) List ¶
func (c *FakeResourceExports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceExportList, err error)
List takes label and field selectors, and returns the list of ResourceExports that match those selectors.
func (*FakeResourceExports) Patch ¶
func (c *FakeResourceExports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ResourceExport, err error)
Patch applies the patch and returns the patched resourceExport.
func (*FakeResourceExports) Update ¶
func (c *FakeResourceExports) Update(ctx context.Context, resourceExport *v1alpha1.ResourceExport, opts v1.UpdateOptions) (result *v1alpha1.ResourceExport, err error)
Update takes the representation of a resourceExport and updates it. Returns the server's representation of the resourceExport, and an error, if there is any.
func (*FakeResourceExports) UpdateStatus ¶
func (c *FakeResourceExports) UpdateStatus(ctx context.Context, resourceExport *v1alpha1.ResourceExport, opts v1.UpdateOptions) (*v1alpha1.ResourceExport, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeResourceExports) Watch ¶
func (c *FakeResourceExports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested resourceExports.
type FakeResourceImportFilters ¶
type FakeResourceImportFilters struct { Fake *FakeMulticlusterV1alpha1 // contains filtered or unexported fields }
FakeResourceImportFilters implements ResourceImportFilterInterface
func (*FakeResourceImportFilters) Create ¶
func (c *FakeResourceImportFilters) Create(ctx context.Context, resourceImportFilter *v1alpha1.ResourceImportFilter, opts v1.CreateOptions) (result *v1alpha1.ResourceImportFilter, err error)
Create takes the representation of a resourceImportFilter and creates it. Returns the server's representation of the resourceImportFilter, and an error, if there is any.
func (*FakeResourceImportFilters) Delete ¶
func (c *FakeResourceImportFilters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the resourceImportFilter and deletes it. Returns an error if one occurs.
func (*FakeResourceImportFilters) DeleteCollection ¶
func (c *FakeResourceImportFilters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResourceImportFilters) Get ¶
func (c *FakeResourceImportFilters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceImportFilter, err error)
Get takes name of the resourceImportFilter, and returns the corresponding resourceImportFilter object, and an error if there is any.
func (*FakeResourceImportFilters) List ¶
func (c *FakeResourceImportFilters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceImportFilterList, err error)
List takes label and field selectors, and returns the list of ResourceImportFilters that match those selectors.
func (*FakeResourceImportFilters) Patch ¶
func (c *FakeResourceImportFilters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ResourceImportFilter, err error)
Patch applies the patch and returns the patched resourceImportFilter.
func (*FakeResourceImportFilters) Update ¶
func (c *FakeResourceImportFilters) Update(ctx context.Context, resourceImportFilter *v1alpha1.ResourceImportFilter, opts v1.UpdateOptions) (result *v1alpha1.ResourceImportFilter, err error)
Update takes the representation of a resourceImportFilter and updates it. Returns the server's representation of the resourceImportFilter, and an error, if there is any.
func (*FakeResourceImportFilters) UpdateStatus ¶
func (c *FakeResourceImportFilters) UpdateStatus(ctx context.Context, resourceImportFilter *v1alpha1.ResourceImportFilter, opts v1.UpdateOptions) (*v1alpha1.ResourceImportFilter, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeResourceImportFilters) Watch ¶
func (c *FakeResourceImportFilters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested resourceImportFilters.
type FakeResourceImports ¶
type FakeResourceImports struct { Fake *FakeMulticlusterV1alpha1 // contains filtered or unexported fields }
FakeResourceImports implements ResourceImportInterface
func (*FakeResourceImports) Create ¶
func (c *FakeResourceImports) Create(ctx context.Context, resourceImport *v1alpha1.ResourceImport, opts v1.CreateOptions) (result *v1alpha1.ResourceImport, err error)
Create takes the representation of a resourceImport and creates it. Returns the server's representation of the resourceImport, and an error, if there is any.
func (*FakeResourceImports) Delete ¶
func (c *FakeResourceImports) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the resourceImport and deletes it. Returns an error if one occurs.
func (*FakeResourceImports) DeleteCollection ¶
func (c *FakeResourceImports) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResourceImports) Get ¶
func (c *FakeResourceImports) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceImport, err error)
Get takes name of the resourceImport, and returns the corresponding resourceImport object, and an error if there is any.
func (*FakeResourceImports) List ¶
func (c *FakeResourceImports) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceImportList, err error)
List takes label and field selectors, and returns the list of ResourceImports that match those selectors.
func (*FakeResourceImports) Patch ¶
func (c *FakeResourceImports) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ResourceImport, err error)
Patch applies the patch and returns the patched resourceImport.
func (*FakeResourceImports) Update ¶
func (c *FakeResourceImports) Update(ctx context.Context, resourceImport *v1alpha1.ResourceImport, opts v1.UpdateOptions) (result *v1alpha1.ResourceImport, err error)
Update takes the representation of a resourceImport and updates it. Returns the server's representation of the resourceImport, and an error, if there is any.
func (*FakeResourceImports) UpdateStatus ¶
func (c *FakeResourceImports) UpdateStatus(ctx context.Context, resourceImport *v1alpha1.ResourceImport, opts v1.UpdateOptions) (*v1alpha1.ResourceImport, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeResourceImports) Watch ¶
func (c *FakeResourceImports) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested resourceImports.