Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeGalleries
- func (c *FakeGalleries) Create(ctx context.Context, gallery *v1alpha1.Gallery, opts v1.CreateOptions) (result *v1alpha1.Gallery, err error)
- func (c *FakeGalleries) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGalleries) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGalleries) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Gallery, err error)
- func (c *FakeGalleries) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GalleryList, err error)
- func (c *FakeGalleries) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Gallery, err error)
- func (c *FakeGalleries) Update(ctx context.Context, gallery *v1alpha1.Gallery, opts v1.UpdateOptions) (result *v1alpha1.Gallery, err error)
- func (c *FakeGalleries) UpdateStatus(ctx context.Context, gallery *v1alpha1.Gallery, opts v1.UpdateOptions) (*v1alpha1.Gallery, error)
- func (c *FakeGalleries) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSharedImages
- func (c *FakeSharedImages) Create(ctx context.Context, sharedImage *v1alpha1.SharedImage, opts v1.CreateOptions) (result *v1alpha1.SharedImage, err error)
- func (c *FakeSharedImages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSharedImages) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSharedImages) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SharedImage, err error)
- func (c *FakeSharedImages) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SharedImageList, err error)
- func (c *FakeSharedImages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.SharedImage, err error)
- func (c *FakeSharedImages) Update(ctx context.Context, sharedImage *v1alpha1.SharedImage, opts v1.UpdateOptions) (result *v1alpha1.SharedImage, err error)
- func (c *FakeSharedImages) UpdateStatus(ctx context.Context, sharedImage *v1alpha1.SharedImage, opts v1.UpdateOptions) (*v1alpha1.SharedImage, error)
- func (c *FakeSharedImages) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSharedimageV1alpha1
- func (c *FakeSharedimageV1alpha1) Galleries(namespace string) v1alpha1.GalleryInterface
- func (c *FakeSharedimageV1alpha1) RESTClient() rest.Interface
- func (c *FakeSharedimageV1alpha1) SharedImages(namespace string) v1alpha1.SharedImageInterface
- func (c *FakeSharedimageV1alpha1) Versions(namespace string) v1alpha1.VersionInterface
- type FakeVersions
- func (c *FakeVersions) Create(ctx context.Context, version *v1alpha1.Version, opts v1.CreateOptions) (result *v1alpha1.Version, err error)
- func (c *FakeVersions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVersions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVersions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Version, err error)
- func (c *FakeVersions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VersionList, err error)
- func (c *FakeVersions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Version, err error)
- func (c *FakeVersions) Update(ctx context.Context, version *v1alpha1.Version, opts v1.UpdateOptions) (result *v1alpha1.Version, err error)
- func (c *FakeVersions) UpdateStatus(ctx context.Context, version *v1alpha1.Version, opts v1.UpdateOptions) (*v1alpha1.Version, error)
- func (c *FakeVersions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeGalleries ¶
type FakeGalleries struct { Fake *FakeSharedimageV1alpha1 // contains filtered or unexported fields }
FakeGalleries implements GalleryInterface
func (*FakeGalleries) Create ¶
func (c *FakeGalleries) Create(ctx context.Context, gallery *v1alpha1.Gallery, opts v1.CreateOptions) (result *v1alpha1.Gallery, err error)
Create takes the representation of a gallery and creates it. Returns the server's representation of the gallery, and an error, if there is any.
func (*FakeGalleries) Delete ¶
func (c *FakeGalleries) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the gallery and deletes it. Returns an error if one occurs.
func (*FakeGalleries) DeleteCollection ¶
func (c *FakeGalleries) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGalleries) Get ¶
func (c *FakeGalleries) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Gallery, err error)
Get takes name of the gallery, and returns the corresponding gallery object, and an error if there is any.
func (*FakeGalleries) List ¶
func (c *FakeGalleries) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GalleryList, err error)
List takes label and field selectors, and returns the list of Galleries that match those selectors.
func (*FakeGalleries) Patch ¶
func (c *FakeGalleries) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Gallery, err error)
Patch applies the patch and returns the patched gallery.
func (*FakeGalleries) Update ¶
func (c *FakeGalleries) Update(ctx context.Context, gallery *v1alpha1.Gallery, opts v1.UpdateOptions) (result *v1alpha1.Gallery, err error)
Update takes the representation of a gallery and updates it. Returns the server's representation of the gallery, and an error, if there is any.
func (*FakeGalleries) UpdateStatus ¶
func (c *FakeGalleries) UpdateStatus(ctx context.Context, gallery *v1alpha1.Gallery, opts v1.UpdateOptions) (*v1alpha1.Gallery, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGalleries) Watch ¶
func (c *FakeGalleries) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested galleries.
type FakeSharedImages ¶
type FakeSharedImages struct { // contains filtered or unexported fields }
FakeSharedImages implements SharedImageInterface
func (*FakeSharedImages) Create ¶
func (c *FakeSharedImages) Create(ctx context.Context, sharedImage *v1alpha1.SharedImage, opts v1.CreateOptions) (result *v1alpha1.SharedImage, err error)
Create takes the representation of a sharedImage and creates it. Returns the server's representation of the sharedImage, and an error, if there is any.
func (*FakeSharedImages) Delete ¶
func (c *FakeSharedImages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the sharedImage and deletes it. Returns an error if one occurs.
func (*FakeSharedImages) DeleteCollection ¶
func (c *FakeSharedImages) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSharedImages) Get ¶
func (c *FakeSharedImages) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SharedImage, err error)
Get takes name of the sharedImage, and returns the corresponding sharedImage object, and an error if there is any.
func (*FakeSharedImages) List ¶
func (c *FakeSharedImages) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SharedImageList, err error)
List takes label and field selectors, and returns the list of SharedImages that match those selectors.
func (*FakeSharedImages) Patch ¶
func (c *FakeSharedImages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SharedImage, err error)
Patch applies the patch and returns the patched sharedImage.
func (*FakeSharedImages) Update ¶
func (c *FakeSharedImages) Update(ctx context.Context, sharedImage *v1alpha1.SharedImage, opts v1.UpdateOptions) (result *v1alpha1.SharedImage, err error)
Update takes the representation of a sharedImage and updates it. Returns the server's representation of the sharedImage, and an error, if there is any.
func (*FakeSharedImages) UpdateStatus ¶
func (c *FakeSharedImages) UpdateStatus(ctx context.Context, sharedImage *v1alpha1.SharedImage, opts v1.UpdateOptions) (*v1alpha1.SharedImage, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSharedImages) Watch ¶
func (c *FakeSharedImages) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sharedImages.
type FakeSharedimageV1alpha1 ¶
type FakeSharedimageV1alpha1 struct {
}func (*FakeSharedimageV1alpha1) Galleries ¶
func (c *FakeSharedimageV1alpha1) Galleries(namespace string) v1alpha1.GalleryInterface
func (*FakeSharedimageV1alpha1) RESTClient ¶
func (c *FakeSharedimageV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSharedimageV1alpha1) SharedImages ¶
func (c *FakeSharedimageV1alpha1) SharedImages(namespace string) v1alpha1.SharedImageInterface
func (*FakeSharedimageV1alpha1) Versions ¶
func (c *FakeSharedimageV1alpha1) Versions(namespace string) v1alpha1.VersionInterface
type FakeVersions ¶
type FakeVersions struct { Fake *FakeSharedimageV1alpha1 // contains filtered or unexported fields }
FakeVersions implements VersionInterface
func (*FakeVersions) Create ¶
func (c *FakeVersions) Create(ctx context.Context, version *v1alpha1.Version, opts v1.CreateOptions) (result *v1alpha1.Version, err error)
Create takes the representation of a version and creates it. Returns the server's representation of the version, and an error, if there is any.
func (*FakeVersions) Delete ¶
func (c *FakeVersions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the version and deletes it. Returns an error if one occurs.
func (*FakeVersions) DeleteCollection ¶
func (c *FakeVersions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVersions) Get ¶
func (c *FakeVersions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Version, err error)
Get takes name of the version, and returns the corresponding version object, and an error if there is any.
func (*FakeVersions) List ¶
func (c *FakeVersions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VersionList, err error)
List takes label and field selectors, and returns the list of Versions that match those selectors.
func (*FakeVersions) Patch ¶
func (c *FakeVersions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Version, err error)
Patch applies the patch and returns the patched version.
func (*FakeVersions) Update ¶
func (c *FakeVersions) Update(ctx context.Context, version *v1alpha1.Version, opts v1.UpdateOptions) (result *v1alpha1.Version, err error)
Update takes the representation of a version and updates it. Returns the server's representation of the version, and an error, if there is any.
func (*FakeVersions) UpdateStatus ¶
func (c *FakeVersions) UpdateStatus(ctx context.Context, version *v1alpha1.Version, opts v1.UpdateOptions) (*v1alpha1.Version, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVersions) Watch ¶
func (c *FakeVersions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested versions.