Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeImageV1
- type FakeImages
- func (c *FakeImages) Create(image *v1.Image) (result *v1.Image, err error)
- func (c *FakeImages) Delete(name string, options *api_v1.DeleteOptions) error
- func (c *FakeImages) DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.ListOptions) error
- func (c *FakeImages) Get(name string) (result *v1.Image, err error)
- func (c *FakeImages) List(opts api_v1.ListOptions) (result *v1.ImageList, err error)
- func (c *FakeImages) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Image, err error)
- func (c *FakeImages) Update(image *v1.Image) (result *v1.Image, err error)
- func (c *FakeImages) Watch(opts api_v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeImageV1 ¶
func (*FakeImageV1) Images ¶
func (c *FakeImageV1) Images() v1.ImageResourceInterface
func (*FakeImageV1) RESTClient ¶
func (c *FakeImageV1) 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 *FakeImageV1
}
FakeImages implements ImageResourceInterface
func (*FakeImages) Delete ¶
func (c *FakeImages) Delete(name string, options *api_v1.DeleteOptions) error
func (*FakeImages) DeleteCollection ¶
func (c *FakeImages) DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.ListOptions) error
func (*FakeImages) List ¶
func (c *FakeImages) List(opts api_v1.ListOptions) (result *v1.ImageList, err error)
func (*FakeImages) Patch ¶
func (c *FakeImages) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Image, err error)
Patch applies the patch and returns the patched image.
func (*FakeImages) Watch ¶
func (c *FakeImages) Watch(opts api_v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested images.
Click to show internal directories.
Click to hide internal directories.