Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCoreV1
- 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 FakeCoreV1 ¶
func (*FakeCoreV1) Images ¶
func (c *FakeCoreV1) Images(namespace string) v1.ImageInterface
func (*FakeCoreV1) RESTClient ¶
func (c *FakeCoreV1) 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 *FakeCoreV1 // contains filtered or unexported fields }
FakeImages implements ImageInterface
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.