Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- 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) Update(build *api.Build) (result *api.Build, err error)
- func (c *FakeBuilds) Watch(opts pkg_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 *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) Watch ¶
func (c *FakeBuilds) Watch(opts pkg_api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested builds.
type FakeCore ¶
func (*FakeCore) Builds ¶
func (c *FakeCore) Builds(namespace string) unversioned.BuildInterface
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.