Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeApplicationRevisions
- func (c *FakeApplicationRevisions) Create(ctx context.Context, applicationRevision *v1beta1.ApplicationRevision, ...) (result *v1beta1.ApplicationRevision, err error)
- func (c *FakeApplicationRevisions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeApplicationRevisions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeApplicationRevisions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ApplicationRevision, err error)
- func (c *FakeApplicationRevisions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ApplicationRevisionList, err error)
- func (c *FakeApplicationRevisions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.ApplicationRevision, err error)
- func (c *FakeApplicationRevisions) Update(ctx context.Context, applicationRevision *v1beta1.ApplicationRevision, ...) (result *v1beta1.ApplicationRevision, err error)
- func (c *FakeApplicationRevisions) UpdateStatus(ctx context.Context, applicationRevision *v1beta1.ApplicationRevision, ...) (*v1beta1.ApplicationRevision, error)
- func (c *FakeApplicationRevisions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeApplications
- func (c *FakeApplications) Create(ctx context.Context, application *v1beta1.Application, opts v1.CreateOptions) (result *v1beta1.Application, err error)
- func (c *FakeApplications) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeApplications) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeApplications) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Application, err error)
- func (c *FakeApplications) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ApplicationList, err error)
- func (c *FakeApplications) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Application, err error)
- func (c *FakeApplications) Update(ctx context.Context, application *v1beta1.Application, opts v1.UpdateOptions) (result *v1beta1.Application, err error)
- func (c *FakeApplications) UpdateStatus(ctx context.Context, application *v1beta1.Application, opts v1.UpdateOptions) (*v1beta1.Application, error)
- func (c *FakeApplications) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeComponentDefinitions
- func (c *FakeComponentDefinitions) Create(ctx context.Context, componentDefinition *v1beta1.ComponentDefinition, ...) (result *v1beta1.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 *v1beta1.ComponentDefinition, err error)
- func (c *FakeComponentDefinitions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ComponentDefinitionList, err error)
- func (c *FakeComponentDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.ComponentDefinition, err error)
- func (c *FakeComponentDefinitions) Update(ctx context.Context, componentDefinition *v1beta1.ComponentDefinition, ...) (result *v1beta1.ComponentDefinition, err error)
- func (c *FakeComponentDefinitions) UpdateStatus(ctx context.Context, componentDefinition *v1beta1.ComponentDefinition, ...) (*v1beta1.ComponentDefinition, error)
- func (c *FakeComponentDefinitions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCoreV1beta1
- func (c *FakeCoreV1beta1) ApplicationRevisions(namespace string) v1beta1.ApplicationRevisionInterface
- func (c *FakeCoreV1beta1) Applications(namespace string) v1beta1.ApplicationInterface
- func (c *FakeCoreV1beta1) ComponentDefinitions(namespace string) v1beta1.ComponentDefinitionInterface
- func (c *FakeCoreV1beta1) DefinitionRevisions(namespace string) v1beta1.DefinitionRevisionInterface
- func (c *FakeCoreV1beta1) PolicyDefinitions(namespace string) v1beta1.PolicyDefinitionInterface
- func (c *FakeCoreV1beta1) RESTClient() rest.Interface
- func (c *FakeCoreV1beta1) ResourceTrackers(namespace string) v1beta1.ResourceTrackerInterface
- func (c *FakeCoreV1beta1) ScopeDefinitions(namespace string) v1beta1.ScopeDefinitionInterface
- func (c *FakeCoreV1beta1) TraitDefinitions(namespace string) v1beta1.TraitDefinitionInterface
- func (c *FakeCoreV1beta1) WorkflowStepDefinitions(namespace string) v1beta1.WorkflowStepDefinitionInterface
- func (c *FakeCoreV1beta1) WorkloadDefinitions(namespace string) v1beta1.WorkloadDefinitionInterface
- type FakeDefinitionRevisions
- func (c *FakeDefinitionRevisions) Create(ctx context.Context, definitionRevision *v1beta1.DefinitionRevision, ...) (result *v1beta1.DefinitionRevision, err error)
- func (c *FakeDefinitionRevisions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDefinitionRevisions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDefinitionRevisions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.DefinitionRevision, err error)
- func (c *FakeDefinitionRevisions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.DefinitionRevisionList, err error)
- func (c *FakeDefinitionRevisions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.DefinitionRevision, err error)
- func (c *FakeDefinitionRevisions) Update(ctx context.Context, definitionRevision *v1beta1.DefinitionRevision, ...) (result *v1beta1.DefinitionRevision, err error)
- func (c *FakeDefinitionRevisions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePolicyDefinitions
- func (c *FakePolicyDefinitions) Create(ctx context.Context, policyDefinition *v1beta1.PolicyDefinition, ...) (result *v1beta1.PolicyDefinition, err error)
- func (c *FakePolicyDefinitions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePolicyDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePolicyDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.PolicyDefinition, err error)
- func (c *FakePolicyDefinitions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.PolicyDefinitionList, err error)
- func (c *FakePolicyDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.PolicyDefinition, err error)
- func (c *FakePolicyDefinitions) Update(ctx context.Context, policyDefinition *v1beta1.PolicyDefinition, ...) (result *v1beta1.PolicyDefinition, err error)
- func (c *FakePolicyDefinitions) UpdateStatus(ctx context.Context, policyDefinition *v1beta1.PolicyDefinition, ...) (*v1beta1.PolicyDefinition, error)
- func (c *FakePolicyDefinitions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeResourceTrackers
- func (c *FakeResourceTrackers) Create(ctx context.Context, resourceTracker *v1beta1.ResourceTracker, ...) (result *v1beta1.ResourceTracker, err error)
- func (c *FakeResourceTrackers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeResourceTrackers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeResourceTrackers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ResourceTracker, err error)
- func (c *FakeResourceTrackers) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ResourceTrackerList, err error)
- func (c *FakeResourceTrackers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.ResourceTracker, err error)
- func (c *FakeResourceTrackers) Update(ctx context.Context, resourceTracker *v1beta1.ResourceTracker, ...) (result *v1beta1.ResourceTracker, err error)
- func (c *FakeResourceTrackers) UpdateStatus(ctx context.Context, resourceTracker *v1beta1.ResourceTracker, ...) (*v1beta1.ResourceTracker, error)
- func (c *FakeResourceTrackers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeScopeDefinitions
- func (c *FakeScopeDefinitions) Create(ctx context.Context, scopeDefinition *v1beta1.ScopeDefinition, ...) (result *v1beta1.ScopeDefinition, err error)
- func (c *FakeScopeDefinitions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeScopeDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeScopeDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ScopeDefinition, err error)
- func (c *FakeScopeDefinitions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ScopeDefinitionList, err error)
- func (c *FakeScopeDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.ScopeDefinition, err error)
- func (c *FakeScopeDefinitions) Update(ctx context.Context, scopeDefinition *v1beta1.ScopeDefinition, ...) (result *v1beta1.ScopeDefinition, err error)
- func (c *FakeScopeDefinitions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTraitDefinitions
- func (c *FakeTraitDefinitions) Create(ctx context.Context, traitDefinition *v1beta1.TraitDefinition, ...) (result *v1beta1.TraitDefinition, err error)
- func (c *FakeTraitDefinitions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTraitDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTraitDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.TraitDefinition, err error)
- func (c *FakeTraitDefinitions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.TraitDefinitionList, err error)
- func (c *FakeTraitDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.TraitDefinition, err error)
- func (c *FakeTraitDefinitions) Update(ctx context.Context, traitDefinition *v1beta1.TraitDefinition, ...) (result *v1beta1.TraitDefinition, err error)
- func (c *FakeTraitDefinitions) UpdateStatus(ctx context.Context, traitDefinition *v1beta1.TraitDefinition, ...) (*v1beta1.TraitDefinition, error)
- func (c *FakeTraitDefinitions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeWorkflowStepDefinitions
- func (c *FakeWorkflowStepDefinitions) Create(ctx context.Context, workflowStepDefinition *v1beta1.WorkflowStepDefinition, ...) (result *v1beta1.WorkflowStepDefinition, err error)
- func (c *FakeWorkflowStepDefinitions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeWorkflowStepDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeWorkflowStepDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.WorkflowStepDefinition, err error)
- func (c *FakeWorkflowStepDefinitions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.WorkflowStepDefinitionList, err error)
- func (c *FakeWorkflowStepDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.WorkflowStepDefinition, err error)
- func (c *FakeWorkflowStepDefinitions) Update(ctx context.Context, workflowStepDefinition *v1beta1.WorkflowStepDefinition, ...) (result *v1beta1.WorkflowStepDefinition, err error)
- func (c *FakeWorkflowStepDefinitions) UpdateStatus(ctx context.Context, workflowStepDefinition *v1beta1.WorkflowStepDefinition, ...) (*v1beta1.WorkflowStepDefinition, error)
- func (c *FakeWorkflowStepDefinitions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeWorkloadDefinitions
- func (c *FakeWorkloadDefinitions) Create(ctx context.Context, workloadDefinition *v1beta1.WorkloadDefinition, ...) (result *v1beta1.WorkloadDefinition, err error)
- func (c *FakeWorkloadDefinitions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeWorkloadDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeWorkloadDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.WorkloadDefinition, err error)
- func (c *FakeWorkloadDefinitions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.WorkloadDefinitionList, err error)
- func (c *FakeWorkloadDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.WorkloadDefinition, err error)
- func (c *FakeWorkloadDefinitions) Update(ctx context.Context, workloadDefinition *v1beta1.WorkloadDefinition, ...) (result *v1beta1.WorkloadDefinition, err error)
- func (c *FakeWorkloadDefinitions) UpdateStatus(ctx context.Context, workloadDefinition *v1beta1.WorkloadDefinition, ...) (*v1beta1.WorkloadDefinition, error)
- func (c *FakeWorkloadDefinitions) 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 FakeApplicationRevisions ¶
type FakeApplicationRevisions struct { Fake *FakeCoreV1beta1 // contains filtered or unexported fields }
FakeApplicationRevisions implements ApplicationRevisionInterface
func (*FakeApplicationRevisions) Create ¶
func (c *FakeApplicationRevisions) Create(ctx context.Context, applicationRevision *v1beta1.ApplicationRevision, opts v1.CreateOptions) (result *v1beta1.ApplicationRevision, err error)
Create takes the representation of a applicationRevision and creates it. Returns the server's representation of the applicationRevision, and an error, if there is any.
func (*FakeApplicationRevisions) Delete ¶
func (c *FakeApplicationRevisions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the applicationRevision and deletes it. Returns an error if one occurs.
func (*FakeApplicationRevisions) DeleteCollection ¶
func (c *FakeApplicationRevisions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApplicationRevisions) Get ¶
func (c *FakeApplicationRevisions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ApplicationRevision, err error)
Get takes name of the applicationRevision, and returns the corresponding applicationRevision object, and an error if there is any.
func (*FakeApplicationRevisions) List ¶
func (c *FakeApplicationRevisions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ApplicationRevisionList, err error)
List takes label and field selectors, and returns the list of ApplicationRevisions that match those selectors.
func (*FakeApplicationRevisions) Patch ¶
func (c *FakeApplicationRevisions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ApplicationRevision, err error)
Patch applies the patch and returns the patched applicationRevision.
func (*FakeApplicationRevisions) Update ¶
func (c *FakeApplicationRevisions) Update(ctx context.Context, applicationRevision *v1beta1.ApplicationRevision, opts v1.UpdateOptions) (result *v1beta1.ApplicationRevision, err error)
Update takes the representation of a applicationRevision and updates it. Returns the server's representation of the applicationRevision, and an error, if there is any.
func (*FakeApplicationRevisions) UpdateStatus ¶ added in v1.3.0
func (c *FakeApplicationRevisions) UpdateStatus(ctx context.Context, applicationRevision *v1beta1.ApplicationRevision, opts v1.UpdateOptions) (*v1beta1.ApplicationRevision, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeApplicationRevisions) Watch ¶
func (c *FakeApplicationRevisions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested applicationRevisions.
type FakeApplications ¶
type FakeApplications struct { Fake *FakeCoreV1beta1 // contains filtered or unexported fields }
FakeApplications implements ApplicationInterface
func (*FakeApplications) Create ¶
func (c *FakeApplications) Create(ctx context.Context, application *v1beta1.Application, opts v1.CreateOptions) (result *v1beta1.Application, err error)
Create takes the representation of a application and creates it. Returns the server's representation of the application, and an error, if there is any.
func (*FakeApplications) Delete ¶
func (c *FakeApplications) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the application and deletes it. Returns an error if one occurs.
func (*FakeApplications) DeleteCollection ¶
func (c *FakeApplications) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApplications) Get ¶
func (c *FakeApplications) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Application, err error)
Get takes name of the application, and returns the corresponding application object, and an error if there is any.
func (*FakeApplications) List ¶
func (c *FakeApplications) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ApplicationList, err error)
List takes label and field selectors, and returns the list of Applications that match those selectors.
func (*FakeApplications) Patch ¶
func (c *FakeApplications) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Application, err error)
Patch applies the patch and returns the patched application.
func (*FakeApplications) Update ¶
func (c *FakeApplications) Update(ctx context.Context, application *v1beta1.Application, opts v1.UpdateOptions) (result *v1beta1.Application, err error)
Update takes the representation of a application and updates it. Returns the server's representation of the application, and an error, if there is any.
func (*FakeApplications) UpdateStatus ¶
func (c *FakeApplications) UpdateStatus(ctx context.Context, application *v1beta1.Application, opts v1.UpdateOptions) (*v1beta1.Application, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeApplications) Watch ¶
func (c *FakeApplications) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested applications.
type FakeComponentDefinitions ¶
type FakeComponentDefinitions struct { Fake *FakeCoreV1beta1 // contains filtered or unexported fields }
FakeComponentDefinitions implements ComponentDefinitionInterface
func (*FakeComponentDefinitions) Create ¶
func (c *FakeComponentDefinitions) Create(ctx context.Context, componentDefinition *v1beta1.ComponentDefinition, opts v1.CreateOptions) (result *v1beta1.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 ¶
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 ¶
func (c *FakeComponentDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeComponentDefinitions) Get ¶
func (c *FakeComponentDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.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 ¶
func (c *FakeComponentDefinitions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ComponentDefinitionList, err error)
List takes label and field selectors, and returns the list of ComponentDefinitions that match those selectors.
func (*FakeComponentDefinitions) Patch ¶
func (c *FakeComponentDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ComponentDefinition, err error)
Patch applies the patch and returns the patched componentDefinition.
func (*FakeComponentDefinitions) Update ¶
func (c *FakeComponentDefinitions) Update(ctx context.Context, componentDefinition *v1beta1.ComponentDefinition, opts v1.UpdateOptions) (result *v1beta1.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 ¶
func (c *FakeComponentDefinitions) UpdateStatus(ctx context.Context, componentDefinition *v1beta1.ComponentDefinition, opts v1.UpdateOptions) (*v1beta1.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 ¶
func (c *FakeComponentDefinitions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested componentDefinitions.
type FakeCoreV1beta1 ¶
func (*FakeCoreV1beta1) ApplicationRevisions ¶
func (c *FakeCoreV1beta1) ApplicationRevisions(namespace string) v1beta1.ApplicationRevisionInterface
func (*FakeCoreV1beta1) Applications ¶
func (c *FakeCoreV1beta1) Applications(namespace string) v1beta1.ApplicationInterface
func (*FakeCoreV1beta1) ComponentDefinitions ¶
func (c *FakeCoreV1beta1) ComponentDefinitions(namespace string) v1beta1.ComponentDefinitionInterface
func (*FakeCoreV1beta1) DefinitionRevisions ¶
func (c *FakeCoreV1beta1) DefinitionRevisions(namespace string) v1beta1.DefinitionRevisionInterface
func (*FakeCoreV1beta1) PolicyDefinitions ¶
func (c *FakeCoreV1beta1) PolicyDefinitions(namespace string) v1beta1.PolicyDefinitionInterface
func (*FakeCoreV1beta1) RESTClient ¶
func (c *FakeCoreV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeCoreV1beta1) ResourceTrackers ¶
func (c *FakeCoreV1beta1) ResourceTrackers(namespace string) v1beta1.ResourceTrackerInterface
func (*FakeCoreV1beta1) ScopeDefinitions ¶
func (c *FakeCoreV1beta1) ScopeDefinitions(namespace string) v1beta1.ScopeDefinitionInterface
func (*FakeCoreV1beta1) TraitDefinitions ¶
func (c *FakeCoreV1beta1) TraitDefinitions(namespace string) v1beta1.TraitDefinitionInterface
func (*FakeCoreV1beta1) WorkflowStepDefinitions ¶
func (c *FakeCoreV1beta1) WorkflowStepDefinitions(namespace string) v1beta1.WorkflowStepDefinitionInterface
func (*FakeCoreV1beta1) WorkloadDefinitions ¶
func (c *FakeCoreV1beta1) WorkloadDefinitions(namespace string) v1beta1.WorkloadDefinitionInterface
type FakeDefinitionRevisions ¶
type FakeDefinitionRevisions struct { Fake *FakeCoreV1beta1 // contains filtered or unexported fields }
FakeDefinitionRevisions implements DefinitionRevisionInterface
func (*FakeDefinitionRevisions) Create ¶
func (c *FakeDefinitionRevisions) Create(ctx context.Context, definitionRevision *v1beta1.DefinitionRevision, opts v1.CreateOptions) (result *v1beta1.DefinitionRevision, err error)
Create takes the representation of a definitionRevision and creates it. Returns the server's representation of the definitionRevision, and an error, if there is any.
func (*FakeDefinitionRevisions) Delete ¶
func (c *FakeDefinitionRevisions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the definitionRevision and deletes it. Returns an error if one occurs.
func (*FakeDefinitionRevisions) DeleteCollection ¶
func (c *FakeDefinitionRevisions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDefinitionRevisions) Get ¶
func (c *FakeDefinitionRevisions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.DefinitionRevision, err error)
Get takes name of the definitionRevision, and returns the corresponding definitionRevision object, and an error if there is any.
func (*FakeDefinitionRevisions) List ¶
func (c *FakeDefinitionRevisions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.DefinitionRevisionList, err error)
List takes label and field selectors, and returns the list of DefinitionRevisions that match those selectors.
func (*FakeDefinitionRevisions) Patch ¶
func (c *FakeDefinitionRevisions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.DefinitionRevision, err error)
Patch applies the patch and returns the patched definitionRevision.
func (*FakeDefinitionRevisions) Update ¶
func (c *FakeDefinitionRevisions) Update(ctx context.Context, definitionRevision *v1beta1.DefinitionRevision, opts v1.UpdateOptions) (result *v1beta1.DefinitionRevision, err error)
Update takes the representation of a definitionRevision and updates it. Returns the server's representation of the definitionRevision, and an error, if there is any.
func (*FakeDefinitionRevisions) Watch ¶
func (c *FakeDefinitionRevisions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested definitionRevisions.
type FakePolicyDefinitions ¶
type FakePolicyDefinitions struct { Fake *FakeCoreV1beta1 // contains filtered or unexported fields }
FakePolicyDefinitions implements PolicyDefinitionInterface
func (*FakePolicyDefinitions) Create ¶
func (c *FakePolicyDefinitions) Create(ctx context.Context, policyDefinition *v1beta1.PolicyDefinition, opts v1.CreateOptions) (result *v1beta1.PolicyDefinition, err error)
Create takes the representation of a policyDefinition and creates it. Returns the server's representation of the policyDefinition, and an error, if there is any.
func (*FakePolicyDefinitions) Delete ¶
func (c *FakePolicyDefinitions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the policyDefinition and deletes it. Returns an error if one occurs.
func (*FakePolicyDefinitions) DeleteCollection ¶
func (c *FakePolicyDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePolicyDefinitions) Get ¶
func (c *FakePolicyDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.PolicyDefinition, err error)
Get takes name of the policyDefinition, and returns the corresponding policyDefinition object, and an error if there is any.
func (*FakePolicyDefinitions) List ¶
func (c *FakePolicyDefinitions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.PolicyDefinitionList, err error)
List takes label and field selectors, and returns the list of PolicyDefinitions that match those selectors.
func (*FakePolicyDefinitions) Patch ¶
func (c *FakePolicyDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.PolicyDefinition, err error)
Patch applies the patch and returns the patched policyDefinition.
func (*FakePolicyDefinitions) Update ¶
func (c *FakePolicyDefinitions) Update(ctx context.Context, policyDefinition *v1beta1.PolicyDefinition, opts v1.UpdateOptions) (result *v1beta1.PolicyDefinition, err error)
Update takes the representation of a policyDefinition and updates it. Returns the server's representation of the policyDefinition, and an error, if there is any.
func (*FakePolicyDefinitions) UpdateStatus ¶
func (c *FakePolicyDefinitions) UpdateStatus(ctx context.Context, policyDefinition *v1beta1.PolicyDefinition, opts v1.UpdateOptions) (*v1beta1.PolicyDefinition, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePolicyDefinitions) Watch ¶
func (c *FakePolicyDefinitions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested policyDefinitions.
type FakeResourceTrackers ¶
type FakeResourceTrackers struct { Fake *FakeCoreV1beta1 // contains filtered or unexported fields }
FakeResourceTrackers implements ResourceTrackerInterface
func (*FakeResourceTrackers) Create ¶
func (c *FakeResourceTrackers) Create(ctx context.Context, resourceTracker *v1beta1.ResourceTracker, opts v1.CreateOptions) (result *v1beta1.ResourceTracker, err error)
Create takes the representation of a resourceTracker and creates it. Returns the server's representation of the resourceTracker, and an error, if there is any.
func (*FakeResourceTrackers) Delete ¶
func (c *FakeResourceTrackers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the resourceTracker and deletes it. Returns an error if one occurs.
func (*FakeResourceTrackers) DeleteCollection ¶
func (c *FakeResourceTrackers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResourceTrackers) Get ¶
func (c *FakeResourceTrackers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ResourceTracker, err error)
Get takes name of the resourceTracker, and returns the corresponding resourceTracker object, and an error if there is any.
func (*FakeResourceTrackers) List ¶
func (c *FakeResourceTrackers) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ResourceTrackerList, err error)
List takes label and field selectors, and returns the list of ResourceTrackers that match those selectors.
func (*FakeResourceTrackers) Patch ¶
func (c *FakeResourceTrackers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ResourceTracker, err error)
Patch applies the patch and returns the patched resourceTracker.
func (*FakeResourceTrackers) Update ¶
func (c *FakeResourceTrackers) Update(ctx context.Context, resourceTracker *v1beta1.ResourceTracker, opts v1.UpdateOptions) (result *v1beta1.ResourceTracker, err error)
Update takes the representation of a resourceTracker and updates it. Returns the server's representation of the resourceTracker, and an error, if there is any.
func (*FakeResourceTrackers) UpdateStatus ¶
func (c *FakeResourceTrackers) UpdateStatus(ctx context.Context, resourceTracker *v1beta1.ResourceTracker, opts v1.UpdateOptions) (*v1beta1.ResourceTracker, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeResourceTrackers) Watch ¶
func (c *FakeResourceTrackers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested resourceTrackers.
type FakeScopeDefinitions ¶
type FakeScopeDefinitions struct { Fake *FakeCoreV1beta1 // contains filtered or unexported fields }
FakeScopeDefinitions implements ScopeDefinitionInterface
func (*FakeScopeDefinitions) Create ¶
func (c *FakeScopeDefinitions) Create(ctx context.Context, scopeDefinition *v1beta1.ScopeDefinition, opts v1.CreateOptions) (result *v1beta1.ScopeDefinition, err error)
Create takes the representation of a scopeDefinition and creates it. Returns the server's representation of the scopeDefinition, and an error, if there is any.
func (*FakeScopeDefinitions) Delete ¶
func (c *FakeScopeDefinitions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the scopeDefinition and deletes it. Returns an error if one occurs.
func (*FakeScopeDefinitions) DeleteCollection ¶
func (c *FakeScopeDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeScopeDefinitions) Get ¶
func (c *FakeScopeDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ScopeDefinition, err error)
Get takes name of the scopeDefinition, and returns the corresponding scopeDefinition object, and an error if there is any.
func (*FakeScopeDefinitions) List ¶
func (c *FakeScopeDefinitions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ScopeDefinitionList, err error)
List takes label and field selectors, and returns the list of ScopeDefinitions that match those selectors.
func (*FakeScopeDefinitions) Patch ¶
func (c *FakeScopeDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ScopeDefinition, err error)
Patch applies the patch and returns the patched scopeDefinition.
func (*FakeScopeDefinitions) Update ¶
func (c *FakeScopeDefinitions) Update(ctx context.Context, scopeDefinition *v1beta1.ScopeDefinition, opts v1.UpdateOptions) (result *v1beta1.ScopeDefinition, err error)
Update takes the representation of a scopeDefinition and updates it. Returns the server's representation of the scopeDefinition, and an error, if there is any.
func (*FakeScopeDefinitions) Watch ¶
func (c *FakeScopeDefinitions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested scopeDefinitions.
type FakeTraitDefinitions ¶
type FakeTraitDefinitions struct { Fake *FakeCoreV1beta1 // contains filtered or unexported fields }
FakeTraitDefinitions implements TraitDefinitionInterface
func (*FakeTraitDefinitions) Create ¶
func (c *FakeTraitDefinitions) Create(ctx context.Context, traitDefinition *v1beta1.TraitDefinition, opts v1.CreateOptions) (result *v1beta1.TraitDefinition, err error)
Create takes the representation of a traitDefinition and creates it. Returns the server's representation of the traitDefinition, and an error, if there is any.
func (*FakeTraitDefinitions) Delete ¶
func (c *FakeTraitDefinitions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the traitDefinition and deletes it. Returns an error if one occurs.
func (*FakeTraitDefinitions) DeleteCollection ¶
func (c *FakeTraitDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTraitDefinitions) Get ¶
func (c *FakeTraitDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.TraitDefinition, err error)
Get takes name of the traitDefinition, and returns the corresponding traitDefinition object, and an error if there is any.
func (*FakeTraitDefinitions) List ¶
func (c *FakeTraitDefinitions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.TraitDefinitionList, err error)
List takes label and field selectors, and returns the list of TraitDefinitions that match those selectors.
func (*FakeTraitDefinitions) Patch ¶
func (c *FakeTraitDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.TraitDefinition, err error)
Patch applies the patch and returns the patched traitDefinition.
func (*FakeTraitDefinitions) Update ¶
func (c *FakeTraitDefinitions) Update(ctx context.Context, traitDefinition *v1beta1.TraitDefinition, opts v1.UpdateOptions) (result *v1beta1.TraitDefinition, err error)
Update takes the representation of a traitDefinition and updates it. Returns the server's representation of the traitDefinition, and an error, if there is any.
func (*FakeTraitDefinitions) UpdateStatus ¶
func (c *FakeTraitDefinitions) UpdateStatus(ctx context.Context, traitDefinition *v1beta1.TraitDefinition, opts v1.UpdateOptions) (*v1beta1.TraitDefinition, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTraitDefinitions) Watch ¶
func (c *FakeTraitDefinitions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested traitDefinitions.
type FakeWorkflowStepDefinitions ¶
type FakeWorkflowStepDefinitions struct { Fake *FakeCoreV1beta1 // contains filtered or unexported fields }
FakeWorkflowStepDefinitions implements WorkflowStepDefinitionInterface
func (*FakeWorkflowStepDefinitions) Create ¶
func (c *FakeWorkflowStepDefinitions) Create(ctx context.Context, workflowStepDefinition *v1beta1.WorkflowStepDefinition, opts v1.CreateOptions) (result *v1beta1.WorkflowStepDefinition, err error)
Create takes the representation of a workflowStepDefinition and creates it. Returns the server's representation of the workflowStepDefinition, and an error, if there is any.
func (*FakeWorkflowStepDefinitions) Delete ¶
func (c *FakeWorkflowStepDefinitions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the workflowStepDefinition and deletes it. Returns an error if one occurs.
func (*FakeWorkflowStepDefinitions) DeleteCollection ¶
func (c *FakeWorkflowStepDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeWorkflowStepDefinitions) Get ¶
func (c *FakeWorkflowStepDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.WorkflowStepDefinition, err error)
Get takes name of the workflowStepDefinition, and returns the corresponding workflowStepDefinition object, and an error if there is any.
func (*FakeWorkflowStepDefinitions) List ¶
func (c *FakeWorkflowStepDefinitions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.WorkflowStepDefinitionList, err error)
List takes label and field selectors, and returns the list of WorkflowStepDefinitions that match those selectors.
func (*FakeWorkflowStepDefinitions) Patch ¶
func (c *FakeWorkflowStepDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.WorkflowStepDefinition, err error)
Patch applies the patch and returns the patched workflowStepDefinition.
func (*FakeWorkflowStepDefinitions) Update ¶
func (c *FakeWorkflowStepDefinitions) Update(ctx context.Context, workflowStepDefinition *v1beta1.WorkflowStepDefinition, opts v1.UpdateOptions) (result *v1beta1.WorkflowStepDefinition, err error)
Update takes the representation of a workflowStepDefinition and updates it. Returns the server's representation of the workflowStepDefinition, and an error, if there is any.
func (*FakeWorkflowStepDefinitions) UpdateStatus ¶
func (c *FakeWorkflowStepDefinitions) UpdateStatus(ctx context.Context, workflowStepDefinition *v1beta1.WorkflowStepDefinition, opts v1.UpdateOptions) (*v1beta1.WorkflowStepDefinition, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeWorkflowStepDefinitions) Watch ¶
func (c *FakeWorkflowStepDefinitions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested workflowStepDefinitions.
type FakeWorkloadDefinitions ¶
type FakeWorkloadDefinitions struct { Fake *FakeCoreV1beta1 // contains filtered or unexported fields }
FakeWorkloadDefinitions implements WorkloadDefinitionInterface
func (*FakeWorkloadDefinitions) Create ¶
func (c *FakeWorkloadDefinitions) Create(ctx context.Context, workloadDefinition *v1beta1.WorkloadDefinition, opts v1.CreateOptions) (result *v1beta1.WorkloadDefinition, err error)
Create takes the representation of a workloadDefinition and creates it. Returns the server's representation of the workloadDefinition, and an error, if there is any.
func (*FakeWorkloadDefinitions) Delete ¶
func (c *FakeWorkloadDefinitions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the workloadDefinition and deletes it. Returns an error if one occurs.
func (*FakeWorkloadDefinitions) DeleteCollection ¶
func (c *FakeWorkloadDefinitions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeWorkloadDefinitions) Get ¶
func (c *FakeWorkloadDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.WorkloadDefinition, err error)
Get takes name of the workloadDefinition, and returns the corresponding workloadDefinition object, and an error if there is any.
func (*FakeWorkloadDefinitions) List ¶
func (c *FakeWorkloadDefinitions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.WorkloadDefinitionList, err error)
List takes label and field selectors, and returns the list of WorkloadDefinitions that match those selectors.
func (*FakeWorkloadDefinitions) Patch ¶
func (c *FakeWorkloadDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.WorkloadDefinition, err error)
Patch applies the patch and returns the patched workloadDefinition.
func (*FakeWorkloadDefinitions) Update ¶
func (c *FakeWorkloadDefinitions) Update(ctx context.Context, workloadDefinition *v1beta1.WorkloadDefinition, opts v1.UpdateOptions) (result *v1beta1.WorkloadDefinition, err error)
Update takes the representation of a workloadDefinition and updates it. Returns the server's representation of the workloadDefinition, and an error, if there is any.
func (*FakeWorkloadDefinitions) UpdateStatus ¶
func (c *FakeWorkloadDefinitions) UpdateStatus(ctx context.Context, workloadDefinition *v1beta1.WorkloadDefinition, opts v1.UpdateOptions) (*v1beta1.WorkloadDefinition, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeWorkloadDefinitions) Watch ¶
func (c *FakeWorkloadDefinitions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested workloadDefinitions.