Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterConfigs
- func (c *FakeClusterConfigs) Create(ctx context.Context, clusterConfig *configmanagementv1.ClusterConfig, ...) (result *configmanagementv1.ClusterConfig, err error)
- func (c *FakeClusterConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *configmanagementv1.ClusterConfig, err error)
- func (c *FakeClusterConfigs) List(ctx context.Context, opts v1.ListOptions) (result *configmanagementv1.ClusterConfigList, err error)
- func (c *FakeClusterConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *configmanagementv1.ClusterConfig, err error)
- func (c *FakeClusterConfigs) Update(ctx context.Context, clusterConfig *configmanagementv1.ClusterConfig, ...) (result *configmanagementv1.ClusterConfig, err error)
- func (c *FakeClusterConfigs) UpdateStatus(ctx context.Context, clusterConfig *configmanagementv1.ClusterConfig, ...) (*configmanagementv1.ClusterConfig, error)
- func (c *FakeClusterConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterSelectors
- func (c *FakeClusterSelectors) Create(ctx context.Context, clusterSelector *configmanagementv1.ClusterSelector, ...) (result *configmanagementv1.ClusterSelector, err error)
- func (c *FakeClusterSelectors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterSelectors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterSelectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *configmanagementv1.ClusterSelector, err error)
- func (c *FakeClusterSelectors) List(ctx context.Context, opts v1.ListOptions) (result *configmanagementv1.ClusterSelectorList, err error)
- func (c *FakeClusterSelectors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *configmanagementv1.ClusterSelector, err error)
- func (c *FakeClusterSelectors) Update(ctx context.Context, clusterSelector *configmanagementv1.ClusterSelector, ...) (result *configmanagementv1.ClusterSelector, err error)
- func (c *FakeClusterSelectors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeConfigmanagementV1
- func (c *FakeConfigmanagementV1) ClusterConfigs() v1.ClusterConfigInterface
- func (c *FakeConfigmanagementV1) ClusterSelectors() v1.ClusterSelectorInterface
- func (c *FakeConfigmanagementV1) HierarchyConfigs() v1.HierarchyConfigInterface
- func (c *FakeConfigmanagementV1) NamespaceConfigs() v1.NamespaceConfigInterface
- func (c *FakeConfigmanagementV1) NamespaceSelectors() v1.NamespaceSelectorInterface
- func (c *FakeConfigmanagementV1) RESTClient() rest.Interface
- func (c *FakeConfigmanagementV1) Repos() v1.RepoInterface
- func (c *FakeConfigmanagementV1) Syncs() v1.SyncInterface
- type FakeHierarchyConfigs
- func (c *FakeHierarchyConfigs) Create(ctx context.Context, hierarchyConfig *configmanagementv1.HierarchyConfig, ...) (result *configmanagementv1.HierarchyConfig, err error)
- func (c *FakeHierarchyConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeHierarchyConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeHierarchyConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *configmanagementv1.HierarchyConfig, err error)
- func (c *FakeHierarchyConfigs) List(ctx context.Context, opts v1.ListOptions) (result *configmanagementv1.HierarchyConfigList, err error)
- func (c *FakeHierarchyConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *configmanagementv1.HierarchyConfig, err error)
- func (c *FakeHierarchyConfigs) Update(ctx context.Context, hierarchyConfig *configmanagementv1.HierarchyConfig, ...) (result *configmanagementv1.HierarchyConfig, err error)
- func (c *FakeHierarchyConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNamespaceConfigs
- func (c *FakeNamespaceConfigs) Create(ctx context.Context, namespaceConfig *configmanagementv1.NamespaceConfig, ...) (result *configmanagementv1.NamespaceConfig, err error)
- func (c *FakeNamespaceConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNamespaceConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNamespaceConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *configmanagementv1.NamespaceConfig, err error)
- func (c *FakeNamespaceConfigs) List(ctx context.Context, opts v1.ListOptions) (result *configmanagementv1.NamespaceConfigList, err error)
- func (c *FakeNamespaceConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *configmanagementv1.NamespaceConfig, err error)
- func (c *FakeNamespaceConfigs) Update(ctx context.Context, namespaceConfig *configmanagementv1.NamespaceConfig, ...) (result *configmanagementv1.NamespaceConfig, err error)
- func (c *FakeNamespaceConfigs) UpdateStatus(ctx context.Context, namespaceConfig *configmanagementv1.NamespaceConfig, ...) (*configmanagementv1.NamespaceConfig, error)
- func (c *FakeNamespaceConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNamespaceSelectors
- func (c *FakeNamespaceSelectors) Create(ctx context.Context, namespaceSelector *configmanagementv1.NamespaceSelector, ...) (result *configmanagementv1.NamespaceSelector, err error)
- func (c *FakeNamespaceSelectors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNamespaceSelectors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNamespaceSelectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *configmanagementv1.NamespaceSelector, err error)
- func (c *FakeNamespaceSelectors) List(ctx context.Context, opts v1.ListOptions) (result *configmanagementv1.NamespaceSelectorList, err error)
- func (c *FakeNamespaceSelectors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *configmanagementv1.NamespaceSelector, err error)
- func (c *FakeNamespaceSelectors) Update(ctx context.Context, namespaceSelector *configmanagementv1.NamespaceSelector, ...) (result *configmanagementv1.NamespaceSelector, err error)
- func (c *FakeNamespaceSelectors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRepos
- func (c *FakeRepos) Create(ctx context.Context, repo *configmanagementv1.Repo, opts v1.CreateOptions) (result *configmanagementv1.Repo, err error)
- func (c *FakeRepos) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRepos) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRepos) Get(ctx context.Context, name string, options v1.GetOptions) (result *configmanagementv1.Repo, err error)
- func (c *FakeRepos) List(ctx context.Context, opts v1.ListOptions) (result *configmanagementv1.RepoList, err error)
- func (c *FakeRepos) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *configmanagementv1.Repo, err error)
- func (c *FakeRepos) Update(ctx context.Context, repo *configmanagementv1.Repo, opts v1.UpdateOptions) (result *configmanagementv1.Repo, err error)
- func (c *FakeRepos) UpdateStatus(ctx context.Context, repo *configmanagementv1.Repo, opts v1.UpdateOptions) (*configmanagementv1.Repo, error)
- func (c *FakeRepos) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSyncs
- func (c *FakeSyncs) Create(ctx context.Context, sync *configmanagementv1.Sync, opts v1.CreateOptions) (result *configmanagementv1.Sync, err error)
- func (c *FakeSyncs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSyncs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSyncs) Get(ctx context.Context, name string, options v1.GetOptions) (result *configmanagementv1.Sync, err error)
- func (c *FakeSyncs) List(ctx context.Context, opts v1.ListOptions) (result *configmanagementv1.SyncList, err error)
- func (c *FakeSyncs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *configmanagementv1.Sync, err error)
- func (c *FakeSyncs) Update(ctx context.Context, sync *configmanagementv1.Sync, opts v1.UpdateOptions) (result *configmanagementv1.Sync, err error)
- func (c *FakeSyncs) UpdateStatus(ctx context.Context, sync *configmanagementv1.Sync, opts v1.UpdateOptions) (*configmanagementv1.Sync, error)
- func (c *FakeSyncs) 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 FakeClusterConfigs ¶
type FakeClusterConfigs struct {
Fake *FakeConfigmanagementV1
}
FakeClusterConfigs implements ClusterConfigInterface
func (*FakeClusterConfigs) Create ¶
func (c *FakeClusterConfigs) Create(ctx context.Context, clusterConfig *configmanagementv1.ClusterConfig, opts v1.CreateOptions) (result *configmanagementv1.ClusterConfig, err error)
Create takes the representation of a clusterConfig and creates it. Returns the server's representation of the clusterConfig, and an error, if there is any.
func (*FakeClusterConfigs) Delete ¶
func (c *FakeClusterConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterConfig and deletes it. Returns an error if one occurs.
func (*FakeClusterConfigs) DeleteCollection ¶
func (c *FakeClusterConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterConfigs) Get ¶
func (c *FakeClusterConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *configmanagementv1.ClusterConfig, err error)
Get takes name of the clusterConfig, and returns the corresponding clusterConfig object, and an error if there is any.
func (*FakeClusterConfigs) List ¶
func (c *FakeClusterConfigs) List(ctx context.Context, opts v1.ListOptions) (result *configmanagementv1.ClusterConfigList, err error)
List takes label and field selectors, and returns the list of ClusterConfigs that match those selectors.
func (*FakeClusterConfigs) Patch ¶
func (c *FakeClusterConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *configmanagementv1.ClusterConfig, err error)
Patch applies the patch and returns the patched clusterConfig.
func (*FakeClusterConfigs) Update ¶
func (c *FakeClusterConfigs) Update(ctx context.Context, clusterConfig *configmanagementv1.ClusterConfig, opts v1.UpdateOptions) (result *configmanagementv1.ClusterConfig, err error)
Update takes the representation of a clusterConfig and updates it. Returns the server's representation of the clusterConfig, and an error, if there is any.
func (*FakeClusterConfigs) UpdateStatus ¶
func (c *FakeClusterConfigs) UpdateStatus(ctx context.Context, clusterConfig *configmanagementv1.ClusterConfig, opts v1.UpdateOptions) (*configmanagementv1.ClusterConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterConfigs) Watch ¶
func (c *FakeClusterConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterConfigs.
type FakeClusterSelectors ¶
type FakeClusterSelectors struct {
Fake *FakeConfigmanagementV1
}
FakeClusterSelectors implements ClusterSelectorInterface
func (*FakeClusterSelectors) Create ¶
func (c *FakeClusterSelectors) Create(ctx context.Context, clusterSelector *configmanagementv1.ClusterSelector, opts v1.CreateOptions) (result *configmanagementv1.ClusterSelector, err error)
Create takes the representation of a clusterSelector and creates it. Returns the server's representation of the clusterSelector, and an error, if there is any.
func (*FakeClusterSelectors) Delete ¶
func (c *FakeClusterSelectors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterSelector and deletes it. Returns an error if one occurs.
func (*FakeClusterSelectors) DeleteCollection ¶
func (c *FakeClusterSelectors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterSelectors) Get ¶
func (c *FakeClusterSelectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *configmanagementv1.ClusterSelector, err error)
Get takes name of the clusterSelector, and returns the corresponding clusterSelector object, and an error if there is any.
func (*FakeClusterSelectors) List ¶
func (c *FakeClusterSelectors) List(ctx context.Context, opts v1.ListOptions) (result *configmanagementv1.ClusterSelectorList, err error)
List takes label and field selectors, and returns the list of ClusterSelectors that match those selectors.
func (*FakeClusterSelectors) Patch ¶
func (c *FakeClusterSelectors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *configmanagementv1.ClusterSelector, err error)
Patch applies the patch and returns the patched clusterSelector.
func (*FakeClusterSelectors) Update ¶
func (c *FakeClusterSelectors) Update(ctx context.Context, clusterSelector *configmanagementv1.ClusterSelector, opts v1.UpdateOptions) (result *configmanagementv1.ClusterSelector, err error)
Update takes the representation of a clusterSelector and updates it. Returns the server's representation of the clusterSelector, and an error, if there is any.
func (*FakeClusterSelectors) Watch ¶
func (c *FakeClusterSelectors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterSelectors.
type FakeConfigmanagementV1 ¶
func (*FakeConfigmanagementV1) ClusterConfigs ¶
func (c *FakeConfigmanagementV1) ClusterConfigs() v1.ClusterConfigInterface
func (*FakeConfigmanagementV1) ClusterSelectors ¶
func (c *FakeConfigmanagementV1) ClusterSelectors() v1.ClusterSelectorInterface
func (*FakeConfigmanagementV1) HierarchyConfigs ¶
func (c *FakeConfigmanagementV1) HierarchyConfigs() v1.HierarchyConfigInterface
func (*FakeConfigmanagementV1) NamespaceConfigs ¶
func (c *FakeConfigmanagementV1) NamespaceConfigs() v1.NamespaceConfigInterface
func (*FakeConfigmanagementV1) NamespaceSelectors ¶
func (c *FakeConfigmanagementV1) NamespaceSelectors() v1.NamespaceSelectorInterface
func (*FakeConfigmanagementV1) RESTClient ¶
func (c *FakeConfigmanagementV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeConfigmanagementV1) Repos ¶
func (c *FakeConfigmanagementV1) Repos() v1.RepoInterface
func (*FakeConfigmanagementV1) Syncs ¶
func (c *FakeConfigmanagementV1) Syncs() v1.SyncInterface
type FakeHierarchyConfigs ¶
type FakeHierarchyConfigs struct {
Fake *FakeConfigmanagementV1
}
FakeHierarchyConfigs implements HierarchyConfigInterface
func (*FakeHierarchyConfigs) Create ¶
func (c *FakeHierarchyConfigs) Create(ctx context.Context, hierarchyConfig *configmanagementv1.HierarchyConfig, opts v1.CreateOptions) (result *configmanagementv1.HierarchyConfig, err error)
Create takes the representation of a hierarchyConfig and creates it. Returns the server's representation of the hierarchyConfig, and an error, if there is any.
func (*FakeHierarchyConfigs) Delete ¶
func (c *FakeHierarchyConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the hierarchyConfig and deletes it. Returns an error if one occurs.
func (*FakeHierarchyConfigs) DeleteCollection ¶
func (c *FakeHierarchyConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeHierarchyConfigs) Get ¶
func (c *FakeHierarchyConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *configmanagementv1.HierarchyConfig, err error)
Get takes name of the hierarchyConfig, and returns the corresponding hierarchyConfig object, and an error if there is any.
func (*FakeHierarchyConfigs) List ¶
func (c *FakeHierarchyConfigs) List(ctx context.Context, opts v1.ListOptions) (result *configmanagementv1.HierarchyConfigList, err error)
List takes label and field selectors, and returns the list of HierarchyConfigs that match those selectors.
func (*FakeHierarchyConfigs) Patch ¶
func (c *FakeHierarchyConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *configmanagementv1.HierarchyConfig, err error)
Patch applies the patch and returns the patched hierarchyConfig.
func (*FakeHierarchyConfigs) Update ¶
func (c *FakeHierarchyConfigs) Update(ctx context.Context, hierarchyConfig *configmanagementv1.HierarchyConfig, opts v1.UpdateOptions) (result *configmanagementv1.HierarchyConfig, err error)
Update takes the representation of a hierarchyConfig and updates it. Returns the server's representation of the hierarchyConfig, and an error, if there is any.
func (*FakeHierarchyConfigs) Watch ¶
func (c *FakeHierarchyConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested hierarchyConfigs.
type FakeNamespaceConfigs ¶
type FakeNamespaceConfigs struct {
Fake *FakeConfigmanagementV1
}
FakeNamespaceConfigs implements NamespaceConfigInterface
func (*FakeNamespaceConfigs) Create ¶
func (c *FakeNamespaceConfigs) Create(ctx context.Context, namespaceConfig *configmanagementv1.NamespaceConfig, opts v1.CreateOptions) (result *configmanagementv1.NamespaceConfig, err error)
Create takes the representation of a namespaceConfig and creates it. Returns the server's representation of the namespaceConfig, and an error, if there is any.
func (*FakeNamespaceConfigs) Delete ¶
func (c *FakeNamespaceConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the namespaceConfig and deletes it. Returns an error if one occurs.
func (*FakeNamespaceConfigs) DeleteCollection ¶
func (c *FakeNamespaceConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNamespaceConfigs) Get ¶
func (c *FakeNamespaceConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *configmanagementv1.NamespaceConfig, err error)
Get takes name of the namespaceConfig, and returns the corresponding namespaceConfig object, and an error if there is any.
func (*FakeNamespaceConfigs) List ¶
func (c *FakeNamespaceConfigs) List(ctx context.Context, opts v1.ListOptions) (result *configmanagementv1.NamespaceConfigList, err error)
List takes label and field selectors, and returns the list of NamespaceConfigs that match those selectors.
func (*FakeNamespaceConfigs) Patch ¶
func (c *FakeNamespaceConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *configmanagementv1.NamespaceConfig, err error)
Patch applies the patch and returns the patched namespaceConfig.
func (*FakeNamespaceConfigs) Update ¶
func (c *FakeNamespaceConfigs) Update(ctx context.Context, namespaceConfig *configmanagementv1.NamespaceConfig, opts v1.UpdateOptions) (result *configmanagementv1.NamespaceConfig, err error)
Update takes the representation of a namespaceConfig and updates it. Returns the server's representation of the namespaceConfig, and an error, if there is any.
func (*FakeNamespaceConfigs) UpdateStatus ¶
func (c *FakeNamespaceConfigs) UpdateStatus(ctx context.Context, namespaceConfig *configmanagementv1.NamespaceConfig, opts v1.UpdateOptions) (*configmanagementv1.NamespaceConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNamespaceConfigs) Watch ¶
func (c *FakeNamespaceConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested namespaceConfigs.
type FakeNamespaceSelectors ¶
type FakeNamespaceSelectors struct {
Fake *FakeConfigmanagementV1
}
FakeNamespaceSelectors implements NamespaceSelectorInterface
func (*FakeNamespaceSelectors) Create ¶
func (c *FakeNamespaceSelectors) Create(ctx context.Context, namespaceSelector *configmanagementv1.NamespaceSelector, opts v1.CreateOptions) (result *configmanagementv1.NamespaceSelector, err error)
Create takes the representation of a namespaceSelector and creates it. Returns the server's representation of the namespaceSelector, and an error, if there is any.
func (*FakeNamespaceSelectors) Delete ¶
func (c *FakeNamespaceSelectors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the namespaceSelector and deletes it. Returns an error if one occurs.
func (*FakeNamespaceSelectors) DeleteCollection ¶
func (c *FakeNamespaceSelectors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNamespaceSelectors) Get ¶
func (c *FakeNamespaceSelectors) Get(ctx context.Context, name string, options v1.GetOptions) (result *configmanagementv1.NamespaceSelector, err error)
Get takes name of the namespaceSelector, and returns the corresponding namespaceSelector object, and an error if there is any.
func (*FakeNamespaceSelectors) List ¶
func (c *FakeNamespaceSelectors) List(ctx context.Context, opts v1.ListOptions) (result *configmanagementv1.NamespaceSelectorList, err error)
List takes label and field selectors, and returns the list of NamespaceSelectors that match those selectors.
func (*FakeNamespaceSelectors) Patch ¶
func (c *FakeNamespaceSelectors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *configmanagementv1.NamespaceSelector, err error)
Patch applies the patch and returns the patched namespaceSelector.
func (*FakeNamespaceSelectors) Update ¶
func (c *FakeNamespaceSelectors) Update(ctx context.Context, namespaceSelector *configmanagementv1.NamespaceSelector, opts v1.UpdateOptions) (result *configmanagementv1.NamespaceSelector, err error)
Update takes the representation of a namespaceSelector and updates it. Returns the server's representation of the namespaceSelector, and an error, if there is any.
func (*FakeNamespaceSelectors) Watch ¶
func (c *FakeNamespaceSelectors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested namespaceSelectors.
type FakeRepos ¶
type FakeRepos struct {
Fake *FakeConfigmanagementV1
}
FakeRepos implements RepoInterface
func (*FakeRepos) Create ¶
func (c *FakeRepos) Create(ctx context.Context, repo *configmanagementv1.Repo, opts v1.CreateOptions) (result *configmanagementv1.Repo, err error)
Create takes the representation of a repo and creates it. Returns the server's representation of the repo, and an error, if there is any.
func (*FakeRepos) Delete ¶
Delete takes name of the repo and deletes it. Returns an error if one occurs.
func (*FakeRepos) DeleteCollection ¶
func (c *FakeRepos) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRepos) Get ¶
func (c *FakeRepos) Get(ctx context.Context, name string, options v1.GetOptions) (result *configmanagementv1.Repo, err error)
Get takes name of the repo, and returns the corresponding repo object, and an error if there is any.
func (*FakeRepos) List ¶
func (c *FakeRepos) List(ctx context.Context, opts v1.ListOptions) (result *configmanagementv1.RepoList, err error)
List takes label and field selectors, and returns the list of Repos that match those selectors.
func (*FakeRepos) Patch ¶
func (c *FakeRepos) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *configmanagementv1.Repo, err error)
Patch applies the patch and returns the patched repo.
func (*FakeRepos) Update ¶
func (c *FakeRepos) Update(ctx context.Context, repo *configmanagementv1.Repo, opts v1.UpdateOptions) (result *configmanagementv1.Repo, err error)
Update takes the representation of a repo and updates it. Returns the server's representation of the repo, and an error, if there is any.
func (*FakeRepos) UpdateStatus ¶
func (c *FakeRepos) UpdateStatus(ctx context.Context, repo *configmanagementv1.Repo, opts v1.UpdateOptions) (*configmanagementv1.Repo, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeSyncs ¶
type FakeSyncs struct {
Fake *FakeConfigmanagementV1
}
FakeSyncs implements SyncInterface
func (*FakeSyncs) Create ¶
func (c *FakeSyncs) Create(ctx context.Context, sync *configmanagementv1.Sync, opts v1.CreateOptions) (result *configmanagementv1.Sync, err error)
Create takes the representation of a sync and creates it. Returns the server's representation of the sync, and an error, if there is any.
func (*FakeSyncs) Delete ¶
Delete takes name of the sync and deletes it. Returns an error if one occurs.
func (*FakeSyncs) DeleteCollection ¶
func (c *FakeSyncs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSyncs) Get ¶
func (c *FakeSyncs) Get(ctx context.Context, name string, options v1.GetOptions) (result *configmanagementv1.Sync, err error)
Get takes name of the sync, and returns the corresponding sync object, and an error if there is any.
func (*FakeSyncs) List ¶
func (c *FakeSyncs) List(ctx context.Context, opts v1.ListOptions) (result *configmanagementv1.SyncList, err error)
List takes label and field selectors, and returns the list of Syncs that match those selectors.
func (*FakeSyncs) Patch ¶
func (c *FakeSyncs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *configmanagementv1.Sync, err error)
Patch applies the patch and returns the patched sync.
func (*FakeSyncs) Update ¶
func (c *FakeSyncs) Update(ctx context.Context, sync *configmanagementv1.Sync, opts v1.UpdateOptions) (result *configmanagementv1.Sync, err error)
Update takes the representation of a sync and updates it. Returns the server's representation of the sync, and an error, if there is any.
func (*FakeSyncs) UpdateStatus ¶
func (c *FakeSyncs) UpdateStatus(ctx context.Context, sync *configmanagementv1.Sync, opts v1.UpdateOptions) (*configmanagementv1.Sync, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().