Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAppstreamV1alpha1
- func (c *FakeAppstreamV1alpha1) DirectoryConfigs(namespace string) v1alpha1.DirectoryConfigInterface
- func (c *FakeAppstreamV1alpha1) FleetStackAssociations(namespace string) v1alpha1.FleetStackAssociationInterface
- func (c *FakeAppstreamV1alpha1) Fleets(namespace string) v1alpha1.FleetInterface
- func (c *FakeAppstreamV1alpha1) ImageBuilders(namespace string) v1alpha1.ImageBuilderInterface
- func (c *FakeAppstreamV1alpha1) RESTClient() rest.Interface
- func (c *FakeAppstreamV1alpha1) Stacks(namespace string) v1alpha1.StackInterface
- func (c *FakeAppstreamV1alpha1) UserStackAssociations(namespace string) v1alpha1.UserStackAssociationInterface
- func (c *FakeAppstreamV1alpha1) Users(namespace string) v1alpha1.UserInterface
- type FakeDirectoryConfigs
- func (c *FakeDirectoryConfigs) Create(ctx context.Context, directoryConfig *v1alpha1.DirectoryConfig, ...) (result *v1alpha1.DirectoryConfig, err error)
- func (c *FakeDirectoryConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDirectoryConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDirectoryConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DirectoryConfig, err error)
- func (c *FakeDirectoryConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DirectoryConfigList, err error)
- func (c *FakeDirectoryConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.DirectoryConfig, err error)
- func (c *FakeDirectoryConfigs) Update(ctx context.Context, directoryConfig *v1alpha1.DirectoryConfig, ...) (result *v1alpha1.DirectoryConfig, err error)
- func (c *FakeDirectoryConfigs) UpdateStatus(ctx context.Context, directoryConfig *v1alpha1.DirectoryConfig, ...) (*v1alpha1.DirectoryConfig, error)
- func (c *FakeDirectoryConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeFleetStackAssociations
- func (c *FakeFleetStackAssociations) Create(ctx context.Context, fleetStackAssociation *v1alpha1.FleetStackAssociation, ...) (result *v1alpha1.FleetStackAssociation, err error)
- func (c *FakeFleetStackAssociations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFleetStackAssociations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFleetStackAssociations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FleetStackAssociation, err error)
- func (c *FakeFleetStackAssociations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FleetStackAssociationList, err error)
- func (c *FakeFleetStackAssociations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.FleetStackAssociation, err error)
- func (c *FakeFleetStackAssociations) Update(ctx context.Context, fleetStackAssociation *v1alpha1.FleetStackAssociation, ...) (result *v1alpha1.FleetStackAssociation, err error)
- func (c *FakeFleetStackAssociations) UpdateStatus(ctx context.Context, fleetStackAssociation *v1alpha1.FleetStackAssociation, ...) (*v1alpha1.FleetStackAssociation, error)
- func (c *FakeFleetStackAssociations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeFleets
- func (c *FakeFleets) Create(ctx context.Context, fleet *v1alpha1.Fleet, opts v1.CreateOptions) (result *v1alpha1.Fleet, err error)
- func (c *FakeFleets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFleets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFleets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Fleet, err error)
- func (c *FakeFleets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FleetList, err error)
- func (c *FakeFleets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Fleet, err error)
- func (c *FakeFleets) Update(ctx context.Context, fleet *v1alpha1.Fleet, opts v1.UpdateOptions) (result *v1alpha1.Fleet, err error)
- func (c *FakeFleets) UpdateStatus(ctx context.Context, fleet *v1alpha1.Fleet, opts v1.UpdateOptions) (*v1alpha1.Fleet, error)
- func (c *FakeFleets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeImageBuilders
- func (c *FakeImageBuilders) Create(ctx context.Context, imageBuilder *v1alpha1.ImageBuilder, ...) (result *v1alpha1.ImageBuilder, err error)
- func (c *FakeImageBuilders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeImageBuilders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeImageBuilders) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ImageBuilder, err error)
- func (c *FakeImageBuilders) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ImageBuilderList, err error)
- func (c *FakeImageBuilders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ImageBuilder, err error)
- func (c *FakeImageBuilders) Update(ctx context.Context, imageBuilder *v1alpha1.ImageBuilder, ...) (result *v1alpha1.ImageBuilder, err error)
- func (c *FakeImageBuilders) UpdateStatus(ctx context.Context, imageBuilder *v1alpha1.ImageBuilder, ...) (*v1alpha1.ImageBuilder, error)
- func (c *FakeImageBuilders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeStacks
- func (c *FakeStacks) Create(ctx context.Context, stack *v1alpha1.Stack, opts v1.CreateOptions) (result *v1alpha1.Stack, err error)
- func (c *FakeStacks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeStacks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeStacks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Stack, err error)
- func (c *FakeStacks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.StackList, err error)
- func (c *FakeStacks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Stack, err error)
- func (c *FakeStacks) Update(ctx context.Context, stack *v1alpha1.Stack, opts v1.UpdateOptions) (result *v1alpha1.Stack, err error)
- func (c *FakeStacks) UpdateStatus(ctx context.Context, stack *v1alpha1.Stack, opts v1.UpdateOptions) (*v1alpha1.Stack, error)
- func (c *FakeStacks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeUserStackAssociations
- func (c *FakeUserStackAssociations) Create(ctx context.Context, userStackAssociation *v1alpha1.UserStackAssociation, ...) (result *v1alpha1.UserStackAssociation, err error)
- func (c *FakeUserStackAssociations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeUserStackAssociations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeUserStackAssociations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.UserStackAssociation, err error)
- func (c *FakeUserStackAssociations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.UserStackAssociationList, err error)
- func (c *FakeUserStackAssociations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.UserStackAssociation, err error)
- func (c *FakeUserStackAssociations) Update(ctx context.Context, userStackAssociation *v1alpha1.UserStackAssociation, ...) (result *v1alpha1.UserStackAssociation, err error)
- func (c *FakeUserStackAssociations) UpdateStatus(ctx context.Context, userStackAssociation *v1alpha1.UserStackAssociation, ...) (*v1alpha1.UserStackAssociation, error)
- func (c *FakeUserStackAssociations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeUsers
- func (c *FakeUsers) Create(ctx context.Context, user *v1alpha1.User, opts v1.CreateOptions) (result *v1alpha1.User, err error)
- func (c *FakeUsers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeUsers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeUsers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.User, err error)
- func (c *FakeUsers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.UserList, err error)
- func (c *FakeUsers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.User, err error)
- func (c *FakeUsers) Update(ctx context.Context, user *v1alpha1.User, opts v1.UpdateOptions) (result *v1alpha1.User, err error)
- func (c *FakeUsers) UpdateStatus(ctx context.Context, user *v1alpha1.User, opts v1.UpdateOptions) (*v1alpha1.User, error)
- func (c *FakeUsers) 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 FakeAppstreamV1alpha1 ¶
func (*FakeAppstreamV1alpha1) DirectoryConfigs ¶
func (c *FakeAppstreamV1alpha1) DirectoryConfigs(namespace string) v1alpha1.DirectoryConfigInterface
func (*FakeAppstreamV1alpha1) FleetStackAssociations ¶
func (c *FakeAppstreamV1alpha1) FleetStackAssociations(namespace string) v1alpha1.FleetStackAssociationInterface
func (*FakeAppstreamV1alpha1) Fleets ¶
func (c *FakeAppstreamV1alpha1) Fleets(namespace string) v1alpha1.FleetInterface
func (*FakeAppstreamV1alpha1) ImageBuilders ¶
func (c *FakeAppstreamV1alpha1) ImageBuilders(namespace string) v1alpha1.ImageBuilderInterface
func (*FakeAppstreamV1alpha1) RESTClient ¶
func (c *FakeAppstreamV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAppstreamV1alpha1) Stacks ¶
func (c *FakeAppstreamV1alpha1) Stacks(namespace string) v1alpha1.StackInterface
func (*FakeAppstreamV1alpha1) UserStackAssociations ¶
func (c *FakeAppstreamV1alpha1) UserStackAssociations(namespace string) v1alpha1.UserStackAssociationInterface
func (*FakeAppstreamV1alpha1) Users ¶
func (c *FakeAppstreamV1alpha1) Users(namespace string) v1alpha1.UserInterface
type FakeDirectoryConfigs ¶
type FakeDirectoryConfigs struct { Fake *FakeAppstreamV1alpha1 // contains filtered or unexported fields }
FakeDirectoryConfigs implements DirectoryConfigInterface
func (*FakeDirectoryConfigs) Create ¶
func (c *FakeDirectoryConfigs) Create(ctx context.Context, directoryConfig *v1alpha1.DirectoryConfig, opts v1.CreateOptions) (result *v1alpha1.DirectoryConfig, err error)
Create takes the representation of a directoryConfig and creates it. Returns the server's representation of the directoryConfig, and an error, if there is any.
func (*FakeDirectoryConfigs) Delete ¶
func (c *FakeDirectoryConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the directoryConfig and deletes it. Returns an error if one occurs.
func (*FakeDirectoryConfigs) DeleteCollection ¶
func (c *FakeDirectoryConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDirectoryConfigs) Get ¶
func (c *FakeDirectoryConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DirectoryConfig, err error)
Get takes name of the directoryConfig, and returns the corresponding directoryConfig object, and an error if there is any.
func (*FakeDirectoryConfigs) List ¶
func (c *FakeDirectoryConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DirectoryConfigList, err error)
List takes label and field selectors, and returns the list of DirectoryConfigs that match those selectors.
func (*FakeDirectoryConfigs) Patch ¶
func (c *FakeDirectoryConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DirectoryConfig, err error)
Patch applies the patch and returns the patched directoryConfig.
func (*FakeDirectoryConfigs) Update ¶
func (c *FakeDirectoryConfigs) Update(ctx context.Context, directoryConfig *v1alpha1.DirectoryConfig, opts v1.UpdateOptions) (result *v1alpha1.DirectoryConfig, err error)
Update takes the representation of a directoryConfig and updates it. Returns the server's representation of the directoryConfig, and an error, if there is any.
func (*FakeDirectoryConfigs) UpdateStatus ¶
func (c *FakeDirectoryConfigs) UpdateStatus(ctx context.Context, directoryConfig *v1alpha1.DirectoryConfig, opts v1.UpdateOptions) (*v1alpha1.DirectoryConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDirectoryConfigs) Watch ¶
func (c *FakeDirectoryConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested directoryConfigs.
type FakeFleetStackAssociations ¶
type FakeFleetStackAssociations struct { Fake *FakeAppstreamV1alpha1 // contains filtered or unexported fields }
FakeFleetStackAssociations implements FleetStackAssociationInterface
func (*FakeFleetStackAssociations) Create ¶
func (c *FakeFleetStackAssociations) Create(ctx context.Context, fleetStackAssociation *v1alpha1.FleetStackAssociation, opts v1.CreateOptions) (result *v1alpha1.FleetStackAssociation, err error)
Create takes the representation of a fleetStackAssociation and creates it. Returns the server's representation of the fleetStackAssociation, and an error, if there is any.
func (*FakeFleetStackAssociations) Delete ¶
func (c *FakeFleetStackAssociations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the fleetStackAssociation and deletes it. Returns an error if one occurs.
func (*FakeFleetStackAssociations) DeleteCollection ¶
func (c *FakeFleetStackAssociations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFleetStackAssociations) Get ¶
func (c *FakeFleetStackAssociations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FleetStackAssociation, err error)
Get takes name of the fleetStackAssociation, and returns the corresponding fleetStackAssociation object, and an error if there is any.
func (*FakeFleetStackAssociations) List ¶
func (c *FakeFleetStackAssociations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FleetStackAssociationList, err error)
List takes label and field selectors, and returns the list of FleetStackAssociations that match those selectors.
func (*FakeFleetStackAssociations) Patch ¶
func (c *FakeFleetStackAssociations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.FleetStackAssociation, err error)
Patch applies the patch and returns the patched fleetStackAssociation.
func (*FakeFleetStackAssociations) Update ¶
func (c *FakeFleetStackAssociations) Update(ctx context.Context, fleetStackAssociation *v1alpha1.FleetStackAssociation, opts v1.UpdateOptions) (result *v1alpha1.FleetStackAssociation, err error)
Update takes the representation of a fleetStackAssociation and updates it. Returns the server's representation of the fleetStackAssociation, and an error, if there is any.
func (*FakeFleetStackAssociations) UpdateStatus ¶
func (c *FakeFleetStackAssociations) UpdateStatus(ctx context.Context, fleetStackAssociation *v1alpha1.FleetStackAssociation, opts v1.UpdateOptions) (*v1alpha1.FleetStackAssociation, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeFleetStackAssociations) Watch ¶
func (c *FakeFleetStackAssociations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested fleetStackAssociations.
type FakeFleets ¶
type FakeFleets struct { Fake *FakeAppstreamV1alpha1 // contains filtered or unexported fields }
FakeFleets implements FleetInterface
func (*FakeFleets) Create ¶
func (c *FakeFleets) Create(ctx context.Context, fleet *v1alpha1.Fleet, opts v1.CreateOptions) (result *v1alpha1.Fleet, err error)
Create takes the representation of a fleet and creates it. Returns the server's representation of the fleet, and an error, if there is any.
func (*FakeFleets) Delete ¶
func (c *FakeFleets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the fleet and deletes it. Returns an error if one occurs.
func (*FakeFleets) DeleteCollection ¶
func (c *FakeFleets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFleets) Get ¶
func (c *FakeFleets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Fleet, err error)
Get takes name of the fleet, and returns the corresponding fleet object, and an error if there is any.
func (*FakeFleets) List ¶
func (c *FakeFleets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FleetList, err error)
List takes label and field selectors, and returns the list of Fleets that match those selectors.
func (*FakeFleets) Patch ¶
func (c *FakeFleets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Fleet, err error)
Patch applies the patch and returns the patched fleet.
func (*FakeFleets) Update ¶
func (c *FakeFleets) Update(ctx context.Context, fleet *v1alpha1.Fleet, opts v1.UpdateOptions) (result *v1alpha1.Fleet, err error)
Update takes the representation of a fleet and updates it. Returns the server's representation of the fleet, and an error, if there is any.
func (*FakeFleets) UpdateStatus ¶
func (c *FakeFleets) UpdateStatus(ctx context.Context, fleet *v1alpha1.Fleet, opts v1.UpdateOptions) (*v1alpha1.Fleet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeFleets) Watch ¶
func (c *FakeFleets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested fleets.
type FakeImageBuilders ¶
type FakeImageBuilders struct { Fake *FakeAppstreamV1alpha1 // contains filtered or unexported fields }
FakeImageBuilders implements ImageBuilderInterface
func (*FakeImageBuilders) Create ¶
func (c *FakeImageBuilders) Create(ctx context.Context, imageBuilder *v1alpha1.ImageBuilder, opts v1.CreateOptions) (result *v1alpha1.ImageBuilder, err error)
Create takes the representation of a imageBuilder and creates it. Returns the server's representation of the imageBuilder, and an error, if there is any.
func (*FakeImageBuilders) Delete ¶
func (c *FakeImageBuilders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the imageBuilder and deletes it. Returns an error if one occurs.
func (*FakeImageBuilders) DeleteCollection ¶
func (c *FakeImageBuilders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeImageBuilders) Get ¶
func (c *FakeImageBuilders) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ImageBuilder, err error)
Get takes name of the imageBuilder, and returns the corresponding imageBuilder object, and an error if there is any.
func (*FakeImageBuilders) List ¶
func (c *FakeImageBuilders) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ImageBuilderList, err error)
List takes label and field selectors, and returns the list of ImageBuilders that match those selectors.
func (*FakeImageBuilders) Patch ¶
func (c *FakeImageBuilders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ImageBuilder, err error)
Patch applies the patch and returns the patched imageBuilder.
func (*FakeImageBuilders) Update ¶
func (c *FakeImageBuilders) Update(ctx context.Context, imageBuilder *v1alpha1.ImageBuilder, opts v1.UpdateOptions) (result *v1alpha1.ImageBuilder, err error)
Update takes the representation of a imageBuilder and updates it. Returns the server's representation of the imageBuilder, and an error, if there is any.
func (*FakeImageBuilders) UpdateStatus ¶
func (c *FakeImageBuilders) UpdateStatus(ctx context.Context, imageBuilder *v1alpha1.ImageBuilder, opts v1.UpdateOptions) (*v1alpha1.ImageBuilder, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeImageBuilders) Watch ¶
func (c *FakeImageBuilders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested imageBuilders.
type FakeStacks ¶
type FakeStacks struct { Fake *FakeAppstreamV1alpha1 // contains filtered or unexported fields }
FakeStacks implements StackInterface
func (*FakeStacks) Create ¶
func (c *FakeStacks) Create(ctx context.Context, stack *v1alpha1.Stack, opts v1.CreateOptions) (result *v1alpha1.Stack, err error)
Create takes the representation of a stack and creates it. Returns the server's representation of the stack, and an error, if there is any.
func (*FakeStacks) Delete ¶
func (c *FakeStacks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the stack and deletes it. Returns an error if one occurs.
func (*FakeStacks) DeleteCollection ¶
func (c *FakeStacks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeStacks) Get ¶
func (c *FakeStacks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Stack, err error)
Get takes name of the stack, and returns the corresponding stack object, and an error if there is any.
func (*FakeStacks) List ¶
func (c *FakeStacks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.StackList, err error)
List takes label and field selectors, and returns the list of Stacks that match those selectors.
func (*FakeStacks) Patch ¶
func (c *FakeStacks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Stack, err error)
Patch applies the patch and returns the patched stack.
func (*FakeStacks) Update ¶
func (c *FakeStacks) Update(ctx context.Context, stack *v1alpha1.Stack, opts v1.UpdateOptions) (result *v1alpha1.Stack, err error)
Update takes the representation of a stack and updates it. Returns the server's representation of the stack, and an error, if there is any.
func (*FakeStacks) UpdateStatus ¶
func (c *FakeStacks) UpdateStatus(ctx context.Context, stack *v1alpha1.Stack, opts v1.UpdateOptions) (*v1alpha1.Stack, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeStacks) Watch ¶
func (c *FakeStacks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested stacks.
type FakeUserStackAssociations ¶
type FakeUserStackAssociations struct { Fake *FakeAppstreamV1alpha1 // contains filtered or unexported fields }
FakeUserStackAssociations implements UserStackAssociationInterface
func (*FakeUserStackAssociations) Create ¶
func (c *FakeUserStackAssociations) Create(ctx context.Context, userStackAssociation *v1alpha1.UserStackAssociation, opts v1.CreateOptions) (result *v1alpha1.UserStackAssociation, err error)
Create takes the representation of a userStackAssociation and creates it. Returns the server's representation of the userStackAssociation, and an error, if there is any.
func (*FakeUserStackAssociations) Delete ¶
func (c *FakeUserStackAssociations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the userStackAssociation and deletes it. Returns an error if one occurs.
func (*FakeUserStackAssociations) DeleteCollection ¶
func (c *FakeUserStackAssociations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUserStackAssociations) Get ¶
func (c *FakeUserStackAssociations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.UserStackAssociation, err error)
Get takes name of the userStackAssociation, and returns the corresponding userStackAssociation object, and an error if there is any.
func (*FakeUserStackAssociations) List ¶
func (c *FakeUserStackAssociations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.UserStackAssociationList, err error)
List takes label and field selectors, and returns the list of UserStackAssociations that match those selectors.
func (*FakeUserStackAssociations) Patch ¶
func (c *FakeUserStackAssociations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.UserStackAssociation, err error)
Patch applies the patch and returns the patched userStackAssociation.
func (*FakeUserStackAssociations) Update ¶
func (c *FakeUserStackAssociations) Update(ctx context.Context, userStackAssociation *v1alpha1.UserStackAssociation, opts v1.UpdateOptions) (result *v1alpha1.UserStackAssociation, err error)
Update takes the representation of a userStackAssociation and updates it. Returns the server's representation of the userStackAssociation, and an error, if there is any.
func (*FakeUserStackAssociations) UpdateStatus ¶
func (c *FakeUserStackAssociations) UpdateStatus(ctx context.Context, userStackAssociation *v1alpha1.UserStackAssociation, opts v1.UpdateOptions) (*v1alpha1.UserStackAssociation, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeUserStackAssociations) Watch ¶
func (c *FakeUserStackAssociations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested userStackAssociations.
type FakeUsers ¶
type FakeUsers struct { Fake *FakeAppstreamV1alpha1 // contains filtered or unexported fields }
FakeUsers implements UserInterface
func (*FakeUsers) Create ¶
func (c *FakeUsers) Create(ctx context.Context, user *v1alpha1.User, opts v1.CreateOptions) (result *v1alpha1.User, err error)
Create takes the representation of a user and creates it. Returns the server's representation of the user, and an error, if there is any.
func (*FakeUsers) Delete ¶
Delete takes name of the user and deletes it. Returns an error if one occurs.
func (*FakeUsers) DeleteCollection ¶
func (c *FakeUsers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUsers) Get ¶
func (c *FakeUsers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.User, err error)
Get takes name of the user, and returns the corresponding user object, and an error if there is any.
func (*FakeUsers) List ¶
func (c *FakeUsers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.UserList, err error)
List takes label and field selectors, and returns the list of Users that match those selectors.
func (*FakeUsers) Patch ¶
func (c *FakeUsers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.User, err error)
Patch applies the patch and returns the patched user.
func (*FakeUsers) Update ¶
func (c *FakeUsers) Update(ctx context.Context, user *v1alpha1.User, opts v1.UpdateOptions) (result *v1alpha1.User, err error)
Update takes the representation of a user and updates it. Returns the server's representation of the user, and an error, if there is any.
func (*FakeUsers) UpdateStatus ¶
func (c *FakeUsers) UpdateStatus(ctx context.Context, user *v1alpha1.User, opts v1.UpdateOptions) (*v1alpha1.User, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().