Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAcceptedAgreements
- func (c *FakeAcceptedAgreements) Create(ctx context.Context, acceptedAgreement *v1alpha1.AcceptedAgreement, ...) (result *v1alpha1.AcceptedAgreement, err error)
- func (c *FakeAcceptedAgreements) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAcceptedAgreements) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAcceptedAgreements) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AcceptedAgreement, err error)
- func (c *FakeAcceptedAgreements) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AcceptedAgreementList, err error)
- func (c *FakeAcceptedAgreements) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AcceptedAgreement, err error)
- func (c *FakeAcceptedAgreements) Update(ctx context.Context, acceptedAgreement *v1alpha1.AcceptedAgreement, ...) (result *v1alpha1.AcceptedAgreement, err error)
- func (c *FakeAcceptedAgreements) UpdateStatus(ctx context.Context, acceptedAgreement *v1alpha1.AcceptedAgreement, ...) (*v1alpha1.AcceptedAgreement, error)
- func (c *FakeAcceptedAgreements) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeListingPackageAgreements
- func (c *FakeListingPackageAgreements) Create(ctx context.Context, listingPackageAgreement *v1alpha1.ListingPackageAgreement, ...) (result *v1alpha1.ListingPackageAgreement, err error)
- func (c *FakeListingPackageAgreements) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeListingPackageAgreements) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeListingPackageAgreements) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ListingPackageAgreement, err error)
- func (c *FakeListingPackageAgreements) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ListingPackageAgreementList, err error)
- func (c *FakeListingPackageAgreements) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ListingPackageAgreement, err error)
- func (c *FakeListingPackageAgreements) Update(ctx context.Context, listingPackageAgreement *v1alpha1.ListingPackageAgreement, ...) (result *v1alpha1.ListingPackageAgreement, err error)
- func (c *FakeListingPackageAgreements) UpdateStatus(ctx context.Context, listingPackageAgreement *v1alpha1.ListingPackageAgreement, ...) (*v1alpha1.ListingPackageAgreement, error)
- func (c *FakeListingPackageAgreements) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMarketplaceV1alpha1
- func (c *FakeMarketplaceV1alpha1) AcceptedAgreements(namespace string) v1alpha1.AcceptedAgreementInterface
- func (c *FakeMarketplaceV1alpha1) ListingPackageAgreements(namespace string) v1alpha1.ListingPackageAgreementInterface
- func (c *FakeMarketplaceV1alpha1) Publications(namespace string) v1alpha1.PublicationInterface
- func (c *FakeMarketplaceV1alpha1) RESTClient() rest.Interface
- type FakePublications
- func (c *FakePublications) Create(ctx context.Context, publication *v1alpha1.Publication, opts v1.CreateOptions) (result *v1alpha1.Publication, err error)
- func (c *FakePublications) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePublications) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePublications) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Publication, err error)
- func (c *FakePublications) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PublicationList, err error)
- func (c *FakePublications) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Publication, err error)
- func (c *FakePublications) Update(ctx context.Context, publication *v1alpha1.Publication, opts v1.UpdateOptions) (result *v1alpha1.Publication, err error)
- func (c *FakePublications) UpdateStatus(ctx context.Context, publication *v1alpha1.Publication, opts v1.UpdateOptions) (*v1alpha1.Publication, error)
- func (c *FakePublications) 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 FakeAcceptedAgreements ¶
type FakeAcceptedAgreements struct { Fake *FakeMarketplaceV1alpha1 // contains filtered or unexported fields }
FakeAcceptedAgreements implements AcceptedAgreementInterface
func (*FakeAcceptedAgreements) Create ¶
func (c *FakeAcceptedAgreements) Create(ctx context.Context, acceptedAgreement *v1alpha1.AcceptedAgreement, opts v1.CreateOptions) (result *v1alpha1.AcceptedAgreement, err error)
Create takes the representation of a acceptedAgreement and creates it. Returns the server's representation of the acceptedAgreement, and an error, if there is any.
func (*FakeAcceptedAgreements) Delete ¶
func (c *FakeAcceptedAgreements) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the acceptedAgreement and deletes it. Returns an error if one occurs.
func (*FakeAcceptedAgreements) DeleteCollection ¶
func (c *FakeAcceptedAgreements) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAcceptedAgreements) Get ¶
func (c *FakeAcceptedAgreements) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AcceptedAgreement, err error)
Get takes name of the acceptedAgreement, and returns the corresponding acceptedAgreement object, and an error if there is any.
func (*FakeAcceptedAgreements) List ¶
func (c *FakeAcceptedAgreements) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AcceptedAgreementList, err error)
List takes label and field selectors, and returns the list of AcceptedAgreements that match those selectors.
func (*FakeAcceptedAgreements) Patch ¶
func (c *FakeAcceptedAgreements) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AcceptedAgreement, err error)
Patch applies the patch and returns the patched acceptedAgreement.
func (*FakeAcceptedAgreements) Update ¶
func (c *FakeAcceptedAgreements) Update(ctx context.Context, acceptedAgreement *v1alpha1.AcceptedAgreement, opts v1.UpdateOptions) (result *v1alpha1.AcceptedAgreement, err error)
Update takes the representation of a acceptedAgreement and updates it. Returns the server's representation of the acceptedAgreement, and an error, if there is any.
func (*FakeAcceptedAgreements) UpdateStatus ¶
func (c *FakeAcceptedAgreements) UpdateStatus(ctx context.Context, acceptedAgreement *v1alpha1.AcceptedAgreement, opts v1.UpdateOptions) (*v1alpha1.AcceptedAgreement, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAcceptedAgreements) Watch ¶
func (c *FakeAcceptedAgreements) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested acceptedAgreements.
type FakeListingPackageAgreements ¶
type FakeListingPackageAgreements struct { Fake *FakeMarketplaceV1alpha1 // contains filtered or unexported fields }
FakeListingPackageAgreements implements ListingPackageAgreementInterface
func (*FakeListingPackageAgreements) Create ¶
func (c *FakeListingPackageAgreements) Create(ctx context.Context, listingPackageAgreement *v1alpha1.ListingPackageAgreement, opts v1.CreateOptions) (result *v1alpha1.ListingPackageAgreement, err error)
Create takes the representation of a listingPackageAgreement and creates it. Returns the server's representation of the listingPackageAgreement, and an error, if there is any.
func (*FakeListingPackageAgreements) Delete ¶
func (c *FakeListingPackageAgreements) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the listingPackageAgreement and deletes it. Returns an error if one occurs.
func (*FakeListingPackageAgreements) DeleteCollection ¶
func (c *FakeListingPackageAgreements) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeListingPackageAgreements) Get ¶
func (c *FakeListingPackageAgreements) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ListingPackageAgreement, err error)
Get takes name of the listingPackageAgreement, and returns the corresponding listingPackageAgreement object, and an error if there is any.
func (*FakeListingPackageAgreements) List ¶
func (c *FakeListingPackageAgreements) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ListingPackageAgreementList, err error)
List takes label and field selectors, and returns the list of ListingPackageAgreements that match those selectors.
func (*FakeListingPackageAgreements) Patch ¶
func (c *FakeListingPackageAgreements) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ListingPackageAgreement, err error)
Patch applies the patch and returns the patched listingPackageAgreement.
func (*FakeListingPackageAgreements) Update ¶
func (c *FakeListingPackageAgreements) Update(ctx context.Context, listingPackageAgreement *v1alpha1.ListingPackageAgreement, opts v1.UpdateOptions) (result *v1alpha1.ListingPackageAgreement, err error)
Update takes the representation of a listingPackageAgreement and updates it. Returns the server's representation of the listingPackageAgreement, and an error, if there is any.
func (*FakeListingPackageAgreements) UpdateStatus ¶
func (c *FakeListingPackageAgreements) UpdateStatus(ctx context.Context, listingPackageAgreement *v1alpha1.ListingPackageAgreement, opts v1.UpdateOptions) (*v1alpha1.ListingPackageAgreement, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeListingPackageAgreements) Watch ¶
func (c *FakeListingPackageAgreements) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested listingPackageAgreements.
type FakeMarketplaceV1alpha1 ¶
func (*FakeMarketplaceV1alpha1) AcceptedAgreements ¶
func (c *FakeMarketplaceV1alpha1) AcceptedAgreements(namespace string) v1alpha1.AcceptedAgreementInterface
func (*FakeMarketplaceV1alpha1) ListingPackageAgreements ¶
func (c *FakeMarketplaceV1alpha1) ListingPackageAgreements(namespace string) v1alpha1.ListingPackageAgreementInterface
func (*FakeMarketplaceV1alpha1) Publications ¶
func (c *FakeMarketplaceV1alpha1) Publications(namespace string) v1alpha1.PublicationInterface
func (*FakeMarketplaceV1alpha1) RESTClient ¶
func (c *FakeMarketplaceV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakePublications ¶
type FakePublications struct { Fake *FakeMarketplaceV1alpha1 // contains filtered or unexported fields }
FakePublications implements PublicationInterface
func (*FakePublications) Create ¶
func (c *FakePublications) Create(ctx context.Context, publication *v1alpha1.Publication, opts v1.CreateOptions) (result *v1alpha1.Publication, err error)
Create takes the representation of a publication and creates it. Returns the server's representation of the publication, and an error, if there is any.
func (*FakePublications) Delete ¶
func (c *FakePublications) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the publication and deletes it. Returns an error if one occurs.
func (*FakePublications) DeleteCollection ¶
func (c *FakePublications) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePublications) Get ¶
func (c *FakePublications) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Publication, err error)
Get takes name of the publication, and returns the corresponding publication object, and an error if there is any.
func (*FakePublications) List ¶
func (c *FakePublications) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PublicationList, err error)
List takes label and field selectors, and returns the list of Publications that match those selectors.
func (*FakePublications) Patch ¶
func (c *FakePublications) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Publication, err error)
Patch applies the patch and returns the patched publication.
func (*FakePublications) Update ¶
func (c *FakePublications) Update(ctx context.Context, publication *v1alpha1.Publication, opts v1.UpdateOptions) (result *v1alpha1.Publication, err error)
Update takes the representation of a publication and updates it. Returns the server's representation of the publication, and an error, if there is any.
func (*FakePublications) UpdateStatus ¶
func (c *FakePublications) UpdateStatus(ctx context.Context, publication *v1alpha1.Publication, opts v1.UpdateOptions) (*v1alpha1.Publication, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePublications) Watch ¶
func (c *FakePublications) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested publications.