Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeEnvironments
- func (c *FakeEnvironments) Create(environment *jenkins_io_v1.Environment) (result *jenkins_io_v1.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 *jenkins_io_v1.Environment, err error)
- func (c *FakeEnvironments) List(opts v1.ListOptions) (result *jenkins_io_v1.EnvironmentList, err error)
- func (c *FakeEnvironments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkins_io_v1.Environment, err error)
- func (c *FakeEnvironments) Update(environment *jenkins_io_v1.Environment) (result *jenkins_io_v1.Environment, err error)
- func (c *FakeEnvironments) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeJenkinsV1
- type FakePipelineActivities
- func (c *FakePipelineActivities) Create(pipelineActivity *jenkins_io_v1.PipelineActivity) (result *jenkins_io_v1.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 *jenkins_io_v1.PipelineActivity, err error)
- func (c *FakePipelineActivities) List(opts v1.ListOptions) (result *jenkins_io_v1.PipelineActivityList, err error)
- func (c *FakePipelineActivities) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkins_io_v1.PipelineActivity, err error)
- func (c *FakePipelineActivities) Update(pipelineActivity *jenkins_io_v1.PipelineActivity) (result *jenkins_io_v1.PipelineActivity, err error)
- func (c *FakePipelineActivities) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeReleases
- func (c *FakeReleases) Create(release *jenkins_io_v1.Release) (result *jenkins_io_v1.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 *jenkins_io_v1.Release, err error)
- func (c *FakeReleases) List(opts v1.ListOptions) (result *jenkins_io_v1.ReleaseList, err error)
- func (c *FakeReleases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *jenkins_io_v1.Release, err error)
- func (c *FakeReleases) Update(release *jenkins_io_v1.Release) (result *jenkins_io_v1.Release, err error)
- func (c *FakeReleases) Watch(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(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 ¶
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 *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 ¶
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 ¶
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) Update ¶
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 ¶
func (c *FakeEnvironments) Watch(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) 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
type FakePipelineActivities ¶
type FakePipelineActivities struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakePipelineActivities implements PipelineActivityInterface
func (*FakePipelineActivities) Create ¶
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 ¶
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 *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 ¶
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 ¶
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) Update ¶
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 ¶
func (c *FakePipelineActivities) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pipelineActivities.
type FakeReleases ¶
type FakeReleases struct { Fake *FakeJenkinsV1 // contains filtered or unexported fields }
FakeReleases implements ReleaseInterface
func (*FakeReleases) Create ¶
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 ¶
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 *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 ¶
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 ¶
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) Update ¶
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 ¶
func (c *FakeReleases) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested releases.