Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDeckhouseReleases
- func (c *FakeDeckhouseReleases) Create(ctx context.Context, deckhouseRelease *v1alpha1.DeckhouseRelease, ...) (result *v1alpha1.DeckhouseRelease, err error)
- func (c *FakeDeckhouseReleases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDeckhouseReleases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDeckhouseReleases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DeckhouseRelease, err error)
- func (c *FakeDeckhouseReleases) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DeckhouseReleaseList, err error)
- func (c *FakeDeckhouseReleases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.DeckhouseRelease, err error)
- func (c *FakeDeckhouseReleases) Update(ctx context.Context, deckhouseRelease *v1alpha1.DeckhouseRelease, ...) (result *v1alpha1.DeckhouseRelease, err error)
- func (c *FakeDeckhouseReleases) UpdateStatus(ctx context.Context, deckhouseRelease *v1alpha1.DeckhouseRelease, ...) (*v1alpha1.DeckhouseRelease, error)
- func (c *FakeDeckhouseReleases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDeckhouseV1alpha1
- func (c *FakeDeckhouseV1alpha1) DeckhouseReleases() v1alpha1.DeckhouseReleaseInterface
- func (c *FakeDeckhouseV1alpha1) ModuleConfigs() v1alpha1.ModuleConfigInterface
- func (c *FakeDeckhouseV1alpha1) ModuleDocumentations() v1alpha1.ModuleDocumentationInterface
- func (c *FakeDeckhouseV1alpha1) ModulePullOverrides() v1alpha1.ModulePullOverrideInterface
- func (c *FakeDeckhouseV1alpha1) ModuleReleases() v1alpha1.ModuleReleaseInterface
- func (c *FakeDeckhouseV1alpha1) ModuleSources() v1alpha1.ModuleSourceInterface
- func (c *FakeDeckhouseV1alpha1) ModuleUpdatePolicies() v1alpha1.ModuleUpdatePolicyInterface
- func (c *FakeDeckhouseV1alpha1) Modules() v1alpha1.ModuleInterface
- func (c *FakeDeckhouseV1alpha1) RESTClient() rest.Interface
- type FakeModuleConfigs
- func (c *FakeModuleConfigs) Create(ctx context.Context, moduleConfig *v1alpha1.ModuleConfig, ...) (result *v1alpha1.ModuleConfig, err error)
- func (c *FakeModuleConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeModuleConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeModuleConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ModuleConfig, err error)
- func (c *FakeModuleConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ModuleConfigList, err error)
- func (c *FakeModuleConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ModuleConfig, err error)
- func (c *FakeModuleConfigs) Update(ctx context.Context, moduleConfig *v1alpha1.ModuleConfig, ...) (result *v1alpha1.ModuleConfig, err error)
- func (c *FakeModuleConfigs) UpdateStatus(ctx context.Context, moduleConfig *v1alpha1.ModuleConfig, ...) (*v1alpha1.ModuleConfig, error)
- func (c *FakeModuleConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeModuleDocumentations
- func (c *FakeModuleDocumentations) Create(ctx context.Context, moduleDocumentation *v1alpha1.ModuleDocumentation, ...) (result *v1alpha1.ModuleDocumentation, err error)
- func (c *FakeModuleDocumentations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeModuleDocumentations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeModuleDocumentations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ModuleDocumentation, err error)
- func (c *FakeModuleDocumentations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ModuleDocumentationList, err error)
- func (c *FakeModuleDocumentations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ModuleDocumentation, err error)
- func (c *FakeModuleDocumentations) Update(ctx context.Context, moduleDocumentation *v1alpha1.ModuleDocumentation, ...) (result *v1alpha1.ModuleDocumentation, err error)
- func (c *FakeModuleDocumentations) UpdateStatus(ctx context.Context, moduleDocumentation *v1alpha1.ModuleDocumentation, ...) (*v1alpha1.ModuleDocumentation, error)
- func (c *FakeModuleDocumentations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeModulePullOverrides
- func (c *FakeModulePullOverrides) Create(ctx context.Context, modulePullOverride *v1alpha1.ModulePullOverride, ...) (result *v1alpha1.ModulePullOverride, err error)
- func (c *FakeModulePullOverrides) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeModulePullOverrides) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeModulePullOverrides) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ModulePullOverride, err error)
- func (c *FakeModulePullOverrides) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ModulePullOverrideList, err error)
- func (c *FakeModulePullOverrides) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ModulePullOverride, err error)
- func (c *FakeModulePullOverrides) Update(ctx context.Context, modulePullOverride *v1alpha1.ModulePullOverride, ...) (result *v1alpha1.ModulePullOverride, err error)
- func (c *FakeModulePullOverrides) UpdateStatus(ctx context.Context, modulePullOverride *v1alpha1.ModulePullOverride, ...) (*v1alpha1.ModulePullOverride, error)
- func (c *FakeModulePullOverrides) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeModuleReleases
- func (c *FakeModuleReleases) Create(ctx context.Context, moduleRelease *v1alpha1.ModuleRelease, ...) (result *v1alpha1.ModuleRelease, err error)
- func (c *FakeModuleReleases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeModuleReleases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeModuleReleases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ModuleRelease, err error)
- func (c *FakeModuleReleases) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ModuleReleaseList, err error)
- func (c *FakeModuleReleases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ModuleRelease, err error)
- func (c *FakeModuleReleases) Update(ctx context.Context, moduleRelease *v1alpha1.ModuleRelease, ...) (result *v1alpha1.ModuleRelease, err error)
- func (c *FakeModuleReleases) UpdateStatus(ctx context.Context, moduleRelease *v1alpha1.ModuleRelease, ...) (*v1alpha1.ModuleRelease, error)
- func (c *FakeModuleReleases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeModuleSources
- func (c *FakeModuleSources) Create(ctx context.Context, moduleSource *v1alpha1.ModuleSource, ...) (result *v1alpha1.ModuleSource, err error)
- func (c *FakeModuleSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeModuleSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeModuleSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ModuleSource, err error)
- func (c *FakeModuleSources) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ModuleSourceList, err error)
- func (c *FakeModuleSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ModuleSource, err error)
- func (c *FakeModuleSources) Update(ctx context.Context, moduleSource *v1alpha1.ModuleSource, ...) (result *v1alpha1.ModuleSource, err error)
- func (c *FakeModuleSources) UpdateStatus(ctx context.Context, moduleSource *v1alpha1.ModuleSource, ...) (*v1alpha1.ModuleSource, error)
- func (c *FakeModuleSources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeModuleUpdatePolicies
- func (c *FakeModuleUpdatePolicies) Create(ctx context.Context, moduleUpdatePolicy *v1alpha1.ModuleUpdatePolicy, ...) (result *v1alpha1.ModuleUpdatePolicy, err error)
- func (c *FakeModuleUpdatePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeModuleUpdatePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeModuleUpdatePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ModuleUpdatePolicy, err error)
- func (c *FakeModuleUpdatePolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ModuleUpdatePolicyList, err error)
- func (c *FakeModuleUpdatePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ModuleUpdatePolicy, err error)
- func (c *FakeModuleUpdatePolicies) Update(ctx context.Context, moduleUpdatePolicy *v1alpha1.ModuleUpdatePolicy, ...) (result *v1alpha1.ModuleUpdatePolicy, err error)
- func (c *FakeModuleUpdatePolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeModules
- func (c *FakeModules) Create(ctx context.Context, module *v1alpha1.Module, opts v1.CreateOptions) (result *v1alpha1.Module, err error)
- func (c *FakeModules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeModules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeModules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Module, err error)
- func (c *FakeModules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ModuleList, err error)
- func (c *FakeModules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Module, err error)
- func (c *FakeModules) Update(ctx context.Context, module *v1alpha1.Module, opts v1.UpdateOptions) (result *v1alpha1.Module, err error)
- func (c *FakeModules) UpdateStatus(ctx context.Context, module *v1alpha1.Module, opts v1.UpdateOptions) (*v1alpha1.Module, error)
- func (c *FakeModules) 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 FakeDeckhouseReleases ¶ added in v1.60.0
type FakeDeckhouseReleases struct {
Fake *FakeDeckhouseV1alpha1
}
FakeDeckhouseReleases implements DeckhouseReleaseInterface
func (*FakeDeckhouseReleases) Create ¶ added in v1.60.0
func (c *FakeDeckhouseReleases) Create(ctx context.Context, deckhouseRelease *v1alpha1.DeckhouseRelease, opts v1.CreateOptions) (result *v1alpha1.DeckhouseRelease, err error)
Create takes the representation of a deckhouseRelease and creates it. Returns the server's representation of the deckhouseRelease, and an error, if there is any.
func (*FakeDeckhouseReleases) Delete ¶ added in v1.60.0
func (c *FakeDeckhouseReleases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the deckhouseRelease and deletes it. Returns an error if one occurs.
func (*FakeDeckhouseReleases) DeleteCollection ¶ added in v1.60.0
func (c *FakeDeckhouseReleases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDeckhouseReleases) Get ¶ added in v1.60.0
func (c *FakeDeckhouseReleases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DeckhouseRelease, err error)
Get takes name of the deckhouseRelease, and returns the corresponding deckhouseRelease object, and an error if there is any.
func (*FakeDeckhouseReleases) List ¶ added in v1.60.0
func (c *FakeDeckhouseReleases) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DeckhouseReleaseList, err error)
List takes label and field selectors, and returns the list of DeckhouseReleases that match those selectors.
func (*FakeDeckhouseReleases) Patch ¶ added in v1.60.0
func (c *FakeDeckhouseReleases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DeckhouseRelease, err error)
Patch applies the patch and returns the patched deckhouseRelease.
func (*FakeDeckhouseReleases) Update ¶ added in v1.60.0
func (c *FakeDeckhouseReleases) Update(ctx context.Context, deckhouseRelease *v1alpha1.DeckhouseRelease, opts v1.UpdateOptions) (result *v1alpha1.DeckhouseRelease, err error)
Update takes the representation of a deckhouseRelease and updates it. Returns the server's representation of the deckhouseRelease, and an error, if there is any.
func (*FakeDeckhouseReleases) UpdateStatus ¶ added in v1.60.0
func (c *FakeDeckhouseReleases) UpdateStatus(ctx context.Context, deckhouseRelease *v1alpha1.DeckhouseRelease, opts v1.UpdateOptions) (*v1alpha1.DeckhouseRelease, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDeckhouseReleases) Watch ¶ added in v1.60.0
func (c *FakeDeckhouseReleases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested deckhouseReleases.
type FakeDeckhouseV1alpha1 ¶
func (*FakeDeckhouseV1alpha1) DeckhouseReleases ¶ added in v1.60.0
func (c *FakeDeckhouseV1alpha1) DeckhouseReleases() v1alpha1.DeckhouseReleaseInterface
func (*FakeDeckhouseV1alpha1) ModuleConfigs ¶
func (c *FakeDeckhouseV1alpha1) ModuleConfigs() v1alpha1.ModuleConfigInterface
func (*FakeDeckhouseV1alpha1) ModuleDocumentations ¶ added in v1.60.0
func (c *FakeDeckhouseV1alpha1) ModuleDocumentations() v1alpha1.ModuleDocumentationInterface
func (*FakeDeckhouseV1alpha1) ModulePullOverrides ¶ added in v1.56.0
func (c *FakeDeckhouseV1alpha1) ModulePullOverrides() v1alpha1.ModulePullOverrideInterface
func (*FakeDeckhouseV1alpha1) ModuleReleases ¶ added in v1.56.0
func (c *FakeDeckhouseV1alpha1) ModuleReleases() v1alpha1.ModuleReleaseInterface
func (*FakeDeckhouseV1alpha1) ModuleSources ¶ added in v1.56.0
func (c *FakeDeckhouseV1alpha1) ModuleSources() v1alpha1.ModuleSourceInterface
func (*FakeDeckhouseV1alpha1) ModuleUpdatePolicies ¶ added in v1.56.0
func (c *FakeDeckhouseV1alpha1) ModuleUpdatePolicies() v1alpha1.ModuleUpdatePolicyInterface
func (*FakeDeckhouseV1alpha1) Modules ¶ added in v1.56.0
func (c *FakeDeckhouseV1alpha1) Modules() v1alpha1.ModuleInterface
func (*FakeDeckhouseV1alpha1) RESTClient ¶
func (c *FakeDeckhouseV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeModuleConfigs ¶
type FakeModuleConfigs struct {
Fake *FakeDeckhouseV1alpha1
}
FakeModuleConfigs implements ModuleConfigInterface
func (*FakeModuleConfigs) Create ¶
func (c *FakeModuleConfigs) Create(ctx context.Context, moduleConfig *v1alpha1.ModuleConfig, opts v1.CreateOptions) (result *v1alpha1.ModuleConfig, err error)
Create takes the representation of a moduleConfig and creates it. Returns the server's representation of the moduleConfig, and an error, if there is any.
func (*FakeModuleConfigs) Delete ¶
func (c *FakeModuleConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the moduleConfig and deletes it. Returns an error if one occurs.
func (*FakeModuleConfigs) DeleteCollection ¶
func (c *FakeModuleConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeModuleConfigs) Get ¶
func (c *FakeModuleConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ModuleConfig, err error)
Get takes name of the moduleConfig, and returns the corresponding moduleConfig object, and an error if there is any.
func (*FakeModuleConfigs) List ¶
func (c *FakeModuleConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ModuleConfigList, err error)
List takes label and field selectors, and returns the list of ModuleConfigs that match those selectors.
func (*FakeModuleConfigs) Patch ¶
func (c *FakeModuleConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ModuleConfig, err error)
Patch applies the patch and returns the patched moduleConfig.
func (*FakeModuleConfigs) Update ¶
func (c *FakeModuleConfigs) Update(ctx context.Context, moduleConfig *v1alpha1.ModuleConfig, opts v1.UpdateOptions) (result *v1alpha1.ModuleConfig, err error)
Update takes the representation of a moduleConfig and updates it. Returns the server's representation of the moduleConfig, and an error, if there is any.
func (*FakeModuleConfigs) UpdateStatus ¶
func (c *FakeModuleConfigs) UpdateStatus(ctx context.Context, moduleConfig *v1alpha1.ModuleConfig, opts v1.UpdateOptions) (*v1alpha1.ModuleConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeModuleConfigs) Watch ¶
func (c *FakeModuleConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested moduleConfigs.
type FakeModuleDocumentations ¶ added in v1.60.0
type FakeModuleDocumentations struct {
Fake *FakeDeckhouseV1alpha1
}
FakeModuleDocumentations implements ModuleDocumentationInterface
func (*FakeModuleDocumentations) Create ¶ added in v1.60.0
func (c *FakeModuleDocumentations) Create(ctx context.Context, moduleDocumentation *v1alpha1.ModuleDocumentation, opts v1.CreateOptions) (result *v1alpha1.ModuleDocumentation, err error)
Create takes the representation of a moduleDocumentation and creates it. Returns the server's representation of the moduleDocumentation, and an error, if there is any.
func (*FakeModuleDocumentations) Delete ¶ added in v1.60.0
func (c *FakeModuleDocumentations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the moduleDocumentation and deletes it. Returns an error if one occurs.
func (*FakeModuleDocumentations) DeleteCollection ¶ added in v1.60.0
func (c *FakeModuleDocumentations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeModuleDocumentations) Get ¶ added in v1.60.0
func (c *FakeModuleDocumentations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ModuleDocumentation, err error)
Get takes name of the moduleDocumentation, and returns the corresponding moduleDocumentation object, and an error if there is any.
func (*FakeModuleDocumentations) List ¶ added in v1.60.0
func (c *FakeModuleDocumentations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ModuleDocumentationList, err error)
List takes label and field selectors, and returns the list of ModuleDocumentations that match those selectors.
func (*FakeModuleDocumentations) Patch ¶ added in v1.60.0
func (c *FakeModuleDocumentations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ModuleDocumentation, err error)
Patch applies the patch and returns the patched moduleDocumentation.
func (*FakeModuleDocumentations) Update ¶ added in v1.60.0
func (c *FakeModuleDocumentations) Update(ctx context.Context, moduleDocumentation *v1alpha1.ModuleDocumentation, opts v1.UpdateOptions) (result *v1alpha1.ModuleDocumentation, err error)
Update takes the representation of a moduleDocumentation and updates it. Returns the server's representation of the moduleDocumentation, and an error, if there is any.
func (*FakeModuleDocumentations) UpdateStatus ¶ added in v1.60.0
func (c *FakeModuleDocumentations) UpdateStatus(ctx context.Context, moduleDocumentation *v1alpha1.ModuleDocumentation, opts v1.UpdateOptions) (*v1alpha1.ModuleDocumentation, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeModuleDocumentations) Watch ¶ added in v1.60.0
func (c *FakeModuleDocumentations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested moduleDocumentations.
type FakeModulePullOverrides ¶ added in v1.56.0
type FakeModulePullOverrides struct {
Fake *FakeDeckhouseV1alpha1
}
FakeModulePullOverrides implements ModulePullOverrideInterface
func (*FakeModulePullOverrides) Create ¶ added in v1.56.0
func (c *FakeModulePullOverrides) Create(ctx context.Context, modulePullOverride *v1alpha1.ModulePullOverride, opts v1.CreateOptions) (result *v1alpha1.ModulePullOverride, err error)
Create takes the representation of a modulePullOverride and creates it. Returns the server's representation of the modulePullOverride, and an error, if there is any.
func (*FakeModulePullOverrides) Delete ¶ added in v1.56.0
func (c *FakeModulePullOverrides) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the modulePullOverride and deletes it. Returns an error if one occurs.
func (*FakeModulePullOverrides) DeleteCollection ¶ added in v1.56.0
func (c *FakeModulePullOverrides) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeModulePullOverrides) Get ¶ added in v1.56.0
func (c *FakeModulePullOverrides) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ModulePullOverride, err error)
Get takes name of the modulePullOverride, and returns the corresponding modulePullOverride object, and an error if there is any.
func (*FakeModulePullOverrides) List ¶ added in v1.56.0
func (c *FakeModulePullOverrides) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ModulePullOverrideList, err error)
List takes label and field selectors, and returns the list of ModulePullOverrides that match those selectors.
func (*FakeModulePullOverrides) Patch ¶ added in v1.56.0
func (c *FakeModulePullOverrides) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ModulePullOverride, err error)
Patch applies the patch and returns the patched modulePullOverride.
func (*FakeModulePullOverrides) Update ¶ added in v1.56.0
func (c *FakeModulePullOverrides) Update(ctx context.Context, modulePullOverride *v1alpha1.ModulePullOverride, opts v1.UpdateOptions) (result *v1alpha1.ModulePullOverride, err error)
Update takes the representation of a modulePullOverride and updates it. Returns the server's representation of the modulePullOverride, and an error, if there is any.
func (*FakeModulePullOverrides) UpdateStatus ¶ added in v1.56.0
func (c *FakeModulePullOverrides) UpdateStatus(ctx context.Context, modulePullOverride *v1alpha1.ModulePullOverride, opts v1.UpdateOptions) (*v1alpha1.ModulePullOverride, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeModulePullOverrides) Watch ¶ added in v1.56.0
func (c *FakeModulePullOverrides) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested modulePullOverrides.
type FakeModuleReleases ¶ added in v1.56.0
type FakeModuleReleases struct {
Fake *FakeDeckhouseV1alpha1
}
FakeModuleReleases implements ModuleReleaseInterface
func (*FakeModuleReleases) Create ¶ added in v1.56.0
func (c *FakeModuleReleases) Create(ctx context.Context, moduleRelease *v1alpha1.ModuleRelease, opts v1.CreateOptions) (result *v1alpha1.ModuleRelease, err error)
Create takes the representation of a moduleRelease and creates it. Returns the server's representation of the moduleRelease, and an error, if there is any.
func (*FakeModuleReleases) Delete ¶ added in v1.56.0
func (c *FakeModuleReleases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the moduleRelease and deletes it. Returns an error if one occurs.
func (*FakeModuleReleases) DeleteCollection ¶ added in v1.56.0
func (c *FakeModuleReleases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeModuleReleases) Get ¶ added in v1.56.0
func (c *FakeModuleReleases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ModuleRelease, err error)
Get takes name of the moduleRelease, and returns the corresponding moduleRelease object, and an error if there is any.
func (*FakeModuleReleases) List ¶ added in v1.56.0
func (c *FakeModuleReleases) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ModuleReleaseList, err error)
List takes label and field selectors, and returns the list of ModuleReleases that match those selectors.
func (*FakeModuleReleases) Patch ¶ added in v1.56.0
func (c *FakeModuleReleases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ModuleRelease, err error)
Patch applies the patch and returns the patched moduleRelease.
func (*FakeModuleReleases) Update ¶ added in v1.56.0
func (c *FakeModuleReleases) Update(ctx context.Context, moduleRelease *v1alpha1.ModuleRelease, opts v1.UpdateOptions) (result *v1alpha1.ModuleRelease, err error)
Update takes the representation of a moduleRelease and updates it. Returns the server's representation of the moduleRelease, and an error, if there is any.
func (*FakeModuleReleases) UpdateStatus ¶ added in v1.56.0
func (c *FakeModuleReleases) UpdateStatus(ctx context.Context, moduleRelease *v1alpha1.ModuleRelease, opts v1.UpdateOptions) (*v1alpha1.ModuleRelease, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeModuleReleases) Watch ¶ added in v1.56.0
func (c *FakeModuleReleases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested moduleReleases.
type FakeModuleSources ¶ added in v1.56.0
type FakeModuleSources struct {
Fake *FakeDeckhouseV1alpha1
}
FakeModuleSources implements ModuleSourceInterface
func (*FakeModuleSources) Create ¶ added in v1.56.0
func (c *FakeModuleSources) Create(ctx context.Context, moduleSource *v1alpha1.ModuleSource, opts v1.CreateOptions) (result *v1alpha1.ModuleSource, err error)
Create takes the representation of a moduleSource and creates it. Returns the server's representation of the moduleSource, and an error, if there is any.
func (*FakeModuleSources) Delete ¶ added in v1.56.0
func (c *FakeModuleSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the moduleSource and deletes it. Returns an error if one occurs.
func (*FakeModuleSources) DeleteCollection ¶ added in v1.56.0
func (c *FakeModuleSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeModuleSources) Get ¶ added in v1.56.0
func (c *FakeModuleSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ModuleSource, err error)
Get takes name of the moduleSource, and returns the corresponding moduleSource object, and an error if there is any.
func (*FakeModuleSources) List ¶ added in v1.56.0
func (c *FakeModuleSources) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ModuleSourceList, err error)
List takes label and field selectors, and returns the list of ModuleSources that match those selectors.
func (*FakeModuleSources) Patch ¶ added in v1.56.0
func (c *FakeModuleSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ModuleSource, err error)
Patch applies the patch and returns the patched moduleSource.
func (*FakeModuleSources) Update ¶ added in v1.56.0
func (c *FakeModuleSources) Update(ctx context.Context, moduleSource *v1alpha1.ModuleSource, opts v1.UpdateOptions) (result *v1alpha1.ModuleSource, err error)
Update takes the representation of a moduleSource and updates it. Returns the server's representation of the moduleSource, and an error, if there is any.
func (*FakeModuleSources) UpdateStatus ¶ added in v1.56.0
func (c *FakeModuleSources) UpdateStatus(ctx context.Context, moduleSource *v1alpha1.ModuleSource, opts v1.UpdateOptions) (*v1alpha1.ModuleSource, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeModuleSources) Watch ¶ added in v1.56.0
func (c *FakeModuleSources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested moduleSources.
type FakeModuleUpdatePolicies ¶ added in v1.56.0
type FakeModuleUpdatePolicies struct {
Fake *FakeDeckhouseV1alpha1
}
FakeModuleUpdatePolicies implements ModuleUpdatePolicyInterface
func (*FakeModuleUpdatePolicies) Create ¶ added in v1.56.0
func (c *FakeModuleUpdatePolicies) Create(ctx context.Context, moduleUpdatePolicy *v1alpha1.ModuleUpdatePolicy, opts v1.CreateOptions) (result *v1alpha1.ModuleUpdatePolicy, err error)
Create takes the representation of a moduleUpdatePolicy and creates it. Returns the server's representation of the moduleUpdatePolicy, and an error, if there is any.
func (*FakeModuleUpdatePolicies) Delete ¶ added in v1.56.0
func (c *FakeModuleUpdatePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the moduleUpdatePolicy and deletes it. Returns an error if one occurs.
func (*FakeModuleUpdatePolicies) DeleteCollection ¶ added in v1.56.0
func (c *FakeModuleUpdatePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeModuleUpdatePolicies) Get ¶ added in v1.56.0
func (c *FakeModuleUpdatePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ModuleUpdatePolicy, err error)
Get takes name of the moduleUpdatePolicy, and returns the corresponding moduleUpdatePolicy object, and an error if there is any.
func (*FakeModuleUpdatePolicies) List ¶ added in v1.56.0
func (c *FakeModuleUpdatePolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ModuleUpdatePolicyList, err error)
List takes label and field selectors, and returns the list of ModuleUpdatePolicies that match those selectors.
func (*FakeModuleUpdatePolicies) Patch ¶ added in v1.56.0
func (c *FakeModuleUpdatePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ModuleUpdatePolicy, err error)
Patch applies the patch and returns the patched moduleUpdatePolicy.
func (*FakeModuleUpdatePolicies) Update ¶ added in v1.56.0
func (c *FakeModuleUpdatePolicies) Update(ctx context.Context, moduleUpdatePolicy *v1alpha1.ModuleUpdatePolicy, opts v1.UpdateOptions) (result *v1alpha1.ModuleUpdatePolicy, err error)
Update takes the representation of a moduleUpdatePolicy and updates it. Returns the server's representation of the moduleUpdatePolicy, and an error, if there is any.
func (*FakeModuleUpdatePolicies) Watch ¶ added in v1.56.0
func (c *FakeModuleUpdatePolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested moduleUpdatePolicies.
type FakeModules ¶ added in v1.56.0
type FakeModules struct {
Fake *FakeDeckhouseV1alpha1
}
FakeModules implements ModuleInterface
func (*FakeModules) Create ¶ added in v1.56.0
func (c *FakeModules) Create(ctx context.Context, module *v1alpha1.Module, opts v1.CreateOptions) (result *v1alpha1.Module, err error)
Create takes the representation of a module and creates it. Returns the server's representation of the module, and an error, if there is any.
func (*FakeModules) Delete ¶ added in v1.56.0
func (c *FakeModules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the module and deletes it. Returns an error if one occurs.
func (*FakeModules) DeleteCollection ¶ added in v1.56.0
func (c *FakeModules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeModules) Get ¶ added in v1.56.0
func (c *FakeModules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Module, err error)
Get takes name of the module, and returns the corresponding module object, and an error if there is any.
func (*FakeModules) List ¶ added in v1.56.0
func (c *FakeModules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ModuleList, err error)
List takes label and field selectors, and returns the list of Modules that match those selectors.
func (*FakeModules) Patch ¶ added in v1.56.0
func (c *FakeModules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Module, err error)
Patch applies the patch and returns the patched module.
func (*FakeModules) Update ¶ added in v1.56.0
func (c *FakeModules) Update(ctx context.Context, module *v1alpha1.Module, opts v1.UpdateOptions) (result *v1alpha1.Module, err error)
Update takes the representation of a module and updates it. Returns the server's representation of the module, and an error, if there is any.
func (*FakeModules) UpdateStatus ¶ added in v1.59.0
func (c *FakeModules) UpdateStatus(ctx context.Context, module *v1alpha1.Module, opts v1.UpdateOptions) (*v1alpha1.Module, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeModules) Watch ¶ added in v1.56.0
func (c *FakeModules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested modules.