fake

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 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 FakeBuildPipelineStages

type FakeBuildPipelineStages struct {
	Fake *FakeDevopsV1alpha1
	// contains filtered or unexported fields
}

FakeBuildPipelineStages implements BuildPipelineStageInterface

func (*FakeBuildPipelineStages) Create

func (c *FakeBuildPipelineStages) Create(ctx context.Context, buildPipelineStage *v1alpha1.BuildPipelineStage, opts v1.CreateOptions) (result *v1alpha1.BuildPipelineStage, err error)

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

func (*FakeBuildPipelineStages) Delete

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

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

func (*FakeBuildPipelineStages) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBuildPipelineStages) Get

func (c *FakeBuildPipelineStages) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BuildPipelineStage, err error)

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

func (*FakeBuildPipelineStages) List

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

func (*FakeBuildPipelineStages) Patch

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

Patch applies the patch and returns the patched buildPipelineStage.

func (*FakeBuildPipelineStages) Update

func (c *FakeBuildPipelineStages) Update(ctx context.Context, buildPipelineStage *v1alpha1.BuildPipelineStage, opts v1.UpdateOptions) (result *v1alpha1.BuildPipelineStage, err error)

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

func (*FakeBuildPipelineStages) UpdateStatus

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

func (*FakeBuildPipelineStages) Watch

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

type FakeBuildPipelines

type FakeBuildPipelines struct {
	Fake *FakeDevopsV1alpha1
	// contains filtered or unexported fields
}

FakeBuildPipelines implements BuildPipelineInterface

func (*FakeBuildPipelines) Create

func (c *FakeBuildPipelines) Create(ctx context.Context, buildPipeline *v1alpha1.BuildPipeline, opts v1.CreateOptions) (result *v1alpha1.BuildPipeline, err error)

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

func (*FakeBuildPipelines) Delete

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

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

func (*FakeBuildPipelines) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBuildPipelines) Get

func (c *FakeBuildPipelines) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BuildPipeline, err error)

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

func (*FakeBuildPipelines) List

func (c *FakeBuildPipelines) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BuildPipelineList, err error)

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

func (*FakeBuildPipelines) Patch

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

Patch applies the patch and returns the patched buildPipeline.

func (*FakeBuildPipelines) Update

func (c *FakeBuildPipelines) Update(ctx context.Context, buildPipeline *v1alpha1.BuildPipeline, opts v1.UpdateOptions) (result *v1alpha1.BuildPipeline, err error)

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

func (*FakeBuildPipelines) UpdateStatus

func (c *FakeBuildPipelines) UpdateStatus(ctx context.Context, buildPipeline *v1alpha1.BuildPipeline, opts v1.UpdateOptions) (*v1alpha1.BuildPipeline, error)

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

func (*FakeBuildPipelines) Watch

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

type FakeBuildRuns

type FakeBuildRuns struct {
	Fake *FakeDevopsV1alpha1
	// contains filtered or unexported fields
}

FakeBuildRuns implements BuildRunInterface

func (*FakeBuildRuns) Create

func (c *FakeBuildRuns) Create(ctx context.Context, buildRun *v1alpha1.BuildRun, opts v1.CreateOptions) (result *v1alpha1.BuildRun, err error)

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

func (*FakeBuildRuns) Delete

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

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

func (*FakeBuildRuns) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBuildRuns) Get

func (c *FakeBuildRuns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BuildRun, err error)

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

func (*FakeBuildRuns) List

func (c *FakeBuildRuns) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BuildRunList, err error)

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

func (*FakeBuildRuns) Patch

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

Patch applies the patch and returns the patched buildRun.

func (*FakeBuildRuns) Update

func (c *FakeBuildRuns) Update(ctx context.Context, buildRun *v1alpha1.BuildRun, opts v1.UpdateOptions) (result *v1alpha1.BuildRun, err error)

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

func (*FakeBuildRuns) UpdateStatus

func (c *FakeBuildRuns) UpdateStatus(ctx context.Context, buildRun *v1alpha1.BuildRun, opts v1.UpdateOptions) (*v1alpha1.BuildRun, error)

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

func (*FakeBuildRuns) Watch

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

type FakeConnections

