Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDevOpsProjects
- func (c *FakeDevOpsProjects) Create(devOpsProject *v1alpha3.DevOpsProject) (result *v1alpha3.DevOpsProject, err error)
- func (c *FakeDevOpsProjects) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDevOpsProjects) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDevOpsProjects) Get(name string, options v1.GetOptions) (result *v1alpha3.DevOpsProject, err error)
- func (c *FakeDevOpsProjects) List(opts v1.ListOptions) (result *v1alpha3.DevOpsProjectList, err error)
- func (c *FakeDevOpsProjects) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha3.DevOpsProject, err error)
- func (c *FakeDevOpsProjects) Update(devOpsProject *v1alpha3.DevOpsProject) (result *v1alpha3.DevOpsProject, err error)
- func (c *FakeDevOpsProjects) UpdateStatus(devOpsProject *v1alpha3.DevOpsProject) (*v1alpha3.DevOpsProject, error)
- func (c *FakeDevOpsProjects) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeDevopsV1alpha3
- type FakePipelines
- func (c *FakePipelines) Create(pipeline *v1alpha3.Pipeline) (result *v1alpha3.Pipeline, err error)
- func (c *FakePipelines) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePipelines) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePipelines) Get(name string, options v1.GetOptions) (result *v1alpha3.Pipeline, err error)
- func (c *FakePipelines) List(opts v1.ListOptions) (result *v1alpha3.PipelineList, err error)
- func (c *FakePipelines) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha3.Pipeline, err error)
- func (c *FakePipelines) Update(pipeline *v1alpha3.Pipeline) (result *v1alpha3.Pipeline, err error)
- func (c *FakePipelines) UpdateStatus(pipeline *v1alpha3.Pipeline) (*v1alpha3.Pipeline, error)
- func (c *FakePipelines) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDevOpsProjects ¶
type FakeDevOpsProjects struct {
Fake *FakeDevopsV1alpha3
}
FakeDevOpsProjects implements DevOpsProjectInterface
func (*FakeDevOpsProjects) Create ¶
func (c *FakeDevOpsProjects) Create(devOpsProject *v1alpha3.DevOpsProject) (result *v1alpha3.DevOpsProject, err error)
Create takes the representation of a devOpsProject and creates it. Returns the server's representation of the devOpsProject, and an error, if there is any.
func (*FakeDevOpsProjects) Delete ¶
func (c *FakeDevOpsProjects) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the devOpsProject and deletes it. Returns an error if one occurs.
func (*FakeDevOpsProjects) DeleteCollection ¶
func (c *FakeDevOpsProjects) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDevOpsProjects) Get ¶
func (c *FakeDevOpsProjects) Get(name string, options v1.GetOptions) (result *v1alpha3.DevOpsProject, err error)
Get takes name of the devOpsProject, and returns the corresponding devOpsProject object, and an error if there is any.
func (*FakeDevOpsProjects) List ¶
func (c *FakeDevOpsProjects) List(opts v1.ListOptions) (result *v1alpha3.DevOpsProjectList, err error)
List takes label and field selectors, and returns the list of DevOpsProjects that match those selectors.
func (*FakeDevOpsProjects) Patch ¶
func (c *FakeDevOpsProjects) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha3.DevOpsProject, err error)
Patch applies the patch and returns the patched devOpsProject.
func (*FakeDevOpsProjects) Update ¶
func (c *FakeDevOpsProjects) Update(devOpsProject *v1alpha3.DevOpsProject) (result *v1alpha3.DevOpsProject, err error)
Update takes the representation of a devOpsProject and updates it. Returns the server's representation of the devOpsProject, and an error, if there is any.
func (*FakeDevOpsProjects) UpdateStatus ¶
func (c *FakeDevOpsProjects) UpdateStatus(devOpsProject *v1alpha3.DevOpsProject) (*v1alpha3.DevOpsProject, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDevOpsProjects) Watch ¶
func (c *FakeDevOpsProjects) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested devOpsProjects.
type FakeDevopsV1alpha3 ¶
func (*FakeDevopsV1alpha3) DevOpsProjects ¶
func (c *FakeDevopsV1alpha3) DevOpsProjects() v1alpha3.DevOpsProjectInterface
func (*FakeDevopsV1alpha3) Pipelines ¶
func (c *FakeDevopsV1alpha3) Pipelines(namespace string) v1alpha3.PipelineInterface
func (*FakeDevopsV1alpha3) RESTClient ¶
func (c *FakeDevopsV1alpha3) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakePipelines ¶
type FakePipelines struct { Fake *FakeDevopsV1alpha3 // contains filtered or unexported fields }
FakePipelines implements PipelineInterface
func (*FakePipelines) Create ¶
Create takes the representation of a pipeline and creates it. Returns the server's representation of the pipeline, and an error, if there is any.
func (*FakePipelines) Delete ¶
func (c *FakePipelines) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the pipeline and deletes it. Returns an error if one occurs.
func (*FakePipelines) DeleteCollection ¶
func (c *FakePipelines) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePipelines) Get ¶
func (c *FakePipelines) Get(name string, options v1.GetOptions) (result *v1alpha3.Pipeline, err error)
Get takes name of the pipeline, and returns the corresponding pipeline object, and an error if there is any.
func (*FakePipelines) List ¶
func (c *FakePipelines) List(opts v1.ListOptions) (result *v1alpha3.PipelineList, err error)
List takes label and field selectors, and returns the list of Pipelines that match those selectors.
func (*FakePipelines) Patch ¶
func (c *FakePipelines) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha3.Pipeline, err error)
Patch applies the patch and returns the patched pipeline.
func (*FakePipelines) Update ¶
Update takes the representation of a pipeline and updates it. Returns the server's representation of the pipeline, and an error, if there is any.
func (*FakePipelines) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePipelines) Watch ¶
func (c *FakePipelines) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pipelines.