Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAppsV1alpha1
- func (c *FakeAppsV1alpha1) BackupPolicyTemplates() v1alpha1.BackupPolicyTemplateInterface
- func (c *FakeAppsV1alpha1) ClusterDefinitions() v1alpha1.ClusterDefinitionInterface
- func (c *FakeAppsV1alpha1) ClusterVersions() v1alpha1.ClusterVersionInterface
- func (c *FakeAppsV1alpha1) Clusters(namespace string) v1alpha1.ClusterInterface
- func (c *FakeAppsV1alpha1) ComponentClassDefinitions() v1alpha1.ComponentClassDefinitionInterface
- func (c *FakeAppsV1alpha1) ComponentDefinitions() v1alpha1.ComponentDefinitionInterface
- func (c *FakeAppsV1alpha1) ComponentResourceConstraints() v1alpha1.ComponentResourceConstraintInterface
- func (c *FakeAppsV1alpha1) Components(namespace string) v1alpha1.ComponentInterface
- func (c *FakeAppsV1alpha1) ConfigConstraints() v1alpha1.ConfigConstraintInterface
- func (c *FakeAppsV1alpha1) OpsDefinitions() v1alpha1.OpsDefinitionInterface
- func (c *FakeAppsV1alpha1) OpsRequests(namespace string) v1alpha1.OpsRequestInterface
- func (c *FakeAppsV1alpha1) RESTClient() rest.Interface
- func (c *FakeAppsV1alpha1) ServiceDescriptors(namespace string) v1alpha1.ServiceDescriptorInterface
- type FakeBackupPolicyTemplates
- func (c *FakeBackupPolicyTemplates) Create(ctx context.Context, backupPolicyTemplate *v1alpha1.BackupPolicyTemplate, ...) (result *v1alpha1.BackupPolicyTemplate, err error)
- func (c *FakeBackupPolicyTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBackupPolicyTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBackupPolicyTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BackupPolicyTemplate, err error)
- func (c *FakeBackupPolicyTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BackupPolicyTemplateList, err error)
- func (c *FakeBackupPolicyTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.BackupPolicyTemplate, err error)
- func (c *FakeBackupPolicyTemplates) Update(ctx context.Context, backupPolicyTemplate *v1alpha1.BackupPolicyTemplate, ...) (result *v1alpha1.BackupPolicyTemplate, err error)
- func (c *FakeBackupPolicyTemplates) UpdateStatus(ctx context.Context, backupPolicyTemplate *v1alpha1.BackupPolicyTemplate, ...) (*v1alpha1.BackupPolicyTemplate, error)
- func (c *FakeBackupPolicyTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterDefinitions
- func (c *FakeClusterDefinitions) Create(ctx context.Context, clusterDefinition *v1alpha1.ClusterDefinition, ...) (result *v1alpha1.ClusterDefinition, err error)
- func (c *FakeClusterDefinitions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterDefinition, err error)
- func (c *FakeClusterDefinitions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterDefinitionList, err error)
- func (c *FakeClusterDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterDefinition, err error)
- func (c *FakeClusterDefinitions) Update(ctx context.Context, clusterDefinition *v1alpha1.ClusterDefinition, ...) (result *v1alpha1.ClusterDefinition, err error)
- func (c *FakeClusterDefinitions) UpdateStatus(ctx context.Context, clusterDefinition *v1alpha1.ClusterDefinition, ...) (*v1alpha1.ClusterDefinition, error)
- func (c *FakeClusterDefinitions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterVersions
- func (c *FakeClusterVersions) Create(ctx context.Context, clusterVersion *v1alpha1.ClusterVersion, ...) (result *v1alpha1.ClusterVersion, err error)
- func (c *FakeClusterVersions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterVersions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterVersions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterVersion, err error)
- func (c *FakeClusterVersions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterVersionList, err error)
- func (c *FakeClusterVersions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterVersion, err error)
- func (c *FakeClusterVersions) Update(ctx context.Context, clusterVersion *v1alpha1.ClusterVersion, ...) (result *v1alpha1.ClusterVersion, err error)
- func (c *FakeClusterVersions) UpdateStatus(ctx context.Context, clusterVersion *v1alpha1.ClusterVersion, ...) (*v1alpha1.ClusterVersion, error)
- func (c *FakeClusterVersions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusters
- func (c *FakeClusters) Create(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.CreateOptions) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterList, err error)
- func (c *FakeClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) Update(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) UpdateStatus(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (*v1alpha1.Cluster, error)
- func (c *FakeClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeComponentClassDefinitions
- func (c *FakeComponentClassDefinitions) Create(ctx context.Context, ...) (result *v1alpha1.ComponentClassDefinition, err error)
- func (c *FakeComponentClassDefinitions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeComponentClassDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeComponentClassDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ComponentClassDefinition, err error)
- func (c *FakeComponentClassDefinitions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ComponentClassDefinitionList, err error)
- func (c *FakeComponentClassDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ComponentClassDefinition, err error)
- func (c *FakeComponentClassDefinitions) Update(ctx context.Context, ...) (result *v1alpha1.ComponentClassDefinition, err error)
- func (c *FakeComponentClassDefinitions) UpdateStatus(ctx context.Context, ...) (*v1alpha1.ComponentClassDefinition, error)
- func (c *FakeComponentClassDefinitions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeComponentDefinitions
- func (c *FakeComponentDefinitions) Create(ctx context.Context, componentDefinition *v1alpha1.ComponentDefinition, ...) (result *v1alpha1.ComponentDefinition, err error)
- func (c *FakeComponentDefinitions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeComponentDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeComponentDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ComponentDefinition, err error)
- func (c *FakeComponentDefinitions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ComponentDefinitionList, err error)
- func (c *FakeComponentDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ComponentDefinition, err error)
- func (c *FakeComponentDefinitions) Update(ctx context.Context, componentDefinition *v1alpha1.ComponentDefinition, ...) (result *v1alpha1.ComponentDefinition, err error)
- func (c *FakeComponentDefinitions) UpdateStatus(ctx context.Context, componentDefinition *v1alpha1.ComponentDefinition, ...) (*v1alpha1.ComponentDefinition, error)
- func (c *FakeComponentDefinitions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeComponentResourceConstraints
- func (c *FakeComponentResourceConstraints) Create(ctx context.Context, ...) (result *v1alpha1.ComponentResourceConstraint, err error)
- func (c *FakeComponentResourceConstraints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeComponentResourceConstraints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeComponentResourceConstraints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ComponentResourceConstraint, err error)
- func (c *FakeComponentResourceConstraints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ComponentResourceConstraintList, err error)
- func (c *FakeComponentResourceConstraints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ComponentResourceConstraint, err error)
- func (c *FakeComponentResourceConstraints) Update(ctx context.Context, ...) (result *v1alpha1.ComponentResourceConstraint, err error)
- func (c *FakeComponentResourceConstraints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeComponents
- func (c *FakeComponents) Create(ctx context.Context, component *v1alpha1.Component, opts v1.CreateOptions) (result *v1alpha1.Component, err error)
- func (c *FakeComponents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeComponents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeComponents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Component, err error)
- func (c *FakeComponents) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ComponentList, err error)
- func (c *FakeComponents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Component, err error)
- func (c *FakeComponents) Update(ctx context.Context, component *v1alpha1.Component, opts v1.UpdateOptions) (result *v1alpha1.Component, err error)
- func (c *FakeComponents) UpdateStatus(ctx context.Context, component *v1alpha1.Component, opts v1.UpdateOptions) (*v1alpha1.Component, error)
- func (c *FakeComponents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeConfigConstraints
- func (c *FakeConfigConstraints) Create(ctx context.Context, configConstraint *v1alpha1.ConfigConstraint, ...) (result *v1alpha1.ConfigConstraint, err error)
- func (c *FakeConfigConstraints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeConfigConstraints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeConfigConstraints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ConfigConstraint, err error)
- func (c *FakeConfigConstraints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ConfigConstraintList, err error)
- func (c *FakeConfigConstraints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ConfigConstraint, err error)
- func (c *FakeConfigConstraints) Update(ctx context.Context, configConstraint *v1alpha1.ConfigConstraint, ...) (result *v1alpha1.ConfigConstraint, err error)
- func (c *FakeConfigConstraints) UpdateStatus(ctx context.Context, configConstraint *v1alpha1.ConfigConstraint, ...) (*v1alpha1.ConfigConstraint, error)
- func (c *FakeConfigConstraints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeOpsDefinitions
- func (c *FakeOpsDefinitions) Create(ctx context.Context, opsDefinition *v1alpha1.OpsDefinition, ...) (result *v1alpha1.OpsDefinition, err error)
- func (c *FakeOpsDefinitions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeOpsDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeOpsDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.OpsDefinition, err error)
- func (c *FakeOpsDefinitions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.OpsDefinitionList, err error)
- func (c *FakeOpsDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.OpsDefinition, err error)
- func (c *FakeOpsDefinitions) Update(ctx context.Context, opsDefinition *v1alpha1.OpsDefinition, ...) (result *v1alpha1.OpsDefinition, err error)
- func (c *FakeOpsDefinitions) UpdateStatus(ctx context.Context, opsDefinition *v1alpha1.OpsDefinition, ...) (*v1alpha1.OpsDefinition, error)
- func (c *FakeOpsDefinitions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeOpsRequests
- func (c *FakeOpsRequests) Create(ctx context.Context, opsRequest *v1alpha1.OpsRequest, opts v1.CreateOptions) (result *v1alpha1.OpsRequest, err error)
- func (c *FakeOpsRequests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeOpsRequests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeOpsRequests) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.OpsRequest, err error)
- func (c *FakeOpsRequests) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.OpsRequestList, err error)
- func (c *FakeOpsRequests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.OpsRequest, err error)
- func (c *FakeOpsRequests) Update(ctx context.Context, opsRequest *v1alpha1.OpsRequest, opts v1.UpdateOptions) (result *v1alpha1.OpsRequest, err error)
- func (c *FakeOpsRequests) UpdateStatus(ctx context.Context, opsRequest *v1alpha1.OpsRequest, opts v1.UpdateOptions) (*v1alpha1.OpsRequest, error)
- func (c *FakeOpsRequests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeServiceDescriptors
- func (c *FakeServiceDescriptors) Create(ctx context.Context, serviceDescriptor *v1alpha1.ServiceDescriptor, ...) (result *v1alpha1.ServiceDescriptor, err error)
- func (c *FakeServiceDescriptors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServiceDescriptors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServiceDescriptors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServiceDescriptor, err error)
- func (c *FakeServiceDescriptors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServiceDescriptorList, err error)
- func (c *FakeServiceDescriptors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ServiceDescriptor, err error)
- func (c *FakeServiceDescriptors) Update(ctx context.Context, serviceDescriptor *v1alpha1.ServiceDescriptor, ...) (result *v1alpha1.ServiceDescriptor, err error)
- func (c *FakeServiceDescriptors) UpdateStatus(ctx context.Context, serviceDescriptor *v1alpha1.ServiceDescriptor, ...) (*v1alpha1.ServiceDescriptor, error)
- func (c *FakeServiceDescriptors) 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 FakeAppsV1alpha1 ¶
func (*FakeAppsV1alpha1) BackupPolicyTemplates ¶
func (c *FakeAppsV1alpha1) BackupPolicyTemplates() v1alpha1.BackupPolicyTemplateInterface
func (*FakeAppsV1alpha1) ClusterDefinitions ¶
func (c *FakeAppsV1alpha1) ClusterDefinitions() v1alpha1.ClusterDefinitionInterface
func (*FakeAppsV1alpha1) ClusterVersions ¶
func (c *FakeAppsV1alpha1) ClusterVersions() v1alpha1.ClusterVersionInterface
func (*FakeAppsV1alpha1) Clusters ¶
func (c *FakeAppsV1alpha1) Clusters(namespace string) v1alpha1.ClusterInterface
func (*FakeAppsV1alpha1) ComponentClassDefinitions ¶
func (c *FakeAppsV1alpha1) ComponentClassDefinitions() v1alpha1.ComponentClassDefinitionInterface
func (*FakeAppsV1alpha1) ComponentDefinitions ¶ added in v0.8.0
func (c *FakeAppsV1alpha1) ComponentDefinitions() v1alpha1.ComponentDefinitionInterface
func (*FakeAppsV1alpha1) ComponentResourceConstraints ¶
func (c *FakeAppsV1alpha1) ComponentResourceConstraints() v1alpha1.ComponentResourceConstraintInterface
func (*FakeAppsV1alpha1) Components ¶ added in v0.8.0
func (c *FakeAppsV1alpha1) Components(namespace string) v1alpha1.ComponentInterface
func (*FakeAppsV1alpha1) ConfigConstraints ¶
func (c *FakeAppsV1alpha1) ConfigConstraints() v1alpha1.ConfigConstraintInterface
func (*FakeAppsV1alpha1) OpsDefinitions ¶ added in v0.8.0
func (c *FakeAppsV1alpha1) OpsDefinitions() v1alpha1.OpsDefinitionInterface
func (*FakeAppsV1alpha1) OpsRequests ¶
func (c *FakeAppsV1alpha1) OpsRequests(namespace string) v1alpha1.OpsRequestInterface
func (*FakeAppsV1alpha1) RESTClient ¶
func (c *FakeAppsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAppsV1alpha1) ServiceDescriptors ¶ added in v0.7.0
func (c *FakeAppsV1alpha1) ServiceDescriptors(namespace string) v1alpha1.ServiceDescriptorInterface
type FakeBackupPolicyTemplates ¶
type FakeBackupPolicyTemplates struct {
Fake *FakeAppsV1alpha1
}
FakeBackupPolicyTemplates implements BackupPolicyTemplateInterface
func (*FakeBackupPolicyTemplates) Create ¶
func (c *FakeBackupPolicyTemplates) Create(ctx context.Context, backupPolicyTemplate *v1alpha1.BackupPolicyTemplate, opts v1.CreateOptions) (result *v1alpha1.BackupPolicyTemplate, err error)
Create takes the representation of a backupPolicyTemplate and creates it. Returns the server's representation of the backupPolicyTemplate, and an error, if there is any.
func (*FakeBackupPolicyTemplates) Delete ¶
func (c *FakeBackupPolicyTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the backupPolicyTemplate and deletes it. Returns an error if one occurs.
func (*FakeBackupPolicyTemplates) DeleteCollection ¶
func (c *FakeBackupPolicyTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackupPolicyTemplates) Get ¶
func (c *FakeBackupPolicyTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BackupPolicyTemplate, err error)
Get takes name of the backupPolicyTemplate, and returns the corresponding backupPolicyTemplate object, and an error if there is any.
func (*FakeBackupPolicyTemplates) List ¶
func (c *FakeBackupPolicyTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BackupPolicyTemplateList, err error)
List takes label and field selectors, and returns the list of BackupPolicyTemplates that match those selectors.
func (*FakeBackupPolicyTemplates) Patch ¶
func (c *FakeBackupPolicyTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.BackupPolicyTemplate, err error)
Patch applies the patch and returns the patched backupPolicyTemplate.
func (*FakeBackupPolicyTemplates) Update ¶
func (c *FakeBackupPolicyTemplates) Update(ctx context.Context, backupPolicyTemplate *v1alpha1.BackupPolicyTemplate, opts v1.UpdateOptions) (result *v1alpha1.BackupPolicyTemplate, err error)
Update takes the representation of a backupPolicyTemplate and updates it. Returns the server's representation of the backupPolicyTemplate, and an error, if there is any.
func (*FakeBackupPolicyTemplates) UpdateStatus ¶
func (c *FakeBackupPolicyTemplates) UpdateStatus(ctx context.Context, backupPolicyTemplate *v1alpha1.BackupPolicyTemplate, opts v1.UpdateOptions) (*v1alpha1.BackupPolicyTemplate, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBackupPolicyTemplates) Watch ¶
func (c *FakeBackupPolicyTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backupPolicyTemplates.
type FakeClusterDefinitions ¶
type FakeClusterDefinitions struct {
Fake *FakeAppsV1alpha1
}
FakeClusterDefinitions implements ClusterDefinitionInterface
func (*FakeClusterDefinitions) Create ¶
func (c *FakeClusterDefinitions) Create(ctx context.Context, clusterDefinition *v1alpha1.ClusterDefinition, opts v1.CreateOptions) (result *v1alpha1.ClusterDefinition, err error)
Create takes the representation of a clusterDefinition and creates it. Returns the server's representation of the clusterDefinition, and an error, if there is any.
func (*FakeClusterDefinitions) Delete ¶
func (c *FakeClusterDefinitions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterDefinition and deletes it. Returns an error if one occurs.
func (*FakeClusterDefinitions) DeleteCollection ¶
func (c *FakeClusterDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterDefinitions) Get ¶
func (c *FakeClusterDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterDefinition, err error)
Get takes name of the clusterDefinition, and returns the corresponding clusterDefinition object, and an error if there is any.
func (*FakeClusterDefinitions) List ¶
func (c *FakeClusterDefinitions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterDefinitionList, err error)
List takes label and field selectors, and returns the list of ClusterDefinitions that match those selectors.
func (*FakeClusterDefinitions) Patch ¶
func (c *FakeClusterDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterDefinition, err error)
Patch applies the patch and returns the patched clusterDefinition.
func (*FakeClusterDefinitions) Update ¶
func (c *FakeClusterDefinitions) Update(ctx context.Context, clusterDefinition *v1alpha1.ClusterDefinition, opts v1.UpdateOptions) (result *v1alpha1.ClusterDefinition, err error)
Update takes the representation of a clusterDefinition and updates it. Returns the server's representation of the clusterDefinition, and an error, if there is any.
func (*FakeClusterDefinitions) UpdateStatus ¶
func (c *FakeClusterDefinitions) UpdateStatus(ctx context.Context, clusterDefinition *v1alpha1.ClusterDefinition, opts v1.UpdateOptions) (*v1alpha1.ClusterDefinition, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterDefinitions) Watch ¶
func (c *FakeClusterDefinitions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterDefinitions.
type FakeClusterVersions ¶
type FakeClusterVersions struct {
Fake *FakeAppsV1alpha1
}
FakeClusterVersions implements ClusterVersionInterface
func (*FakeClusterVersions) Create ¶
func (c *FakeClusterVersions) Create(ctx context.Context, clusterVersion *v1alpha1.ClusterVersion, opts v1.CreateOptions) (result *v1alpha1.ClusterVersion, err error)
Create takes the representation of a clusterVersion and creates it. Returns the server's representation of the clusterVersion, and an error, if there is any.
func (*FakeClusterVersions) Delete ¶
func (c *FakeClusterVersions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterVersion and deletes it. Returns an error if one occurs.
func (*FakeClusterVersions) DeleteCollection ¶
func (c *FakeClusterVersions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterVersions) Get ¶
func (c *FakeClusterVersions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterVersion, err error)
Get takes name of the clusterVersion, and returns the corresponding clusterVersion object, and an error if there is any.
func (*FakeClusterVersions) List ¶
func (c *FakeClusterVersions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterVersionList, err error)
List takes label and field selectors, and returns the list of ClusterVersions that match those selectors.
func (*FakeClusterVersions) Patch ¶
func (c *FakeClusterVersions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterVersion, err error)
Patch applies the patch and returns the patched clusterVersion.
func (*FakeClusterVersions) Update ¶
func (c *FakeClusterVersions) Update(ctx context.Context, clusterVersion *v1alpha1.ClusterVersion, opts v1.UpdateOptions) (result *v1alpha1.ClusterVersion, err error)
Update takes the representation of a clusterVersion and updates it. Returns the server's representation of the clusterVersion, and an error, if there is any.
func (*FakeClusterVersions) UpdateStatus ¶
func (c *FakeClusterVersions) UpdateStatus(ctx context.Context, clusterVersion *v1alpha1.ClusterVersion, opts v1.UpdateOptions) (*v1alpha1.ClusterVersion, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterVersions) Watch ¶
func (c *FakeClusterVersions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterVersions.
type FakeClusters ¶
type FakeClusters struct { Fake *FakeAppsV1alpha1 // contains filtered or unexported fields }
FakeClusters implements ClusterInterface
func (*FakeClusters) Create ¶
func (c *FakeClusters) Create(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.CreateOptions) (result *v1alpha1.Cluster, err error)
Create takes the representation of a cluster and creates it. Returns the server's representation of the cluster, and an error, if there is any.
func (*FakeClusters) Delete ¶
func (c *FakeClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the cluster and deletes it. Returns an error if one occurs.
func (*FakeClusters) DeleteCollection ¶
func (c *FakeClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusters) Get ¶
func (c *FakeClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Cluster, err error)
Get takes name of the cluster, and returns the corresponding cluster object, and an error if there is any.
func (*FakeClusters) List ¶
func (c *FakeClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterList, err error)
List takes label and field selectors, and returns the list of Clusters that match those selectors.
func (*FakeClusters) Patch ¶
func (c *FakeClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Cluster, err error)
Patch applies the patch and returns the patched cluster.
func (*FakeClusters) Update ¶
func (c *FakeClusters) Update(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (result *v1alpha1.Cluster, err error)
Update takes the representation of a cluster and updates it. Returns the server's representation of the cluster, and an error, if there is any.
func (*FakeClusters) UpdateStatus ¶
func (c *FakeClusters) UpdateStatus(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (*v1alpha1.Cluster, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusters) Watch ¶
func (c *FakeClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusters.
type FakeComponentClassDefinitions ¶
type FakeComponentClassDefinitions struct {
Fake *FakeAppsV1alpha1
}
FakeComponentClassDefinitions implements ComponentClassDefinitionInterface
func (*FakeComponentClassDefinitions) Create ¶
func (c *FakeComponentClassDefinitions) Create(ctx context.Context, componentClassDefinition *v1alpha1.ComponentClassDefinition, opts v1.CreateOptions) (result *v1alpha1.ComponentClassDefinition, err error)
Create takes the representation of a componentClassDefinition and creates it. Returns the server's representation of the componentClassDefinition, and an error, if there is any.
func (*FakeComponentClassDefinitions) Delete ¶
func (c *FakeComponentClassDefinitions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the componentClassDefinition and deletes it. Returns an error if one occurs.
func (*FakeComponentClassDefinitions) DeleteCollection ¶
func (c *FakeComponentClassDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeComponentClassDefinitions) Get ¶
func (c *FakeComponentClassDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ComponentClassDefinition, err error)
Get takes name of the componentClassDefinition, and returns the corresponding componentClassDefinition object, and an error if there is any.
func (*FakeComponentClassDefinitions) List ¶
func (c *FakeComponentClassDefinitions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ComponentClassDefinitionList, err error)
List takes label and field selectors, and returns the list of ComponentClassDefinitions that match those selectors.
func (*FakeComponentClassDefinitions) Patch ¶
func (c *FakeComponentClassDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ComponentClassDefinition, err error)
Patch applies the patch and returns the patched componentClassDefinition.
func (*FakeComponentClassDefinitions) Update ¶
func (c *FakeComponentClassDefinitions) Update(ctx context.Context, componentClassDefinition *v1alpha1.ComponentClassDefinition, opts v1.UpdateOptions) (result *v1alpha1.ComponentClassDefinition, err error)
Update takes the representation of a componentClassDefinition and updates it. Returns the server's representation of the componentClassDefinition, and an error, if there is any.
func (*FakeComponentClassDefinitions) UpdateStatus ¶
func (c *FakeComponentClassDefinitions) UpdateStatus(ctx context.Context, componentClassDefinition *v1alpha1.ComponentClassDefinition, opts v1.UpdateOptions) (*v1alpha1.ComponentClassDefinition, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeComponentClassDefinitions) Watch ¶
func (c *FakeComponentClassDefinitions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested componentClassDefinitions.
type FakeComponentDefinitions ¶ added in v0.8.0
type FakeComponentDefinitions struct {
Fake *FakeAppsV1alpha1
}
FakeComponentDefinitions implements ComponentDefinitionInterface
func (*FakeComponentDefinitions) Create ¶ added in v0.8.0
func (c *FakeComponentDefinitions) Create(ctx context.Context, componentDefinition *v1alpha1.ComponentDefinition, opts v1.CreateOptions) (result *v1alpha1.ComponentDefinition, err error)
Create takes the representation of a componentDefinition and creates it. Returns the server's representation of the componentDefinition, and an error, if there is any.
func (*FakeComponentDefinitions) Delete ¶ added in v0.8.0
func (c *FakeComponentDefinitions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the componentDefinition and deletes it. Returns an error if one occurs.
func (*FakeComponentDefinitions) DeleteCollection ¶ added in v0.8.0
func (c *FakeComponentDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeComponentDefinitions) Get ¶ added in v0.8.0
func (c *FakeComponentDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ComponentDefinition, err error)
Get takes name of the componentDefinition, and returns the corresponding componentDefinition object, and an error if there is any.
func (*FakeComponentDefinitions) List ¶ added in v0.8.0
func (c *FakeComponentDefinitions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ComponentDefinitionList, err error)
List takes label and field selectors, and returns the list of ComponentDefinitions that match those selectors.
func (*FakeComponentDefinitions) Patch ¶ added in v0.8.0
func (c *FakeComponentDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ComponentDefinition, err error)
Patch applies the patch and returns the patched componentDefinition.
func (*FakeComponentDefinitions) Update ¶ added in v0.8.0
func (c *FakeComponentDefinitions) Update(ctx context.Context, componentDefinition *v1alpha1.ComponentDefinition, opts v1.UpdateOptions) (result *v1alpha1.ComponentDefinition, err error)
Update takes the representation of a componentDefinition and updates it. Returns the server's representation of the componentDefinition, and an error, if there is any.
func (*FakeComponentDefinitions) UpdateStatus ¶ added in v0.8.0
func (c *FakeComponentDefinitions) UpdateStatus(ctx context.Context, componentDefinition *v1alpha1.ComponentDefinition, opts v1.UpdateOptions) (*v1alpha1.ComponentDefinition, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeComponentDefinitions) Watch ¶ added in v0.8.0
func (c *FakeComponentDefinitions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested componentDefinitions.
type FakeComponentResourceConstraints ¶
type FakeComponentResourceConstraints struct {
Fake *FakeAppsV1alpha1
}
FakeComponentResourceConstraints implements ComponentResourceConstraintInterface
func (*FakeComponentResourceConstraints) Create ¶
func (c *FakeComponentResourceConstraints) Create(ctx context.Context, componentResourceConstraint *v1alpha1.ComponentResourceConstraint, opts v1.CreateOptions) (result *v1alpha1.ComponentResourceConstraint, err error)
Create takes the representation of a componentResourceConstraint and creates it. Returns the server's representation of the componentResourceConstraint, and an error, if there is any.
func (*FakeComponentResourceConstraints) Delete ¶
func (c *FakeComponentResourceConstraints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the componentResourceConstraint and deletes it. Returns an error if one occurs.
func (*FakeComponentResourceConstraints) DeleteCollection ¶
func (c *FakeComponentResourceConstraints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeComponentResourceConstraints) Get ¶
func (c *FakeComponentResourceConstraints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ComponentResourceConstraint, err error)
Get takes name of the componentResourceConstraint, and returns the corresponding componentResourceConstraint object, and an error if there is any.
func (*FakeComponentResourceConstraints) List ¶
func (c *FakeComponentResourceConstraints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ComponentResourceConstraintList, err error)
List takes label and field selectors, and returns the list of ComponentResourceConstraints that match those selectors.
func (*FakeComponentResourceConstraints) Patch ¶
func (c *FakeComponentResourceConstraints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ComponentResourceConstraint, err error)
Patch applies the patch and returns the patched componentResourceConstraint.
func (*FakeComponentResourceConstraints) Update ¶
func (c *FakeComponentResourceConstraints) Update(ctx context.Context, componentResourceConstraint *v1alpha1.ComponentResourceConstraint, opts v1.UpdateOptions) (result *v1alpha1.ComponentResourceConstraint, err error)
Update takes the representation of a componentResourceConstraint and updates it. Returns the server's representation of the componentResourceConstraint, and an error, if there is any.
func (*FakeComponentResourceConstraints) Watch ¶
func (c *FakeComponentResourceConstraints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested componentResourceConstraints.
type FakeComponents ¶ added in v0.8.0
type FakeComponents struct { Fake *FakeAppsV1alpha1 // contains filtered or unexported fields }
FakeComponents implements ComponentInterface
func (*FakeComponents) Create ¶ added in v0.8.0
func (c *FakeComponents) Create(ctx context.Context, component *v1alpha1.Component, opts v1.CreateOptions) (result *v1alpha1.Component, err error)
Create takes the representation of a component and creates it. Returns the server's representation of the component, and an error, if there is any.
func (*FakeComponents) Delete ¶ added in v0.8.0
func (c *FakeComponents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the component and deletes it. Returns an error if one occurs.
func (*FakeComponents) DeleteCollection ¶ added in v0.8.0
func (c *FakeComponents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeComponents) Get ¶ added in v0.8.0
func (c *FakeComponents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Component, err error)
Get takes name of the component, and returns the corresponding component object, and an error if there is any.
func (*FakeComponents) List ¶ added in v0.8.0
func (c *FakeComponents) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ComponentList, err error)
List takes label and field selectors, and returns the list of Components that match those selectors.
func (*FakeComponents) Patch ¶ added in v0.8.0
func (c *FakeComponents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Component, err error)
Patch applies the patch and returns the patched component.
func (*FakeComponents) Update ¶ added in v0.8.0
func (c *FakeComponents) Update(ctx context.Context, component *v1alpha1.Component, opts v1.UpdateOptions) (result *v1alpha1.Component, err error)
Update takes the representation of a component and updates it. Returns the server's representation of the component, and an error, if there is any.
func (*FakeComponents) UpdateStatus ¶ added in v0.8.0
func (c *FakeComponents) UpdateStatus(ctx context.Context, component *v1alpha1.Component, opts v1.UpdateOptions) (*v1alpha1.Component, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeComponents) Watch ¶ added in v0.8.0
func (c *FakeComponents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested components.
type FakeConfigConstraints ¶
type FakeConfigConstraints struct {
Fake *FakeAppsV1alpha1
}
FakeConfigConstraints implements ConfigConstraintInterface
func (*FakeConfigConstraints) Create ¶
func (c *FakeConfigConstraints) Create(ctx context.Context, configConstraint *v1alpha1.ConfigConstraint, opts v1.CreateOptions) (result *v1alpha1.ConfigConstraint, err error)
Create takes the representation of a configConstraint and creates it. Returns the server's representation of the configConstraint, and an error, if there is any.
func (*FakeConfigConstraints) Delete ¶
func (c *FakeConfigConstraints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the configConstraint and deletes it. Returns an error if one occurs.
func (*FakeConfigConstraints) DeleteCollection ¶
func (c *FakeConfigConstraints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConfigConstraints) Get ¶
func (c *FakeConfigConstraints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ConfigConstraint, err error)
Get takes name of the configConstraint, and returns the corresponding configConstraint object, and an error if there is any.
func (*FakeConfigConstraints) List ¶
func (c *FakeConfigConstraints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ConfigConstraintList, err error)
List takes label and field selectors, and returns the list of ConfigConstraints that match those selectors.
func (*FakeConfigConstraints) Patch ¶
func (c *FakeConfigConstraints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ConfigConstraint, err error)
Patch applies the patch and returns the patched configConstraint.
func (*FakeConfigConstraints) Update ¶
func (c *FakeConfigConstraints) Update(ctx context.Context, configConstraint *v1alpha1.ConfigConstraint, opts v1.UpdateOptions) (result *v1alpha1.ConfigConstraint, err error)
Update takes the representation of a configConstraint and updates it. Returns the server's representation of the configConstraint, and an error, if there is any.
func (*FakeConfigConstraints) UpdateStatus ¶
func (c *FakeConfigConstraints) UpdateStatus(ctx context.Context, configConstraint *v1alpha1.ConfigConstraint, opts v1.UpdateOptions) (*v1alpha1.ConfigConstraint, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeConfigConstraints) Watch ¶
func (c *FakeConfigConstraints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configConstraints.
type FakeOpsDefinitions ¶ added in v0.8.0
type FakeOpsDefinitions struct {
Fake *FakeAppsV1alpha1
}
FakeOpsDefinitions implements OpsDefinitionInterface
func (*FakeOpsDefinitions) Create ¶ added in v0.8.0
func (c *FakeOpsDefinitions) Create(ctx context.Context, opsDefinition *v1alpha1.OpsDefinition, opts v1.CreateOptions) (result *v1alpha1.OpsDefinition, err error)
Create takes the representation of a opsDefinition and creates it. Returns the server's representation of the opsDefinition, and an error, if there is any.
func (*FakeOpsDefinitions) Delete ¶ added in v0.8.0
func (c *FakeOpsDefinitions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the opsDefinition and deletes it. Returns an error if one occurs.
func (*FakeOpsDefinitions) DeleteCollection ¶ added in v0.8.0
func (c *FakeOpsDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeOpsDefinitions) Get ¶ added in v0.8.0
func (c *FakeOpsDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.OpsDefinition, err error)
Get takes name of the opsDefinition, and returns the corresponding opsDefinition object, and an error if there is any.
func (*FakeOpsDefinitions) List ¶ added in v0.8.0
func (c *FakeOpsDefinitions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.OpsDefinitionList, err error)
List takes label and field selectors, and returns the list of OpsDefinitions that match those selectors.
func (*FakeOpsDefinitions) Patch ¶ added in v0.8.0
func (c *FakeOpsDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.OpsDefinition, err error)
Patch applies the patch and returns the patched opsDefinition.
func (*FakeOpsDefinitions) Update ¶ added in v0.8.0
func (c *FakeOpsDefinitions) Update(ctx context.Context, opsDefinition *v1alpha1.OpsDefinition, opts v1.UpdateOptions) (result *v1alpha1.OpsDefinition, err error)
Update takes the representation of a opsDefinition and updates it. Returns the server's representation of the opsDefinition, and an error, if there is any.
func (*FakeOpsDefinitions) UpdateStatus ¶ added in v0.8.0
func (c *FakeOpsDefinitions) UpdateStatus(ctx context.Context, opsDefinition *v1alpha1.OpsDefinition, opts v1.UpdateOptions) (*v1alpha1.OpsDefinition, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeOpsDefinitions) Watch ¶ added in v0.8.0
func (c *FakeOpsDefinitions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested opsDefinitions.
type FakeOpsRequests ¶
type FakeOpsRequests struct { Fake *FakeAppsV1alpha1 // contains filtered or unexported fields }
FakeOpsRequests implements OpsRequestInterface
func (*FakeOpsRequests) Create ¶
func (c *FakeOpsRequests) Create(ctx context.Context, opsRequest *v1alpha1.OpsRequest, opts v1.CreateOptions) (result *v1alpha1.OpsRequest, err error)
Create takes the representation of a opsRequest and creates it. Returns the server's representation of the opsRequest, and an error, if there is any.
func (*FakeOpsRequests) Delete ¶
func (c *FakeOpsRequests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the opsRequest and deletes it. Returns an error if one occurs.
func (*FakeOpsRequests) DeleteCollection ¶
func (c *FakeOpsRequests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeOpsRequests) Get ¶
func (c *FakeOpsRequests) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.OpsRequest, err error)
Get takes name of the opsRequest, and returns the corresponding opsRequest object, and an error if there is any.
func (*FakeOpsRequests) List ¶
func (c *FakeOpsRequests) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.OpsRequestList, err error)
List takes label and field selectors, and returns the list of OpsRequests that match those selectors.
func (*FakeOpsRequests) Patch ¶
func (c *FakeOpsRequests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.OpsRequest, err error)
Patch applies the patch and returns the patched opsRequest.
func (*FakeOpsRequests) Update ¶
func (c *FakeOpsRequests) Update(ctx context.Context, opsRequest *v1alpha1.OpsRequest, opts v1.UpdateOptions) (result *v1alpha1.OpsRequest, err error)
Update takes the representation of a opsRequest and updates it. Returns the server's representation of the opsRequest, and an error, if there is any.
func (*FakeOpsRequests) UpdateStatus ¶
func (c *FakeOpsRequests) UpdateStatus(ctx context.Context, opsRequest *v1alpha1.OpsRequest, opts v1.UpdateOptions) (*v1alpha1.OpsRequest, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeOpsRequests) Watch ¶
func (c *FakeOpsRequests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested opsRequests.
type FakeServiceDescriptors ¶ added in v0.7.0
type FakeServiceDescriptors struct { Fake *FakeAppsV1alpha1 // contains filtered or unexported fields }
FakeServiceDescriptors implements ServiceDescriptorInterface
func (*FakeServiceDescriptors) Create ¶ added in v0.7.0
func (c *FakeServiceDescriptors) Create(ctx context.Context, serviceDescriptor *v1alpha1.ServiceDescriptor, opts v1.CreateOptions) (result *v1alpha1.ServiceDescriptor, err error)
Create takes the representation of a serviceDescriptor and creates it. Returns the server's representation of the serviceDescriptor, and an error, if there is any.
func (*FakeServiceDescriptors) Delete ¶ added in v0.7.0
func (c *FakeServiceDescriptors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the serviceDescriptor and deletes it. Returns an error if one occurs.
func (*FakeServiceDescriptors) DeleteCollection ¶ added in v0.7.0
func (c *FakeServiceDescriptors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceDescriptors) Get ¶ added in v0.7.0
func (c *FakeServiceDescriptors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServiceDescriptor, err error)
Get takes name of the serviceDescriptor, and returns the corresponding serviceDescriptor object, and an error if there is any.
func (*FakeServiceDescriptors) List ¶ added in v0.7.0
func (c *FakeServiceDescriptors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServiceDescriptorList, err error)
List takes label and field selectors, and returns the list of ServiceDescriptors that match those selectors.
func (*FakeServiceDescriptors) Patch ¶ added in v0.7.0
func (c *FakeServiceDescriptors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ServiceDescriptor, err error)
Patch applies the patch and returns the patched serviceDescriptor.
func (*FakeServiceDescriptors) Update ¶ added in v0.7.0
func (c *FakeServiceDescriptors) Update(ctx context.Context, serviceDescriptor *v1alpha1.ServiceDescriptor, opts v1.UpdateOptions) (result *v1alpha1.ServiceDescriptor, err error)
Update takes the representation of a serviceDescriptor and updates it. Returns the server's representation of the serviceDescriptor, and an error, if there is any.
func (*FakeServiceDescriptors) UpdateStatus ¶ added in v0.7.0
func (c *FakeServiceDescriptors) UpdateStatus(ctx context.Context, serviceDescriptor *v1alpha1.ServiceDescriptor, opts v1.UpdateOptions) (*v1alpha1.ServiceDescriptor, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServiceDescriptors) Watch ¶ added in v0.7.0
func (c *FakeServiceDescriptors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceDescriptors.
Source Files
¶
- doc.go
- fake_apps_client.go
- fake_backuppolicytemplate.go
- fake_cluster.go
- fake_clusterdefinition.go
- fake_clusterversion.go
- fake_component.go
- fake_componentclassdefinition.go
- fake_componentdefinition.go
- fake_componentresourceconstraint.go
- fake_configconstraint.go
- fake_opsdefinition.go
- fake_opsrequest.go
- fake_servicedescriptor.go