type FakeConnections struct {
	Fake *FakeDevopsV1alpha1
	// contains filtered or unexported fields
}

FakeConnections implements ConnectionInterface

func (*FakeConnections) Create

func (c *FakeConnections) Create(ctx context.Context, connection *v1alpha1.Connection, opts v1.CreateOptions) (result *v1alpha1.Connection, err error)

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

func (*FakeConnections) Delete

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

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

func (*FakeConnections) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeConnections) Get

func (c *FakeConnections) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Connection, err error)

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

func (*FakeConnections) List

func (c *FakeConnections) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ConnectionList, err error)

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

func (*FakeConnections) Patch

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

Patch applies the patch and returns the patched connection.

func (*FakeConnections) Update

func (c *FakeConnections) Update(ctx context.Context, connection *v1alpha1.Connection, opts v1.UpdateOptions) (result *v1alpha1.Connection, err error)

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

func (*FakeConnections) UpdateStatus

func (c *FakeConnections) UpdateStatus(ctx context.Context, connection *v1alpha1.Connection, opts v1.UpdateOptions) (*v1alpha1.Connection, error)

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

func (*FakeConnections) Watch

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

type FakeDeployArtifacts

type FakeDeployArtifacts struct {
	Fake *FakeDevopsV1alpha1
	// contains filtered or unexported fields
}

FakeDeployArtifacts implements DeployArtifactInterface

func (*FakeDeployArtifacts) Create

func (c *FakeDeployArtifacts) Create(ctx context.Context, deployArtifact *v1alpha1.DeployArtifact, opts v1.CreateOptions) (result *v1alpha1.DeployArtifact, err error)

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

func (*FakeDeployArtifacts) Delete

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

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

func (*FakeDeployArtifacts) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDeployArtifacts) Get

func (c *FakeDeployArtifacts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DeployArtifact, err error)

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

func (*FakeDeployArtifacts) List

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

func (*FakeDeployArtifacts) Patch

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

Patch applies the patch and returns the patched deployArtifact.

func (*FakeDeployArtifacts) Update

func (c *FakeDeployArtifacts) Update(ctx context.Context, deployArtifact *v1alpha1.DeployArtifact, opts v1.UpdateOptions) (result *v1alpha1.DeployArtifact, err error)

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

func (*FakeDeployArtifacts) UpdateStatus

func (c *FakeDeployArtifacts) UpdateStatus(ctx context.Context, deployArtifact *v1alpha1.DeployArtifact, opts v1.UpdateOptions) (*v1alpha1.DeployArtifact, error)

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

func (*FakeDeployArtifacts) Watch

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

type FakeDeployEnvironments

type FakeDeployEnvironments struct {
	Fake *FakeDevopsV1alpha1
	// contains filtered or unexported fields
}

FakeDeployEnvironments implements DeployEnvironmentInterface

func (*FakeDeployEnvironments) Create

func (c *FakeDeployEnvironments) Create(ctx context.Context, deployEnvironment *v1alpha1.DeployEnvironment, opts v1.CreateOptions) (result *v1alpha1.DeployEnvironment, err error)

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

func (*FakeDeployEnvironments) Delete

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

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

func (*FakeDeployEnvironments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDeployEnvironments) Get

func (c *FakeDeployEnvironments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DeployEnvironment, err error)

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

func (*FakeDeployEnvironments) List

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

func (*FakeDeployEnvironments) Patch

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

Patch applies the patch and returns the patched deployEnvironment.

func (*FakeDeployEnvironments) Update

func (c *FakeDeployEnvironments) Update(ctx context.Context, deployEnvironment *v1alpha1.DeployEnvironment, opts v1.UpdateOptions) (result *v1alpha1.DeployEnvironment, err error)

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

func (*FakeDeployEnvironments) UpdateStatus

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

func (*FakeDeployEnvironments) Watch

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

type FakeDeployPipelines

type FakeDeployPipelines struct {
	Fake *FakeDevopsV1alpha1
	// contains filtered or unexported fields
}

FakeDeployPipelines implements DeployPipelineInterface

func (*FakeDeployPipelines) Create

func (c *FakeDeployPipelines) Create(ctx context.Context, deployPipeline *v1alpha1.DeployPipeline, opts v1.CreateOptions) (result *v1alpha1.DeployPipeline, err error)

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

