jx: github.com/jenkins-x/jx/pkg/client/clientset/versioned/typed/jenkins.io/v1/fake Index | Files

package fake

import "github.com/jenkins-x/jx/pkg/client/clientset/versioned/typed/jenkins.io/v1/fake"

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_app.go fake_app_expansion.go fake_buildpack.go fake_buildpack_expansion.go fake_commitstatus.go fake_commitstatus_expansion.go fake_environment.go fake_environment_expansion.go fake_environmentrolebinding.go fake_environmentrolebinding_expansion.go fake_extension.go fake_extension_expansion.go fake_fact.go fake_fact_expansion.go fake_gitservice.go fake_gitservice_expansion.go fake_jenkins.io_client.go fake_pipelineactivity.go fake_pipelineactivity_expansion.go fake_pipelinestructure.go fake_pipelinestructure_expansion.go fake_plugin.go fake_plugin_expansion.go fake_release.go fake_release_expansion.go fake_scheduler.go fake_sourcerepository.go fake_sourcerepository_expansion.go fake_sourcerepositorygroup.go fake_team.go fake_team_expansion.go fake_user.go fake_user_expansion.go fake_workflow.go fake_workflow_expansion.go

type FakeApps Uses

type FakeApps struct {
    Fake *FakeJenkinsV1
    // contains filtered or unexported fields
}

FakeApps implements AppInterface

func (*FakeApps) Create Uses

func (c *FakeApps) Create(app *jenkins_io_v1.App) (result *jenkins_io_v1.App, err error)

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

func (*FakeApps) Delete Uses

func (c *FakeApps) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeApps) DeleteCollection Uses

func (c *FakeApps) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeApps) Get Uses

func (c *FakeApps) Get(name string, options v1.GetOptions) (result *jenkins_io_v1.App, err error)

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

func (*FakeApps) List Uses

func (c *FakeApps) List(opts v1.ListOptions) (result *jenkins_io_v1.AppList, err error)

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

func (*FakeApps) Patch Uses

func (c *FakeApps) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkins_io_v1.App, err error)

Patch applies the patch and returns the patched app.

func (*FakeApps) PatchUpdate Uses

func (c *FakeApps) PatchUpdate(app *v1.App) (*v1.App, error)

PatchUpdate takes the representation of an app and updates using Patch generating a JSON patch to do so. Returns the server's representation of the app, and an error, if there is any.

func (*FakeApps) Update Uses

func (c *FakeApps) Update(app *jenkins_io_v1.App) (result *jenkins_io_v1.App, err error)

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

func (*FakeApps) Watch Uses

func (c *FakeApps) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeBuildPacks Uses

type FakeBuildPacks struct {
    Fake *FakeJenkinsV1
    // contains filtered or unexported fields
}

FakeBuildPacks implements BuildPackInterface

func (*FakeBuildPacks) Create Uses

func (c *FakeBuildPacks) Create(buildPack *jenkins_io_v1.BuildPack) (result *jenkins_io_v1.BuildPack, err error)

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

func (*FakeBuildPacks) Delete Uses

func (c *FakeBuildPacks) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeBuildPacks) DeleteCollection Uses

func (c *FakeBuildPacks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBuildPacks) Get Uses

func (c *FakeBuildPacks) Get(name string, options v1.GetOptions) (result *jenkins_io_v1.BuildPack, err error)

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

func (*FakeBuildPacks) List Uses

func (c *FakeBuildPacks) List(opts v1.ListOptions) (result *jenkins_io_v1.BuildPackList, err error)

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

func (*FakeBuildPacks) Patch Uses

func (c *FakeBuildPacks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkins_io_v1.BuildPack, err error)

Patch applies the patch and returns the patched buildPack.

func (*FakeBuildPacks) PatchUpdate Uses

func (c *FakeBuildPacks) PatchUpdate(buildPack *v1.BuildPack) (*v1.BuildPack, error)

PatchUpdate takes the representation of a buildPack and updates using Patch generating a JSON patch to do so. Returns the server's representation of the buildPack, and an error, if there is any.

func (*FakeBuildPacks) Update Uses

func (c *FakeBuildPacks) Update(buildPack *jenkins_io_v1.BuildPack) (result *jenkins_io_v1.BuildPack, err error)

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

