Documentation ¶
Overview ¶
Copyright 2018 The Knative Authors
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Package fake has the automatically generated clients.
Copyright 2018 The Knative Authors ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2018 The Knative Authors ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2018 The Knative Authors ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2018 The Knative Authors ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2018 The Knative Authors ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2018 The Knative Authors ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2018 The Knative Authors ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- type FakeClusterTasks
- func (c *FakeClusterTasks) Create(clusterTask *v1alpha1.ClusterTask) (result *v1alpha1.ClusterTask, err error)
- func (c *FakeClusterTasks) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusterTasks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusterTasks) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterTask, err error)
- func (c *FakeClusterTasks) List(opts v1.ListOptions) (result *v1alpha1.ClusterTaskList, err error)
- func (c *FakeClusterTasks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterTask, err error)
- func (c *FakeClusterTasks) Update(clusterTask *v1alpha1.ClusterTask) (result *v1alpha1.ClusterTask, err error)
- func (c *FakeClusterTasks) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePipelineResources
- func (c *FakePipelineResources) Create(pipelineResource *v1alpha1.PipelineResource) (result *v1alpha1.PipelineResource, err error)
- func (c *FakePipelineResources) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePipelineResources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePipelineResources) Get(name string, options v1.GetOptions) (result *v1alpha1.PipelineResource, err error)
- func (c *FakePipelineResources) List(opts v1.ListOptions) (result *v1alpha1.PipelineResourceList, err error)
- func (c *FakePipelineResources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.PipelineResource, err error)
- func (c *FakePipelineResources) Update(pipelineResource *v1alpha1.PipelineResource) (result *v1alpha1.PipelineResource, err error)
- func (c *FakePipelineResources) UpdateStatus(pipelineResource *v1alpha1.PipelineResource) (*v1alpha1.PipelineResource, error)
- func (c *FakePipelineResources) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePipelineRuns
- func (c *FakePipelineRuns) Create(pipelineRun *v1alpha1.PipelineRun) (result *v1alpha1.PipelineRun, err error)
- func (c *FakePipelineRuns) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePipelineRuns) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePipelineRuns) Get(name string, options v1.GetOptions) (result *v1alpha1.PipelineRun, err error)
- func (c *FakePipelineRuns) List(opts v1.ListOptions) (result *v1alpha1.PipelineRunList, err error)
- func (c *FakePipelineRuns) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.PipelineRun, err error)
- func (c *FakePipelineRuns) Update(pipelineRun *v1alpha1.PipelineRun) (result *v1alpha1.PipelineRun, err error)
- func (c *FakePipelineRuns) UpdateStatus(pipelineRun *v1alpha1.PipelineRun) (*v1alpha1.PipelineRun, error)
- func (c *FakePipelineRuns) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePipelines
- func (c *FakePipelines) Create(pipeline *v1alpha1.Pipeline) (result *v1alpha1.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 *v1alpha1.Pipeline, err error)
- func (c *FakePipelines) List(opts v1.ListOptions) (result *v1alpha1.PipelineList, err error)
- func (c *FakePipelines) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Pipeline, err error)
- func (c *FakePipelines) Update(pipeline *v1alpha1.Pipeline) (result *v1alpha1.Pipeline, err error)
- func (c *FakePipelines) UpdateStatus(pipeline *v1alpha1.Pipeline) (*v1alpha1.Pipeline, error)
- func (c *FakePipelines) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeTaskRuns
- func (c *FakeTaskRuns) Create(taskRun *v1alpha1.TaskRun) (result *v1alpha1.TaskRun, err error)
- func (c *FakeTaskRuns) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeTaskRuns) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeTaskRuns) Get(name string, options v1.GetOptions) (result *v1alpha1.TaskRun, err error)
- func (c *FakeTaskRuns) List(opts v1.ListOptions) (result *v1alpha1.TaskRunList, err error)
- func (c *FakeTaskRuns) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.TaskRun, err error)
- func (c *FakeTaskRuns) Update(taskRun *v1alpha1.TaskRun) (result *v1alpha1.TaskRun, err error)
- func (c *FakeTaskRuns) UpdateStatus(taskRun *v1alpha1.TaskRun) (*v1alpha1.TaskRun, error)
- func (c *FakeTaskRuns) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeTasks
- func (c *FakeTasks) Create(task *v1alpha1.Task) (result *v1alpha1.Task, err error)
- func (c *FakeTasks) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeTasks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeTasks) Get(name string, options v1.GetOptions) (result *v1alpha1.Task, err error)
- func (c *FakeTasks) List(opts v1.ListOptions) (result *v1alpha1.TaskList, err error)
- func (c *FakeTasks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Task, err error)
- func (c *FakeTasks) Update(task *v1alpha1.Task) (result *v1alpha1.Task, err error)
- func (c *FakeTasks) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeTektonV1alpha1
- func (c *FakeTektonV1alpha1) ClusterTasks() v1alpha1.ClusterTaskInterface
- func (c *FakeTektonV1alpha1) PipelineResources(namespace string) v1alpha1.PipelineResourceInterface
- func (c *FakeTektonV1alpha1) PipelineRuns(namespace string) v1alpha1.PipelineRunInterface
- func (c *FakeTektonV1alpha1) Pipelines(namespace string) v1alpha1.PipelineInterface
- func (c *FakeTektonV1alpha1) RESTClient() rest.Interface
- func (c *FakeTektonV1alpha1) TaskRuns(namespace string) v1alpha1.TaskRunInterface
- func (c *FakeTektonV1alpha1) Tasks(namespace string) v1alpha1.TaskInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterTasks ¶
type FakeClusterTasks struct {
Fake *FakeTektonV1alpha1
}
FakeClusterTasks implements ClusterTaskInterface
func (*FakeClusterTasks) Create ¶
func (c *FakeClusterTasks) Create(clusterTask *v1alpha1.ClusterTask) (result *v1alpha1.ClusterTask, err error)
Create takes the representation of a clusterTask and creates it. Returns the server's representation of the clusterTask, and an error, if there is any.
func (*FakeClusterTasks) Delete ¶
func (c *FakeClusterTasks) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the clusterTask and deletes it. Returns an error if one occurs.
func (*FakeClusterTasks) DeleteCollection ¶
func (c *FakeClusterTasks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterTasks) Get ¶
func (c *FakeClusterTasks) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterTask, err error)
Get takes name of the clusterTask, and returns the corresponding clusterTask object, and an error if there is any.
func (*FakeClusterTasks) List ¶
func (c *FakeClusterTasks) List(opts v1.ListOptions) (result *v1alpha1.ClusterTaskList, err error)
List takes label and field selectors, and returns the list of ClusterTasks that match those selectors.
func (*FakeClusterTasks) Patch ¶
func (c *FakeClusterTasks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterTask, err error)
Patch applies the patch and returns the patched clusterTask.
func (*FakeClusterTasks) Update ¶
func (c *FakeClusterTasks) Update(clusterTask *v1alpha1.ClusterTask) (result *v1alpha1.ClusterTask, err error)
Update takes the representation of a clusterTask and updates it. Returns the server's representation of the clusterTask, and an error, if there is any.
func (*FakeClusterTasks) Watch ¶
func (c *FakeClusterTasks) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterTasks.
type FakePipelineResources ¶
type FakePipelineResources struct { Fake *FakeTektonV1alpha1 // contains filtered or unexported fields }
FakePipelineResources implements PipelineResourceInterface
func (*FakePipelineResources) Create ¶
func (c *FakePipelineResources) Create(pipelineResource *v1alpha1.PipelineResource) (result *v1alpha1.PipelineResource, err error)
Create takes the representation of a pipelineResource and creates it. Returns the server's representation of the pipelineResource, and an error, if there is any.
func (*FakePipelineResources) Delete ¶
func (c *FakePipelineResources) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the pipelineResource and deletes it. Returns an error if one occurs.
func (*FakePipelineResources) DeleteCollection ¶
func (c *FakePipelineResources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePipelineResources) Get ¶
func (c *FakePipelineResources) Get(name string, options v1.GetOptions) (result *v1alpha1.PipelineResource, err error)
Get takes name of the pipelineResource, and returns the corresponding pipelineResource object, and an error if there is any.
func (*FakePipelineResources) List ¶
func (c *FakePipelineResources) List(opts v1.ListOptions) (result *v1alpha1.PipelineResourceList, err error)
List takes label and field selectors, and returns the list of PipelineResources that match those selectors.
func (*FakePipelineResources) Patch ¶
func (c *FakePipelineResources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.PipelineResource, err error)
Patch applies the patch and returns the patched pipelineResource.
func (*FakePipelineResources) Update ¶
func (c *FakePipelineResources) Update(pipelineResource *v1alpha1.PipelineResource) (result *v1alpha1.PipelineResource, err error)
Update takes the representation of a pipelineResource and updates it. Returns the server's representation of the pipelineResource, and an error, if there is any.
func (*FakePipelineResources) UpdateStatus ¶
func (c *FakePipelineResources) UpdateStatus(pipelineResource *v1alpha1.PipelineResource) (*v1alpha1.PipelineResource, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePipelineResources) Watch ¶
func (c *FakePipelineResources) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pipelineResources.
type FakePipelineRuns ¶
type FakePipelineRuns struct { Fake *FakeTektonV1alpha1 // contains filtered or unexported fields }
FakePipelineRuns implements PipelineRunInterface
func (*FakePipelineRuns) Create ¶
func (c *FakePipelineRuns) Create(pipelineRun *v1alpha1.PipelineRun) (result *v1alpha1.PipelineRun, err error)
Create takes the representation of a pipelineRun and creates it. Returns the server's representation of the pipelineRun, and an error, if there is any.
func (*FakePipelineRuns) Delete ¶
func (c *FakePipelineRuns) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the pipelineRun and deletes it. Returns an error if one occurs.
func (*FakePipelineRuns) DeleteCollection ¶
func (c *FakePipelineRuns) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePipelineRuns) Get ¶
func (c *FakePipelineRuns) Get(name string, options v1.GetOptions) (result *v1alpha1.PipelineRun, err error)
Get takes name of the pipelineRun, and returns the corresponding pipelineRun object, and an error if there is any.
func (*FakePipelineRuns) List ¶
func (c *FakePipelineRuns) List(opts v1.ListOptions) (result *v1alpha1.PipelineRunList, err error)
List takes label and field selectors, and returns the list of PipelineRuns that match those selectors.
func (*FakePipelineRuns) Patch ¶
func (c *FakePipelineRuns) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.PipelineRun, err error)
Patch applies the patch and returns the patched pipelineRun.
func (*FakePipelineRuns) Update ¶
func (c *FakePipelineRuns) Update(pipelineRun *v1alpha1.PipelineRun) (result *v1alpha1.PipelineRun, err error)
Update takes the representation of a pipelineRun and updates it. Returns the server's representation of the pipelineRun, and an error, if there is any.
func (*FakePipelineRuns) UpdateStatus ¶
func (c *FakePipelineRuns) UpdateStatus(pipelineRun *v1alpha1.PipelineRun) (*v1alpha1.PipelineRun, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePipelineRuns) Watch ¶
func (c *FakePipelineRuns) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pipelineRuns.
type FakePipelines ¶
type FakePipelines struct { Fake *FakeTektonV1alpha1 // 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 *v1alpha1.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 *v1alpha1.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 *v1alpha1.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.
type FakeTaskRuns ¶
type FakeTaskRuns struct { Fake *FakeTektonV1alpha1 // contains filtered or unexported fields }
FakeTaskRuns implements TaskRunInterface
func (*FakeTaskRuns) Create ¶
Create takes the representation of a taskRun and creates it. Returns the server's representation of the taskRun, and an error, if there is any.
func (*FakeTaskRuns) Delete ¶
func (c *FakeTaskRuns) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the taskRun and deletes it. Returns an error if one occurs.
func (*FakeTaskRuns) DeleteCollection ¶
func (c *FakeTaskRuns) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTaskRuns) Get ¶
func (c *FakeTaskRuns) Get(name string, options v1.GetOptions) (result *v1alpha1.TaskRun, err error)
Get takes name of the taskRun, and returns the corresponding taskRun object, and an error if there is any.
func (*FakeTaskRuns) List ¶
func (c *FakeTaskRuns) List(opts v1.ListOptions) (result *v1alpha1.TaskRunList, err error)
List takes label and field selectors, and returns the list of TaskRuns that match those selectors.
func (*FakeTaskRuns) Patch ¶
func (c *FakeTaskRuns) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.TaskRun, err error)
Patch applies the patch and returns the patched taskRun.
func (*FakeTaskRuns) Update ¶
Update takes the representation of a taskRun and updates it. Returns the server's representation of the taskRun, and an error, if there is any.
func (*FakeTaskRuns) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTaskRuns) Watch ¶
func (c *FakeTaskRuns) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested taskRuns.
type FakeTasks ¶
type FakeTasks struct { Fake *FakeTektonV1alpha1 // contains filtered or unexported fields }
FakeTasks implements TaskInterface
func (*FakeTasks) Create ¶
Create takes the representation of a task and creates it. Returns the server's representation of the task, and an error, if there is any.
func (*FakeTasks) Delete ¶
func (c *FakeTasks) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the task and deletes it. Returns an error if one occurs.
func (*FakeTasks) DeleteCollection ¶
func (c *FakeTasks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTasks) Get ¶
Get takes name of the task, and returns the corresponding task object, and an error if there is any.
func (*FakeTasks) List ¶
List takes label and field selectors, and returns the list of Tasks that match those selectors.
func (*FakeTasks) Patch ¶
func (c *FakeTasks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Task, err error)
Patch applies the patch and returns the patched task.
type FakeTektonV1alpha1 ¶
func (*FakeTektonV1alpha1) ClusterTasks ¶
func (c *FakeTektonV1alpha1) ClusterTasks() v1alpha1.ClusterTaskInterface
func (*FakeTektonV1alpha1) PipelineResources ¶
func (c *FakeTektonV1alpha1) PipelineResources(namespace string) v1alpha1.PipelineResourceInterface
func (*FakeTektonV1alpha1) PipelineRuns ¶
func (c *FakeTektonV1alpha1) PipelineRuns(namespace string) v1alpha1.PipelineRunInterface
func (*FakeTektonV1alpha1) Pipelines ¶
func (c *FakeTektonV1alpha1) Pipelines(namespace string) v1alpha1.PipelineInterface
func (*FakeTektonV1alpha1) RESTClient ¶
func (c *FakeTektonV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeTektonV1alpha1) TaskRuns ¶
func (c *FakeTektonV1alpha1) TaskRuns(namespace string) v1alpha1.TaskRunInterface
func (*FakeTektonV1alpha1) Tasks ¶
func (c *FakeTektonV1alpha1) Tasks(namespace string) v1alpha1.TaskInterface