func (*FakeDeployPipelines) Delete

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

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

func (*FakeDeployPipelines) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDeployPipelines) Get

func (c *FakeDeployPipelines) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DeployPipeline, err error)

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

func (*FakeDeployPipelines) List

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

func (*FakeDeployPipelines) Patch

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

Patch applies the patch and returns the patched deployPipeline.

func (*FakeDeployPipelines) Update

func (c *FakeDeployPipelines) Update(ctx context.Context, deployPipeline *v1alpha1.DeployPipeline, opts v1.UpdateOptions) (result *v1alpha1.DeployPipeline, err error)

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

func (*FakeDeployPipelines) UpdateStatus

func (c *FakeDeployPipelines) UpdateStatus(ctx context.Context, deployPipeline *v1alpha1.DeployPipeline, opts v1.UpdateOptions) (*v1alpha1.DeployPipeline, error)

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

func (*FakeDeployPipelines) Watch

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

type FakeDeployStages

type FakeDeployStages struct {
	Fake *FakeDevopsV1alpha1
	// contains filtered or unexported fields
}

FakeDeployStages implements DeployStageInterface

func (*FakeDeployStages) Create

func (c *FakeDeployStages) Create(ctx context.Context, deployStage *v1alpha1.DeployStage, opts v1.CreateOptions) (result *v1alpha1.DeployStage, err error)

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

func (*FakeDeployStages) Delete

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

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

func (*FakeDeployStages) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDeployStages) Get

func (c *FakeDeployStages) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DeployStage, err error)

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

func (*FakeDeployStages) List

func (c *FakeDeployStages) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DeployStageList, err error)

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

func (*FakeDeployStages) Patch

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

Patch applies the patch and returns the patched deployStage.

func (*FakeDeployStages) Update

func (c *FakeDeployStages) Update(ctx context.Context, deployStage *v1alpha1.DeployStage, opts v1.UpdateOptions) (result *v1alpha1.DeployStage, err error)

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

func (*FakeDeployStages) UpdateStatus

func (c *FakeDeployStages) UpdateStatus(ctx context.Context, deployStage *v1alpha1.DeployStage, opts v1.UpdateOptions) (*v1alpha1.DeployStage, error)

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

func (*FakeDeployStages) Watch

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

type FakeDeployments

type FakeDeployments struct {
	Fake *FakeDevopsV1alpha1
	// contains filtered or unexported fields
}

FakeDeployments implements DeploymentInterface

func (*FakeDeployments) Create

func (c *FakeDeployments) Create(ctx context.Context, deployment *v1alpha1.Deployment, opts v1.CreateOptions) (result *v1alpha1.Deployment, err error)

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

func (*FakeDeployments) Delete

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

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

func (*FakeDeployments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDeployments) Get

func (c *FakeDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Deployment, err error)

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

func (*FakeDeployments) List

func (c *FakeDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DeploymentList, err error)

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

func (*FakeDeployments) Patch

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

Patch applies the patch and returns the patched deployment.

func (*FakeDeployments) Update

func (c *FakeDeployments) Update(ctx context.Context, deployment *v1alpha1.Deployment, opts v1.UpdateOptions) (result *v1alpha1.Deployment, err error)

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

func (*FakeDeployments) UpdateStatus

func (c *FakeDeployments) UpdateStatus(ctx context.Context, deployment *v1alpha1.Deployment, opts v1.UpdateOptions) (*v1alpha1.Deployment, error)

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

func (*FakeDeployments) Watch

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

type FakeDevopsV1alpha1

type FakeDevopsV1alpha1 struct {
	*testing.Fake
}

func (*FakeDevopsV1alpha1) BuildPipelineStages

func (c *FakeDevopsV1alpha1) BuildPipelineStages(namespace string) v1alpha1.BuildPipelineStageInterface

func (*FakeDevopsV1alpha1) BuildPipelines

func (c *FakeDevopsV1alpha1) BuildPipelines(namespace string) v1alpha1.BuildPipelineInterface

func (*FakeDevopsV1alpha1) BuildRuns

func (c *FakeDevopsV1alpha1) BuildRuns(namespace string) v1alpha1.BuildRunInterface

func (*FakeDevopsV1alpha1) Connections

func (c *FakeDevopsV1alpha1) Connections(namespace string) v1alpha1.ConnectionInterface

func (*FakeDevopsV1alpha1) DeployArtifacts

func (c *FakeDevopsV1alpha1) DeployArtifacts(namespace string) v1alpha1.DeployArtifactInterface

func (*FakeDevopsV1alpha1) DeployEnvironments

func (c *FakeDevopsV1alpha1) DeployEnvironments(namespace string) v1alpha1.DeployEnvironmentInterface

func (*FakeDevopsV1alpha1) DeployPipelines

func (c *FakeDevopsV1alpha1) DeployPipelines(namespace string) v1alpha1.DeployPipelineInterface

func (*FakeDevopsV1alpha1) DeployStages

func (c *FakeDevopsV1alpha1) DeployStages(namespace string) v1alpha1.DeployStageInterface

func (*FakeDevopsV1alpha1) Deployments

func (c *FakeDevopsV1alpha1) Deployments(namespace string) v1alpha1.DeploymentInterface

func (*FakeDevopsV1alpha1) Projects

func (c *FakeDevopsV1alpha1) Projects(namespace string) v1alpha1.ProjectInterface

func (*FakeDevopsV1alpha1) RESTClient

func (c *FakeDevopsV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeDevopsV1alpha1) Repositories

func (c *FakeDevopsV1alpha1) Repositories(namespace string) v1alpha1.RepositoryInterface

func (*FakeDevopsV1alpha1) RepositoryMirrors

func (c *FakeDevopsV1alpha1) RepositoryMirrors(namespace string) v1alpha1.RepositoryMirrorInterface

func (*FakeDevopsV1alpha1) RepositoryReves

func (c *FakeDevopsV1alpha1) RepositoryReves(namespace string) v1alpha1.RepositoryRefInterface

func (*FakeDevopsV1alpha1) Triggers

func (c *FakeDevopsV1alpha1) Triggers(namespace string) v1alpha1.TriggerInterface

type FakeProjects

type FakeProjects struct {
	Fake *FakeDevopsV1alpha1
	// contains filtered or unexported fields
}

FakeProjects implements ProjectInterface

func (*FakeProjects) Create

func (c *FakeProjects) Create(ctx context.Context, project *v1alpha1.Project, opts v1.CreateOptions) (result *v1alpha1.Project, err error)

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

func (*FakeProjects) Delete

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

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

func (*FakeProjects) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeProjects) Get

func (c *FakeProjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Project, err error)

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

func (*FakeProjects) List

func (c *FakeProjects) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ProjectList, err error)

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

func (*FakeProjects) Patch

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

Patch applies the patch and returns the patched project.

func (*FakeProjects) Update

func (c *FakeProjects) Update(ctx context.Context, project *v1alpha1.Project, opts v1.UpdateOptions) (result *v1alpha1.Project, err error)

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

func (*FakeProjects) UpdateStatus

func (c *FakeProjects) UpdateStatus(ctx context.Context, project *v1alpha1.Project, opts v1.UpdateOptions) (*v1alpha1.Project, error)

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

func (*FakeProjects) Watch

func (c *FakeProjects) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakeRepositories

type FakeRepositories struct {
	Fake *FakeDevopsV1alpha1
	// contains filtered or unexported fields
}

FakeRepositories implements RepositoryInterface

func (*FakeRepositories) Create

func (c *FakeRepositories) Create(ctx context.Context, repository *v1alpha1.Repository, opts v1.CreateOptions) (result *v1alpha1.Repository, err error)

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

func (*FakeRepositories) Delete

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

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

func (*FakeRepositories) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRepositories) Get

func (c *FakeRepositories) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Repository, err error)

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

func (*FakeRepositories) List

func (c *FakeRepositories) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RepositoryList, err error)

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

func (*FakeRepositories) Patch

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

Patch applies the patch and returns the patched repository.

func (*FakeRepositories) Update

func (c *FakeRepositories) Update(ctx context.Context, repository *v1alpha1.Repository, opts v1.UpdateOptions) (result *v1alpha1.Repository, err error)

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

func (*FakeRepositories) UpdateStatus