func (*FakeBuildPacks) Watch Uses

func (c *FakeBuildPacks) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeCommitStatuses Uses

type FakeCommitStatuses struct {
    Fake *FakeJenkinsV1
    // contains filtered or unexported fields
}

FakeCommitStatuses implements CommitStatusInterface

func (*FakeCommitStatuses) Create Uses

func (c *FakeCommitStatuses) Create(commitStatus *jenkins_io_v1.CommitStatus) (result *jenkins_io_v1.CommitStatus, err error)

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

func (*FakeCommitStatuses) Delete Uses

func (c *FakeCommitStatuses) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeCommitStatuses) DeleteCollection Uses

func (c *FakeCommitStatuses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCommitStatuses) Get Uses

func (c *FakeCommitStatuses) Get(name string, options v1.GetOptions) (result *jenkins_io_v1.CommitStatus, err error)

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

func (*FakeCommitStatuses) List Uses

func (c *FakeCommitStatuses) List(opts v1.ListOptions) (result *jenkins_io_v1.CommitStatusList, err error)

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

func (*FakeCommitStatuses) Patch Uses

func (c *FakeCommitStatuses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkins_io_v1.CommitStatus, err error)

Patch applies the patch and returns the patched commitStatus.

func (*FakeCommitStatuses) PatchUpdate Uses

func (c *FakeCommitStatuses) PatchUpdate(app *v1.CommitStatus) (*v1.CommitStatus, error)

PatchUpdate takes the representation of a commitStatus and updates using Patch generating a JSON patch to do so. Returns the server's representation of the commitStatus, and an error, if there is any

func (*FakeCommitStatuses) Update Uses

func (c *FakeCommitStatuses) Update(commitStatus *jenkins_io_v1.CommitStatus) (result *jenkins_io_v1.CommitStatus, err error)

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

func (*FakeCommitStatuses) Watch Uses

func (c *FakeCommitStatuses) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeEnvironmentRoleBindings Uses

type FakeEnvironmentRoleBindings struct {
    Fake *FakeJenkinsV1
    // contains filtered or unexported fields
}

FakeEnvironmentRoleBindings implements EnvironmentRoleBindingInterface

func (*FakeEnvironmentRoleBindings) Create Uses

func (c *FakeEnvironmentRoleBindings) Create(environmentRoleBinding *jenkins_io_v1.EnvironmentRoleBinding) (result *jenkins_io_v1.EnvironmentRoleBinding, err error)

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

func (*FakeEnvironmentRoleBindings) Delete Uses

func (c *FakeEnvironmentRoleBindings) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeEnvironmentRoleBindings) DeleteCollection Uses

func (c *FakeEnvironmentRoleBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeEnvironmentRoleBindings) Get Uses

func (c *FakeEnvironmentRoleBindings) Get(name string, options v1.GetOptions) (result *jenkins_io_v1.EnvironmentRoleBinding, err error)

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

func (*FakeEnvironmentRoleBindings) List Uses

func (c *FakeEnvironmentRoleBindings) List(opts v1.ListOptions) (result *jenkins_io_v1.EnvironmentRoleBindingList, err error)

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

func (*FakeEnvironmentRoleBindings) Patch Uses

func (c *FakeEnvironmentRoleBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkins_io_v1.EnvironmentRoleBinding, err error)

Patch applies the patch and returns the patched environmentRoleBinding.

func (*FakeEnvironmentRoleBindings) PatchUpdate Uses

func (c *FakeEnvironmentRoleBindings) PatchUpdate(app *v1.EnvironmentRoleBinding) (*v1.EnvironmentRoleBinding, error)

PatchUpdate takes the representation of a environmentRoleBinding and updates using Patch generating a JSON patch to do so. Returns the server's representation of the environmentRoleBinding, and an error, if there is any.

func (*FakeEnvironmentRoleBindings) Update Uses

func (c *FakeEnvironmentRoleBindings) Update(environmentRoleBinding *jenkins_io_v1.EnvironmentRoleBinding) (result *jenkins_io_v1.EnvironmentRoleBinding, err error)

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

func (*FakeEnvironmentRoleBindings) Watch Uses

func (c *FakeEnvironmentRoleBindings) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeEnvironments Uses

type FakeEnvironments struct {
    Fake *FakeJenkinsV1
    // contains filtered or unexported fields
}

