Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeEnvironments
- func (c *FakeEnvironments) Create(ctx context.Context, environment *jenkinsiov1.Environment, ...) (result *jenkinsiov1.Environment, err error)
- func (c *FakeEnvironments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEnvironments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEnvironments) Get(ctx context.Context, name string, options v1.GetOptions) (result *jenkinsiov1.Environment, err error)
- func (c *FakeEnvironments) List(ctx context.Context, opts v1.ListOptions) (result *jenkinsiov1.EnvironmentList, err error)
- func (c *FakeEnvironments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *jenkinsiov1.Environment, err error)
- func (c *FakeEnvironments) Update(ctx context.Context, environment *jenkinsiov1.Environment, ...) (result *jenkinsiov1.Environment, err error)
- func (c *FakeEnvironments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeJenkinsV1
- func (c *FakeJenkinsV1) Environments(namespace string) v1.EnvironmentInterface
- func (c *FakeJenkinsV1) PipelineActivities(namespace string) v1.PipelineActivityInterface
- 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) SourceRepositories(namespace string) v1.SourceRepositoryInterface
- type FakePipelineActivities
- func (c *FakePipelineActivities) Create(ctx context.Context, pipelineActivity *jenkinsiov1.PipelineActivity, ...) (result *jenkinsiov1.PipelineActivity, err error)
- func (c *FakePipelineActivities) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePipelineActivities) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePipelineActivities) Get(ctx context.Context, name string, options v1.GetOptions) (result *jenkinsiov1.PipelineActivity, err error)
- func (c *FakePipelineActivities) List(ctx context.Context, opts v1.ListOptions) (result *jenkinsiov1.PipelineActivityList, err error)
- func (c *FakePipelineActivities) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *jenkinsiov1.PipelineActivity, err error)
- func (c *FakePipelineActivities) Update(ctx context.Context, pipelineActivity *jenkinsiov1.PipelineActivity, ...) (result *jenkinsiov1.PipelineActivity, err error)
- func (c *FakePipelineActivities) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePlugins
- func (c *FakePlugins) Create(ctx context.Context, plugin *jenkinsiov1.Plugin, opts v1.CreateOptions) (result *jenkinsiov1.Plugin, err error)
- func (c *FakePlugins) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePlugins) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePlugins) Get(ctx context.Context, name string, options v1.GetOptions) (result *jenkinsiov1.Plugin, err error)
- func (c *FakePlugins) List(ctx context.Context, opts v1.ListOptions) (result *jenkinsiov1.PluginList, err error)
- func (c *FakePlugins) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *jenkinsiov1.Plugin, err error)
- func (c *FakePlugins) Update(ctx context.Context, plugin *jenkinsiov1.Plugin, opts v1.UpdateOptions) (result *jenkinsiov1.Plugin, err error)
- func (c *FakePlugins) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeReleases
- func (c *FakeReleases) Create(ctx context.Context, release *jenkinsiov1.Release, opts v1.CreateOptions) (result *jenkinsiov1.Release, err error)
- func (c *FakeReleases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeReleases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeReleases) Get(ctx context.Context, name string, options v1.GetOptions) (result *jenkinsiov1.Release, err error)
- func (c *FakeReleases) List(ctx context.Context, opts v1.ListOptions) (result *jenkinsiov1.ReleaseList, err error)
- func (c *FakeReleases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *jenkinsiov1.Release, err error)
- func (c *FakeReleases) Update(ctx context.Context, release *jenkinsiov1.Release, opts v1.UpdateOptions) (result *jenkinsiov1.Release, err error)
- func (c *FakeReleases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSourceRepositories
- func (c *FakeSourceRepositories) Create(ctx context.Context, sourceRepository *jenkinsiov1.SourceRepository, ...) (result *jenkinsiov1.SourceRepository, err error)
- func (c *FakeSourceRepositories) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSourceRepositories) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSourceRepositories) Get(ctx context.Context, name string, options v1.GetOptions) (result *jenkinsiov1.SourceRepository, err error)
- func (c *FakeSourceRepositories) List(ctx context.Context, opts v1.ListOptions) (result *jenkinsiov1.SourceRepositoryList, err error)
- func (c *FakeSourceRepositories) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *jenkinsiov1.SourceRepository, err error)
- func (c *FakeSourceRepositories) Update(ctx context.Context, sourceRepository *jenkinsiov1.SourceRepository, ...) (result *jenkinsiov1.SourceRepository, err error)
- func (c *FakeSourceRepositories) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeEnvironments ¶
type FakeEnvironments struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakeEnvironments implements EnvironmentInterface
func (*FakeEnvironments) Create ¶
func (c *FakeEnvironments) Create(ctx context.Context, environment *jenkinsiov1.Environment, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEnvironments) Get ¶
func (c *FakeEnvironments) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *jenkinsiov1.Environment, err error)
Patch applies the patch and returns the patched environment.
func (*FakeEnvironments) Update ¶
func (c *FakeEnvironments) Update(ctx context.Context, environment *jenkinsiov1.Environment, opts v1.UpdateOptions) (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(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested environments.
type FakeJenkinsV1 ¶
func (*FakeJenkinsV1) Environments ¶
func (c *FakeJenkinsV1) Environments(namespace string) v1.EnvironmentInterface
func (*FakeJenkinsV1) PipelineActivities ¶
func (c *FakeJenkinsV1) PipelineActivities(namespace string) v1.PipelineActivityInterface
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) SourceRepositories ¶
func (c *FakeJenkinsV1) SourceRepositories(namespace string) v1.SourceRepositoryInterface
type FakePipelineActivities ¶
type FakePipelineActivities struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakePipelineActivities implements PipelineActivityInterface
func (*FakePipelineActivities) Create ¶
func (c *FakePipelineActivities) Create(ctx context.Context, pipelineActivity *jenkinsiov1.PipelineActivity, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePipelineActivities) Get ¶
func (c *FakePipelineActivities) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *jenkinsiov1.PipelineActivity, err error)
Patch applies the patch and returns the patched pipelineActivity.
func (*FakePipelineActivities) Update ¶
func (c *FakePipelineActivities) Update(ctx context.Context, pipelineActivity *jenkinsiov1.PipelineActivity, opts v1.UpdateOptions) (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(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pipelineActivities.
type FakePlugins ¶
type FakePlugins struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakePlugins implements PluginInterface
func (*FakePlugins) Create ¶
func (c *FakePlugins) Create(ctx context.Context, plugin *jenkinsiov1.Plugin, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePlugins) Get ¶
func (c *FakePlugins) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *jenkinsiov1.Plugin, err error)
Patch applies the patch and returns the patched plugin.
func (*FakePlugins) Update ¶
func (c *FakePlugins) Update(ctx context.Context, plugin *jenkinsiov1.Plugin, opts v1.UpdateOptions) (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(ctx context.Context, 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(ctx context.Context, release *jenkinsiov1.Release, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeReleases) Get ¶
func (c *FakeReleases) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *jenkinsiov1.Release, err error)
Patch applies the patch and returns the patched release.
func (*FakeReleases) Update ¶
func (c *FakeReleases) Update(ctx context.Context, release *jenkinsiov1.Release, opts v1.UpdateOptions) (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(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested releases.
type FakeSourceRepositories ¶
type FakeSourceRepositories struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakeSourceRepositories implements SourceRepositoryInterface
func (*FakeSourceRepositories) Create ¶
func (c *FakeSourceRepositories) Create(ctx context.Context, sourceRepository *jenkinsiov1.SourceRepository, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSourceRepositories) Get ¶
func (c *FakeSourceRepositories) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *jenkinsiov1.SourceRepository, err error)
Patch applies the patch and returns the patched sourceRepository.
func (*FakeSourceRepositories) Update ¶
func (c *FakeSourceRepositories) Update(ctx context.Context, sourceRepository *jenkinsiov1.SourceRepository, opts v1.UpdateOptions) (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(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sourceRepositories.