Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCore
- type FakeImages
- func (c *FakeImages) Create(image *api.Image) (result *api.Image, err error)
- func (c *FakeImages) Delete(name string, options *pkg_api.DeleteOptions) error
- func (c *FakeImages) DeleteCollection(options *pkg_api.DeleteOptions, listOptions pkg_api.ListOptions) error
- func (c *FakeImages) Get(name string) (result *api.Image, err error)
- func (c *FakeImages) List(opts pkg_api.ListOptions) (result *api.ImageList, err error)
- func (c *FakeImages) Update(image *api.Image) (result *api.Image, err error)
- func (c *FakeImages) 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 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.
func (*FakeCore) Images ¶
func (c *FakeCore) Images(namespace string) unversioned.ImageInterface
type FakeImages ¶
type FakeImages struct { Fake *FakeCore // contains filtered or unexported fields }
FakeImages implements ImageInterface
func (*FakeImages) Delete ¶
func (c *FakeImages) Delete(name string, options *pkg_api.DeleteOptions) error
func (*FakeImages) DeleteCollection ¶
func (c *FakeImages) DeleteCollection(options *pkg_api.DeleteOptions, listOptions pkg_api.ListOptions) error
func (*FakeImages) List ¶
func (c *FakeImages) List(opts pkg_api.ListOptions) (result *api.ImageList, err error)
func (*FakeImages) Watch ¶
func (c *FakeImages) Watch(opts pkg_api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested images.
Click to show internal directories.
Click to hide internal directories.