FakeEnvironments implements EnvironmentInterface

func (*FakeEnvironments) Create Uses

func (c *FakeEnvironments) Create(environment *jenkins_io_v1.Environment) (result *jenkins_io_v1.Environment, err error)

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

func (*FakeEnvironments) Delete Uses

func (c *FakeEnvironments) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeEnvironments) DeleteCollection Uses

func (c *FakeEnvironments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeEnvironments) Get Uses

func (c *FakeEnvironments) Get(name string, options v1.GetOptions) (result *jenkins_io_v1.Environment, err error)

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

func (*FakeEnvironments) List Uses

func (c *FakeEnvironments) List(opts v1.ListOptions) (result *jenkins_io_v1.EnvironmentList, err error)

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

func (*FakeEnvironments) Patch Uses

func (c *FakeEnvironments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkins_io_v1.Environment, err error)

Patch applies the patch and returns the patched environment.

func (*FakeEnvironments) PatchUpdate Uses

func (c *FakeEnvironments) PatchUpdate(app *v1.Environment) (*v1.Environment, error)

PatchUpdate takes the representation of an environment and updates using Patch generating a JSON patch to do so. Returns the server's representation of the environment, and an error, if there is any.

func (*FakeEnvironments) Update Uses

func (c *FakeEnvironments) Update(environment *jenkins_io_v1.Environment) (result *jenkins_io_v1.Environment, err error)

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

func (*FakeEnvironments) Watch Uses

func (c *FakeEnvironments) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeExtensions Uses

type FakeExtensions struct {
    Fake *FakeJenkinsV1
    // contains filtered or unexported fields
}

FakeExtensions implements ExtensionInterface

func (*FakeExtensions) Create Uses

func (c *FakeExtensions) Create(extension *jenkins_io_v1.Extension) (result *jenkins_io_v1.Extension, err error)

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

func (*FakeExtensions) Delete Uses

func (c *FakeExtensions) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeExtensions) DeleteCollection Uses

func (c *FakeExtensions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeExtensions) Get Uses

func (c *FakeExtensions) Get(name string, options v1.GetOptions) (result *jenkins_io_v1.Extension, err error)

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

func (*FakeExtensions) List Uses

func (c *FakeExtensions) List(opts v1.ListOptions) (result *jenkins_io_v1.ExtensionList, err error)

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

func (*FakeExtensions) Patch Uses

func (c *FakeExtensions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkins_io_v1.Extension, err error)

Patch applies the patch and returns the patched extension.

func (*FakeExtensions) PatchUpdate Uses

func (c *FakeExtensions) PatchUpdate(app *v1.Extension) (*v1.Extension, error)

PatchUpdate takes the representation of an extension and updates using Patch generating a JSON patch to do so. Returns the server's representation of the extension, and an error, if there is any.

func (*FakeExtensions) Update Uses

func (c *FakeExtensions) Update(extension *jenkins_io_v1.Extension) (result *jenkins_io_v1.Extension, err error)

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

func (*FakeExtensions) Watch Uses

func (c *FakeExtensions) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeFacts Uses

type FakeFacts struct {
    Fake *FakeJenkinsV1
    // contains filtered or unexported fields
}

FakeFacts implements FactInterface

func (*FakeFacts) Create Uses

func (c *FakeFacts) Create(fact *jenkins_io_v1.Fact) (result *jenkins_io_v1.Fact, err error)

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

func (*FakeFacts) Delete Uses

func (c *FakeFacts) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeFacts) DeleteCollection Uses

func (c *FakeFacts) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeFacts) Get Uses

func (c *FakeFacts) Get(name string, options v1.GetOptions) (result *jenkins_io_v1.Fact, err error)

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

func (*FakeFacts) List Uses

func (c *FakeFacts) List(opts v1.ListOptions) (result *jenkins_io_v1.FactList, err error)

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

func (*FakeFacts) Patch Uses

func (c *FakeFacts) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkins_io_v1.Fact, err error)

Patch applies the patch and returns the patched fact.

func (*FakeFacts) PatchUpdate Uses

func (c *FakeFacts) PatchUpdate(app *v1.Fact) (*v1.Fact, error)

PatchUpdate takes the representation of a fact and updates using Patch generating a JSON patch to do so. Returns the server's representation of the fact, and an error, if there is any.

