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