Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeImageStreams
- func (c *FakeImageStreams) Create(imageStream *v1.ImageStream) (result *v1.ImageStream, err error)
- func (c *FakeImageStreams) Delete(name string, options *meta_v1.DeleteOptions) error
- func (c *FakeImageStreams) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
- func (c *FakeImageStreams) Get(name string, options meta_v1.GetOptions) (result *v1.ImageStream, err error)
- func (c *FakeImageStreams) List(opts meta_v1.ListOptions) (result *v1.ImageStreamList, err error)
- func (c *FakeImageStreams) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ImageStream, err error)
- func (c *FakeImageStreams) Update(imageStream *v1.ImageStream) (result *v1.ImageStream, err error)
- func (c *FakeImageStreams) UpdateStatus(imageStream *v1.ImageStream) (*v1.ImageStream, error)
- func (c *FakeImageStreams) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
- type FakeImageV1
- type FakeImages
- func (c *FakeImages) Create(image *v1.Image) (result *v1.Image, err error)
- func (c *FakeImages) Delete(name string, options *meta_v1.DeleteOptions) error
- func (c *FakeImages) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
- func (c *FakeImages) Get(name string, options meta_v1.GetOptions) (result *v1.Image, err error)
- func (c *FakeImages) List(opts meta_v1.ListOptions) (result *v1.ImageList, err error)
- func (c *FakeImages) Patch(name string, pt types.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 meta_v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeImageStreams ¶
type FakeImageStreams struct { Fake *FakeImageV1 // contains filtered or unexported fields }
FakeImageStreams implements ImageStreamInterface
func (*FakeImageStreams) Create ¶
func (c *FakeImageStreams) Create(imageStream *v1.ImageStream) (result *v1.ImageStream, err error)
func (*FakeImageStreams) Delete ¶
func (c *FakeImageStreams) Delete(name string, options *meta_v1.DeleteOptions) error
func (*FakeImageStreams) DeleteCollection ¶
func (c *FakeImageStreams) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
func (*FakeImageStreams) Get ¶
func (c *FakeImageStreams) Get(name string, options meta_v1.GetOptions) (result *v1.ImageStream, err error)
func (*FakeImageStreams) List ¶
func (c *FakeImageStreams) List(opts meta_v1.ListOptions) (result *v1.ImageStreamList, err error)
func (*FakeImageStreams) Patch ¶
func (c *FakeImageStreams) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ImageStream, err error)
Patch applies the patch and returns the patched imageStream.
func (*FakeImageStreams) Update ¶
func (c *FakeImageStreams) Update(imageStream *v1.ImageStream) (result *v1.ImageStream, err error)
func (*FakeImageStreams) UpdateStatus ¶
func (c *FakeImageStreams) UpdateStatus(imageStream *v1.ImageStream) (*v1.ImageStream, error)
func (*FakeImageStreams) Watch ¶
func (c *FakeImageStreams) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested imageStreams.
type FakeImageV1 ¶
func (*FakeImageV1) ImageStreams ¶
func (c *FakeImageV1) ImageStreams(namespace string) v1.ImageStreamInterface
func (*FakeImageV1) Images ¶
func (c *FakeImageV1) Images() v1.ImageResourceInterface
func (*FakeImageV1) RESTClient ¶
func (c *FakeImageV1) RESTClient() rest.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 *meta_v1.DeleteOptions) error
func (*FakeImages) DeleteCollection ¶
func (c *FakeImages) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
func (*FakeImages) Get ¶
func (c *FakeImages) Get(name string, options meta_v1.GetOptions) (result *v1.Image, err error)
func (*FakeImages) List ¶
func (c *FakeImages) List(opts meta_v1.ListOptions) (result *v1.ImageList, err error)
func (*FakeImages) Patch ¶
func (c *FakeImages) Patch(name string, pt types.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 meta_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.