func (*FakeFacts) Update Uses

func (c *FakeFacts) Update(fact *jenkins_io_v1.Fact) (result *jenkins_io_v1.Fact, err error)

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

func (*FakeFacts) Watch Uses

func (c *FakeFacts) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeGitServices Uses

type FakeGitServices struct {
    Fake *FakeJenkinsV1
    // contains filtered or unexported fields
}

FakeGitServices implements GitServiceInterface

func (*FakeGitServices) Create Uses

func (c *FakeGitServices) Create(gitService *jenkins_io_v1.GitService) (result *jenkins_io_v1.GitService, err error)

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

func (*FakeGitServices) Delete Uses

func (c *FakeGitServices) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeGitServices) DeleteCollection Uses

func (c *FakeGitServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeGitServices) Get Uses

func (c *FakeGitServices) Get(name string, options v1.GetOptions) (result *jenkins_io_v1.GitService, err error)

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

func (*FakeGitServices) List Uses

func (c *FakeGitServices) List(opts v1.ListOptions) (result *jenkins_io_v1.GitServiceList, err error)

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

func (*FakeGitServices) Patch Uses

func (c *FakeGitServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkins_io_v1.GitService, err error)

Patch applies the patch and returns the patched gitService.

func (*FakeGitServices) PatchUpdate Uses

func (c *FakeGitServices) PatchUpdate(app *v1.GitService) (*v1.GitService, error)

PatchUpdate takes the representation of a gitService and updates using Patch generating a JSON patch to do so. Returns the server's representation of the gitService, and an error, if there is any.

func (*FakeGitServices) Update Uses

func (c *FakeGitServices) Update(gitService *jenkins_io_v1.GitService) (result *jenkins_io_v1.GitService, err error)

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

func (*FakeGitServices) Watch Uses

func (c *FakeGitServices) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeJenkinsV1 Uses

type FakeJenkinsV1 struct {
    *testing.Fake
}

func (*FakeJenkinsV1) Apps Uses

func (c *FakeJenkinsV1) Apps(namespace string) v1.AppInterface

func (*FakeJenkinsV1) BuildPacks Uses

func (c *FakeJenkinsV1) BuildPacks(namespace string) v1.BuildPackInterface

func (*FakeJenkinsV1) CommitStatuses Uses

func (c *FakeJenkinsV1) CommitStatuses(namespace string) v1.CommitStatusInterface

func (*FakeJenkinsV1) EnvironmentRoleBindings Uses

func (c *FakeJenkinsV1) EnvironmentRoleBindings(namespace string) v1.EnvironmentRoleBindingInterface

func (*FakeJenkinsV1) Environments Uses

func (c *FakeJenkinsV1) Environments(namespace string) v1.EnvironmentInterface

func (*FakeJenkinsV1) Extensions Uses

func (c *FakeJenkinsV1) Extensions(namespace string) v1.ExtensionInterface

func (*FakeJenkinsV1) Facts Uses

func (c *FakeJenkinsV1) Facts(namespace string) v1.FactInterface

func (*FakeJenkinsV1) GitServices Uses

func (c *FakeJenkinsV1) GitServices(namespace string) v1.GitServiceInterface

func (*FakeJenkinsV1) PipelineActivities Uses

func (c *FakeJenkinsV1) PipelineActivities(namespace string) v1.PipelineActivityInterface

func (*FakeJenkinsV1) PipelineStructures Uses

func (c *FakeJenkinsV1) PipelineStructures(namespace string) v1.PipelineStructureInterface

func (*FakeJenkinsV1) Plugins Uses

func (c *FakeJenkinsV1) Plugins(namespace string) v1.PluginInterface

func (*FakeJenkinsV1) RESTClient Uses

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

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

func (*FakeJenkinsV1) Releases Uses

func (c *FakeJenkinsV1) Releases(namespace string) v1.ReleaseInterface

func (*FakeJenkinsV1) Schedulers Uses

func (c *FakeJenkinsV1) Schedulers(namespace string) v1.SchedulerInterface

func (*FakeJenkinsV1) SourceRepositories Uses

func (c *FakeJenkinsV1) SourceRepositories(namespace string) v1.SourceRepositoryInterface

