fake

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAppDeployments

type FakeAppDeployments struct {
	Fake *FakeCoreV1beta1
	// contains filtered or unexported fields
}

FakeAppDeployments implements AppDeploymentInterface

func (*FakeAppDeployments) Create

func (c *FakeAppDeployments) Create(ctx context.Context, appDeployment *v1beta1.AppDeployment, opts v1.CreateOptions) (result *v1beta1.AppDeployment, err error)

Create takes the representation of a appDeployment and creates it. Returns the server's representation of the appDeployment, and an error, if there is any.

func (*FakeAppDeployments) Delete

func (c *FakeAppDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the appDeployment and deletes it. Returns an error if one occurs.

func (*FakeAppDeployments) DeleteCollection

func (c *FakeAppDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAppDeployments) Get

func (c *FakeAppDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AppDeployment, err error)

Get takes name of the appDeployment, and returns the corresponding appDeployment object, and an error if there is any.

func (*FakeAppDeployments) List

func (c *FakeAppDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AppDeploymentList, err error)

List takes label and field selectors, and returns the list of AppDeployments that match those selectors.

func (*FakeAppDeployments) Patch

func (c *FakeAppDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.AppDeployment, err error)

Patch applies the patch and returns the patched appDeployment.

func (*FakeAppDeployments) Update

func (c *FakeAppDeployments) Update(ctx context.Context, appDeployment *v1beta1.AppDeployment, opts v1.UpdateOptions) (result *v1beta1.AppDeployment, err error)

Update takes the representation of a appDeployment and updates it. Returns the server's representation of the appDeployment, and an error, if there is any.

func (*FakeAppDeployments) UpdateStatus

func (c *FakeAppDeployments) UpdateStatus(ctx context.Context, appDeployment *v1beta1.AppDeployment, opts v1.UpdateOptions) (*v1beta1.AppDeployment, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeAppDeployments) Watch

Watch returns a watch.Interface that watches the requested appDeployments.

type FakeAppRollouts

type FakeAppRollouts struct {
	Fake *FakeCoreV1beta1
	// contains filtered or unexported fields
}

FakeAppRollouts implements AppRolloutInterface

func (*FakeAppRollouts) Create

func (c *FakeAppRollouts) Create(ctx context.Context, appRollout *v1beta1.AppRollout, opts v1.CreateOptions) (result *v1beta1.AppRollout, err error)

Create takes the representation of a appRollout and creates it. Returns the server's representation of the appRollout, and an error, if there is any.

func (*FakeAppRollouts) Delete

func (c *FakeAppRollouts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the appRollout and deletes it. Returns an error if one occurs.

func (*FakeAppRollouts) DeleteCollection

func (c *FakeAppRollouts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAppRollouts) Get

func (c *FakeAppRollouts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AppRollout, err error)

Get takes name of the appRollout, and returns the corresponding appRollout object, and an error if there is any.

func (*FakeAppRollouts) List

func (c *FakeAppRollouts) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AppRolloutList, err error)

List takes label and field selectors, and returns the list of AppRollouts that match those selectors.

func (*FakeAppRollouts) Patch

func (c *FakeAppRollouts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.AppRollout, err error)

Patch applies the patch and returns the patched appRollout.

func (*FakeAppRollouts) Update

func (c *FakeAppRollouts) Update(ctx context.Context, appRollout *v1beta1.AppRollout, opts v1.UpdateOptions) (result *v1beta1.AppRollout, err error)

Update takes the representation of a appRollout and updates it. Returns the server's representation of the appRollout, and an error, if there is any.

func (*FakeAppRollouts) UpdateStatus

func (c *FakeAppRollouts) UpdateStatus(ctx context.Context, appRollout *v1beta1.AppRollout, opts v1.UpdateOptions) (*v1beta1.AppRollout, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeAppRollouts) Watch

Watch returns a watch.Interface that watches the requested appRollouts.

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

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

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) Watch

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

Watch returns a watch.Interface that watches the requested applications.

type FakeClusters

type FakeClusters struct {
	Fake *FakeCoreV1beta1
	// contains filtered or unexported fields
}

FakeClusters implements ClusterInterface

func (*FakeClusters) Create

func (c *FakeClusters) Create(ctx context.Context, cluster *v1beta1.Cluster, opts v1.CreateOptions) (result *v1beta1.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 *v1beta1.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 *v1beta1.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 *v1beta1.Cluster, err error)

Patch applies the patch and returns the patched cluster.

func (*FakeClusters) Update

func (c *FakeClusters) Update(ctx context.Context, cluster *v1beta1.Cluster, opts v1.UpdateOptions) (result *v1beta1.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 *v1beta1.Cluster, opts v1.UpdateOptions) (*v1beta1.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 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

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

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

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

Watch returns a watch.Interface that watches the requested componentDefinitions.

type FakeCoreV1beta1

type FakeCoreV1beta1 struct {
	*testing.Fake
}

func (*FakeCoreV1beta1) AppDeployments

func (c *FakeCoreV1beta1) AppDeployments(namespace string) v1beta1.AppDeploymentInterface

func (*FakeCoreV1beta1) AppRollouts

func (c *FakeCoreV1beta1) AppRollouts(namespace string) v1beta1.AppRolloutInterface

func (*FakeCoreV1beta1) ApplicationRevisions

func (c *FakeCoreV1beta1) ApplicationRevisions(namespace string) v1beta1.ApplicationRevisionInterface

func (*FakeCoreV1beta1) Applications

func (c *FakeCoreV1beta1) Applications(namespace string) v1beta1.ApplicationInterface

func (*FakeCoreV1beta1) Clusters

func (c *FakeCoreV1beta1) Clusters(namespace string) v1beta1.ClusterInterface

func (*FakeCoreV1beta1) ComponentDefinitions

func (c *FakeCoreV1beta1) ComponentDefinitions(namespace string) v1beta1.ComponentDefinitionInterface

func (*FakeCoreV1beta1) DefinitionRevisions

func (c *FakeCoreV1beta1) DefinitionRevisions(namespace string) v1beta1.DefinitionRevisionInterface

func (*FakeCoreV1beta1) Initializers

func (c *FakeCoreV1beta1) Initializers(namespace string) v1beta1.InitializerInterface

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

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

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

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

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

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

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

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

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

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

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

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

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

Get takes name of the workflowStepDefinition, and returns the corresponding workflowStepDefinition object, and an error if there is any.

func (*FakeWorkflowStepDefinitions) List

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

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

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

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

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

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

Watch returns a watch.Interface that watches the requested workloadDefinitions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL