Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBuilds
- func (c *FakeBuilds) Create(build *v1.Build) (result *v1.Build, err error)
- func (c *FakeBuilds) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeBuilds) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeBuilds) Get(name string) (result *v1.Build, err error)
- func (c *FakeBuilds) List(opts api.ListOptions) (result *v1.BuildList, err error)
- func (c *FakeBuilds) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Build, err error)
- func (c *FakeBuilds) Update(build *v1.Build) (result *v1.Build, err error)
- func (c *FakeBuilds) UpdateStatus(build *v1.Build) (*v1.Build, error)
- func (c *FakeBuilds) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeCore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBuilds ¶
type FakeBuilds struct { Fake *FakeCore // contains filtered or unexported fields }
FakeBuilds implements BuildInterface
func (*FakeBuilds) Delete ¶
func (c *FakeBuilds) Delete(name string, options *api.DeleteOptions) error
func (*FakeBuilds) DeleteCollection ¶
func (c *FakeBuilds) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
func (*FakeBuilds) List ¶
func (c *FakeBuilds) List(opts api.ListOptions) (result *v1.BuildList, err error)
func (*FakeBuilds) Patch ¶
func (c *FakeBuilds) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Build, err error)
Patch applies the patch and returns the patched build.
func (*FakeBuilds) UpdateStatus ¶
func (*FakeBuilds) Watch ¶
func (c *FakeBuilds) Watch(opts api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested builds.
type FakeCore ¶
func (*FakeCore) GetRESTClient ¶
func (c *FakeCore) GetRESTClient() *restclient.RESTClient
GetRESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
Click to show internal directories.
Click to hide internal directories.