func (*FakeJenkinsV1) SourceRepositoryGroups Uses

func (c *FakeJenkinsV1) SourceRepositoryGroups(namespace string) v1.SourceRepositoryGroupInterface

func (*FakeJenkinsV1) Teams Uses

func (c *FakeJenkinsV1) Teams(namespace string) v1.TeamInterface

func (*FakeJenkinsV1) Users Uses

func (c *FakeJenkinsV1) Users(namespace string) v1.UserInterface

func (*FakeJenkinsV1) Workflows Uses

func (c *FakeJenkinsV1) Workflows(namespace string) v1.WorkflowInterface

type FakePipelineActivities Uses

type FakePipelineActivities struct {
    Fake *FakeJenkinsV1
    // contains filtered or unexported fields
}

FakePipelineActivities implements PipelineActivityInterface

func (*FakePipelineActivities) Create Uses

func (c *FakePipelineActivities) Create(pipelineActivity *jenkins_io_v1.PipelineActivity) (result *jenkins_io_v1.PipelineActivity, err error)

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

func (*FakePipelineActivities) Delete Uses

func (c *FakePipelineActivities) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakePipelineActivities) DeleteCollection Uses

func (c *FakePipelineActivities) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePipelineActivities) Get Uses

func (c *FakePipelineActivities) Get(name string, options v1.GetOptions) (result *jenkins_io_v1.PipelineActivity, err error)

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

func (*FakePipelineActivities) List Uses

func (c *FakePipelineActivities) List(opts v1.ListOptions) (result *jenkins_io_v1.PipelineActivityList, err error)

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

func (*FakePipelineActivities) Patch Uses

func (c *FakePipelineActivities) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkins_io_v1.PipelineActivity, err error)

Patch applies the patch and returns the patched pipelineActivity.

func (*FakePipelineActivities) PatchUpdate Uses

func (c *FakePipelineActivities) PatchUpdate(activity *v1.PipelineActivity) (*v1.PipelineActivity, error)

PatchUpdate takes the representation of a pipelineActivity and updates using Patch generating a JSON patch to do so. Returns the server's representation of the pipelineActivity, and an error, if there is any.

func (*FakePipelineActivities) Update Uses

func (c *FakePipelineActivities) Update(pipelineActivity *jenkins_io_v1.PipelineActivity) (result *jenkins_io_v1.PipelineActivity, err error)

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

func (*FakePipelineActivities) Watch Uses

func (c *FakePipelineActivities) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakePipelineStructures Uses

type FakePipelineStructures struct {
    Fake *FakeJenkinsV1
    // contains filtered or unexported fields
}

FakePipelineStructures implements PipelineStructureInterface

func (*FakePipelineStructures) Create Uses

func (c *FakePipelineStructures) Create(pipelineStructure *jenkins_io_v1.PipelineStructure) (result *jenkins_io_v1.PipelineStructure, err error)

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

func (*FakePipelineStructures) Delete Uses

func (c *FakePipelineStructures) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakePipelineStructures) DeleteCollection Uses

func (c *FakePipelineStructures) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePipelineStructures) Get Uses

func (c *FakePipelineStructures) Get(name string, options v1.GetOptions) (result *jenkins_io_v1.PipelineStructure, err error)

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

func (*FakePipelineStructures) List Uses

func (c *FakePipelineStructures) List(opts v1.ListOptions) (result *jenkins_io_v1.PipelineStructureList, err error)

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

func (*FakePipelineStructures) Patch Uses

func (c *FakePipelineStructures) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkins_io_v1.PipelineStructure, err error)

Patch applies the patch and returns the patched pipelineStructure.

func (*FakePipelineStructures) PatchUpdate Uses

func (c *FakePipelineStructures) PatchUpdate(app *v1.PipelineStructure) (*v1.PipelineStructure, error)

PatchUpdate takes the representation of a pipelineStructure and updates using Patch generating a JSON patch to do so. Returns the server's representation of the pipelineStructure, and an error, if there is any.

func (*FakePipelineStructures) Update Uses

func (c *FakePipelineStructures) Update(pipelineStructure *jenkins_io_v1.PipelineStructure) (result *jenkins_io_v1.PipelineStructure, err error)

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

func (*FakePipelineStructures) Watch Uses

