Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeImage
- 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) Patch(name string, pt pkg_api.PatchType, data []byte, subresources ...string) (result *api.Image, 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 FakeImage ¶
func (*FakeImage) Images ¶
func (c *FakeImage) Images() internalversion.ImageResourceInterface
func (*FakeImage) RESTClient ¶
func (c *FakeImage) RESTClient() restclient.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeImages ¶
type FakeImages struct {
Fake *FakeImage
}
FakeImages implements ImageResourceInterface
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) Patch ¶
func (c *FakeImages) Patch(name string, pt pkg_api.PatchType, data []byte, subresources ...string) (result *api.Image, err error)
Patch applies the patch and returns the patched image.
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.