Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeImageSignatures
- type FakeImageStreamImages
- type FakeImageStreamImports
- type FakeImageStreamMappings
- type FakeImageStreamTags
- func (c *FakeImageStreamTags) Create(imageStreamTag *image_v1.ImageStreamTag) (result *image_v1.ImageStreamTag, err error)
- func (c *FakeImageStreamTags) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeImageStreamTags) Get(name string, options v1.GetOptions) (result *image_v1.ImageStreamTag, err error)
- func (c *FakeImageStreamTags) Update(imageStreamTag *image_v1.ImageStreamTag) (result *image_v1.ImageStreamTag, err error)
- type FakeImageStreams
- func (c *FakeImageStreams) Create(imageStream *image_v1.ImageStream) (result *image_v1.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_v1.ImageStream, err error)
- func (c *FakeImageStreams) List(opts v1.ListOptions) (result *image_v1.ImageStreamList, err error)
- func (c *FakeImageStreams) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *image_v1.ImageStream, err error)
- func (c *FakeImageStreams) Secrets(imageStreamName string, opts v1.ListOptions) (result *core_v1.SecretList, err error)
- func (c *FakeImageStreams) Update(imageStream *image_v1.ImageStream) (result *image_v1.ImageStream, err error)
- func (c *FakeImageStreams) UpdateStatus(imageStream *image_v1.ImageStream) (*image_v1.ImageStream, error)
- func (c *FakeImageStreams) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeImageV1
- func (c *FakeImageV1) ImageSignatures() v1.ImageSignatureInterface
- func (c *FakeImageV1) ImageStreamImages(namespace string) v1.ImageStreamImageInterface
- func (c *FakeImageV1) ImageStreamImports(namespace string) v1.ImageStreamImportInterface
- func (c *FakeImageV1) ImageStreamMappings(namespace string) v1.ImageStreamMappingInterface
- func (c *FakeImageV1) ImageStreamTags(namespace string) v1.ImageStreamTagInterface
- func (c *FakeImageV1) ImageStreams(namespace string) v1.ImageStreamInterface
- func (c *FakeImageV1) Images() v1.ImageInterface
- func (c *FakeImageV1) RESTClient() rest.Interface
- type FakeImages
- func (c *FakeImages) Create(image *image_v1.Image) (result *image_v1.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_v1.Image, err error)
- func (c *FakeImages) List(opts v1.ListOptions) (result *image_v1.ImageList, err error)
- func (c *FakeImages) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *image_v1.Image, err error)
- func (c *FakeImages) Update(image *image_v1.Image) (result *image_v1.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 FakeImageSignatures ¶
type FakeImageSignatures struct {
Fake *FakeImageV1
}
FakeImageSignatures implements ImageSignatureInterface
func (*FakeImageSignatures) Create ¶
func (c *FakeImageSignatures) Create(imageSignature *v1.ImageSignature) (result *v1.ImageSignature, err error)
Create takes the representation of a imageSignature and creates it. Returns the server's representation of the imageSignature, and an error, if there is any.
func (*FakeImageSignatures) Delete ¶
func (c *FakeImageSignatures) Delete(name string, options *meta_v1.DeleteOptions) error
Delete takes name of the imageSignature and deletes it. Returns an error if one occurs.
type FakeImageStreamImages ¶
type FakeImageStreamImages struct { Fake *FakeImageV1 // contains filtered or unexported fields }
FakeImageStreamImages implements ImageStreamImageInterface
func (*FakeImageStreamImages) Get ¶
func (c *FakeImageStreamImages) Get(name string, options v1.GetOptions) (result *image_v1.ImageStreamImage, err error)
Get takes name of the imageStreamImage, and returns the corresponding imageStreamImage object, and an error if there is any.
type FakeImageStreamImports ¶
type FakeImageStreamImports struct { Fake *FakeImageV1 // contains filtered or unexported fields }
FakeImageStreamImports implements ImageStreamImportInterface
func (*FakeImageStreamImports) Create ¶
func (c *FakeImageStreamImports) Create(imageStreamImport *v1.ImageStreamImport) (result *v1.ImageStreamImport, err error)
Create takes the representation of a imageStreamImport and creates it. Returns the server's representation of the imageStreamImport, and an error, if there is any.
type FakeImageStreamMappings ¶
type FakeImageStreamMappings struct { Fake *FakeImageV1 // contains filtered or unexported fields }
FakeImageStreamMappings implements ImageStreamMappingInterface
func (*FakeImageStreamMappings) Create ¶
func (c *FakeImageStreamMappings) Create(imageStreamMapping *v1.ImageStreamMapping) (result *meta_v1.Status, err error)
Create takes the representation of a imageStreamMapping and creates it. Returns the server's representation of the status, and an error, if there is any.
type FakeImageStreamTags ¶
type FakeImageStreamTags struct { Fake *FakeImageV1 // contains filtered or unexported fields }
FakeImageStreamTags implements ImageStreamTagInterface
func (*FakeImageStreamTags) Create ¶
func (c *FakeImageStreamTags) Create(imageStreamTag *image_v1.ImageStreamTag) (result *image_v1.ImageStreamTag, err error)
Create takes the representation of a imageStreamTag and creates it. Returns the server's representation of the imageStreamTag, and an error, if there is any.
func (*FakeImageStreamTags) Delete ¶
func (c *FakeImageStreamTags) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the imageStreamTag and deletes it. Returns an error if one occurs.
func (*FakeImageStreamTags) Get ¶
func (c *FakeImageStreamTags) Get(name string, options v1.GetOptions) (result *image_v1.ImageStreamTag, err error)
Get takes name of the imageStreamTag, and returns the corresponding imageStreamTag object, and an error if there is any.
func (*FakeImageStreamTags) Update ¶
func (c *FakeImageStreamTags) Update(imageStreamTag *image_v1.ImageStreamTag) (result *image_v1.ImageStreamTag, err error)
Update takes the representation of a imageStreamTag and updates it. Returns the server's representation of the imageStreamTag, and an error, if there is any.
type FakeImageStreams ¶
type FakeImageStreams struct { Fake *FakeImageV1 // contains filtered or unexported fields }
FakeImageStreams implements ImageStreamInterface
func (*FakeImageStreams) Create ¶
func (c *FakeImageStreams) Create(imageStream *image_v1.ImageStream) (result *image_v1.ImageStream, err error)
Create takes the representation of a imageStream and creates it. Returns the server's representation of the imageStream, and an error, if there is any.
func (*FakeImageStreams) Delete ¶
func (c *FakeImageStreams) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the imageStream and deletes it. Returns an error if one occurs.
func (*FakeImageStreams) DeleteCollection ¶
func (c *FakeImageStreams) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeImageStreams) Get ¶
func (c *FakeImageStreams) Get(name string, options v1.GetOptions) (result *image_v1.ImageStream, err error)
Get takes name of the imageStream, and returns the corresponding imageStream object, and an error if there is any.
func (*FakeImageStreams) List ¶
func (c *FakeImageStreams) List(opts v1.ListOptions) (result *image_v1.ImageStreamList, err error)
List takes label and field selectors, and returns the list of ImageStreams that match those selectors.
func (*FakeImageStreams) Patch ¶
func (c *FakeImageStreams) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *image_v1.ImageStream, err error)
Patch applies the patch and returns the patched imageStream.
func (*FakeImageStreams) Secrets ¶
func (c *FakeImageStreams) Secrets(imageStreamName string, opts v1.ListOptions) (result *core_v1.SecretList, err error)
Secrets takes label and field selectors, and returns the list of Secrets that match those selectors.
func (*FakeImageStreams) Update ¶
func (c *FakeImageStreams) Update(imageStream *image_v1.ImageStream) (result *image_v1.ImageStream, err error)
Update takes the representation of a imageStream and updates it. Returns the server's representation of the imageStream, and an error, if there is any.
func (*FakeImageStreams) UpdateStatus ¶
func (c *FakeImageStreams) UpdateStatus(imageStream *image_v1.ImageStream) (*image_v1.ImageStream, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeImageStreams) Watch ¶
func (c *FakeImageStreams) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested imageStreams.
type FakeImageV1 ¶
func (*FakeImageV1) ImageSignatures ¶
func (c *FakeImageV1) ImageSignatures() v1.ImageSignatureInterface
func (*FakeImageV1) ImageStreamImages ¶
func (c *FakeImageV1) ImageStreamImages(namespace string) v1.ImageStreamImageInterface
func (*FakeImageV1) ImageStreamImports ¶
func (c *FakeImageV1) ImageStreamImports(namespace string) v1.ImageStreamImportInterface
func (*FakeImageV1) ImageStreamMappings ¶
func (c *FakeImageV1) ImageStreamMappings(namespace string) v1.ImageStreamMappingInterface
func (*FakeImageV1) ImageStreamTags ¶
func (c *FakeImageV1) ImageStreamTags(namespace string) v1.ImageStreamTagInterface
func (*FakeImageV1) ImageStreams ¶
func (c *FakeImageV1) ImageStreams(namespace string) v1.ImageStreamInterface
func (*FakeImageV1) Images ¶
func (c *FakeImageV1) Images() v1.ImageInterface
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 ImageInterface
func (*FakeImages) Create ¶
Create takes the representation of a image and creates it. Returns the server's representation of the image, and an error, if there is any.
func (*FakeImages) Delete ¶
func (c *FakeImages) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the image and deletes it. Returns an error if one occurs.
func (*FakeImages) DeleteCollection ¶
func (c *FakeImages) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeImages) Get ¶
func (c *FakeImages) Get(name string, options v1.GetOptions) (result *image_v1.Image, err error)
Get takes name of the image, and returns the corresponding image object, and an error if there is any.
func (*FakeImages) List ¶
func (c *FakeImages) List(opts v1.ListOptions) (result *image_v1.ImageList, err error)
List takes label and field selectors, and returns the list of Images that match those selectors.
func (*FakeImages) Patch ¶
func (c *FakeImages) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *image_v1.Image, err error)
Patch applies the patch and returns the patched image.
func (*FakeImages) Update ¶
Update takes the representation of a image and updates it. Returns the server's representation of the image, and an error, if there is any.
func (*FakeImages) Watch ¶
func (c *FakeImages) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested images.