func (c *FakePipelineStructures) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakePlugins Uses

type FakePlugins struct {
    Fake *FakeJenkinsV1
    // contains filtered or unexported fields
}

FakePlugins implements PluginInterface

func (*FakePlugins) Create Uses

func (c *FakePlugins) Create(plugin *jenkins_io_v1.Plugin) (result *jenkins_io_v1.Plugin, err error)

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

func (*FakePlugins) Delete Uses

func (c *FakePlugins) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakePlugins) DeleteCollection Uses

func (c *FakePlugins) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePlugins) Get Uses

func (c *FakePlugins) Get(name string, options v1.GetOptions) (result *jenkins_io_v1.Plugin, err error)

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

func (*FakePlugins) List Uses

func (c *FakePlugins) List(opts v1.ListOptions) (result *jenkins_io_v1.PluginList, err error)

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

func (*FakePlugins) Patch Uses

func (c *FakePlugins) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkins_io_v1.Plugin, err error)

Patch applies the patch and returns the patched plugin.

func (*FakePlugins) PatchUpdate Uses

func (c *FakePlugins) PatchUpdate(app *v1.Plugin) (*v1.Plugin, error)

PatchUpdate takes the representation of a plugin and updates using Patch generating a JSON patch to do so. Returns the server's representation of the plugin, and an error, if there is any.

func (*FakePlugins) Update Uses

func (c *FakePlugins) Update(plugin *jenkins_io_v1.Plugin) (result *jenkins_io_v1.Plugin, err error)

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

func (*FakePlugins) Watch Uses

func (c *FakePlugins) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeReleases Uses

type FakeReleases struct {
    Fake *FakeJenkinsV1
    // contains filtered or unexported fields
}

FakeReleases implements ReleaseInterface

func (*FakeReleases) Create Uses

func (c *FakeReleases) Create(release *jenkins_io_v1.Release) (result *jenkins_io_v1.Release, err error)

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

func (*FakeReleases) Delete Uses

func (c *FakeReleases) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeReleases) DeleteCollection Uses

func (c *FakeReleases) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeReleases) Get Uses

func (c *FakeReleases) Get(name string, options v1.GetOptions) (result *jenkins_io_v1.Release, err error)

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

func (*FakeReleases) List Uses

func (c *FakeReleases) List(opts v1.ListOptions) (result *jenkins_io_v1.ReleaseList, err error)

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

func (*FakeReleases) Patch Uses

func (c *FakeReleases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkins_io_v1.Release, err error)

Patch applies the patch and returns the patched release.

func (*FakeReleases) PatchUpdate Uses

func (c *FakeReleases) PatchUpdate(app *v1.Release) (*v1.Release, error)

PatchUpdate takes the representation of a release and updates using Patch generating a JSON patch to do so. Returns the server's representation of the release, and an error, if there is any.

func (*FakeReleases) Update Uses

func (c *FakeReleases) Update(release *jenkins_io_v1.Release) (result *jenkins_io_v1.Release, err error)

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

func (*FakeReleases) Watch Uses

func (c *FakeReleases) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeSchedulers Uses

type FakeSchedulers struct {
    Fake *FakeJenkinsV1
    // contains filtered or unexported fields
}

FakeSchedulers implements SchedulerInterface

func (*FakeSchedulers) Create Uses

func (c *FakeSchedulers) Create(scheduler *jenkins_io_v1.Scheduler) (result *jenkins_io_v1.Scheduler, err error)

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

func (*FakeSchedulers) Delete Uses

func (c *FakeSchedulers) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeSchedulers) DeleteCollection Uses

func (c *FakeSchedulers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSchedulers) Get Uses

func (c *FakeSchedulers) Get(name string, options v1.GetOptions) (result *jenkins_io_v1.Scheduler, err error)

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

func (*FakeSchedulers) List Uses

func (c *FakeSchedulers) List(opts v1.ListOptions) (result *jenkins_io_v1.SchedulerList, err error)

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

func (*FakeSchedulers) Patch Uses

func (c *FakeSchedulers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkins_io_v1.Scheduler, err error)

Patch applies the patch and returns the patched scheduler.

func (*FakeSchedulers) Update Uses

func (c *FakeSchedulers) Update(scheduler *jenkins_io_v1.Scheduler) (result *jenkins_io_v1.Scheduler, err error)

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

