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) ComponentResourceConstraints() v1alpha1.ComponentResourceConstraintInterface
- func (c *FakeAppsV1alpha1) ConfigConstraints() v1alpha1.ConfigConstraintInterface
- func (c *FakeAppsV1alpha1) OpsRequests(namespace string) v1alpha1.OpsRequestInterface
- func (c *FakeAppsV1alpha1) RESTClient() rest.Interface
- 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 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 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 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)
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) ComponentResourceConstraints ¶
func (c *FakeAppsV1alpha1) ComponentResourceConstraints() v1alpha1.ComponentResourceConstraintInterface
func (*FakeAppsV1alpha1) ConfigConstraints ¶
func (c *FakeAppsV1alpha1) ConfigConstraints() v1alpha1.ConfigConstraintInterface
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.
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 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 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 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.