Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeImage
- type FakeImageStreams
- func (c *FakeImageStreams) Create(imageStream *api.ImageStream) (result *api.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 *api.ImageStream, err error)
- func (c *FakeImageStreams) List(opts v1.ListOptions) (result *api.ImageStreamList, err error)
- func (c *FakeImageStreams) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *api.ImageStream, err error)
- func (c *FakeImageStreams) Update(imageStream *api.ImageStream) (result *api.ImageStream, err error)
- func (c *FakeImageStreams) UpdateStatus(imageStream *api.ImageStream) (*api.ImageStream, error)
- func (c *FakeImageStreams) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeImages
- func (c *FakeImages) Create(image *api.Image) (result *api.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 *api.Image, err error)
- func (c *FakeImages) List(opts v1.ListOptions) (result *api.ImageList, err error)
- func (c *FakeImages) Patch(name string, pt types.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 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 *api.ImageStream) (result *api.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 *api.ImageStream, err error)
func (*FakeImageStreams) List ¶
func (c *FakeImageStreams) List(opts v1.ListOptions) (result *api.ImageStreamList, err error)
func (*FakeImageStreams) Patch ¶
func (c *FakeImageStreams) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *api.ImageStream, err error)
Patch applies the patch and returns the patched imageStream.
func (*FakeImageStreams) Update ¶
func (c *FakeImageStreams) Update(imageStream *api.ImageStream) (result *api.ImageStream, err error)
func (*FakeImageStreams) UpdateStatus ¶
func (c *FakeImageStreams) UpdateStatus(imageStream *api.ImageStream) (*api.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 *api.Image, err error)
func (*FakeImages) List ¶
func (c *FakeImages) List(opts v1.ListOptions) (result *api.ImageList, err error)
func (*FakeImages) Patch ¶
func (c *FakeImages) Patch(name string, pt types.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 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.