func (*FakeSchedulers) Watch Uses

func (c *FakeSchedulers) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeSourceRepositories Uses

type FakeSourceRepositories struct {
    Fake *FakeJenkinsV1
    // contains filtered or unexported fields
}

FakeSourceRepositories implements SourceRepositoryInterface

func (*FakeSourceRepositories) Create Uses

func (c *FakeSourceRepositories) Create(sourceRepository *jenkins_io_v1.SourceRepository) (result *jenkins_io_v1.SourceRepository, err error)

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

func (*FakeSourceRepositories) Delete Uses

func (c *FakeSourceRepositories) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeSourceRepositories) DeleteCollection Uses

func (c *FakeSourceRepositories) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSourceRepositories) Get Uses

func (c *FakeSourceRepositories) Get(name string, options v1.GetOptions) (result *jenkins_io_v1.SourceRepository, err error)

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

func (*FakeSourceRepositories) List Uses

func (c *FakeSourceRepositories) List(opts v1.ListOptions) (result *jenkins_io_v1.SourceRepositoryList, err error)

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

func (*FakeSourceRepositories) Patch Uses

func (c *FakeSourceRepositories) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkins_io_v1.SourceRepository, err error)

Patch applies the patch and returns the patched sourceRepository.

func (*FakeSourceRepositories) PatchUpdate Uses

func (c *FakeSourceRepositories) PatchUpdate(app *v1.SourceRepository) (*v1.SourceRepository, error)

PatchUpdate takes the representation of a sourceRepository and updates using Patch generating a JSON patch to do so. Returns the server's representation of the sourceRepository, and an error, if there is any.

func (*FakeSourceRepositories) Update Uses

func (c *FakeSourceRepositories) Update(sourceRepository *jenkins_io_v1.SourceRepository) (result *jenkins_io_v1.SourceRepository, err error)

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

func (*FakeSourceRepositories) Watch Uses

func (c *FakeSourceRepositories) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeSourceRepositoryGroups Uses

type FakeSourceRepositoryGroups struct {
    Fake *FakeJenkinsV1
    // contains filtered or unexported fields
}

FakeSourceRepositoryGroups implements SourceRepositoryGroupInterface

func (*FakeSourceRepositoryGroups) Create Uses

func (c *FakeSourceRepositoryGroups) Create(sourceRepositoryGroup *jenkins_io_v1.SourceRepositoryGroup) (result *jenkins_io_v1.SourceRepositoryGroup, err error)

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

func (*FakeSourceRepositoryGroups) Delete Uses

func (c *FakeSourceRepositoryGroups) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeSourceRepositoryGroups) DeleteCollection Uses

func (c *FakeSourceRepositoryGroups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSourceRepositoryGroups) Get Uses

func (c *FakeSourceRepositoryGroups) Get(name string, options v1.GetOptions) (result *jenkins_io_v1.SourceRepositoryGroup, err error)

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

func (*FakeSourceRepositoryGroups) List Uses

func (c *FakeSourceRepositoryGroups) List(opts v1.ListOptions) (result *jenkins_io_v1.SourceRepositoryGroupList, err error)

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

func (*FakeSourceRepositoryGroups) Patch Uses

func (c *FakeSourceRepositoryGroups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkins_io_v1.SourceRepositoryGroup, err error)

Patch applies the patch and returns the patched sourceRepositoryGroup.

func (*FakeSourceRepositoryGroups) Update Uses

func (c *FakeSourceRepositoryGroups) Update(sourceRepositoryGroup *jenkins_io_v1.SourceRepositoryGroup) (result *jenkins_io_v1.SourceRepositoryGroup, err error)

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

func (*FakeSourceRepositoryGroups) Watch Uses

func (c *FakeSourceRepositoryGroups) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeTeams Uses

type FakeTeams struct {
    Fake *FakeJenkinsV1
    // contains filtered or unexported fields
}

FakeTeams implements TeamInterface

func (*FakeTeams) Create Uses

func (c *FakeTeams) Create(team *jenkins_io_v1.Team) (result *jenkins_io_v1.Team, err error)

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

func (*FakeTeams) Delete Uses

func (c *FakeTeams) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeTeams) DeleteCollection Uses

func (c *FakeTeams) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeTeams) Get Uses

