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