Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeManagedSeedSets
- func (c *FakeManagedSeedSets) Create(ctx context.Context, managedSeedSet *v1alpha1.ManagedSeedSet, ...) (result *v1alpha1.ManagedSeedSet, err error)
- func (c *FakeManagedSeedSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeManagedSeedSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeManagedSeedSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ManagedSeedSet, err error)
- func (c *FakeManagedSeedSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ManagedSeedSetList, err error)
- func (c *FakeManagedSeedSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ManagedSeedSet, err error)
- func (c *FakeManagedSeedSets) Update(ctx context.Context, managedSeedSet *v1alpha1.ManagedSeedSet, ...) (result *v1alpha1.ManagedSeedSet, err error)
- func (c *FakeManagedSeedSets) UpdateStatus(ctx context.Context, managedSeedSet *v1alpha1.ManagedSeedSet, ...) (*v1alpha1.ManagedSeedSet, error)
- func (c *FakeManagedSeedSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeManagedSeeds
- func (c *FakeManagedSeeds) Create(ctx context.Context, managedSeed *v1alpha1.ManagedSeed, opts v1.CreateOptions) (result *v1alpha1.ManagedSeed, err error)
- func (c *FakeManagedSeeds) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeManagedSeeds) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeManagedSeeds) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ManagedSeed, err error)
- func (c *FakeManagedSeeds) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ManagedSeedList, err error)
- func (c *FakeManagedSeeds) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ManagedSeed, err error)
- func (c *FakeManagedSeeds) Update(ctx context.Context, managedSeed *v1alpha1.ManagedSeed, opts v1.UpdateOptions) (result *v1alpha1.ManagedSeed, err error)
- func (c *FakeManagedSeeds) UpdateStatus(ctx context.Context, managedSeed *v1alpha1.ManagedSeed, opts v1.UpdateOptions) (*v1alpha1.ManagedSeed, error)
- func (c *FakeManagedSeeds) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSeedmanagementV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeManagedSeedSets ¶ added in v1.19.0
type FakeManagedSeedSets struct { Fake *FakeSeedmanagementV1alpha1 // contains filtered or unexported fields }
FakeManagedSeedSets implements ManagedSeedSetInterface
func (*FakeManagedSeedSets) Create ¶ added in v1.19.0
func (c *FakeManagedSeedSets) Create(ctx context.Context, managedSeedSet *v1alpha1.ManagedSeedSet, opts v1.CreateOptions) (result *v1alpha1.ManagedSeedSet, err error)
Create takes the representation of a managedSeedSet and creates it. Returns the server's representation of the managedSeedSet, and an error, if there is any.
func (*FakeManagedSeedSets) Delete ¶ added in v1.19.0
func (c *FakeManagedSeedSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the managedSeedSet and deletes it. Returns an error if one occurs.
func (*FakeManagedSeedSets) DeleteCollection ¶ added in v1.19.0
func (c *FakeManagedSeedSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeManagedSeedSets) Get ¶ added in v1.19.0
func (c *FakeManagedSeedSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ManagedSeedSet, err error)
Get takes name of the managedSeedSet, and returns the corresponding managedSeedSet object, and an error if there is any.
func (*FakeManagedSeedSets) List ¶ added in v1.19.0
func (c *FakeManagedSeedSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ManagedSeedSetList, err error)
List takes label and field selectors, and returns the list of ManagedSeedSets that match those selectors.
func (*FakeManagedSeedSets) Patch ¶ added in v1.19.0
func (c *FakeManagedSeedSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ManagedSeedSet, err error)
Patch applies the patch and returns the patched managedSeedSet.
func (*FakeManagedSeedSets) Update ¶ added in v1.19.0
func (c *FakeManagedSeedSets) Update(ctx context.Context, managedSeedSet *v1alpha1.ManagedSeedSet, opts v1.UpdateOptions) (result *v1alpha1.ManagedSeedSet, err error)
Update takes the representation of a managedSeedSet and updates it. Returns the server's representation of the managedSeedSet, and an error, if there is any.
func (*FakeManagedSeedSets) UpdateStatus ¶ added in v1.19.0
func (c *FakeManagedSeedSets) UpdateStatus(ctx context.Context, managedSeedSet *v1alpha1.ManagedSeedSet, opts v1.UpdateOptions) (*v1alpha1.ManagedSeedSet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeManagedSeedSets) Watch ¶ added in v1.19.0
func (c *FakeManagedSeedSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested managedSeedSets.
type FakeManagedSeeds ¶
type FakeManagedSeeds struct { Fake *FakeSeedmanagementV1alpha1 // contains filtered or unexported fields }
FakeManagedSeeds implements ManagedSeedInterface
func (*FakeManagedSeeds) Create ¶
func (c *FakeManagedSeeds) Create(ctx context.Context, managedSeed *v1alpha1.ManagedSeed, opts v1.CreateOptions) (result *v1alpha1.ManagedSeed, err error)
Create takes the representation of a managedSeed and creates it. Returns the server's representation of the managedSeed, and an error, if there is any.
func (*FakeManagedSeeds) Delete ¶
func (c *FakeManagedSeeds) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the managedSeed and deletes it. Returns an error if one occurs.
func (*FakeManagedSeeds) DeleteCollection ¶
func (c *FakeManagedSeeds) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeManagedSeeds) Get ¶
func (c *FakeManagedSeeds) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ManagedSeed, err error)
Get takes name of the managedSeed, and returns the corresponding managedSeed object, and an error if there is any.
func (*FakeManagedSeeds) List ¶
func (c *FakeManagedSeeds) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ManagedSeedList, err error)
List takes label and field selectors, and returns the list of ManagedSeeds that match those selectors.
func (*FakeManagedSeeds) Patch ¶
func (c *FakeManagedSeeds) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ManagedSeed, err error)
Patch applies the patch and returns the patched managedSeed.
func (*FakeManagedSeeds) Update ¶
func (c *FakeManagedSeeds) Update(ctx context.Context, managedSeed *v1alpha1.ManagedSeed, opts v1.UpdateOptions) (result *v1alpha1.ManagedSeed, err error)
Update takes the representation of a managedSeed and updates it. Returns the server's representation of the managedSeed, and an error, if there is any.
func (*FakeManagedSeeds) UpdateStatus ¶
func (c *FakeManagedSeeds) UpdateStatus(ctx context.Context, managedSeed *v1alpha1.ManagedSeed, opts v1.UpdateOptions) (*v1alpha1.ManagedSeed, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeManagedSeeds) Watch ¶
func (c *FakeManagedSeeds) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested managedSeeds.
type FakeSeedmanagementV1alpha1 ¶
func (*FakeSeedmanagementV1alpha1) ManagedSeedSets ¶ added in v1.19.0
func (c *FakeSeedmanagementV1alpha1) ManagedSeedSets(namespace string) v1alpha1.ManagedSeedSetInterface
func (*FakeSeedmanagementV1alpha1) ManagedSeeds ¶
func (c *FakeSeedmanagementV1alpha1) ManagedSeeds(namespace string) v1alpha1.ManagedSeedInterface
func (*FakeSeedmanagementV1alpha1) RESTClient ¶
func (c *FakeSeedmanagementV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.