func (c *FakeTeams) Get(name string, options v1.GetOptions) (result *jenkins_io_v1.Team, err error)

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

func (*FakeTeams) List Uses

func (c *FakeTeams) List(opts v1.ListOptions) (result *jenkins_io_v1.TeamList, err error)

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

func (*FakeTeams) Patch Uses

func (c *FakeTeams) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkins_io_v1.Team, err error)

Patch applies the patch and returns the patched team.

func (*FakeTeams) PatchUpdate Uses

func (c *FakeTeams) PatchUpdate(app *v1.Team) (*v1.Team, error)

PatchUpdate takes the representation of a team and updates using Patch generating a JSON patch to do so. Returns the server's representation of the team, and an error, if there is any.

func (*FakeTeams) Update Uses

func (c *FakeTeams) Update(team *jenkins_io_v1.Team) (result *jenkins_io_v1.Team, err error)

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

func (*FakeTeams) Watch Uses

func (c *FakeTeams) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeUsers Uses

type FakeUsers struct {
    Fake *FakeJenkinsV1
    // contains filtered or unexported fields
}

FakeUsers implements UserInterface

func (*FakeUsers) Create Uses

func (c *FakeUsers) Create(user *jenkins_io_v1.User) (result *jenkins_io_v1.User, err error)

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

func (*FakeUsers) Delete Uses

func (c *FakeUsers) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeUsers) DeleteCollection Uses

func (c *FakeUsers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeUsers) Get Uses

func (c *FakeUsers) Get(name string, options v1.GetOptions) (result *jenkins_io_v1.User, err error)

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

func (*FakeUsers) List Uses

func (c *FakeUsers) List(opts v1.ListOptions) (result *jenkins_io_v1.UserList, err error)

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

func (*FakeUsers) Patch Uses

func (c *FakeUsers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkins_io_v1.User, err error)

Patch applies the patch and returns the patched user.

func (*FakeUsers) PatchUpdate Uses

func (c *FakeUsers) PatchUpdate(app *v1.User) (*v1.User, error)

PatchUpdate takes the representation of a user and updates using Patch generating a JSON patch to do so. Returns the server's representation of the user, and an error, if there is any.

func (*FakeUsers) Update Uses

func (c *FakeUsers) Update(user *jenkins_io_v1.User) (result *jenkins_io_v1.User, err error)

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

func (*FakeUsers) Watch Uses

func (c *FakeUsers) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeWorkflows Uses

type FakeWorkflows struct {
    Fake *FakeJenkinsV1
    // contains filtered or unexported fields
}

FakeWorkflows implements WorkflowInterface

func (*FakeWorkflows) Create Uses

func (c *FakeWorkflows) Create(workflow *jenkins_io_v1.Workflow) (result *jenkins_io_v1.Workflow, err error)

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

func (*FakeWorkflows) Delete Uses

func (c *FakeWorkflows) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeWorkflows) DeleteCollection Uses

func (c *FakeWorkflows) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeWorkflows) Get Uses

func (c *FakeWorkflows) Get(name string, options v1.GetOptions) (result *jenkins_io_v1.Workflow, err error)

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

func (*FakeWorkflows) List Uses

func (c *FakeWorkflows) List(opts v1.ListOptions) (result *jenkins_io_v1.WorkflowList, err error)

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

func (*FakeWorkflows) Patch Uses

func (c *FakeWorkflows) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkins_io_v1.Workflow, err error)

Patch applies the patch and returns the patched workflow.

func (*FakeWorkflows) PatchUpdate Uses

func (c *FakeWorkflows) PatchUpdate(app *v1.Workflow) (*v1.Workflow, error)

PatchUpdate takes the representation of a workflow and updates using Patch generating a JSON patch to do so. Returns the server's representation of the workflow, and an error, if there is any.

func (*FakeWorkflows) Update Uses

func (c *FakeWorkflows) Update(workflow *jenkins_io_v1.Workflow) (result *jenkins_io_v1.Workflow, err error)

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

func (*FakeWorkflows) Watch Uses

func (c *FakeWorkflows) Watch(opts v1.ListOptions) (watch.Interface, error)

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

Package fake imports 9 packages (graph) and is imported by 1 packages. Updated 2019-07-08. Refresh now. Tools for package owners.