func (c *FakeRepositories) UpdateStatus(ctx context.Context, repository *v1alpha1.Repository, opts v1.UpdateOptions) (*v1alpha1.Repository, error)

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

func (*FakeRepositories) Watch

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

type FakeRepositoryMirrors

type FakeRepositoryMirrors struct {
	Fake *FakeDevopsV1alpha1
	// contains filtered or unexported fields
}

FakeRepositoryMirrors implements RepositoryMirrorInterface

func (*FakeRepositoryMirrors) Create

func (c *FakeRepositoryMirrors) Create(ctx context.Context, repositoryMirror *v1alpha1.RepositoryMirror, opts v1.CreateOptions) (result *v1alpha1.RepositoryMirror, err error)

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

func (*FakeRepositoryMirrors) Delete

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

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

func (*FakeRepositoryMirrors) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRepositoryMirrors) Get

func (c *FakeRepositoryMirrors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RepositoryMirror, err error)

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

func (*FakeRepositoryMirrors) List

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

func (*FakeRepositoryMirrors) Patch

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

Patch applies the patch and returns the patched repositoryMirror.

func (*FakeRepositoryMirrors) Update

func (c *FakeRepositoryMirrors) Update(ctx context.Context, repositoryMirror *v1alpha1.RepositoryMirror, opts v1.UpdateOptions) (result *v1alpha1.RepositoryMirror, err error)

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

func (*FakeRepositoryMirrors) UpdateStatus

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

func (*FakeRepositoryMirrors) Watch

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

type FakeRepositoryReves

type FakeRepositoryReves struct {
	Fake *FakeDevopsV1alpha1
	// contains filtered or unexported fields
}

FakeRepositoryReves implements RepositoryRefInterface

func (*FakeRepositoryReves) Create

func (c *FakeRepositoryReves) Create(ctx context.Context, repositoryRef *v1alpha1.RepositoryRef, opts v1.CreateOptions) (result *v1alpha1.RepositoryRef, err error)

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

func (*FakeRepositoryReves) Delete

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

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

func (*FakeRepositoryReves) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRepositoryReves) Get

func (c *FakeRepositoryReves) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RepositoryRef, err error)

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

func (*FakeRepositoryReves) List

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

func (*FakeRepositoryReves) Patch

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

Patch applies the patch and returns the patched repositoryRef.

func (*FakeRepositoryReves) Update

func (c *FakeRepositoryReves) Update(ctx context.Context, repositoryRef *v1alpha1.RepositoryRef, opts v1.UpdateOptions) (result *v1alpha1.RepositoryRef, err error)

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

func (*FakeRepositoryReves) UpdateStatus

func (c *FakeRepositoryReves) UpdateStatus(ctx context.Context, repositoryRef *v1alpha1.RepositoryRef, opts v1.UpdateOptions) (*v1alpha1.RepositoryRef, error)

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

func (*FakeRepositoryReves) Watch

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

type FakeTriggers

type FakeTriggers struct {
	Fake *FakeDevopsV1alpha1
	// contains filtered or unexported fields
}

FakeTriggers implements TriggerInterface

func (*FakeTriggers) Create

func (c *FakeTriggers) Create(ctx context.Context, trigger *v1alpha1.Trigger, opts v1.CreateOptions) (result *v1alpha1.Trigger, err error)

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

func (*FakeTriggers) Delete

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

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

func (*FakeTriggers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTriggers) Get

func (c *FakeTriggers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Trigger, err error)

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

func (*FakeTriggers) List

func (c *FakeTriggers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TriggerList, err error)

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

func (*FakeTriggers) Patch

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

Patch applies the patch and returns the patched trigger.

func (*FakeTriggers) Update

func (c *FakeTriggers) Update(ctx context.Context, trigger *v1alpha1.Trigger, opts v1.UpdateOptions) (result *v1alpha1.Trigger, err error)

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

func (*FakeTriggers) UpdateStatus

func (c *FakeTriggers) UpdateStatus(ctx context.Context, trigger *v1alpha1.Trigger, opts v1.UpdateOptions) (*v1alpha1.Trigger, error)

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

func (*FakeTriggers) Watch

func (c *FakeTriggers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

Jump to

Keyboard shortcuts

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