Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeApps
- func (c *FakeApps) Create(app *jenkinsiov1.App) (result *jenkinsiov1.App, err error)
- func (c *FakeApps) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeApps) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeApps) Get(name string, options v1.GetOptions) (result *jenkinsiov1.App, err error)
- func (c *FakeApps) List(opts v1.ListOptions) (result *jenkinsiov1.AppList, err error)
- func (c *FakeApps) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.App, err error)
- func (c *FakeApps) Update(app *jenkinsiov1.App) (result *jenkinsiov1.App, err error)
- func (c *FakeApps) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeBuildPacks
- func (c *FakeBuildPacks) Create(buildPack *jenkinsiov1.BuildPack) (result *jenkinsiov1.BuildPack, err error)
- func (c *FakeBuildPacks) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBuildPacks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBuildPacks) Get(name string, options v1.GetOptions) (result *jenkinsiov1.BuildPack, err error)
- func (c *FakeBuildPacks) List(opts v1.ListOptions) (result *jenkinsiov1.BuildPackList, err error)
- func (c *FakeBuildPacks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.BuildPack, err error)
- func (c *FakeBuildPacks) Update(buildPack *jenkinsiov1.BuildPack) (result *jenkinsiov1.BuildPack, err error)
- func (c *FakeBuildPacks) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCommitStatuses
- func (c *FakeCommitStatuses) Create(commitStatus *jenkinsiov1.CommitStatus) (result *jenkinsiov1.CommitStatus, err error)
- func (c *FakeCommitStatuses) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCommitStatuses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCommitStatuses) Get(name string, options v1.GetOptions) (result *jenkinsiov1.CommitStatus, err error)
- func (c *FakeCommitStatuses) List(opts v1.ListOptions) (result *jenkinsiov1.CommitStatusList, err error)
- func (c *FakeCommitStatuses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.CommitStatus, err error)
- func (c *FakeCommitStatuses) Update(commitStatus *jenkinsiov1.CommitStatus) (result *jenkinsiov1.CommitStatus, err error)
- func (c *FakeCommitStatuses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeEnvironmentRoleBindings
- func (c *FakeEnvironmentRoleBindings) Create(environmentRoleBinding *jenkinsiov1.EnvironmentRoleBinding) (result *jenkinsiov1.EnvironmentRoleBinding, err error)
- func (c *FakeEnvironmentRoleBindings) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeEnvironmentRoleBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeEnvironmentRoleBindings) Get(name string, options v1.GetOptions) (result *jenkinsiov1.EnvironmentRoleBinding, err error)
- func (c *FakeEnvironmentRoleBindings) List(opts v1.ListOptions) (result *jenkinsiov1.EnvironmentRoleBindingList, err error)
- func (c *FakeEnvironmentRoleBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.EnvironmentRoleBinding, err error)
- func (c *FakeEnvironmentRoleBindings) Update(environmentRoleBinding *jenkinsiov1.EnvironmentRoleBinding) (result *jenkinsiov1.EnvironmentRoleBinding, err error)
- func (c *FakeEnvironmentRoleBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeEnvironments
- func (c *FakeEnvironments) Create(environment *jenkinsiov1.Environment) (result *jenkinsiov1.Environment, err error)
- func (c *FakeEnvironments) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeEnvironments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeEnvironments) Get(name string, options v1.GetOptions) (result *jenkinsiov1.Environment, err error)
- func (c *FakeEnvironments) List(opts v1.ListOptions) (result *jenkinsiov1.EnvironmentList, err error)
- func (c *FakeEnvironments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.Environment, err error)
- func (c *FakeEnvironments) Update(environment *jenkinsiov1.Environment) (result *jenkinsiov1.Environment, err error)
- func (c *FakeEnvironments) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeExtensions
- func (c *FakeExtensions) Create(extension *jenkinsiov1.Extension) (result *jenkinsiov1.Extension, err error)
- func (c *FakeExtensions) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeExtensions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeExtensions) Get(name string, options v1.GetOptions) (result *jenkinsiov1.Extension, err error)
- func (c *FakeExtensions) List(opts v1.ListOptions) (result *jenkinsiov1.ExtensionList, err error)
- func (c *FakeExtensions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.Extension, err error)
- func (c *FakeExtensions) Update(extension *jenkinsiov1.Extension) (result *jenkinsiov1.Extension, err error)
- func (c *FakeExtensions) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeFacts
- func (c *FakeFacts) Create(fact *jenkinsiov1.Fact) (result *jenkinsiov1.Fact, err error)
- func (c *FakeFacts) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeFacts) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeFacts) Get(name string, options v1.GetOptions) (result *jenkinsiov1.Fact, err error)
- func (c *FakeFacts) List(opts v1.ListOptions) (result *jenkinsiov1.FactList, err error)
- func (c *FakeFacts) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.Fact, err error)
- func (c *FakeFacts) Update(fact *jenkinsiov1.Fact) (result *jenkinsiov1.Fact, err error)
- func (c *FakeFacts) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeGitServices
- func (c *FakeGitServices) Create(gitService *jenkinsiov1.GitService) (result *jenkinsiov1.GitService, err error)
- func (c *FakeGitServices) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeGitServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeGitServices) Get(name string, options v1.GetOptions) (result *jenkinsiov1.GitService, err error)
- func (c *FakeGitServices) List(opts v1.ListOptions) (result *jenkinsiov1.GitServiceList, err error)
- func (c *FakeGitServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.GitService, err error)
- func (c *FakeGitServices) Update(gitService *jenkinsiov1.GitService) (result *jenkinsiov1.GitService, err error)
- func (c *FakeGitServices) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeJenkinsV1
- func (c *FakeJenkinsV1) Apps(namespace string) v1.AppInterface
- func (c *FakeJenkinsV1) BuildPacks(namespace string) v1.BuildPackInterface
- func (c *FakeJenkinsV1) CommitStatuses(namespace string) v1.CommitStatusInterface
- func (c *FakeJenkinsV1) EnvironmentRoleBindings(namespace string) v1.EnvironmentRoleBindingInterface
- func (c *FakeJenkinsV1) Environments(namespace string) v1.EnvironmentInterface
- func (c *FakeJenkinsV1) Extensions(namespace string) v1.ExtensionInterface
- func (c *FakeJenkinsV1) Facts(namespace string) v1.FactInterface
- func (c *FakeJenkinsV1) GitServices(namespace string) v1.GitServiceInterface
- func (c *FakeJenkinsV1) PipelineActivities(namespace string) v1.PipelineActivityInterface
- func (c *FakeJenkinsV1) PipelineStructures(namespace string) v1.PipelineStructureInterface
- func (c *FakeJenkinsV1) Plugins(namespace string) v1.PluginInterface
- func (c *FakeJenkinsV1) RESTClient() rest.Interface
- func (c *FakeJenkinsV1) Releases(namespace string) v1.ReleaseInterface
- func (c *FakeJenkinsV1) Schedulers(namespace string) v1.SchedulerInterface
- func (c *FakeJenkinsV1) SourceRepositories(namespace string) v1.SourceRepositoryInterface
- func (c *FakeJenkinsV1) SourceRepositoryGroups(namespace string) v1.SourceRepositoryGroupInterface
- func (c *FakeJenkinsV1) Teams(namespace string) v1.TeamInterface
- func (c *FakeJenkinsV1) Users(namespace string) v1.UserInterface
- func (c *FakeJenkinsV1) Workflows(namespace string) v1.WorkflowInterface
- type FakePipelineActivities
- func (c *FakePipelineActivities) Create(pipelineActivity *jenkinsiov1.PipelineActivity) (result *jenkinsiov1.PipelineActivity, err error)
- func (c *FakePipelineActivities) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePipelineActivities) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePipelineActivities) Get(name string, options v1.GetOptions) (result *jenkinsiov1.PipelineActivity, err error)
- func (c *FakePipelineActivities) List(opts v1.ListOptions) (result *jenkinsiov1.PipelineActivityList, err error)
- func (c *FakePipelineActivities) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.PipelineActivity, err error)
- func (c *FakePipelineActivities) Update(pipelineActivity *jenkinsiov1.PipelineActivity) (result *jenkinsiov1.PipelineActivity, err error)
- func (c *FakePipelineActivities) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePipelineStructures
- func (c *FakePipelineStructures) Create(pipelineStructure *jenkinsiov1.PipelineStructure) (result *jenkinsiov1.PipelineStructure, err error)
- func (c *FakePipelineStructures) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePipelineStructures) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePipelineStructures) Get(name string, options v1.GetOptions) (result *jenkinsiov1.PipelineStructure, err error)
- func (c *FakePipelineStructures) List(opts v1.ListOptions) (result *jenkinsiov1.PipelineStructureList, err error)
- func (c *FakePipelineStructures) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.PipelineStructure, err error)
- func (c *FakePipelineStructures) Update(pipelineStructure *jenkinsiov1.PipelineStructure) (result *jenkinsiov1.PipelineStructure, err error)
- func (c *FakePipelineStructures) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePlugins
- func (c *FakePlugins) Create(plugin *jenkinsiov1.Plugin) (result *jenkinsiov1.Plugin, err error)
- func (c *FakePlugins) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePlugins) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePlugins) Get(name string, options v1.GetOptions) (result *jenkinsiov1.Plugin, err error)
- func (c *FakePlugins) List(opts v1.ListOptions) (result *jenkinsiov1.PluginList, err error)
- func (c *FakePlugins) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.Plugin, err error)
- func (c *FakePlugins) Update(plugin *jenkinsiov1.Plugin) (result *jenkinsiov1.Plugin, err error)
- func (c *FakePlugins) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeReleases
- func (c *FakeReleases) Create(release *jenkinsiov1.Release) (result *jenkinsiov1.Release, err error)
- func (c *FakeReleases) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeReleases) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeReleases) Get(name string, options v1.GetOptions) (result *jenkinsiov1.Release, err error)
- func (c *FakeReleases) List(opts v1.ListOptions) (result *jenkinsiov1.ReleaseList, err error)
- func (c *FakeReleases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.Release, err error)
- func (c *FakeReleases) Update(release *jenkinsiov1.Release) (result *jenkinsiov1.Release, err error)
- func (c *FakeReleases) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeSchedulers
- func (c *FakeSchedulers) Create(scheduler *jenkinsiov1.Scheduler) (result *jenkinsiov1.Scheduler, err error)
- func (c *FakeSchedulers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeSchedulers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeSchedulers) Get(name string, options v1.GetOptions) (result *jenkinsiov1.Scheduler, err error)
- func (c *FakeSchedulers) List(opts v1.ListOptions) (result *jenkinsiov1.SchedulerList, err error)
- func (c *FakeSchedulers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.Scheduler, err error)
- func (c *FakeSchedulers) Update(scheduler *jenkinsiov1.Scheduler) (result *jenkinsiov1.Scheduler, err error)
- func (c *FakeSchedulers) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeSourceRepositories
- func (c *FakeSourceRepositories) Create(sourceRepository *jenkinsiov1.SourceRepository) (result *jenkinsiov1.SourceRepository, err error)
- func (c *FakeSourceRepositories) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeSourceRepositories) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeSourceRepositories) Get(name string, options v1.GetOptions) (result *jenkinsiov1.SourceRepository, err error)
- func (c *FakeSourceRepositories) List(opts v1.ListOptions) (result *jenkinsiov1.SourceRepositoryList, err error)
- func (c *FakeSourceRepositories) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.SourceRepository, err error)
- func (c *FakeSourceRepositories) Update(sourceRepository *jenkinsiov1.SourceRepository) (result *jenkinsiov1.SourceRepository, err error)
- func (c *FakeSourceRepositories) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeSourceRepositoryGroups
- func (c *FakeSourceRepositoryGroups) Create(sourceRepositoryGroup *jenkinsiov1.SourceRepositoryGroup) (result *jenkinsiov1.SourceRepositoryGroup, err error)
- func (c *FakeSourceRepositoryGroups) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeSourceRepositoryGroups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeSourceRepositoryGroups) Get(name string, options v1.GetOptions) (result *jenkinsiov1.SourceRepositoryGroup, err error)
- func (c *FakeSourceRepositoryGroups) List(opts v1.ListOptions) (result *jenkinsiov1.SourceRepositoryGroupList, err error)
- func (c *FakeSourceRepositoryGroups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.SourceRepositoryGroup, err error)
- func (c *FakeSourceRepositoryGroups) Update(sourceRepositoryGroup *jenkinsiov1.SourceRepositoryGroup) (result *jenkinsiov1.SourceRepositoryGroup, err error)
- func (c *FakeSourceRepositoryGroups) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeTeams
- func (c *FakeTeams) Create(team *jenkinsiov1.Team) (result *jenkinsiov1.Team, err error)
- func (c *FakeTeams) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeTeams) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeTeams) Get(name string, options v1.GetOptions) (result *jenkinsiov1.Team, err error)
- func (c *FakeTeams) List(opts v1.ListOptions) (result *jenkinsiov1.TeamList, err error)
- func (c *FakeTeams) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.Team, err error)
- func (c *FakeTeams) Update(team *jenkinsiov1.Team) (result *jenkinsiov1.Team, err error)
- func (c *FakeTeams) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeUsers
- func (c *FakeUsers) Create(user *jenkinsiov1.User) (result *jenkinsiov1.User, err error)
- func (c *FakeUsers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeUsers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeUsers) Get(name string, options v1.GetOptions) (result *jenkinsiov1.User, err error)
- func (c *FakeUsers) List(opts v1.ListOptions) (result *jenkinsiov1.UserList, err error)
- func (c *FakeUsers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.User, err error)
- func (c *FakeUsers) Update(user *jenkinsiov1.User) (result *jenkinsiov1.User, err error)
- func (c *FakeUsers) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeWorkflows
- func (c *FakeWorkflows) Create(workflow *jenkinsiov1.Workflow) (result *jenkinsiov1.Workflow, err error)
- func (c *FakeWorkflows) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeWorkflows) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeWorkflows) Get(name string, options v1.GetOptions) (result *jenkinsiov1.Workflow, err error)
- func (c *FakeWorkflows) List(opts v1.ListOptions) (result *jenkinsiov1.WorkflowList, err error)
- func (c *FakeWorkflows) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.Workflow, err error)
- func (c *FakeWorkflows) Update(workflow *jenkinsiov1.Workflow) (result *jenkinsiov1.Workflow, err error)
- func (c *FakeWorkflows) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeApps ¶
type FakeApps struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakeApps implements AppInterface
func (*FakeApps) Create ¶
func (c *FakeApps) Create(app *jenkinsiov1.App) (result *jenkinsiov1.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 ¶
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 ¶
func (c *FakeApps) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApps) Get ¶
func (c *FakeApps) Get(name string, options v1.GetOptions) (result *jenkinsiov1.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 ¶
func (c *FakeApps) List(opts v1.ListOptions) (result *jenkinsiov1.AppList, err error)
List takes label and field selectors, and returns the list of Apps that match those selectors.
func (*FakeApps) Patch ¶
func (c *FakeApps) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.App, err error)
Patch applies the patch and returns the patched app.
func (*FakeApps) Update ¶
func (c *FakeApps) Update(app *jenkinsiov1.App) (result *jenkinsiov1.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.
type FakeBuildPacks ¶
type FakeBuildPacks struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakeBuildPacks implements BuildPackInterface
func (*FakeBuildPacks) Create ¶
func (c *FakeBuildPacks) Create(buildPack *jenkinsiov1.BuildPack) (result *jenkinsiov1.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 ¶
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 ¶
func (c *FakeBuildPacks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBuildPacks) Get ¶
func (c *FakeBuildPacks) Get(name string, options v1.GetOptions) (result *jenkinsiov1.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 ¶
func (c *FakeBuildPacks) List(opts v1.ListOptions) (result *jenkinsiov1.BuildPackList, err error)
List takes label and field selectors, and returns the list of BuildPacks that match those selectors.
func (*FakeBuildPacks) Patch ¶
func (c *FakeBuildPacks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.BuildPack, err error)
Patch applies the patch and returns the patched buildPack.
func (*FakeBuildPacks) Update ¶
func (c *FakeBuildPacks) Update(buildPack *jenkinsiov1.BuildPack) (result *jenkinsiov1.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 ¶
func (c *FakeBuildPacks) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested buildPacks.
type FakeCommitStatuses ¶
type FakeCommitStatuses struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakeCommitStatuses implements CommitStatusInterface
func (*FakeCommitStatuses) Create ¶
func (c *FakeCommitStatuses) Create(commitStatus *jenkinsiov1.CommitStatus) (result *jenkinsiov1.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 ¶
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 ¶
func (c *FakeCommitStatuses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCommitStatuses) Get ¶
func (c *FakeCommitStatuses) Get(name string, options v1.GetOptions) (result *jenkinsiov1.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 ¶
func (c *FakeCommitStatuses) List(opts v1.ListOptions) (result *jenkinsiov1.CommitStatusList, err error)
List takes label and field selectors, and returns the list of CommitStatuses that match those selectors.
func (*FakeCommitStatuses) Patch ¶
func (c *FakeCommitStatuses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.CommitStatus, err error)
Patch applies the patch and returns the patched commitStatus.
func (*FakeCommitStatuses) Update ¶
func (c *FakeCommitStatuses) Update(commitStatus *jenkinsiov1.CommitStatus) (result *jenkinsiov1.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 ¶
func (c *FakeCommitStatuses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested commitStatuses.
type FakeEnvironmentRoleBindings ¶
type FakeEnvironmentRoleBindings struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakeEnvironmentRoleBindings implements EnvironmentRoleBindingInterface
func (*FakeEnvironmentRoleBindings) Create ¶
func (c *FakeEnvironmentRoleBindings) Create(environmentRoleBinding *jenkinsiov1.EnvironmentRoleBinding) (result *jenkinsiov1.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 ¶
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 ¶
func (c *FakeEnvironmentRoleBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEnvironmentRoleBindings) Get ¶
func (c *FakeEnvironmentRoleBindings) Get(name string, options v1.GetOptions) (result *jenkinsiov1.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 ¶
func (c *FakeEnvironmentRoleBindings) List(opts v1.ListOptions) (result *jenkinsiov1.EnvironmentRoleBindingList, err error)
List takes label and field selectors, and returns the list of EnvironmentRoleBindings that match those selectors.
func (*FakeEnvironmentRoleBindings) Patch ¶
func (c *FakeEnvironmentRoleBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.EnvironmentRoleBinding, err error)
Patch applies the patch and returns the patched environmentRoleBinding.
func (*FakeEnvironmentRoleBindings) Update ¶
func (c *FakeEnvironmentRoleBindings) Update(environmentRoleBinding *jenkinsiov1.EnvironmentRoleBinding) (result *jenkinsiov1.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 ¶
func (c *FakeEnvironmentRoleBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested environmentRoleBindings.
type FakeEnvironments ¶
type FakeEnvironments struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakeEnvironments implements EnvironmentInterface
func (*FakeEnvironments) Create ¶
func (c *FakeEnvironments) Create(environment *jenkinsiov1.Environment) (result *jenkinsiov1.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 ¶
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 ¶
func (c *FakeEnvironments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEnvironments) Get ¶
func (c *FakeEnvironments) Get(name string, options v1.GetOptions) (result *jenkinsiov1.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 ¶
func (c *FakeEnvironments) List(opts v1.ListOptions) (result *jenkinsiov1.EnvironmentList, err error)
List takes label and field selectors, and returns the list of Environments that match those selectors.
func (*FakeEnvironments) Patch ¶
func (c *FakeEnvironments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.Environment, err error)
Patch applies the patch and returns the patched environment.
func (*FakeEnvironments) Update ¶
func (c *FakeEnvironments) Update(environment *jenkinsiov1.Environment) (result *jenkinsiov1.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 ¶
func (c *FakeEnvironments) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested environments.
type FakeExtensions ¶
type FakeExtensions struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakeExtensions implements ExtensionInterface
func (*FakeExtensions) Create ¶
func (c *FakeExtensions) Create(extension *jenkinsiov1.Extension) (result *jenkinsiov1.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 ¶
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 ¶
func (c *FakeExtensions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeExtensions) Get ¶
func (c *FakeExtensions) Get(name string, options v1.GetOptions) (result *jenkinsiov1.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 ¶
func (c *FakeExtensions) List(opts v1.ListOptions) (result *jenkinsiov1.ExtensionList, err error)
List takes label and field selectors, and returns the list of Extensions that match those selectors.
func (*FakeExtensions) Patch ¶
func (c *FakeExtensions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.Extension, err error)
Patch applies the patch and returns the patched extension.
func (*FakeExtensions) Update ¶
func (c *FakeExtensions) Update(extension *jenkinsiov1.Extension) (result *jenkinsiov1.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 ¶
func (c *FakeExtensions) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested extensions.
type FakeFacts ¶
type FakeFacts struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakeFacts implements FactInterface
func (*FakeFacts) Create ¶
func (c *FakeFacts) Create(fact *jenkinsiov1.Fact) (result *jenkinsiov1.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 ¶
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 ¶
func (c *FakeFacts) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFacts) Get ¶
func (c *FakeFacts) Get(name string, options v1.GetOptions) (result *jenkinsiov1.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 ¶
func (c *FakeFacts) List(opts v1.ListOptions) (result *jenkinsiov1.FactList, err error)
List takes label and field selectors, and returns the list of Facts that match those selectors.
func (*FakeFacts) Patch ¶
func (c *FakeFacts) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.Fact, err error)
Patch applies the patch and returns the patched fact.
func (*FakeFacts) Update ¶
func (c *FakeFacts) Update(fact *jenkinsiov1.Fact) (result *jenkinsiov1.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.
type FakeGitServices ¶
type FakeGitServices struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakeGitServices implements GitServiceInterface
func (*FakeGitServices) Create ¶
func (c *FakeGitServices) Create(gitService *jenkinsiov1.GitService) (result *jenkinsiov1.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 ¶
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 ¶
func (c *FakeGitServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGitServices) Get ¶
func (c *FakeGitServices) Get(name string, options v1.GetOptions) (result *jenkinsiov1.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 ¶
func (c *FakeGitServices) List(opts v1.ListOptions) (result *jenkinsiov1.GitServiceList, err error)
List takes label and field selectors, and returns the list of GitServices that match those selectors.
func (*FakeGitServices) Patch ¶
func (c *FakeGitServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.GitService, err error)
Patch applies the patch and returns the patched gitService.
func (*FakeGitServices) Update ¶
func (c *FakeGitServices) Update(gitService *jenkinsiov1.GitService) (result *jenkinsiov1.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 ¶
func (c *FakeGitServices) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gitServices.
type FakeJenkinsV1 ¶
func (*FakeJenkinsV1) Apps ¶
func (c *FakeJenkinsV1) Apps(namespace string) v1.AppInterface
func (*FakeJenkinsV1) BuildPacks ¶
func (c *FakeJenkinsV1) BuildPacks(namespace string) v1.BuildPackInterface
func (*FakeJenkinsV1) CommitStatuses ¶
func (c *FakeJenkinsV1) CommitStatuses(namespace string) v1.CommitStatusInterface
func (*FakeJenkinsV1) EnvironmentRoleBindings ¶
func (c *FakeJenkinsV1) EnvironmentRoleBindings(namespace string) v1.EnvironmentRoleBindingInterface
func (*FakeJenkinsV1) Environments ¶
func (c *FakeJenkinsV1) Environments(namespace string) v1.EnvironmentInterface
func (*FakeJenkinsV1) Extensions ¶
func (c *FakeJenkinsV1) Extensions(namespace string) v1.ExtensionInterface
func (*FakeJenkinsV1) Facts ¶
func (c *FakeJenkinsV1) Facts(namespace string) v1.FactInterface
func (*FakeJenkinsV1) GitServices ¶
func (c *FakeJenkinsV1) GitServices(namespace string) v1.GitServiceInterface
func (*FakeJenkinsV1) PipelineActivities ¶
func (c *FakeJenkinsV1) PipelineActivities(namespace string) v1.PipelineActivityInterface
func (*FakeJenkinsV1) PipelineStructures ¶
func (c *FakeJenkinsV1) PipelineStructures(namespace string) v1.PipelineStructureInterface
func (*FakeJenkinsV1) Plugins ¶
func (c *FakeJenkinsV1) Plugins(namespace string) v1.PluginInterface
func (*FakeJenkinsV1) RESTClient ¶
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 ¶
func (c *FakeJenkinsV1) Releases(namespace string) v1.ReleaseInterface
func (*FakeJenkinsV1) Schedulers ¶
func (c *FakeJenkinsV1) Schedulers(namespace string) v1.SchedulerInterface
func (*FakeJenkinsV1) SourceRepositories ¶
func (c *FakeJenkinsV1) SourceRepositories(namespace string) v1.SourceRepositoryInterface
func (*FakeJenkinsV1) SourceRepositoryGroups ¶
func (c *FakeJenkinsV1) SourceRepositoryGroups(namespace string) v1.SourceRepositoryGroupInterface
func (*FakeJenkinsV1) Teams ¶
func (c *FakeJenkinsV1) Teams(namespace string) v1.TeamInterface
func (*FakeJenkinsV1) Users ¶
func (c *FakeJenkinsV1) Users(namespace string) v1.UserInterface
func (*FakeJenkinsV1) Workflows ¶
func (c *FakeJenkinsV1) Workflows(namespace string) v1.WorkflowInterface
type FakePipelineActivities ¶
type FakePipelineActivities struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakePipelineActivities implements PipelineActivityInterface
func (*FakePipelineActivities) Create ¶
func (c *FakePipelineActivities) Create(pipelineActivity *jenkinsiov1.PipelineActivity) (result *jenkinsiov1.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 ¶
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 ¶
func (c *FakePipelineActivities) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePipelineActivities) Get ¶
func (c *FakePipelineActivities) Get(name string, options v1.GetOptions) (result *jenkinsiov1.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 ¶
func (c *FakePipelineActivities) List(opts v1.ListOptions) (result *jenkinsiov1.PipelineActivityList, err error)
List takes label and field selectors, and returns the list of PipelineActivities that match those selectors.
func (*FakePipelineActivities) Patch ¶
func (c *FakePipelineActivities) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.PipelineActivity, err error)
Patch applies the patch and returns the patched pipelineActivity.
func (*FakePipelineActivities) Update ¶
func (c *FakePipelineActivities) Update(pipelineActivity *jenkinsiov1.PipelineActivity) (result *jenkinsiov1.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 ¶
func (c *FakePipelineActivities) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pipelineActivities.
type FakePipelineStructures ¶
type FakePipelineStructures struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakePipelineStructures implements PipelineStructureInterface
func (*FakePipelineStructures) Create ¶
func (c *FakePipelineStructures) Create(pipelineStructure *jenkinsiov1.PipelineStructure) (result *jenkinsiov1.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 ¶
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 ¶
func (c *FakePipelineStructures) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePipelineStructures) Get ¶
func (c *FakePipelineStructures) Get(name string, options v1.GetOptions) (result *jenkinsiov1.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 ¶
func (c *FakePipelineStructures) List(opts v1.ListOptions) (result *jenkinsiov1.PipelineStructureList, err error)
List takes label and field selectors, and returns the list of PipelineStructures that match those selectors.
func (*FakePipelineStructures) Patch ¶
func (c *FakePipelineStructures) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.PipelineStructure, err error)
Patch applies the patch and returns the patched pipelineStructure.
func (*FakePipelineStructures) Update ¶
func (c *FakePipelineStructures) Update(pipelineStructure *jenkinsiov1.PipelineStructure) (result *jenkinsiov1.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 ¶
func (c *FakePipelineStructures) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pipelineStructures.
type FakePlugins ¶
type FakePlugins struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakePlugins implements PluginInterface
func (*FakePlugins) Create ¶
func (c *FakePlugins) Create(plugin *jenkinsiov1.Plugin) (result *jenkinsiov1.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 ¶
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 ¶
func (c *FakePlugins) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePlugins) Get ¶
func (c *FakePlugins) Get(name string, options v1.GetOptions) (result *jenkinsiov1.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 ¶
func (c *FakePlugins) List(opts v1.ListOptions) (result *jenkinsiov1.PluginList, err error)
List takes label and field selectors, and returns the list of Plugins that match those selectors.
func (*FakePlugins) Patch ¶
func (c *FakePlugins) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.Plugin, err error)
Patch applies the patch and returns the patched plugin.
func (*FakePlugins) Update ¶
func (c *FakePlugins) Update(plugin *jenkinsiov1.Plugin) (result *jenkinsiov1.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 ¶
func (c *FakePlugins) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested plugins.
type FakeReleases ¶
type FakeReleases struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakeReleases implements ReleaseInterface
func (*FakeReleases) Create ¶
func (c *FakeReleases) Create(release *jenkinsiov1.Release) (result *jenkinsiov1.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 ¶
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 ¶
func (c *FakeReleases) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeReleases) Get ¶
func (c *FakeReleases) Get(name string, options v1.GetOptions) (result *jenkinsiov1.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 ¶
func (c *FakeReleases) List(opts v1.ListOptions) (result *jenkinsiov1.ReleaseList, err error)
List takes label and field selectors, and returns the list of Releases that match those selectors.
func (*FakeReleases) Patch ¶
func (c *FakeReleases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.Release, err error)
Patch applies the patch and returns the patched release.
func (*FakeReleases) Update ¶
func (c *FakeReleases) Update(release *jenkinsiov1.Release) (result *jenkinsiov1.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 ¶
func (c *FakeReleases) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested releases.
type FakeSchedulers ¶
type FakeSchedulers struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakeSchedulers implements SchedulerInterface
func (*FakeSchedulers) Create ¶
func (c *FakeSchedulers) Create(scheduler *jenkinsiov1.Scheduler) (result *jenkinsiov1.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 ¶
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 ¶
func (c *FakeSchedulers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSchedulers) Get ¶
func (c *FakeSchedulers) Get(name string, options v1.GetOptions) (result *jenkinsiov1.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 ¶
func (c *FakeSchedulers) List(opts v1.ListOptions) (result *jenkinsiov1.SchedulerList, err error)
List takes label and field selectors, and returns the list of Schedulers that match those selectors.
func (*FakeSchedulers) Patch ¶
func (c *FakeSchedulers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.Scheduler, err error)
Patch applies the patch and returns the patched scheduler.
func (*FakeSchedulers) Update ¶
func (c *FakeSchedulers) Update(scheduler *jenkinsiov1.Scheduler) (result *jenkinsiov1.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 ¶
func (c *FakeSchedulers) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested schedulers.
type FakeSourceRepositories ¶
type FakeSourceRepositories struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakeSourceRepositories implements SourceRepositoryInterface
func (*FakeSourceRepositories) Create ¶
func (c *FakeSourceRepositories) Create(sourceRepository *jenkinsiov1.SourceRepository) (result *jenkinsiov1.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 ¶
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 ¶
func (c *FakeSourceRepositories) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSourceRepositories) Get ¶
func (c *FakeSourceRepositories) Get(name string, options v1.GetOptions) (result *jenkinsiov1.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 ¶
func (c *FakeSourceRepositories) List(opts v1.ListOptions) (result *jenkinsiov1.SourceRepositoryList, err error)
List takes label and field selectors, and returns the list of SourceRepositories that match those selectors.
func (*FakeSourceRepositories) Patch ¶
func (c *FakeSourceRepositories) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.SourceRepository, err error)
Patch applies the patch and returns the patched sourceRepository.
func (*FakeSourceRepositories) Update ¶
func (c *FakeSourceRepositories) Update(sourceRepository *jenkinsiov1.SourceRepository) (result *jenkinsiov1.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 ¶
func (c *FakeSourceRepositories) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sourceRepositories.
type FakeSourceRepositoryGroups ¶
type FakeSourceRepositoryGroups struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakeSourceRepositoryGroups implements SourceRepositoryGroupInterface
func (*FakeSourceRepositoryGroups) Create ¶
func (c *FakeSourceRepositoryGroups) Create(sourceRepositoryGroup *jenkinsiov1.SourceRepositoryGroup) (result *jenkinsiov1.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 ¶
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 ¶
func (c *FakeSourceRepositoryGroups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSourceRepositoryGroups) Get ¶
func (c *FakeSourceRepositoryGroups) Get(name string, options v1.GetOptions) (result *jenkinsiov1.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 ¶
func (c *FakeSourceRepositoryGroups) List(opts v1.ListOptions) (result *jenkinsiov1.SourceRepositoryGroupList, err error)
List takes label and field selectors, and returns the list of SourceRepositoryGroups that match those selectors.
func (*FakeSourceRepositoryGroups) Patch ¶
func (c *FakeSourceRepositoryGroups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.SourceRepositoryGroup, err error)
Patch applies the patch and returns the patched sourceRepositoryGroup.
func (*FakeSourceRepositoryGroups) Update ¶
func (c *FakeSourceRepositoryGroups) Update(sourceRepositoryGroup *jenkinsiov1.SourceRepositoryGroup) (result *jenkinsiov1.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 ¶
func (c *FakeSourceRepositoryGroups) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sourceRepositoryGroups.
type FakeTeams ¶
type FakeTeams struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakeTeams implements TeamInterface
func (*FakeTeams) Create ¶
func (c *FakeTeams) Create(team *jenkinsiov1.Team) (result *jenkinsiov1.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 ¶
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 ¶
func (c *FakeTeams) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTeams) Get ¶
func (c *FakeTeams) Get(name string, options v1.GetOptions) (result *jenkinsiov1.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 ¶
func (c *FakeTeams) List(opts v1.ListOptions) (result *jenkinsiov1.TeamList, err error)
List takes label and field selectors, and returns the list of Teams that match those selectors.
func (*FakeTeams) Patch ¶
func (c *FakeTeams) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.Team, err error)
Patch applies the patch and returns the patched team.
func (*FakeTeams) Update ¶
func (c *FakeTeams) Update(team *jenkinsiov1.Team) (result *jenkinsiov1.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.
type FakeUsers ¶
type FakeUsers struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakeUsers implements UserInterface
func (*FakeUsers) Create ¶
func (c *FakeUsers) Create(user *jenkinsiov1.User) (result *jenkinsiov1.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 ¶
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 ¶
func (c *FakeUsers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUsers) Get ¶
func (c *FakeUsers) Get(name string, options v1.GetOptions) (result *jenkinsiov1.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 ¶
func (c *FakeUsers) List(opts v1.ListOptions) (result *jenkinsiov1.UserList, err error)
List takes label and field selectors, and returns the list of Users that match those selectors.
func (*FakeUsers) Patch ¶
func (c *FakeUsers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.User, err error)
Patch applies the patch and returns the patched user.
func (*FakeUsers) Update ¶
func (c *FakeUsers) Update(user *jenkinsiov1.User) (result *jenkinsiov1.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.
type FakeWorkflows ¶
type FakeWorkflows struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakeWorkflows implements WorkflowInterface
func (*FakeWorkflows) Create ¶
func (c *FakeWorkflows) Create(workflow *jenkinsiov1.Workflow) (result *jenkinsiov1.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 ¶
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 ¶
func (c *FakeWorkflows) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeWorkflows) Get ¶
func (c *FakeWorkflows) Get(name string, options v1.GetOptions) (result *jenkinsiov1.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 ¶
func (c *FakeWorkflows) List(opts v1.ListOptions) (result *jenkinsiov1.WorkflowList, err error)
List takes label and field selectors, and returns the list of Workflows that match those selectors.
func (*FakeWorkflows) Patch ¶
func (c *FakeWorkflows) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkinsiov1.Workflow, err error)
Patch applies the patch and returns the patched workflow.
func (*FakeWorkflows) Update ¶
func (c *FakeWorkflows) Update(workflow *jenkinsiov1.Workflow) (result *jenkinsiov1.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 ¶
func (c *FakeWorkflows) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested workflows.
Source Files ¶
- doc.go
- fake_app.go
- fake_buildpack.go
- fake_commitstatus.go
- fake_environment.go
- fake_environmentrolebinding.go
- fake_extension.go
- fake_fact.go
- fake_gitservice.go
- fake_jenkins.io_client.go
- fake_pipelineactivity.go
- fake_pipelinestructure.go
- fake_plugin.go
- fake_release.go
- fake_scheduler.go
- fake_sourcerepository.go
- fake_sourcerepositorygroup.go
- fake_team.go
- fake_user.go
- fake_workflow.go